# A4988 and CNC shield problem

**URL:** https://forum.pololu.com/t/a4988-and-cnc-shield-problem/27229
**Category:** Motor controllers/drivers and motors
**Created:** [December 3, 2024, 2:09am UTC](https://forum.pololu.com/t/a4988-and-cnc-shield-problem/27229 "2024-12-03T02:09:55Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![Darren](https://forum.pololu.com/letter_avatar_proxy/v4/letter/d/e9a140/32.png) [@Darren](https://forum.pololu.com/u/Darren)
#### Post date: [December 3, 2024, 2:09am UTC](https://forum.pololu.com/t/a4988-and-cnc-shield-problem/27229/1 "2024-12-03T02:09:55Z")

</div>

I built a setup where CNC shield is connected to the Arduino Uno. CNC shield is powered by a 12V, 5A source. During testing, I noticed that the motor spins in place a few times before starting to rotate properly, and its direction is random. I use A4988 and motor model is17HS4401S  
I use laser grbl(v1.1) to control it. I download from here([GitHub - gnea/grbl: An open source, embedded, high performance g-code-parser and CNC milling controller written in optimized C that will run on a straight Arduino](https://github.com/gnea/grbl))  
How can i solve it
