Stepper motor not running with esp32

I am trying to run Stepper Motor Nema 17
This is a short height bipolar Nema 17 stepper motor with 1.8 degrees. Step angle (200 steps / rotation).
Each phase current is 1A and stop moment of 16Ncm.

Certified by "STEPPERONLINE" and ROHS and CE.

Electrical Specification:

  • Manufacturer Part No: 17HS08-1004S
  • Motor type: Bipolar
  • Step Angle:1.8 Degree
  • Holding Torque: 16Ncm
  • Rated current/phase: 1.0A
  • Phase resistance: 3.5 ohms
  • Inductance: 4.5mH+/-20% (1KHz)

with driver A4988.
I have calculated the vref is 0.64 on driver output.
When I touch the shaft . I can see a very light vibration. but it is not turning.
I am using esp32 board with it .
I am using power from the board.7
can some one tell if I am using the correct driver i.e. A4988 with the above mentioned Nema

Please explain. The 3.3volt-logic supply?
What are you using as motor supply. Motor power should at least be 12volt.
How did you calculate motor current. What are the sense resistor values on YOUR board.
Leo..

The motor I bought from Amazon and it says power is 3.5 volt
here is the Nema 17

using 5 volt from esp32 d1 mini to power motor via driver

That is not important.
The A4988 drives the motor with a constant current.

Won't work. Minimum voltage for the A4988 is 8volt. 12volt is the practical minimum.
Use a 12volt supply with a current rating of 1Amp (or more).
Leo..

ok I power it up with 12 volt
but what about the Nema 17 power requirements .
Does it need max 3.5 ? or it would work with 12 volt as well

If you set motor current on the A4988 to 1Amp (or less), then the A4988 will automatically adjust motor voltage.

Just forget about motor voltage. It's not important.
Only motor current is important, which you have to set correctly.

The Pololu website has a tutorial and instructions for the A4988,
but make sure the sense resistors on your boards have the same values.
Leo..

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.