Calculators › Electronics

Stepper driver Vref calculator

Turn your motor's rated current into the reference voltage to set with a multimeter.

A
From the motor's data sheet, per phase.
% of rated
70–90% is typical, so the motor runs cooler.
Ω
Read the small resistors near the chip: R100 = 0.1 Ω, R068 = 0.068 Ω.

Result

Target current– A
Set Vref to– V

How it's calculated

A4988 Vref = current × 8 × Rsense DRV8825 Vref = current ÷ 2 TMC2208/2209 Vref = I_rms × 2.5 ÷ 1.77 (Rsense 0.11 Ω)

Safety first

Measure Vref between the potentiometer and ground with the board powered and motors disconnected or idle. Use a ceramic screwdriver if you can; a slip with a metal one can short and kill the driver.

Board makers sometimes use different sense resistors. When your board's documentation gives a formula, trust it over this page. Drivers in UART or SPI mode (common on modern boards) set current in firmware instead, and Vref doesn't apply.

Questions

What happens if Vref is too high?

The motor and driver run hot, and the driver may shut down or skip steps.

What if it's too low?

The motor loses torque and skips steps, causing layer shifts.

Related calculators