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)

Integrating the system

To integrate the system, we will have a schema to see how the system could be implemented using the information and requirements seen in the previous section. In the following figure, we see the modules or steps that we need to follow to build the complete system of the parking lot:

  1. The camera detects the plate number using the library software OpenCV and Python.
  2. The Raspberry Pi is connected to Amazon Web Services and we configure the Python SDK for receiving commands; it is connected to the IoT Lambda services that receives the commands.
  3. From a Python script, the AWS IoT service receives the data captured from the camera and is stored in AWS DynamoDB, which is a database service. It stores the ID of the car and the plate number of the vehicle.
  4. The data captured from the vehicle is stored in the web service; it will count the number of cars that go in...