O'Reilly logo

Android for the BeagleBone Black by Aravind Prakash, Andrew Henderson

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Building a GPIO-interfacing circuit

Before you begin developing software that communicates using GPIOs, you must first construct a hardware circuit for the GPIOs to interface with. For this chapter, you will build a simple circuit that consists of a 1k ohm resistor, an LED, and a pushbutton switch. Part numbers and suppliers for these components were listed in Chapter 1, Introduction to Android and the BeagleBone Black. Before getting started, be sure that you have all of the proper parts and remove all power sources from your BBB (unplug the power supply and USB cables) prior to connecting anything to the BBB's P8/P9 connector.

Tip

Don't disassemble your circuit!

The GPIO circuit in this chapter is part of a much larger circuit used in Chapter ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required