[PD] stepper message syntax (pd through arduino)
Christian Klippel
ck at mamalala.de
Tue Oct 3 01:18:42 CEST 2006
hi again,
on a quick note, the sequence for using unipolar 4 coils steppers is:
A B C D coils A - D
1 0 0 0 step1
0 1 0 0 step2
0 0 1 0 step3
0 0 0 1 step4
this is the full step sequence. you can do half-steps as well, practically
doubling the number of steps per revolution:
A B C D coils A - D
1 0 0 0 step1a
1 1 0 0 step1b
0 1 0 0 step2a
0 1 1 0 step2b
0 0 1 0 step3a
0 0 1 1 step3b
0 0 0 1 step4a
1 0 0 1 step4b
to make it turn continously, repeat the sequence. to change direction, step
from 4 to 1 ....
if you want to use bipolar stepper motors, you need an extra h-bridge driver,
so that the polarity of the coil driving voltage can be changed.
greets,
chris
More information about the Pd-list
mailing list