I now want to control it from my Arduino, so I connect the power supply to the EXT PWR block on the shield and set it at the same 13V.
I can then hear a buzz coming from the motor. The buzz follows the commands I setup in Arduino-0014, so I guess the power reaches the motor, so why isn't it moving? Since it does work directly from the power supply, why won't it from Arduino with the same voltage?
If its less than .6 Amps it should work fine. You might have a error in your code.
If its greater than .6 Amps but less than 1.2 amps, you have to connect both h-bridges on the shield to the dc motor and use both of them to control the motor.
If its greater than 1.2 amps, you'll need another solution
I don't know how many amps is the motor, there is a sticker on it with many numbers, but after searching the web they didn't lead me anywhere, (no voltage, no amps, no rpm, nothing) so I don't know.
I did verify the code and there seems to be no problem with it since it runs the smaller motor quite nicely.
When you say I'd have to connect both H-bridges, do you mean each lead of the moto sould use 2 blocks on the motor shield? (2 blocks in parallel?) ex: (+ in M1-M2) ( - in M1-M2).
It probably has to do with the amperage, but how come it's ok from the power supply and not from the Arduino? Can the amperage coming from the power supply bust my Arduino?
I'm just starting in electronics, I appreciate your help a lot!
well the power supply is probably capable of supplying the right amount of current and therefore it works with the motor. The reason it might not be working with the Arduino, is cause the Ladyada Motor shield can only supply upto 600mA from each H-bridge.
So say you have a power supply that can supply 3 Amps and a motor that requires 2 amps. If you connect the motor to the power supply, it should work no problems. However, now if you connect an Arduino with the motor shield in the middle, the max, the motorshield can draw from the supply is 600mA and therefore the Motor does not get enough current.
look at: Powering your DC motors, voltage and current requirements
However, I would first find out how much current the motor uses. Hook the motor up to the power supply and use a multimeter to see how much current is being used. That should give you a rough idea of the power usage
(+) from power supply connected to one lead of the motor.
other lead of motor to multimeter
then multimeter back to power supply.
I get a reading of 0.02 when no load is applied to the motor and 0.45 when I pull the chariot of the printer.
If I set it right, which one of these rating should I consider?
Then I guess 0.45 is 4500 milliamps... So all I can do with this motor through Arduino is to watch it spin it's axle... quite exciting. (It does vibrate though)
But the question remains, there must be a way to use Arduino to simply control the motor without providing the power. Is there?