Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Android Hardware Interfacing with the BeagleBone Black

You're reading from   Android Hardware Interfacing with the BeagleBone Black Design and implement Android apps that interface with your own custom hardware circuits and the BeagleBone Black

Arrow left icon
Product type Paperback
Published in Feb 2015
Publisher
ISBN-13 9781784392161
Length 134 pages
Edition 1st Edition
Languages
Arrow right icon
Toc

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 $19.99/month. Cancel anytime
Banner background image