motor shield not working...
I was testing a geared stepper with my arduino motor shield and it suddenly stopped working. It has power in the 5V pin 'cause that's were I have my Ping sensor connected, but there seems to be none going to the motor connections. Any ideas? I can't afford another one... please tell me it's not dead.
PS: The L293DNE was a bit hot yesterday while testing other steppers, but it was working this morning.



@ Sun, 2009-09-27 11:46
new motor controller
What would be a good motor controller to make with a limited source of parts (range 4~5A)? There are no local suppliers in my country, so everything has to be done over the internet where shipping is crucial.
Should I move this question to another part of the forum? Thanks.
@ Sun, 2009-09-27 15:59
I recommend just using a
I recommend just using a SN754410NE and building a motor controller on your own.
- Try this tutorial on motor controller.
- And you probably need to controll power as well. So read thisand this If you need more advice on power you can also try sparkfun's intro
- Society of robots has nice tutorial regarding motor controllers as well.
Do you really need a 4~5Amp for your motors?@ Sun, 2009-09-27 16:51
Not really, but I'm basing
@ Mon, 2009-09-28 21:04
Thats quiet some current.
Thats quiet some current. Sometimes its easier to get a different pair of motors rather then buying a expencieve motor controller which can handle your requirenments. If you decide to buy something pre-made I'd recommend you to look at Pololu's products. They have very good controllers and ship fast.
If you decide to build something stay away from the L298 as its a bitch to assemble. Pinout is rather nasty. Especially if you're making your own PCB. It's easier to connect the L293(sn754410ne) which also can be connected in parallel.
@ Sat, 2009-09-26 22:22
And your code is ???
And your code is ???
Have you run tests of turning one input on and off with the multimeter attached to the h-bridge outputs?
When yu turn one input of the h-bridge on, you should see the corresponding output also go high. as in 5 volts at the input, should give the motor voltage output minus about 1.2 volts.
@ Sat, 2009-09-26 23:17
sorry
I'm using the sample code for the motor shield from here: http://www.ladyada.net/make/mshield/use.html I believe the RELEASE command sets the LOW value you mentioned. The output voltage is about .5V, which seems strange to me. Input is 9-12V.
@ Sun, 2009-09-27 06:30
First check if you really do
First check if you really do have a geared STEPPER motor or a geared DC motor. How many wires are coming out of the motor? If there are only 2, it`s a DC motor but if there are more than 2 wires it`s most likely a stepper.
IF you have confirmed it`s a DC motor AND you just recently changed the motor connections.. then likely you haven`t changed the code to reflect the different connections. AF_DCMotor motor(2, MOTOR12_64KHZ); line should probably be changed to something like AF_DCMotor motor(1, MOTOR12_64KHZ); but check the documentation on that site.
IF you have confirmed it`s a stepper, then your problem is that the code you are using is for a DC motor. Stepper motor code and wiring diagram is on the same page you linked.
@ Sun, 2009-09-27 08:13
let me explain
I was testing a stepper (4 wires) (bipolar) with the corresponding code. Then I tried to test a DC motor with the code posted above to check the motor pins on the shield. I can distinguish between steppers and motors.
I asked about this issue in the adafruit forum and someone told me the problem is probably a fried chip. My new question is if one of the chips dies, what happens to the other one? Are they connected to each other? (L293DNE)
Thanks for replying.
@ Sun, 2009-09-27 08:45
Everything will be connected
Everything will be connected through logic and motor voltage, and ground.
I guess whether or not both chips have fried comes down to why the chip has fried in the first place. Sorry, can`t really help much. As a last resort you could try swapping the chips but you`d have to get out the soldering iron to do that :/
@ Sat, 2009-09-26 21:10
First; change the title of
First; change the title of your post!Secondly; check your circuits with a multimeter.