How to set the current limit of a stepper driver
From rated current to Vref
A4988: Vref = I × 8 × Rs · DRV8825: Vref = I ÷ 2 · TMC2209: Vref ≈ I_rms × 1.41
Start from the rated current printed on the motor, for example 1.7 A for a common NEMA 17. With microstepping, set the limit to 70–90% of it. The motor keeps nearly all its torque and runs much cooler.
On an A4988 the limit is Vref ÷ (8 × Rs), where Rs is the sense resistor on the board (0.068 Ω on Pololu boards, 0.1 Ω on many clones). On a DRV8825 it is simply Vref × 2. These two set the peak coil current.
TMC2208 and TMC2209 boards in standalone mode set the RMS current: Vref ≈ I_rms × 1.41 with 0.11 Ω sense resistors, up to 2.5 V. Over UART the firmware sets the current (Marlin M906, Klipper run_current) and the trimpot is ignored.
Worked example: a 1.7 A NEMA 17 on an A4988
A 1.7 A NEMA 17 on a Pololu A4988 (Rs = 0.068 Ω) at 1/16 step, set to 85% of its rating.
- Current limit
I = 1.7 × 0.85 = 1.445 A - Vref
Vref = 1.445 × 8 × 0.068 ≈ 0.786 V - Coil RMS current
I_rms = 1.445 × 0.707 ≈ 1.02 A - Driver heat
P ≈ 2 × 1.02² × 0.8 ≈ 1.67 W
Turn the trimpot until the meter reads 0.786 V. At 1.445 A the A4988 is past its comfortable 1 A, so it needs its heatsink and a fan, or a DRV8825 or TMC2209 would run cooler.
Common mistakes
Using the wrong sense resistor
The same Vref gives 1 A with 0.1 Ω but 2 A with 0.05 Ω. Read the Rs value printed on your board.
Unplugging the motor while powered
The coil's energy has nowhere to go and the spike destroys the driver. Switch off before touching the motor wires.
Setting the full rated current with microstepping
It works, but the motor and the driver run much hotter for little extra torque. 70–90% is the usual sweet spot.
Turning the trimpot with the multimeter on the wrong range
Vref is under 2.5 V: use the 2 V or 20 V DC range, and turn in small steps.
Stepper driver Vref FAQ
For a 1.7 A motor at 85%: about 0.79 V on an A4988 with 0.068 Ω resistors, 0.72 V on a DRV8825, and about 1.9 V on a standalone TMC2209 at 80%.
Clockwise raises Vref on most A4988 and DRV8825 boards. Some TMC boards work the other way, so turn a little and check the reading.
Black probe on a GND pin, red probe on the metal top of the trimpot, with the board powered. Measure on the DC volts range.
The current is above what it can shed as heat. Lower Vref, fit the heatsink and add airflow. An A4988 needs a fan above about 1 A.
No. Over UART the firmware sets the current (M906 in Marlin, run_current in Klipper) and the trimpot is ignored.








