Arduino Step Motor Kodu. This will control the speed of the motor. The motor will run during 600 step you can change the step motorstep 800.

I have a stepper motor connected to uno r3. Pin 9 of the uln2003 supplies the voltage for the stepper motor while pins 1 4 are connected to the arduino. The motor will run during 800 step in reverse you can.
This makes it a lot easier to control multiple stepper motors for advanced projects.
For this we use the function steppersteps pin1 pin2 pin3 pin4 where steps is the number of steps per revolution and pin1 through pin4 are the pins to which the motor is connected. Setting up the stepper motor. In our case these are pins 8 9 10 and 11. For the second motor driver connect the step pin to digital pin 7.