Book Image

BeagleBone By Example

By : Pei JIA, Jayakarthigeyan Prabakar, Alexander Hiam
Book Image

BeagleBone By Example

By: Pei JIA, Jayakarthigeyan Prabakar, Alexander Hiam

Overview of this book

BeagleBone is a low cost, community-supported development platform to develop a variety of electronic projects. This book will introduce you to BeagleBone and get you building fun, cool, and innovative projects with it. Start with the specifications of BeagleBone Black and its operating systems, then get to grips with the GPIOs available in BeagleBone Black. Work through four types of exciting projects: building real-time physical computing systems, home automation, image processing for a security system, and building your own tele-controlled robot and learn the fundamentals of a variety of projects in a single book. By the end of this book, you will be able to write code for BeagleBone in order to operate hardware and impart decision-making capabilities with the help of efficient coding in Python.
Table of Contents (17 chapters)
BeagleBone By Example
Credits
About the Author
About the Reviewer
www.PacktPub.com
Preface
Index

Summary


In this chapter we have learnt about temperature sensors and how they can be interfaced with the BeagleBone board to obtain temperature measurements by connecting the sensor to analog input reading pins on the BeagleBone board. Then we wrote a code to make decisions based on the input obtained from the LM35 temperature sensor where the decision was to turn on a particular GPIO pin that is connected to a bicolor LED in order to change the color of the LED based on the ambient temperature around the sensor. So, in this way we have a real-time physical computing system up and running on BeagleBone Black using Python to get started. But this is just local computing where decisions are made based on the program running on the local system and all the data is in the local system itself.

Now in the next chapter, we will go ahead and build a more advanced real-time physical computing system, that is connected to the Internet, and on which the sensor data is sent to cloud server from the BeagleBone...