I need some help with a project I am working on involving stepper motors. This is the first time I have tried to use stepper motors with an Arduino and I am running into some problems. I am using an OSEPP Motor and Servo Shield and an Arduino Uno. The problem is the schematic for the shield is very confusing, and I am not sure what pins to assign the motor to. I am not sure on this, but it seems like the default Arduino example uses pins 8,9,10, and 11. However, this shield has pins 9 and 10 assigned to servo 1 and servo 2 respectively on the board. The datasheet for the shield is below, if anyone can make sense of it. The actual product page is below that.
Another problem I have run into is I'm not sure which wire from the motor corresponds to the inputs on the shield. The motor being used is below. Currently I have the wires plugged into the board, in order, left to right, red yellow, green, gray, as it says in the adafruit description. I am not sure if that is correct for THIS shield though.
TL;DR : Need help figuring out which pins to assign the motor to, and the order the wires go into the board. Any Help is Appreciated.
I am not familiar with that shield but it seems to use L293 drivers which do not have the facility to limit the current to protect the stepper motor.
I have similar stepper motors and I control them with Pololu A4988 stepper driver boards. Because I can limit the current I drive them with a 19v power supply. The A4988 also takes a big computation load off the Arduino.
It would be possible to drive them with your shield but you will be limited to using 12v so as not to damage the motors. Sorry I can't help with the connections.
Your motor is a high-impedance motor (35 ohm windings) so at least it is possible to drive it
from a dual-H-bridge driver like that L293D one. (Most steppers today are low-impedance
and require current-control).
Each winding of the motor looks like a single DC motor to the driver board, so figure out
how the windings are connected (using a multimeter), then connect to the 4 outputs
accordingly.
Then the rest is software.
Be aware you won't get much speed out of a high-impedance stepper, 200 rpm is the sort
of top speed to expect. That's a fact of life, whereas low impedance can manage 1000's.