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

L293D motor driver IC


As we mentioned previously, the L293D can be defined as a, H-Bridge motor driver circuit, which is made into a IC allowing us to drive a DC motor in either direction using digital inputs.

The pin configuration of the L293D is as shown in the following picture:

As shown in the preceding picture, in the L293D there are four input pins and four output pins. The two input pins, pin two and seven regulate the rotation of the motor connected to output pins three and six. Similarly, the input pins on the right, pin fifteen and ten regulate the rotation of the motor connected to output pins eleven and fourteen. The enable pins one and two, on the left and the right side of the IC on pin one and nine of the IC enables the operation of the output based on the input on that side of the IC. The motors rotate based on the inputs provided across the input pins as Logic 0 and Logic 1. Supply 5V to the Vcc pin of the IC for its operation, and connect the ground pins to the ground and...