General Question

Jonathan_hodgkins's avatar

Programming a NEMA 17 stepper motor to microstep with an Arduino?

Asked by Jonathan_hodgkins (684points) December 6th, 2017

I am trying to control a NEMA 17 stepper (1.8 degree, 200 rev) with an Arduino and a motor shield. The movements are a little jerky.

How can I program this motor to do microsteps and make the movement smoother?

This motor only has two windings. Do I need a different motor?

Observing members: 0 Composing members: 0

1 Answer

ARE_you_kidding_me's avatar

There are literally thousands of arduino code examples out there. This is something you should figure out on your own because the act of doing so will make you a better tinkerer. A typical stepper will have like a hundred or more steps per rotation. Jerky motion is indicative that the wrong step sequence is being applied. Look up the specs for your stepper and make sure your driver is outputing the right sequence. You can also make your own driver circuit and use the digital I/o pins to output the step sequence. Even an uno or mini pro will do that.

Answer this question




to answer.

This question is in the General Section. Responses must be helpful and on-topic.

Your answer will be saved while you login or join.

Have a question? Ask Fluther!

What do you know more about?
Knowledge Networking @ Fluther