Ok, heres HOWTO control stepper motor with pololu dual MC33887.
I used 23KM-K033-03 Stepper motor.
Here is simple code
/*
MOTOR 23KM-K033-03
WHITE AND YELLOW TOGETHER, NO CONNECT ELSEWHERE
POLOLU 2x MC33887 CARD:
BLUE MOTOR 1-1
RED MOTOR 1-2
BLACK MOTOR 2-1
GREEN MOTOR 2-2
ARDUINO FROM POLOLU 2 x MC33887
PIN 8 = IN MOTOR 1-1
PIN 9 = IN MOTOR 1-2
PIN 10 = IN MOTOR 2-1
PIN 11 = IN MOTOR 2-2
*/
#include <Stepper.h>
#define STEPS 200
Stepper stepper(STEPS, 8, 9, 10, 11);
void setup()
{
stepper.setSpeed(100);
}
void loop()
{
stepper.step(200);
}
So, with dual MC33887 you can control stepper motor very nice =)
EDIT: Here is a VIDEO (YOUTUBE)
You need to connect D2's and EN's to +05v...