I've got an Adafruit motor sheild and a Micro Metal Gearmotor (100:1). I can't get the motor to move at all. The best result i can acheive is the motor to create a high pitched note every time it's told to run. Everything is wired up right. I'm feeding it enough power.
The spec of the motor is:
100:1 Gear ratio
120rpm @ 6V
40mA @ 6V
360mA stall current @ 6V
10 oz inches torque @ 6V
And the code i'm using:
#include <AFMotor.h>
AF_DCMotor motor(1, MOTOR12_64KHZ); // create motor #2, 64KHz pwm
void setup() {
Serial.begin(9600); // set up Serial library at 9600 bps
Serial.println("Motor test!");
motor.setSpeed(120); // set the speed to 200/255
}
void loop() {
Serial.print("tick");
motor.run(FORWARD); // turn it on going forward
delay(1000);
Serial.print("tock");
motor.run(BACKWARD); // the other way
delay(1000);
Serial.print("tack");
motor.run(RELEASE); // stopped
delay(1000);
}
Can anyone suggest what i might have done wrong?