Hey, i'm trying to get a 6v DC motor to work with my microcontroller. i'm using an arduino uno and an adafruit v2.3 motor shield put on top of it, i have the microcontroller plugged into my computer with a usb cable and also a 9v dc jack, the green LED light on the motorshield is on so i assume both of them are working properly. so then i tried plugging in a DC motor to the motorshield dc inputs with a screwdriver and running this script in the arduino IDE to see if it would spin,
#include <AFMotor.h>
AF_DCMotor motor(1);
int rate = 1000;
void setup(){
}
void loop(){
motor.setSpeed(rate);
motor.run(FORWARD);
}
but nothing is happening it just sits there. the code compiles fine, i tried running the dc motor with a C sized battery and it spun around fine so i don't think the motor is broken, i've also tried,
soldering the ends of the wires to the motor terminals
plugging the motor and running the script on each input (M1, M2, M3, M4)
using an external battery supply for the motorshield
running multiple example test scripts from the adafruit library
but it's still not working. do you guys know what could be the problem here?