11 years, 4 months ago.

I want to use stepping motor with pwm

Now, I'm making a line tracer.

And I will ues two stepping motor. then I want ro control motor speed with pwm.

I found code that Tedd OKANO write, but I can't understand how to choose 4 pins.

Please help T^T

1 Answer

11 years, 4 months ago.

Stepper motors DO NOT USE PWM

if you have four wire stepper motor, then a little hard, with ought a stepper chip, L2938 ???

but if you have 5 or 6, or if it is a rely big motor EIGHT wires, then 4 transistors can be used just send a 'walking 1' the speed of walking will determine the speed of rotation.

explanation

hope this helps,

Ceri

Accepted Answer