Stepper Motor Driver Guide: Drive a NEMA 17 at 600 RPM — Current Limit, Supply Voltage and Microstepping Worked Out

Author: Abloom Spark Date: December 04, 2026

A stepper motor turns in exact steps, which is why 3D printers and CNC machines trust it with positioning. But a stepper is a strange load: its coils are only a few ohms, so its rated voltage is just a few volts, yet it is always run from a 12 V or 24 V supply. The trick is a chopper driver — the A4988 — which switches the supply on and off thousands of times a second to hold the coil current at exactly the value you set, no matter how high the supply is. This guide works out a complete NEMA 17 setup: the current limit, why 24 V reaches 600 rpm when 12 V cannot, the real power at standstill, and what microstepping costs and buys.

Left: an Arduino or ESP32 sends STEP, DIR and ENABLE to an A4988 chopper driver; the driver runs from a 24 volt supply with a 100 microfarad bulk capacitor, its Vref set to 1.2 volts with the trimpot, and drives the two coils of a NEMA 17 motor (1.5 amps per phase, 2 ohms and 3 millihenries per coil, 200 steps per revolution, 45 newton-centimetres holding torque). Right: torque against speed — 45 newton-centimetres at standstill, about 30 at 300 rpm, and 18 newton-centimetres (40 percent) at 600 rpm
Figure 1: (a) The A4988 setup: the microcontroller only sends STEP pulses, DIR level and ENABLE; the driver chops the 24 V supply into the regulated 1.5 A the coils need, with a 100 µF bulk capacitor absorbing the switching spikes. (b) Torque against speed for the worked example — torque falls as speed rises because each step leaves the coil less time to reach its current. The curve is typical and approximate; your motor's real curve comes from its datasheet. (Schematic, not to scale.)

Setting the current limit — Vref 1.2 V

The A4988 measures the coil current through a small sense resistor in series with each coil, and the trimpot on the board sets the reference voltage the chip compares it with. The datasheet formula is ItripMAX = Vref / (8 × Rs), so for our motor — 1.5 A per phase, and sense resistors of 0.1 Ω on this board — Vref = 1.5 × 8 × 0.1 = 1.2 V, measured with a multimeter between the trimpot and ground while the motor is connected and idle. One warning before you trust that number: read the sense resistors on your board first. Pololu carriers made since 2017 use 0.068 Ω resistors, marked R068, and on that board the same 1.5 A needs Vref = 1.5 × 8 × 0.068 = 0.82 V — if you set 1.2 V there, the limit becomes 1.2 / (8 × 0.068) = 2.21 A, 47% over the motor's rating, and both motor and driver will overheat. Set the limit with the motor connected and the driver powered, before the first move, and never from an ammeter on the supply input — the supply current is much lower than the coil current, as the power section below shows.

Why 24 V beats 12 V — the current has 0.5 ms to rise

Each coil is an inductor: resistance 2.0 Ω and inductance 3.0 mH, so its time constant is Ï„ = L/R = 3 mH / 2 Ω = 1.5 ms. The coil's rated voltage is only I × R = 1.5 × 2 = 3 V — that is the voltage that would push 1.5 A through the coil on its own. A chopper driver instead applies the full supply and switches it off the instant the current reaches the limit, so the current rises as I(t) = (V/R)(1 − e^(−t/Ï„)). The time to reach 1.5 A is t = −Ï„·ln(1 − I·R/V). At 600 rpm the motor needs 2,000 steps per second — 2,000 / 200 = 10 rev/s — so each step lasts only 0.5 ms. With a 24 V supply the rise time is −1.5 ms × ln(1 − 3/24) = 0.20 ms, just 40% of the step window, and the current reaches its full value with time to spare. With a 12 V supply it is −1.5 ms × ln(1 − 3/12) = 0.43 ms, 86% of the window — it barely makes it, and the slightest load or friction means the current never reaches 1.5 A, torque collapses, and steps are missed. That is the whole reason stepper drivers want a supply several times the coil's rated voltage: 24 V is 8× the 3 V rating, 12 V only 4×. The driver's 8–35 V supply range allows 24 V comfortably.

Power and heat at standstill — 5.94 W

At standstill with the motor holding position, where does the power go? The subtle point is that the driver holds the current vector at the 1.5 A limit: at every microstep position IA² + IB² = 1.5², so both coils are never at 1.5 A at once — in full-step mode each carries 70.71% of the limit, 1.06 A. The copper loss is therefore Itrip² × R = 1.5² × 2 = 4.5 W, not the 9 W you get by putting both coils at full current. The driver itself burns power in its output FETs: the A4988 datasheet gives Rds(on) of 0.32 Ω typical for each FET, and a phase path uses one source and one sink FET, so 0.64 Ω per phase — driver loss is 1.5² × 0.64 = 1.44 W. The total is 4.5 + 1.44 = 5.94 W, so the average supply current at 24 V is only 5.94 / 24 = 0.25 A — the supply sees a quarter of an amp while the coils carry 1.5 A, which is exactly why you cannot set the limit from the supply current. Two practical consequences: the motor will run hot at 1.5 A (its 4.5 W has nowhere to go but heat), and the driver needs cooling — a Pololu-style A4988 carrier manages about 1 A per phase without a heatsink, so at 1.5 A fit the heatsink and give it airflow, or the driver's thermal shutdown will trip mid-print.

Microstepping — 1/16 step, 3,200 steps per revolution

The A4988's MS1–MS3 pins select the step size, up to 1/16 step. At 1/16, one revolution takes 200 × 16 = 3,200 steps, and at 150 rpm that needs 150/60 × 3,200 = 8,000 steps per second — the microcontroller must produce a STEP pulse every 125 µs, which is easy for a timer but already too fast for a sloppy delay() loop. At 600 rpm in 1/16 mode the rate is 600/60 × 3,200 = 32,000 steps per second, so high speed usually means dropping back to full or half steps. Microstepping buys smoothness and quiet — the current sine wave is followed in 16 small increments instead of 4 jumps — but it costs torque at the intermediate positions: at a half-step position each coil carries 70.71% of the limit, so the holding torque there is about 70.7% of the full-step value, and the smallest steps have the least incremental torque, so microstepping improves smoothness far more than it improves positioning accuracy. Set MS1–MS3 to 1/16 for a printer, and to full or half steps for a fast CNC axis.

Torque falls with speed — 40% left at 600 rpm

The torque curve tells the rest of the story. Our motor holds 45 N·cm at standstill, about 30 N·cm at 300 rpm (1,000 steps/s), and 18 N·cm at 600 rpm — 40% of its standstill torque. The fall is the same rise-time physics as before: at speed, each step ends before the current has fully risen, so the average current — and with it the torque — drops. Size the motor from the torque you need at your top speed, not the headline holding torque. The second worked example shows what the resolution means in practice: on a lead screw with an 8 mm lead, one full step moves 8 / 200 = 0.04 mm, and one 1/16 microstep moves 8 / 3,200 = 0.0025 mm — far finer than the screw's own backlash, so the mechanics, not the electronics, set the real accuracy. At 600 rpm that screw travels 10 rev/s × 8 mm = 80 mm/s. Finally, the DRV8825 comparison: the same motor on a DRV8825 needs Vref = I × 5 × Rs = 1.5 × 5 × 0.1 = 0.75 V — its formula uses 5, not 8 — and it adds 1/32 microstepping and a 45 V supply limit, at the cost that 0.75 V sits below the 1–3.5 V reference range TI recommends for best accuracy, so expect the real current to be less exact than the datasheet's ±5%.

Key points to remember

  • Worked example: bipolar NEMA 17, 1.5 A/phase, 2.0 Ω, 3.0 mH, 200 steps/rev, 45 N·cm holding torque, A4988 with Rs = 0.1 Ω. Current limit Vref = 1.5 × 8 × 0.1 = 1.2 V. On a Pololu carrier (Rs = 0.068 Ω) the same limit needs 0.82 V — setting 1.2 V there gives 2.21 A.
  • Coil time constant Ï„ = L/R = 3 mH / 2 Ω = 1.5 ms; rated coil voltage I × R = 3 V. At 2,000 steps/s each step lasts 0.5 ms and the speed is 600 rpm. Current rise to 1.5 A: 0.20 ms at 24 V (40% of the window) but 0.43 ms at 12 V (86%) — which is why a 24 V supply (8× the rated voltage) holds torque at speed and 12 V (4×) barely does.
  • Standstill power: the driver holds the current vector at 1.5 A, so copper loss is 1.5² × 2 = 4.5 W (both coils are never at 1.5 A at once). Driver loss is 1.5² × 0.64 Ω = 1.44 W (0.32 Ω per FET, two FETs per phase). Total 5.94 W; supply current only 0.25 A at 24 V. The A4988 carrier needs a heatsink and airflow above ~1 A/phase.
  • Microstepping 1/16: 3,200 steps/rev; 8,000 steps/s at 150 rpm and 32,000 steps/s at 600 rpm. Holding torque at intermediate positions is ~70.7% of full-step. Microstepping buys smoothness, not accuracy.
  • Torque vs speed (typical, approximate): 45 N·cm at standstill, ~30 N·cm at 300 rpm, 18 N·cm (40%) at 600 rpm — size the motor from the torque at top speed. Lead screw, 8 mm lead: 0.04 mm per full step, 0.0025 mm per 1/16 step, 80 mm/s at 600 rpm. DRV8825 for the same 1.5 A: Vref = 1.5 × 5 × 0.1 = 0.75 V (its formula uses 5, not 8).