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

Advanced project – a telecontrolled robot with live video streaming


First connect the motor driver IC with motors, power supply as shown in the following circuit:

The whole setup will look like the following picture:

So you can see from the preceding picture that the BeagleBone Black is connected to a USB hub to which the WiFi dongle and USB camera are connected. Also the L293D is connected to motors of the robot and an external 12V battery is used to drive the motors. The input pins of L293D are connected to the BeagleBone Black to control the L293D. The BeagleBone Black is powered using a mobile power bank using a USB to DC barrel connector cable, which you can make on your own as shown in the following picture:

So why can't the BeagleBone board be powered using the inbuilt USB connection?. This is because the USB only draws 500mAh in total from the input supply, which isn't sufficient to power up the USB webcam and the Wi-Fi dongle.

Now, you can login into the BeagleBone Black and write the...