How many motors can I use with this shield?
Can I connect more motors?
HELP! My motor doesnt work! - HELP! My motor doesnt work!...But the servos work FINE!
Is the LED lit? The Stepper and DC motor connections wont do a single thing if the LED is not lit
Don't bother writing up uploading code or wiring up motors if the LED doesn't light up, its not going to work.
What is the LED for?
I'm trying to build this robot and it doesn't seem to run on a 9V battery....
Can this shield control small 3V motors?
What is the power connector on the shield for? How do I power my motors?
My Arduino freaks out when the motors are running! Is the shield broken?
I have good solid power supplies, but the DC motors seem to 'cut out' or 'skip'.
What pins are not used on the motor shield?
All 6 analog input pins are available. They can also be used as digital pins (pins #14 thru 19)
Digital pin 2, and 13 are not used.
The following pins are in use only if the DC/Stepper noted is in use:
Digital pin 11: DC Motor #1 / Stepper #1 (activation/speed control)
Digital pin 3: DC Motor #2 / Stepper #1 (activation/speed control)
Digital pin 5: DC Motor #3 / Stepper #2 (activation/speed control)
Digital pin 6: DC Motor #4 / Stepper #2 (activation/speed control)
The following pins are in use if any DC/steppers are used
Digital pin 4, 7, 8 and 12 are used to drive the DC/Stepper motors via the 74HC595 serial-to-parallel latch
The following pins are used only if that particular servo is in use:
Digitals pin 9: Servo #1 control
Digital pin 10: Servo #2 control
Which pins are connected to the DC/Stepper motors?
How can I connect to the unused pins?
The analog pins (analog 0-5 also known as digital pins 14-19) are broken out in the bottom right corner.
Pin 2 has a small breakout since its the only truly unused pin
The remaining pins are not broken out because they could be used by the motor shield. If you are sure that you are not using those pins then you can connect to them by using stacking headers when assembling the kit or soldering onto the top of the header with wires, or using a "Wing shield"
I get the following error trying to run the example code: "error: AFMotor.h: No such file or directory...."
I have two stepper motors and I want to run them simulaneously but the example code can only control one and then the other?
The stepper motor library step() routine does not have the ability to run both motors at a time. Instead, you will have to 'interleave' the calls. For example, to have both motors step forward 100 times you must write code like this:
for (i=0; i<100; i++) {
motor1.step(1, FORWARD, SINGLE);
motor2.step(1, FORWARD, SINGLE);
}
If you want more intelligent control, check out the AccelStepper library (in the Downloads section) which has some concurrent stepper motor control examples
What are some 'suggested motors'?
Most people buy motors from surplus shops and no motor will make everyone happy
However, since its a popular question, I suggest buying motors from Pololu (DC Servos, DC motors) or Jameco (all sorts!) As well as the many surplus webshops.