I am in need of help as I am only good with mechanics and coding but terrible at electronics.
I want to power 2 DC motors with the L293D motor shield (v1).
The motors are run at 13000 max RPM at 6V.
I currently power my Arduino separate from the shield and power the shield with a 6V battery pack. I've tried to hook-up just 1 motor and have failed to get it to run. It runs when i give it a little spin at the beginning of the program but otherwise it just makes a constant beep sound and doesn't move. I also noticed the ICs get pretty hot so that worries me since the motors dont even move.
The code is a basic FORWARD at 255 and i know it works because I've hooked it to smaller motors and they work as they should.
However, the motors i speak of also spin beautifully and easily when DIRECTLY hooked up a 3V battery pack. Why is that? Is the power from the 6V battery pack lost somewhere inside the L293D shield? Should i get a bigger battery pack?
Any help would be greatly appreciated! I can answer questions about my hardware if more information is needed.
Have you checked the specifications of the motors and the shield? With no details given my guess is that the motors need more current than the L293 can supply.
6V is way too low a supply voltage for a darlington motor driver like the L293 - a MOSFET driver would be
way way more efficient and not lose 2.5V or more.
MarkT:
6V is way too low a supply voltage for a darlington motor driver like the L293 - a MOSFET driver would be
way way more efficient and not lose 2.5V or more.
Please post full details of the motors.
my motor's description from site: "This 3-6VDC motor operates optimally at 6VDC, draws 450mA no load, stalls at approx 2.4A and spins at about 13K rpm. Measures 2" long x 1-1/16" dia with a little 3/8" dia x 5/16" 12-tooth gear. Simple +/- leads are wired to a double jack that can easily be cut off or jumped. Leads are 14” long."
The motor stall current is specified as 2.4amps. That means the driver has to deliver at least 2.4 amps before the motor even starts to turn (stalled conditions) Your driver output is stated as a peak of 1.2amps so effectively you are grossly overloading your driver under stalled conditions.