Hey friends, I am struggling to get a bipolar stepper up and running. The model has been discontinued and the datasheet is nowhere to be found on the internet, but here are the specs:
Minebea / Astrosyn bi-polar stepper motor. 5 volt, 0.4 amp, 12.5 ohms, 12.5 ohm coils. Shaft diameter (4.992mm) 0.2"D x 0.4"L. 1-5/8" square x 7/8" high. Four leads (Y, R, BK, OR) with four-pin socket connector.
I am trying to use the TB6612FNG dual motor driver from Pololu with an Arduino UNO to no avail. I found this resource linked to on the Pololu site and made the connections based off of that. But the shaft is not spinning. I would appreciate any help that I receive. Below is my code. Thanks!
int positionOne = 8;
int positionTwo = 9;
int positionThree = 10;
int positionFour = 11;
void setup()
{
}
void loop()
{
digitalWrite(positionOne, LOW);
digitalWrite(positionTwo, HIGH);
digitalWrite(positionThree, HIGH);
digitalWrite(positionFour, LOW);
delay(1);
digitalWrite(positionOne, LOW);
digitalWrite(positionTwo, HIGH);
digitalWrite(positionThree, LOW);
digitalWrite(positionFour, HIGH);
delay(1);
digitalWrite(positionOne, HIGH);
digitalWrite(positionTwo, LOW);
digitalWrite(positionThree, LOW);
digitalWrite(positionFour, HIGH);
delay(1);
digitalWrite(positionOne, HIGH);
digitalWrite(positionTwo, LOW);
digitalWrite(positionThree, HIGH);
digitalWrite(positionFour, LOW);
delay(1); //delay_ms(1);
}
edit 1: also, I am pretty sure it requires 12V, so that is what I am using for VMOT on the driver pin-out.
edit 2: I removed unnecessary info as recommended.