VERY IMPORTANT NOTE: THIS IS NOT A HOW-TO ARTICLE. This article explains how the author used a Raspberry Pi to control electric current. However, the author is NOT an electrician, and just because he did something doesn’t mean YOU should, particularly if you are unfamiliar with how to wire electrical devices safely. WIRING A DEVICE IMPROPERLY CAN RESULT IN FIRE, PROPERTY DAMAGE, BODILY INJURY, AND/OR DEATH! So DO NOT just blindly do what the author has done, unless you are certain you know what you are doing and are willing to take full responsibility for your own actions! This article is for INFORMATIONAL PURPOSES AND DISCUSSION ONLY, and is NOT intended to be a guide to building any device!
WE ARE NOT RESPONSIBLE IF YOU ATTEMPT TO BUILD ANYTHING BASED ON WHAT YOU SEE IN THIS ARTICLE AND INJURE YOURSELF OR HAVE PROPERTY DAMAGE AS A RESULT. STOP READING THIS ARTICLE NOW IF YOU ARE UNWILLING TO TAKE FULL RESPONSIBILITY FOR YOUR OWN ACTIONS!!!! AGAIN, THIS IS ONLY TO REPORT ON WHAT THE AUTHOR OF THE ARTICLE DID, AND WE ARE NOT SUGGESTING THAT YOU DO LIKEWISE, PARTICULARLY IF YOU DO NOT FULLY UNDERSTAND AND APPRECIATE THE DANGER OF WORKING WITH LIVE ELECTRIC CURRENT! PLEASE CONSULT WITH A LICENSED ELECTRICIAN BEFORE ATTEMPTING TO BUILD ANYTHING THAT WILL UTILIZE HOUSEHOLD ELECTRICAL CURRENT!
Make image of Rasbian on MicroSD for Raspberry Pi B+.
Insert MicroSD. Connected power. Connected network cable to router.
ifconfig | grep Bcast
inet addr:192.168.0.103 Bcast:192.168.0.255 Mask:255.255.255.0
nmap -sn 192.168.0.103/24
Nmap scan report for 192.168.0.117
Host is up (0.00050s latency).
MAC Address: XX:XX:XX:XX:XX:XX (Raspberry Pi Foundation)
Default username: pi and password: raspberry.
ssh -l pi 192.168.0.117
sudo raspi-config
-
sudo shutdown -r now
If you don't have dhcp on you router (like mobile phone), need change nameserver in /etc/resolv.conf:
-
sudo nano /etc/resolv.conf
nameserver 8.8.8.8
nameserver 8.8.4.4
- Node-RED - MQTT interface
- Mosquitto - An Open Source MQTT Broker
- Emoncms - Open-source energy visualisation or DashUI
- Node-RED-nodes-Emoncms
git clone https://github.com/Ignat99/msp.git
cd msp/
git fetch upstream
git config --global user.email "[email protected]"
git config --global user.name "Your Name"
git checkout -b my_feature
Your additions can be sent by the command:
git checkout -b feature
-
TheThingSystem - Raspberry Pi B+
sudo apt-get update
sudo apt-get upgrade
- A single LED
- TheThingSystem - Arduino - LED
- Thing Sensor Reporting Protocol - Arduino - Weather Station
- Parrot Flower Power
Your first step is to go to the the wiki. Enjoy!