I'm struggling with get suitable step delay while driving a stepper motor.

How to calculate exact step delay for 1.8deg/step stepper motor? Give some example calculation.

closed as unclear what you're asking by user31481, Michel Keijzers, MatsK, gre_gor, Code Gorilla Nov 14 '17 at 10:06

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

  • 2
    Welcome to Arduino SE. Please realize that this is not a free design house, homework-answering service or an on-line technical encyclopedia, copied out to you on demand. People will help you take the next step if your question shows that you've done as much as you possibly could on your own - which your post doesn't. Please revise your question showing your work and findings so far. Or delete the question if Internet searches give you your answer anyway. – user31481 Nov 11 '17 at 8:39
  • Convert the RPM of the motor to RPS.
  • Take reciprocal to get seconds per revolution.
  • Divide it by 360 to get seconds per degree.
  • Multiply by 1.8 to get seconds per step.

How to calculate exact step delay for 1.8deg/step stepper motor?

each rpm = 360 degrees * rpm / 60 second.

So the time, between each step, is resolution / (60 * rpm), where resolution = 1.8deg/step in your case.

Not the answer you're looking for? Browse other questions tagged or ask your own question.