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

PIR sensors


A PIR (short for passive infrared) sensor is an electronic sensor that measures infrared (IR) light radiating from objects present in its field of view. Mostly, these sensors are used in PIR-based motion detectors.

How PIR sensors work

If you look at the following diagram picture, a PIR sensor has two slots in it, and each slot is prepared with the help of special materials that are IR sensitive. The Fresnel lens helps the two slots in the sensor to widen the detecting area of the sensor as well as its distance, that is, the sensitivity of the sensor. Both slots detect the same amount of IR when there is no movement in front of the sensor or the detection area; we call this the idle state of the sensor, during which the slots detect the ambient amount of IR radiated from the room or outdoors. The sensor calibrates itself and waits for the movement of a warm body.

When half of the PIR sensor intercepts any warm body, such as a human or animal, it causes a positive differential change...