Hi all,
I am using the stepper and controller included in an AliExpress starter kit.
And I am using Tom Igoe's sample sketch "stepper_speedControl.ino", which just has a potentiometer for analog control of the commanded speed. https://www.arduino.cc/en/tutorial/stepperSpeedControl
The 5 colored wires from motor are pre-terminated with a white JST plug that only fits one way into the controller board.
Rainbow ribbon was used to connect IN1, IN2, IN3, IN4 of the controller board to the UNO's digital pin 8,9,10,11 respectively.
Power supply to the controller was from a LiPo pack, I was able to vary the voltage from 1S to 3S, by poking into the balance plug of the LiPo pack, but the behavior was all the same.
Is it safe for me to just blindly shuffle the 4 digital connections in a trial and error manner?
I wouldn't assume all these 28BYJ's are wired the same. Those 4 wires for the windings can be in 24 different orders, only 8 or them will work with any particular sketch.