# Robot Build: Using an L293 motor controller

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:

### BY Gareth Branwyn

Gareth Branwyn is a freelancer writer and the former Editorial Director of Maker Media. He is the author or editor of a dozen books on technology, DIY, and geek culture, including the first book about the web (Mosaic Quick Tour) and the Absolute Beginner’s Guide to Building Robots. He is currently working on a best-of collection of his writing, called Borg Like Me.

### 4 Responses to Robot Build: Using an L293 motor controller

1. mightywombat.livejournal.com on said:

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.

2. 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.

3. dennisj on said:

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

4. Anonymous on said:

clicking on the link above “using an L293NE motor controller” shows lots of php internals which i presume is unintentional…