First, sorry by my english.
I have a Motor Shield v 1.0. and i have a problem to make it work. The problem is that the motor don't move.
I'm using a external suply for the shield (9v) and a diferent suply for Arduino (Uno), and conect a DC motor (3,5v) on the shield.
The sketch i'm using to test is simple, like this:
Code: Select all
void loop() {
motor.run(FORWARD);
for (i=10; i<255; i++) {
motor.setSpeed(i);
delay(1000);
}
}
The input is ok (9v), and the led is aligth.
I verify the solder and the polarity of the components like the tutorial, and locks ok.
I try two diferent motors (1 and 4) and the result was the same.
what can be wrong?
Thanks.