Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Android Hardware Interfacing with the BeagleBone Black

You're reading from  Android Hardware Interfacing with the BeagleBone Black

Product type Book
Published in Feb 2015
Publisher
ISBN-13 9781784392161
Pages 134 pages
Edition 1st Edition
Languages

Understanding GPIOs


At its most basic level, communication between two pieces of hardware requires the transmission of data back and forth between them. In computer systems, this data is represented as voltage levels sent over a wire that connects the devices together. The patterns and levels of voltage back and forth form a communication protocol that the devices use to transmit data between each other.

GPIO is the most basic interfacing option offered by microcontrollers and microprocessors. Some pins of the BBB's processor are allocated as GPIOs that act as an input (monitoring voltage on the wire to receive data) or an output (placing a particular voltage on the wire to send data). The BBB has dozens of available GPIO pins, which makes GPIO a flexible and simple way for Android apps to interact with the outside world without requiring fancy device drivers or extra interfacing hardware.

Nuts and bolts of GPIO

Digital logic operates on the concept that there are two discrete voltage levels...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at €14.99/month. Cancel anytime}