0

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!


Join 5,000+ makers on Adafruit’s Discord channels and be part of the community! http://adafru.it/discord

CircuitPython in 2018 – Python on Microcontrollers is here!

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!

Follow Adafruit on Instagram for top secret new products, behinds the scenes and more https://www.instagram.com/adafruit/


Maker Business — A journey through Shenzhen, the electronics manufacturing hub of the world

Wearables — Ice, ice baby

Electronics — Current limiting!

Biohacking — Grindfest 2018

Python for Microcontrollers — CRICKITs are coming!

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.