Is my setup rights for a NEMA 17


i dont know if this is an ok setup and if it isnt ok or you dont know can you send a tutorial. And how do i code this is it is correct.

this si using a NEMA 17 and a A4988 stepper driver with an arduino/elegoo UNO

Use those 9V batteries for smoke alarms. They won't power a motor.

For a stepper motor, you need a current limiting stepper driver, with the current limit setting correctly adjusted and a suitable motor power supply (12 to 24V is common).

Post a link to the motor. NEMA 17 tells us nothing.

1 Like

here is the link

the A4988 is a limiting stepper driver

Yes, it is. To what value did you set the current limit?

i havnt been able to set it yet since my multimeter hasnt arrived, but is there a problem with the wiring. i will fix current later so that isnt a problem.

and if there is then can you tell me what it is or send a tutorial

The motor product page give contradictory information, and is mostly useless. However, one sentence states "0.7 A" which might be the current rating for the motor winding.

Set the A4988 driver to 0.7A as a test, and if the motor overheats, that is too high.

The A4988 data sheet explains how to set the current limit, but you need to know the value of the current sense resistors on the A4988 module in order to set it correctly.

i know how to set current but is the wiring wrong with it or no

Post a photo of a hand drawn wiring diagram, with pins and connections clearly labeled. The photo is useless.

Pololu sells high quality stepping motors and motor drivers, with excellent documentation and a video on how to wire them up and set the current limit.


ignore the stuff in grey. It is a rough iteration from a diagram i tried to follow with my parts

is this good enough?

Distinct lack of capacitor screams at me. :scream_cat:

Breadboards are for low power logic circuitry and cannot support motor currents. The tracks will burn.

Motor and motor power connections should be made directly to the driver, either using good connectors, or soldered wires. Pololu's recommended wiring:

i have an electrolytic capacitor so how to i connect it ot the power supply and how do i know if i have good wires, i got some from a starter kit.

See picture supplied by @jremington above for capacitor connections.

I would like to see a picture of your setup as I suspect it may be inadequate.

i have used the wring diagram below but even without using the plug in power, while it is connected to the computer to download code the lights on the arduino turn off and the thing labeled 501x heats up. I have followed the wiring diagram below

Disconnect the 5V and GND wires from the arduino and see if you can download OK