driving motors 12V/580mA through Boe-Bot
thomas_pittin
Posts: 29
Hi,
I have a problem with my boe-bot
I want to drive two motors (12V 580mA) through my boe-bot, i tried with L293D but don't work perfectly
anyone can help me?
Thanks
Thomas
I have a problem with my boe-bot
I want to drive two motors (12V 580mA) through my boe-bot, i tried with L293D but don't work perfectly
anyone can help me?
Thanks
Thomas
Comments
Reference:
http://www.ti.com/lit/ds/symlink/l293d.pdf
Now the VS+ and the VS+ ENABLE is the same voltage(5V), I try to connect the VS+ to 12V, but the ground of the 12Vbattery is the same of my Boe-Bot?
Referring to the BLOCK DIAGRAM on page 2 of the PDF, Pin 16 (Vcc1) goes to your 5V supply and Pin 8 (Vcc2) goes to your 12V supply. The inputs (2,7,10,15) should all accept 5V logic. The enables (1 and 9) should also accept 5V logic. The grounds (4,5,12, and 13) are COMMON between Vcc1 and Vcc2.
For best results:
- Use the Enable lines to control speed via PWM.
- When changing direction, don't just flip the input from HIGH to LOW or vise versa. You should transition through the Enable line to prevent "shoot through" by disabling the output. i.e. The input on pin 2 is HIGH and the input on pin 7 is LOW while the Enable on pin 1 is HIGH ... Instead of making Pin2 LOW and Pin 7 HIGH ...First make the Enable on Pin 1 LOW, then make Pin2 LOW and Pin 7 HIGH before you resume the Enable pin to a HIGH
Reference L293D PDF:
http://www.ti.com/lit/ds/symlink/l293d.pdf