

In the latest Make: Robot Build Newsletter, Matt Mets wrote a piece introducing motor controllers and linked to an ITP article on using an L293NE motor controller. In the Robot Build area of the MAKE Forums, Alan Kilian pointed us to this other excellent tutorial, Control Your Motors with L293D, on Let’s Make Robots. It has very clear breadboard images and shows you, among other things, how to add a few capacitors to your circuit to smooth out the current.
Control your motors with L293D
More:










I have an interesting conundrum in which the motors that drive my gearbox (the ones that came with it) are 1.5-3V, and my MCU requires 5V. I’m going to be using a MintyBoost to drive 3V up to 5, and a separate 3V source for the motors. I’m just hoping that using a 5V signal to activate my H-bridge to run 3V to the motors doesn’t cause a problem. I can’t remember the math for transistors, but I’m pretty sure that having a higher voltage at the base than at the collector should just throw it all wide open. Guess we’ll see.
Look at the datasheet for the transistors in your H-bridge. Look for Vbe(sat) Aka Voltage, base to emitter. It will usually be 0.7v. So you will have to be at least that much higher in base voltage.
I’ve had better success with the L298N. I kept burning up L293′s.
Also, I have some PD control code for both of these drivers here:
http://subzonepen.blogspot.com/2009/06/dc-motor-closed-loop-pd-control-code.html
clicking on the link above “using an L293NE motor controller” shows lots of php internals which i presume is unintentional…
// What's Trending
Raspberry Pi Design Contest
Seventeen Sneaky Secret Hides
Maker Faire Bay Area Ready for Showtime
Sneak Preview: The Wheeled Wonders of Maker Faire
A Photo Tour of Maker Faire
10 Things to Connect to Your Raspberry Pi
New Arduino Robot Available in the Maker Shed at Maker Faire
Everyday Carry at Maker Faire
// What's Shared
A better way to slice a pumpkin
DIY Nerf Darts
In the Maker Shed: Minty Boost USB Charger
100 Dollar Store Organization Ideas for Craft Rooms and Beyond
Mad’s Mouse House
Lace Princess Crowns
I Have a (Puzzling) Dream
Play the Rings of a Tree Trunk Like a Record
// Most Commented
DIY Hacks & How To’s: Get Emergency Power from a Phone Line
Resin Casting: Going from CAD to Engineering-Grade Plastic Parts
Ten Tips for Screws and Screwdrivers
Ten Tips for Better Measurement
Makers on TV: Big Brain Theory
Pitches with Prototypes: Solar Tracker
Grow: A Portable CNC Router System
Tool Review: BioLite CampStove