Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
Intel Edison Projects

You're reading from   Intel Edison Projects Build exciting IoT projects with Intel Edison

Arrow left icon
Product type Paperback
Published in May 2017
Publisher Packt
ISBN-13 9781787288409
Length 264 pages
Edition 1st Edition
Languages
Concepts
Arrow right icon
Author (1):
Arrow left icon
Avirup Basu Avirup Basu
Author Profile Icon Avirup Basu
Avirup Basu
Arrow right icon
View More author details
Toc

Table of Contents (7) Chapters Close

Preface 1. Setting up Intel Edison FREE CHAPTER 2. Weather Station (IoT) 3. Intel Edison and IoT (Home Automation) 4. Intel Edison and Security System 5. Autonomous Robotics with Intel Edison 6. Manual Robotics with Intel Edison

High performance motor driver sample with code

In Chapter 5, Autonomous Robotics with Intel Edison, we saw an application of L293D and we also wrote some code for it to control motors. However, L293D fails in high performance applications. To tackle this, we had a brief discussion about an alternative high-power driver.

Here, we'll deep dive into the driver, as it has been my personal favorite and is used in virtually all our robots:

Dual motor driver high power. Picture source: http://robokits.co.in/motor-drives/dual-dc-motor-driver-20a

The driver has the following five control pins:

  • Gnd: Ground
  • DIR: When low, the motor rotates in one direction; when high, it rotates in another direction
  • PWM: Pulse width modulation to control the speed of the motor; the recommended frequency range is 20Hz - 400Hz
  • BRK: When high, it halts the motor in operation
  • 5V: Regulated 5V output from motor driver board

Now let&apos...

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 $19.99/month. Cancel anytime
Banner background image