Stepper motor vibrates but doesn't turn
- 28BYJ-48 stepper
Why it happens
- The pin order is wrong. The Stepper library wants IN1, IN3, IN2, IN4.
- The speed is too high.
- Too little power.
How to fix it
- Use
Stepper motor(2048, IN1, IN3, IN2, IN4);. - Set
setSpeed(10);first. - Power the driver from a separate 5 V and join the grounds.
It worked if: 2048 steps make one full turn.
Related errors
Tutorials where it can happen
From how the part works. Explained from how the part works; not tried on a real circuit for this page.
Didn't help? Search another error or ask us.

