Hello arduiners,
I am having trouble with the TI chip L293NE. I am trying to use it to control a pair of 12v 246mA DC motors in a robot that I am building. I have looked at just about every tutorial online for this IC (and the arduino forums) and I have followed the wiring from the datasheet:
For the time being, I am trying to get it to work with just one motor. I have a program written that keeps one motor control pin low constantly while the other one oscillates between high and low every 2 seconds. This should make the motor turn in one direction for 2 seconds, stop for 2 seconds, and repeat.
I have the arduino plugged into my laptop for power and I am using a separate 12v sealed lead-acid battery to power the motor. When everything is hooked up and running, the motor does not turn. In debugging, I discovered that when I probe one of the digital output pins with a multimeter, the motor will turn in one direction. Probing the other pin will make it turn in the other direction. Alternatively, I can connect one of the motor control pins from the IC (pin 2 or 7) to ground and the motor will turn.
I seem to gather that the arduino cannot pull the voltage at the control pins low enough to make the IC function. Any ideas on why that might be or what I can do to fix it?