Book Image

Raspberry Pi 3 Home Automation Projects

By : Shantanu Bhadoria, Ruben Oliva Ramos
Book Image

Raspberry Pi 3 Home Automation Projects

By: Shantanu Bhadoria, Ruben Oliva Ramos

Overview of this book

Raspberry Pi 3 Home Automation Projects addresses the challenge of applying real-world projects to automate your house using Raspberry Pi 3 and Arduino. You will learn how to customize and program the Raspberry Pi 3 and Arduino-based boards in several home automation projects around your house. This book aims to help you integrate different microcontrollers like Arduino, ESP8266 Wi-Fi module, Particle Photon and Raspberry Pi 3 into the real world, taking the best of these boards to develop some exciting home automation projects. We will start with an interesting project creating a Raspberry Pi Powered smart mirror and move on to Automated Gardening System, which will help you build a simple smart gardening to keep your garden healthy with minimal effort. You will also learn to build projects such as CheerLights into a holiday display, a project to erase parking headaches with OpenCV and Raspberry Pi 3, create Netfl ix's "The Switch" for the living room and lock down your house like Fort Knox with a Windows IoT face recognition-based door lock system. By the end of the book, you will be able to build and automate the living space with intriguing IoT projects and bring a new degree of inter connectivity to your world.
Table of Contents (7 chapters)

Reading IR signals

In this section, we will explain how code signals are sent to the TV; the following code is made for a TV recommended for Netflix that has a button to enable Netflix; in this case, you can use any remote control. In this project, we will use a Philips TV in order to do that, we can start turning on your TV and start Netflix in one swift motion, you'll need to send the same IR signal as the Netflix button on your TV remote. If you're not using a TV with a Netflix button or if you have an older TV, this may involve pressing more than one button, and you'll need to adjust accordingly.

We will get the IR signals to read them. We used an IR receiver and an Arduino.

Sensor IR receiver

We need to...