0

April 17, 2015 AT 11:00 am

Home Automation With Raspberry Pi 2 And Node-RED #piday #iluvPi2 #raspberrypi @Raspberry_Pi

NewImage

Home automation with Raspberry Pi 2. via rs-online

Node-RED is a visual tool for wiring the Internet of Things that can be run on a Raspberry Pi and allows for rapid prototyping of projects. In this tutorial we will first set up Node-RED on a Raspberry Pi 2, before creating a flow that will read a temperature sensor and control a LightwaveRF mains socket.

We will assume your Pi is already set up on the network and you can SSH into it. 
Ensure your distribution is up to date:
$ sudo rpi-update
$ sudo reboot
Wait for the Pi to reboot, log back in and execute:
$ sudo apt-get update
$ sudo apt-get upgrade
Hardware
We will be using the following hardware:
▪ Raspberry Pi 2
▪ DS18B20+ temperature sensor
▪ 433 MHz transmitter module
▪ prototyping breadboard
▪ jumper wires (like this and this)
▪ 4.7k resistor
▪ LightwaveRF mains socket (available via many retailers)
▪ 174mm length of solid-core wire (to use as an antenna for the wireless board)
Connect the hardware as shown in the diagram below:

NewImage

Read more

998Each Friday is PiDay here at Adafruit! Be sure to check out our posts, tutorials and new Raspberry Pi related products. Adafruit has the largest and best selection of Raspberry Pi accessories and all the code & tutorials to get you up and running in no time!


Check out all the Circuit Playground Episodes! Our new kid’s show and subscribe!

Have an amazing project to share? Join the SHOW-AND-TELL every Wednesday night at 7:30pm ET on Google+ Hangouts.

Join us every Wednesday night at 8pm ET for Ask an Engineer!

Learn resistor values with Mho’s Resistance or get the best electronics calculator for engineers “Circuit Playground”Adafruit’s Apps!


Maker Business — How Authority and Decision-Making Differ Across Cultures

Wearables — Perform operation

Electronics — Soldering Pointer!

Biohacking — Stretchable EEG Temporary Tattoos

Get the only spam-free daily newsletter about wearables, running a "maker business", electronic tips and more! Subscribe at AdafruitDaily.com !



No Comments

No comments yet.

Sorry, the comment form is closed at this time.