Helping out a friend with a new laser engraver led to me having to debug the circuit containing the A4988 Stepper motor driver.
Whilst doing that I used the following circuit and code on a Arduino UNO to test the various components.
The circuit use the following baseline from the Pololu website
Things to note:
It is important that VMOT be in the 8-35V range (I use 12V)The Circuit used:
And the code:
Loading Gist: https://gist.github.com/madmouser1/dc271f3ed70175d9bd8c0b6b4edb50b7
No comments:
Post a Comment