Driving a Bipolar Stepper Motor with Arduino …
Here is the schematic of the whole setup and below is the Arduino sketch. Please note that the resistors needed to be at least 1/4W rated but I did not have the 22 Ohm needed for the project and used 1/8W ones.