Let's Make Robots!

problems with L293D + Arduino

I wired up a L293D to my arduino, planning to run 2 motors with it, and just for testing I runned the blinkie program on it changing the LEDpin to the to the digital pin that goes to the l293d but only half of the pin works, like it turns in only one direction. Is it normal ?


It's 4 in the morning so I did not do a lot of trouble shooting, just changed the pins that were on PWM to digital, it didn't changed anything.

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

Omg, I managed to get the circuit working, the motors turning, thank you everybody!

I used a L293NE, it's the same thing execpt you need a couple of diodes, it works on the breadboard it's not the final thing but I'm so happy!

 It works! It works! It works!

And again thanks to anybody who helped me with this.

good!!    :D

I mounted everything on a protoboard now, no more breaboard, I uploaded the test code you gave me to my arduino, and there's only one motor spining, I checked the circuit everything looks fine, what's wrong?

Is it my arduino that is screwed up?

Or is it maybe  the circuit that is bad ?


 (btw, It was doing the same thing on the breadboard, I just thought that it was the code)

I guess it can be something like:

- your power source isn´t enough to drive 2 motors

- some bad connection

- code


can you post a picture of your setup?

First I used a 9v 300ma power supply, I tought it was that, then I used a 12volts 1.2 amp power supply it didn't change anything. I'll post you some pictures later.

I don't think it's the code since I use the test code you sent me, but I may be wrong... 

that lead us to some bad connection, or maybe a defective motor, have you changed the motors and checked if both are ok?

I've checked both of them with a 3 volt battery pack, I also reversed the pole just to be sure, everything's ok with those motors.

 Pictures coming soon...

I like how your motor controller is clean :)!

You say that becaus you haven't seen the other side of it. ; )

though, I tought that by making it clean and everything it would have been easier to trouble shoot/modify.

I should have posted a picture of the first one i made too, it was so small, but again it was impossible to modify.


here it is! It's not that ugly I may be a bit anal about my cricuits...