The stepper board uses 8 I/O pins to drive up to two stepper motors.
When installing the board be sure to attach the rubber pad to the top of the silver capacitor on the Raspberry Pi board (next to the power plug). This is to prevent the stepper board from shorting to the Raspberry Pi.
The jumper shipped with the board allows the stepper motor to use the +5V from the Raspberry PI. If you use a different stepper you can remove the jumper and supply up to 12 volts to the center pin and connect ground to the pin that had no connection.
Looking at the board with the LED's closest to you the white connector on the left uses the following bits
WiringPi BCM/GPIO Name
0 17 GPIO0
1 18 GPIO1
2 R1:21/R2:27 GPIO2
3 22 GPIO3
The second white connector.
4 23 GPIO4
5 24 GPIO5
6 25 GPIO6
7 4 GPIO7
Gordon's WiringPi automatically adjusts for which version of the Raspberry Pi you have.
To get the highest torque use these bit patterns on the first connector.
Turn 0 and 3 on then wait
Turn 3 off 1 on then wait
Turn 0 off and 2 on then wait
Turn 1 off and 3 on then wait
Turn 2 off (don't wait) goto top of list
Install and solder socket first.
Install resistor pack. Be sure to orient it as shown. I.E. text on resistor pack can not be seen from this side.
Install white connectors. Be sure to orient them as shown.
Install LED's. Be sure to orient them as shown. Long Leg towards resistor pack.
Install remaining components. Double check LED.
PYTHON EXAMPLE CODE
# -*- coding: utf-8 -*-
import RPi.GPIO as GPIO
#change next line to 27 if V2 Raspberry Pi
# set pin directions
i=current&2 + 1
current= current + 1
i=current&2 + 1
current= current - 1