Hello, I trying to run a Nema 17 stepper motor using L298N motor driver. I have setup the connections as:
12V - power supply +
GND - power supply -
IN1, 2, 3, 4, - arduino digital 8,9,10,11
out 1, 2, 3, 4 - stepper coils. [ checked the proper coils using a multi-meter. Connected the coils which showed resistance reading ]
I am powering the arduino using my computer. I am running the stepper_oneRevolution sketch with a minute variation of 10 rotations.
But my motor is not running smoothly. It seems to get stuck on definite intervals and again start rotating. I am very new to arduino and stepper motors and have no electrical engineering or coding background. Detailed solutions will be much appreciated.
I am using it for making an automatic screwing system therefore I need precise control over the position. It will be highly appreciable if you can suggest a suitable driver.