Search icon
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Programming the BeagleBone

You're reading from  Programming the BeagleBone

Product type Book
Published in Jan 2016
Publisher
ISBN-13 9781784390013
Pages 180 pages
Edition 1st Edition
Languages

Table of Contents (21) Chapters

Programming the BeagleBone
Credits
About the Author
Acknowledgment
About the Reviewers
www.PacktPub.com
Preface
Cloud9 IDE Blinking Onboard LEDs Blinking External LEDs Controlling LED Using a Push Button Reading from Analog Sensors PWM – Writing Analog Information Internet of Things with BeagleBone Physical Computing in Python UART, I2C, and SPI Programming Internet of Things using Python GPIO Control in Bash BeagleBone Capes
Pinmux and the Device Tree Index

Digital I/O


In real life, there are many things that can have only two possible states, for example, a book is either open or closed, your smartphone screen can be locked or unlocked, power switches at home can be on or off. This holds true for some input and output components attached to BeagleBone as well. For example, LEDs can be either on or off, a push button can be in a pushed state or normal state (often referred to as a closed or open state). These components with only two possible states are digital components.

If you look at the nearby area of the BeagleBone processor AM335X chip carefully, you will see that many physical lines are connecting the processor to various other chips or components on the board. Each of these lines connects to the processor at a point called Ball or Pin. The BeagleBone processor has several such pins to communicate with outside chips and components. Among these pins, some pins are dedicated to deal with digital components only. We cannot attach analog...

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 $15.99/month. Cancel anytime}