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

Analog I/O


In digital electronics, there are only two possible values—ON or OFF. In real life, we can not describe everything as ON or OFF. Many entities can have a wide range of values. For example, weight cannot be described as ON or OFF. You need to specify a number to describe magnitude of weight. Weight can be 66 kg. It can be 65.9 kg. It can be 65.93472641 kg. All these are valid numbers to describe weight. The possible values for analog entities are infinite, unlike with digital systems. The same holds true for analog entities like length, temperature, air pressure, and so on. If we plot a graph of values over time, we get an analog signal wave. The disadvantage of analog information is it's susceptible to noise and information is lost during transmission due to distortion, non-linearities, and so on.

Most of the sensors are of analog type. They get information from the environment. Often the information is a unit or a scalar value of the environmental entity. Then they convert that...

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}