Search icon CANCEL
Subscription
0
Cart icon
Cart
Close icon
You have no products in your basket yet
Save more on your purchases!
Savings automatically calculated. No voucher code required
Arrow left icon
All Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Newsletters
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Internet of Things with Raspberry Pi 3

You're reading from  Internet of Things with Raspberry Pi 3

Product type Book
Published in Apr 2018
Publisher Packt
ISBN-13 9781788627405
Pages 248 pages
Edition 1st Edition
Languages
Author (1):
Maneesh Rao Maneesh Rao
Profile icon Maneesh Rao
Toc

L293D

L293D is an integrated circuit chip most commonly used to drive the DC motor/stepper motor/gear motor. This IC consists of two H-bridges that can drive two DC motors simultaneously and in both clockwise and anticlockwise direction. It acts as an interface between the Raspberry Pi (or any other microprocessor) and the motor.

The DC motor needs a significant amount of current to start, which the Raspberry Pi is unable to provide as an output through GPIO. For example, a 5V DC motor needs around 300 to 400 mA current, which is way beyond what is available in the Raspberry Pi's GPIO, and if we directly connect the motor to the GPIO, it can damage the Pi. So, it is recommended you avoid directly connecting of the motor to Pi.

Let's look at the pin diagram for IC L293D to get an understanding of its operation:

L293D has a 16-pin configuration. There are two Enable pins...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $15.99/month. Cancel anytime