Book Image

BeagleBone Home Automation Blueprints

By : Rodolfo Giometti
Book Image

BeagleBone Home Automation Blueprints

By: Rodolfo Giometti

Overview of this book

BeagleBone is a microboard PC that runs Linux. It can connect to the Internet and can run OSes such as Android and Ubuntu. BeagleBone is used for a variety of different purposes and projects, from simple projects such as building a thermostat to more advanced ones such as home security systems. Packed with real-world examples, this book will provide you with examples of how to connect several sensors and an actuator to the BeagleBone Black. You’ll learn how to give access to them, in order to realize simple-to-complex monitoring and controlling systems that will help you take control of the house. You will also find software examples of implementing web interfaces using the classical PHP/HTML pair with JavaScript, using complex APIs to interact with a Google Docs account, WhatsApp, or Facebook. This guide is an invaluable tutorial if you are planning to use a BeagleBone Black in a home automation project.
Table of Contents (18 chapters)
BeagleBone Home Automation Blueprints
About the Author
About the Reviewers

Setting up the hardware

In this project, we are going to use two analog sensors, a digital sensor, and a tiny LCD to implement a little GUI. The analog sensors are connected to two different ADCs, while the digital sensor (the contactless temperature sensor) uses an I2C bus to communicate with the BeagleBone Black. Lastly, the tiny LCD is connected to our BeagleBone Black board by an SPI bus and some GPIOs.

Regarding the alarm devices to alert the parents, we can use a normal buzzer or a more sophisticated SMS gateway, or both. But in any case, the connections of these devices can be retrieved from the preceding chapters, so, due to lack of space, I'm not going to add any of them in this chapter. The reader can try to implement both the hardware and software by themselves as an exercise.

Setting up the contactless temperature sensor

The contactless temperature sensor used in this prototype is shown in the following screenshot:


The devices can be purchased from