I'm trying to control a NEMA 17 stepper motor with an Arduino UNO and A4998 stepper driver from Pololu. I have been trying to follow this tutorial:
Besides the NEMA 17, Arduino UNO, and A4998 stepper, I'm also using the following 12V 2A power supply:
However, I have been unsuccessful in getting any movement out of the stepper. One concern I have is that I blew the driver. I have heard that if you disconnect the driver and stepper at any point you risk ruining it.
Another issue I've noticed is that when everything is wired and green and orange indicator lights on my UNO seem to dim considerably if not go completely off.
- Is the driver ruined easily by disconnecting the stepper while the 12V power supply and UNO is powered?
- If the above is true what's the correct way to wire everything in order? Connect all but the power to the 12V supply and power to the UNO then do those last?
- Why are the indicator lights on the UNO getting dimmer? This doesn't seem normal and I'm wondering if it indicates I'm doing something wrong
- Any other tips or tricks to help in this process that isn't in the tutorial I'm using?
Thanks for the help!