While im waiting for my microcontroller to arrive, i thought ill get my motor circuit ready and fired up.
Im using the l293dne. Im assuming its pin for pin compatible with l293d.
Here are the parts im using
1 12V 900 mAh NiCd battery pack from an RC toy.
2 12V 250mA stall current DC motors.
there is a 7805 voltage regulator that provides 5V logic voltage for the l293dne.
There is the pinout diagram im using.
I first tried it with just 1 motor and just to be on the safe side, im using 5v for the motor voltage as well.
I tried the motor with a 5v supply and it works.
Here are the connections i made
Pin 1- +5V
Pin 2- +5V
Pin 3- Motor
Pin 4- GND
Pin 5- GND
Pin 6- Motor
Pin 7- not connected to anything
pin 8- +5V
Pin 16- +5V
rest of the pins are not connected.
The +5V regulator works perfectly and supplies 5.03V which is measured using a multimeter.
Pins 2,7,15,10 should be supplied with a high pulse from the microcontroller to turn the motors. I connected the enable pin to +5V. Since i didnt have my controller, I connected
pin 2 directly to +5V which i thought was essentially the same thing as providing a high signal, But nothing happened, the motor stayed still. .Then i connected pin 13 and 12 to gnd and still nothing happened?
1)Am i doing something wrong??
2)Can i connect pin 2 directly to +5V to simulate a high signal from the microcontroller?
3)Is there something wrong with the chip? is it damaged or something like that?
sorry for the long post, I tried to give all the details possible.
Thanks for the help.