BeagleBone Home Automation.
An easy-to-follow guide full of hands-on examples to help transform your house into a standalone home automation solution. 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 el...
Clasificación: | Libro Electrónico |
---|---|
Autor principal: | |
Formato: | Electrónico eBook |
Idioma: | Inglés |
Publicado: |
Packt Publishing,
2013.
|
Colección: | Community experience distilled
|
Temas: | |
Acceso en línea: | Texto completo |
Tabla de Contenidos:
- Cover; Copyright; Credits; About the Author; About the Reviewers; www.PacktPub.com; Table of Contents; Preface; Chapter 1: The Initial Setup; The hardware required; The software required; Preparing the host machine; Windows; Mac OS X; Linux; Starting the target board for the first time; Logging in to the system; Operating Linux from the console; Basic filesystem operations; File permissions; Running a Hello World program on BeagleBone; Summary; Chapter 2: Input and Output; Hardware interfaces; General-Purpose Input/Output pins (GPIOs); On-board LEDs; GPIO library for Python
- Setting the proper timeExternal output; External hardware input; Pulse width modulator; Summary; Chapter 3: Creating the Client and Server Applications; Sockets; Example socket application; Echo server; Echo client; Summary; Chapter 4: Extending Server Capabilities; Environmental sensors; Light sensor; Temperature sensor; Advanced server; Defining our Beagle protocol; The new server code; The new client code; Transistors; Summary; Chapter 5: Implementing Periodic Tasks; Implementing a save/load framework; Retrieving and changing permanent settings; The client side; The server side
- Periodic tasks on the serverMovement-detection alarm system; Hardware extensions; BeagleBone HD camera cape; Changing the boot media; Controlling cameras with Python; Summary; Chapter 6: Creating an Android Client; Setting up our Android project; Creating an emulator; The socket client on Android; Defining the UI components; Support classes; The main UI; Network thread; New server features; Working from outside your home network; Summary; Appendix: Security, Debugging, SPI and I2C; Kernel traces and advanced debugging; Boot time kernel traces; JTAG debugging; The I2C and SPI buses
- The I2C busGenerating the start signal; The Slave address transfer; Data transfer; Generating the STOP signal; The SPI bus; Considering the security aspects; Making the client identify his intentions first; Implementing the encrypted password login; 2.1 modification to the server code; 2.2 modifications to Android client code; Encrypting all of the communication; The GPIO mapping of the P8 and P9 headers; Index