Page 1 of 1

stepper motor run step by step alternately

PostPosted: Thu Jun 11, 2020 11:21 pm
by shanren
Hello,
I am testing a 17sh4401 stepper motor with L298N by the example from Arduino, I saw the step forward and backward alternately when I used the example: oneStepAtATime, I shift the wires many ways, still same, why?

The stepper motor be able to continuous running at the direction expected by using: stepper_oneRevolution. the steps forward/backward alternately happened when tested it run step by step.

Thanks
Shanren

Re: stepper motor run step by step alternately

PostPosted: Sun Jun 14, 2020 12:08 am
by shanren
This forum is so cool.

Re: stepper motor run step by step alternately

PostPosted: Sat Jun 20, 2020 7:52 pm
by ober
You need to show us the wiring you do, so we can advise possible swapping of wires.