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

Chapter 4. Real-time Physical Computing Systems Using BeagleBone

In this chapter we will be focusing on building a real-time physical computing system using BeagleBone board. We will be interfacing an LM35 temperature sensor module with BeagleBone Black in this chapter in order to understand how a sensor can be interfaced with BeagleBone board to make the system interact with the physical world. We will be getting ambient temperature as analog input readings from the physical world around the sensor, and coding the BeagleBone board to make the LEDs connected to the BeagleBone board to light it up in different colors, depending on the temperature levels measured by the sensor. So, by end of this chapter, you will have built an interactive physical computing system using BeagleBone board where it outputs LED indications based on the temperature measured. The contents of the chapter are divided into the following topics:

  • Prerequisites

  • Temperature sensor – LM35

  • Interfacing the temperature sensor...