Free Sample
+ Collection

BeagleBone Home Automation

Progressing
Juha Lumme

The Internet of Things is now being taken up by tech corporations but this fantastic book brings you the DIY approach to home automation using BeagleBone. From dimming the lights to opening the garage door –– it’s all here.
$17.99
$29.99
RRP $17.99
RRP $29.99
eBook
Print + eBook

Want this title & more?

$16.99 p/month

Subscribe to PacktLib

Enjoy full and instant access to over 2000 books and videos – you’ll find everything you need to stay ahead of the curve and make sure you can always get the job done.

Book Details

ISBN 139781783285730
Paperback178 pages

About This Book

  • Practical approach to home automation using BeagleBone; starting from the very basics of GPIO control and progressing up to building a complete home automation solution
  • Covers the operating principles of a range of useful environment sensors, including their programming and integration to the server application
  • Easy-to-follow approach with electronics schematics, wiring diagrams, and controller code all broken down into manageable and easy-to-understand sections

Who This Book Is For

If you are looking for ways to create a highly capable home automation system that is easily extendable and highly configurable, then this book is for you. Basic knowledge of electronics and programming in Python and/or Java languages will be helpful, but not mandatory.

Table of Contents

Chapter 1: The Initial Setup
The hardware required
The software required
Preparing the host machine
Starting the target board for the first time
Logging in to the system
Operating Linux from the console
Running a Hello World program on BeagleBone
Summary
Chapter 2: Input and Output
Hardware interfaces
General-Purpose Input/Output pins (GPIOs)
Summary
Chapter 3: Creating the Client and Server Applications
Sockets
Echo server
Echo client
Summary
Chapter 4: Extending Server Capabilities
Environmental sensors
Advanced server
Transistors
Summary
Chapter 5: Implementing Periodic Tasks
Implementing a save/load framework
Periodic tasks on the server
Movement-detection alarm system
Hardware extensions
Summary
Chapter 6: Creating an Android Client
Setting up our Android project
The socket client on Android
The new server features
Working from outside your home network
Summary

What You Will Learn

  • Learn how to interface the BeagleBone board with various hardware components and environmental sensors
  • Set up the programming logic necessary to enable standalone periodic tasks and their management
  • Discover network programming over TCP/IP sockets, and enable encrypted access over the Internet
  • Program an Android application that can interface with your home automation server
  • Implement a framework to send any type of data, such as images captured from a camera, to your smartphone

In Detail

Home automation lets you control daily activities such as changing the temperature, opening the garage door, or dimming the lights of your house using microprocessors. BeagleBone is a low-cost, high-expansion, hardware-hacker-focused BeagleBoard. It is small and comes with the high-performance ARM capabilities you expect from a BeagleBoard. BeagleBone takes full-featured Linux to places it has never gone before.

Starting with the absolute basics, BeagleBone Home Automation gives you the knowledge you will require to create an Internet-age home automation solution. This book will show you how to set up Linux on BeagleBone. You will learn how to use Python to control different electronic components and sensors to create a standalone embedded system that also accepts control remotely from a smartphone.

This book starts with the very basics of Linux administration and application execution using terminal connections. You will learn the basics of the general purpose input/output pins and discover how various electronic sensors and electronic components work. The “hardware jargon” is explained, and example applications demonstrating their practical use are created so that you will feel in control of the capabilities provided.

Network programming is also a big part of this book, as the created server will be made accessible from the Internet through a smartphone application. You will also learn how to create a fully working Android application that communicates with the home automation server over the Internet.

Authors

Read More