Hi guys,
I have been conducting a project to rotate a stepper motor and was running the code and everything was running fine, until the motor let out a strange clunking noise and stopped.
For general information:
I am using a A4988 stepper motor driver
An arduino uno
A NEMA 17 42-40 from creality, see here: (https://www.amazon.co.uk/Creality-Printer-Stepper-Extruder-Compatible/dp/B091CXPXVP/ref=sr_1_10?crid=2GESD6R6438Y3&keywords=nema+17+stepper+motor+creality+42-40&qid=1680635546&sprefix=nema+17+stepper+motor+creality+42-40%2Caps%2C63&sr=8-10)
As a new user I can't post images here, however, my electronics are wired up following the tutorial linked below and the code is also from there. https://howtomechatronics.com/tutorials/arduino/how-to-control-stepper-motor-with-a4988-driver-and-arduino/
Since then I have tried a multitude of solutions including changing boards, checking wires and checking the motor using a different type of driver and as individual components they all work. However, when wiring up my components the motor now only works when I hold the positive probe only of my multi-meter on the VMOT pin of my A4988. When I do this and am able to maintain contact, the motor runs as it should. It appears to me as though there is a loose/poor connection at this pin, however having tried multiple boards, wires and positions on the breadboard, they all produce the same result.
Can anyone suggest to me why this is the case and possibly offer some solutions to try and resolve my problems. Any help would be much appreciated.
Cheers.