I am attempting to use the v2 motor shield NOT mounted to the uno. I need to know the direction and pulse pins, as I am trying to use it as a 3rd stepper controller…any help?
CHANNEL A
Pin 9 is Enable A. which enables OUT 1 and OUT 2. HIGH = on, and is shown by the lower blue LED
Pin 8 is OUT 1, and lights the lower red LED when set HIGH.
Pin 11 is OUT 2, and lights the lower yellow LED when set HIGH
CHANNEL B
Pin 10 is Enable B. which enables OUT 3 and OUT 4. HIGH = on, and is shown by the upper blue LED
Pin 13 is OUT 3, and lights the upper red LED when set HIGH.
Pin 12 is OUT 4, and lights the upper yellow LED when set HIGH
Use one set of coils of a bipolar stepper on OUT 1 and 2, and use the other set of coils on OUT 3 and 4.
I was able to get a generic stepper to work with the Arduino stepper examples by adding the following to the code:
const int Channel_A_Enable = 9;
const int Channel_B_Enable = 10;
Stepper myStepper(stepsPerRevolution, 8, 11, 13, 12);
void setup() {
digitalWrite(Channel_A_Enable, HIGH);
digitalWrite(Channel_B_Enable, HIGH);
}