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 8. Home Security Systems Using BeagleBone Black

In this chapter, we will focus on building a real-time Internet-connected home security surveillance system using the BeagleBone board. Similar to previous chapters, we will use OpenCV and Python on BeagleBone with a camera connected to it. But to take the project to an advanced level, we will add a PIR sensor to the BeagleBone board and write code on it to interact with the physical world. We will get started with motion detection using PIR sensors, followed by sending e-mails from BeagleBone boards using Python. We will finish the chapter with a project, in which we will build a motion-detection security camera that will send e-mail alerts with images captured whenever motion is detected by the PIR sensor.

The contents of this chapter are divided into the following topics:

  • Prerequisites

  • PIR sensors

  • Motion detection using PIR sensors

  • Sending e-mails with attachments

  • Advanced project – motion detection, image capture, and alert system