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

Adding a USB camera to a BeagleBone board


Adding a USB camera to a BeagleBone board is pretty straightforward. All you need to do is get a USB camera that is compatible with Linux, so one which has drivers for Linux. These days almost all USB web cameras come with this support. If you have a very old USB web camera that you want to interface with a BeagleBone board, you might have to add some additional steps to install the device drivers to see your video camera element on the Linux devices list on the BeagleBone board. For this topic explanation, I used a Logitech C270 HD webcam, as shown in the following figure:

You can use the USB port available on the BeagleBone board to connect the USB camera as shown in the following picture:

Boot the BeagleBone board using Debian on the MicroSD Card that we flashed earlier, and login into the BeagleBone board via SSH. Now type the command Lsusb as shown in the following screenshot:

If you are able to see the webcam listed on the device list, it means...