on ESP32 stepper only turns one way

125 views
Skip to first unread message

marc kerger

unread,
May 16, 2021, 12:46:37 PM5/16/21
to accelstepper
HI
I tried using stepper and Accelstepper  on a ESP32 ( a ttgo t-display to be precise) but strangely the stepper will only turn one way. 
I use pins 12,13,15, 2 on In1-4 of a small ULN2003 driver breakout board.
if i drive the stepper without a library all works ok. 
Is there some incompatibility with the pins?

thanks


marc kerger

unread,
May 16, 2021, 2:07:49 PM5/16/21
to accelstepper
ok i found a solution.
the wiring order must be : in1, in3 in2 in4.
Reply all
Reply to author
Forward
0 new messages