user81767: In my project I have to control a stepper motor using arduino and microstep driver, can I control the motor so that it can move 90 degrees then stop for like a second and then move again and repeat that sequence.
Can I do that please help I'm stuck in the code and I couldn't figure it out.

user81715: Of course you can! There are some excellent libraries to control steppers, e.g. Stepper or AccelStepper.
What you describe sounds like basic task that is covered in examples of these libraries. For example, this one: https://github.com/arduino-libraries/Stepper/blob/master/examples/stepper_oneRevolution/stepper_oneRevolution.ino. You only need to set correct pins and tweak delays and rotation angles (if your stepper has 200 steps per revolution, then 90 degrees is 50 steps).

81767: <p>In my project I have to control a stepper motor using arduino and microstep driver, can I control the motor so that it can move 90 degrees then stop for like a second and then move again and repeat that sequence.
Can I do that please help I'm stuck in the code and I couldn't figure it out.</p>
 81715: <p>Of course you can! There are some excellent libraries to control steppers, e.g. <a href="https://www.arduino.cc/en/Reference/Stepper" rel="nofollow noreferrer">Stepper</a> or <a href="http://www.airspayce.com/mikem/arduino/AccelStepper/" rel="nofollow noreferrer">AccelStepper</a>.</p>
<p>What you describe sounds like basic task that is covered in examples of these libraries. For example, this one: <a href="https://github.com/arduino-libraries/Stepper/blob/master/examples/stepper_oneRevolution/stepper_oneRevolution.ino" rel="nofollow noreferrer">https://github.com/arduino-libraries/Stepper/blob/master/examples/stepper_oneRevolution/stepper_oneRevolution.ino</a>. You only need to set correct pins and tweak delays and rotation angles (if your stepper has 200 steps per revolution, then 90 degrees is 50 steps).</p>
