PacktLib: BeagleBone Home Automation

BeagleBone Home Automation

Credits

About the Author

About the Reviewers

www.PacktPub.com

Preface

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

Input and Output

Hardware interfaces

General-Purpose Input/Output pins (GPIOs)

Summary

Creating the Client and Server Applications

Sockets

Echo server

Echo client

Summary

Extending Server Capabilities

Environmental sensors

Advanced server

Transistors

Summary

Implementing Periodic Tasks

Implementing a save/load framework

Periodic tasks on the server

Movement-detection alarm system

Hardware extensions

Summary

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

Security, Debugging, and I2C and SPI

Security, Debugging, and I2C and SPI

Security, Debugging, and I2C and SPI

Security, Debugging, and I2C and SPI

Security, Debugging, and I2C and SPI

Index