Design and implement Android apps that interface with your own custom hardware circuits and the BeagleBone Black
This book explores using the Android OS on the BeagleBone Black hardware platform and provides an introduction to Android's unique approach to hardware interfacing. You'll be walked through the process of installing and configuring Android on your BeagleBone Black, as well as preparing your PC development environment to create Android applications that directly interface with hardware devices. Several example projects within this book introduce you to using the GPIO, SPI, and I2C hardware interfaces of the BeagleBone Black.
You'll create Android apps that communicate directly with actual hardware components such as sensors, memory chips, switches, and LEDs. Step-by-step guidance through both the software and hardware portions of these projects is provided. Combining all of the previous projects into a single project that uses GPIO, SPI, and I2C together, you will explore the details of creating an advanced hardware interfacing app. Finally, you'll be provided with information on transitioning prototype code into code suitable for deployment on an Android-based device. With a variety of example apps that demonstrate key hardware communication concepts, this book will help you become an Android hardware interfacing pro in no time.
What You Will Learn
Install Android on your BeagleBone Black
Explore the three primary hardware interfaces of the BeagleBone BlackâGPIO, SPI, and I2C
Construct circuits that interface the BeagleBone Black with high-speed sensors, external memory chips, and more
Discover the advantages and disadvantages of using GPIO, I2C, and SPI components in your interfacing projects
Modify Android to recognize and interface with your own custom and prototype hardware
Develop multithreaded apps that communicate directly with custom circuitry
Downloading the example code for this book. You can download the example code files for all Packt books you have purchased from your account at http://www.PacktPub.com. If you purchased this book elsewhere, you can visit http://www.PacktPub.com/support and register to have the files e-mailed directly to you.