Electronic – Why doe the sequence 16*[10,6,5,9] work for a bipolar stepper motor

stepper motor

I programmed a bipolar stepper motor (Step Angle: 1.8 degrees) connected to the computer via a velleman K8055 usb board and coding in MATLAB. I thought the sequence for full step drive was [12, 6, 3, 9], but it didn't work so I tired the sequence [10,6,5,9] which I found when I googled and it worked.

The site didn't give an explanation it jut gave me the sequence.

Best Answer

10  1 0 1 0
6   0 1 1 0
5   0 1 0 1
9   1 0 0 1

if you motor is wireed A+ A- B+ B- that will drive it perfectly or to put it another way, swap the middle two columns and you'll see the staircase pattern

    1 1 0 0
    0 1 1 0
    0 0 1 1
    1 0 0 1