4-wire, 2-phase stepper motors can be controlled via digital outputs SQR1,2,3,4 .
Since these outputs can only drive currents up to 20mA reliably, users must use push-pull drivers such as the L293B
from SEEL import interface I = interface.connect() I.stepForward(20,10) #20 clockwise steps with 10mS delay between each step I.stepBackward(20,50) #20 anti-clockwise steps with 50mS delay between each step
Micro stepper motors shown below consume low amounts of current, and can be driven directly via the SQR outputs.
They’re 4-wire, 2-phase steppers, and can be driven in half/full step modes using 4 push-pull digital I/O.