Hello guys ! i am a newbie…I recently started working a project in which the stepper motor has to move certain distance and angle that is feeded into serial monitor…the problem is how do i adjust pwm so that the motor moves to the specified distance in millimeter…
Railroader:
The usually used stepper motors are controlled by pwm.
I believe that was intended to be
"The usually used stepper motors are NOT controlled by pwm."
This Simple Stepper Code should give you a good sense of how stepper motors are controlled. You vary the speed by changing the value of millisBetweenSteps.
Robin2:
I believe that was intended to be
"The usually used stepper motors are NOT controlled by pwm."
This Simple Stepper Code should give you a good sense of how stepper motors are controlled. You vary the speed by changing the value of millisBetweenSteps.