1. Electronics Tools
  2. Stepper Driver Current Limit

Stepper Driver Current Limit

Pick your driver and enter the motor's rated current. You get the Vref to set with the trimpot, which way to turn it, how warm the driver will run, and ready-to-paste firmware for TMC drivers.

0.79
Motors

Driver

The classic green or red board. Fine to about 1 A per coil with its small heatsink; up to 2 A only with a fan.

Sense resistor on your board

Read the tiny resistors next to the chip: R068 = 0.068 Ω, R050 = 0.05 Ω, R100 = 0.1 Ω. Red clone boards often use R100.

Share of the rated current

Microstepping reaches the limit at each sine peak: 70–90 % runs cooler with nearly the same torque.

Step mode

Probe the trimpot

ENMS1MS2MS3RSTSLPSTEPDIRVMOTGND2B2A1A1BVDDGNDA4988needs heatsink + fanRsRsVref0.786DC VDC 2 V rangeV COM

Black probe on GND, red probe on the metal of the trimpot, board powered. Turn slowly while you read.

Set Vref to

0.786V

1.45 A peak per coil, 85 % of the motor's 1.7 A

Results

Current limit (peak)
1.45 A
Coil current (RMS)
1.02 A
Coil current (peak)
1.45 A
Driver heat
≈ 1.7 W
Current per volt of Vref
1.84 A / V
Driver: no fan / with fan
1 / 2 A
  • 1.45 A is above the 1 A a bare A4988 handles. Fit its heatsink and blow air across it, or it will cut out when hot.

Never plug or unplug the motor while the driver is powered: the voltage spike can destroy the driver instantly.

How it is calculated

  1. I

    I set = I rated × share

    = 1.7 A × 85 % = 1.45 A

  2. Vref

    Vref = I × 8 × Rs (0.068 Ω)

    = 1.45 A → 0.786 V

  3. rms

    I coil rms = I set × 0.707

    = 1.45 A × 0.707 = 1.02 A

  4. W

    P ≈ 2 × I rms² × Rds(on)

    = 2 × 1.02² × 0.8 Ω ≈ 1.7 W

Check it with a multimeter

  1. Power the board (logic 5 V; TMC boards often also need motor power). The motor can stay connected.
  2. Set the meter to DC volts, black probe on GND, red probe on the metal top of the trimpot.
  3. Turn the trimpot in small steps (⅛ turn) until the meter reads 0.786 V.

Use a plastic screwdriver if you can: a metal one touching the probe can short the board.

Heat

Estimated driver loss ≈ 1.7 W

1.45 A
1 A2 A

Cool: the small stick-on heatsink is enough.

Warm: heatsink and airflow needed.

Over the limit: the driver will overheat and shut down.

Drivers shut down by themselves above about 150 °C and the motor stutters or stops. A motor at 60–80 °C is normal; too hot to touch for more than a second is too much.

Firmware

This driver's current is set only by the trimpot. The firmware just needs the driver type and microstepping.

#include <AccelStepper.h>

// A4988: current set by the trimpot, Vref = 0.786 V (1445 mA).
// MS pins wired for 1/16 step.
AccelStepper stepper(AccelStepper::DRIVER, 3, 4); // STEP, DIR

void setup() {
  stepper.setMaxSpeed(6400); // steps/s
  stepper.setAcceleration(12800);
  stepper.moveTo(3200); // one turn
}

void loop() {
  if (stepper.distanceToGo() == 0) stepper.moveTo(-stepper.currentPosition());
  stepper.run();
}

Good to know

Measure, don't guess

Boards from different makers use different sense resistors. Read the Rs value before trusting any Vref.

Power off to plug

Connecting a motor to a powered driver is the most common way to kill one. Always switch off first.

Heatsink and air

The stick-on heatsink only works with airflow. In a closed box, a small fan doubles what the driver can give.

Start low

Begin at about 70 % and raise it only if the motor skips steps. Less current means less heat and less noise.

Why stepper drivers need a current limit

A stepper coil is only a few ohms. On 12 V or 24 V it would draw far more than its rating, so the driver switches the voltage on and off very fast to hold the current at a limit. The trimpot sets a reference voltage (Vref), which the chip compares with the voltage across a small sense resistor. Getting Vref right gives full torque without cooking the motor or the driver.

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.

  1. Current limitI = 1.7 × 0.85 = 1.445 A
  2. VrefVref = 1.445 × 8 × 0.068 ≈ 0.786 V
  3. Coil RMS currentI_rms = 1.445 × 0.707 ≈ 1.02 A
  4. Driver heatP ≈ 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.

Free shipping

On orders over 5000DA

Easy returns

7-day hassle-free returns

Fast checkout

payments on delivery and fast shipping

24/7 support

We're here to help

Dzduino Online Store

Eempowering engineers, students, makers, researchers, and businesses with high-quality and innovative technical solutions.

  • Sales: store@dzduino.com
  • Store: +213 550 88 88 27
  • Sales: +213 550 88 88 29
  • Support: +213 550 88 88 37
  • 043 Cite Remila (Route du Port), Tigditt - Mostaganem

Shop

  • All Categories
  • Électronique & Développement
  • Tools & Equipements & DIY
  • Téléphonie & Communication
  • Fabrication & Prototyping
  • Computers & Networks
  • Power & Energy & Solar
  • Video Surveillance & Security systems
  • Educational, Scientific and Laboratory

Support

  • Track order
  • Orders
  • Account
  • Shipping & returns
  • Shipping calculator

Company

  • About
  • Contact us
  • Site map
  • Privacy
  • Terms

Stay in the loop

New stock, maker deals, and electronics tips — straight to your inbox.

© 2026 Dzduino Electronics, All Rights Reserved

TermsPrivacyShipping & returnsSite map
CIBBARIDI MobFawriPayCash
Free express shipping on orders over 10,000DA
SpecialSaleBlogPrint & CutLabContact usToolsNewLabNew

Related products

Boards, modules, and kits that pair with this tool.

Big Easy Driver
DZD0003966

Big Easy Driver

DZD 2,200.00In StockIn Stock
5V Stepper Motor + ULN 2003 Driver Module - 28BYJ-48
DZD0005973

5V Stepper Motor + ULN 2003 Driver Module - 28BYJ-48

DZD 1,000.00In StockIn Stock
 L298 Dual H-Bridge Motor Driver
DZD00076510

L298 Dual H-Bridge Motor Driver

DZD 800.00In StockIn Stock
Motor Control Shield (L293D Motor Driver)
DZD0008059

Motor Control Shield (L293D Motor Driver)

DZD 1,000.00In StockIn Stock
L298P PWM Speed Controller
DZD0009243

L298P PWM Speed Controller

DZD 2,100.00In StockIn Stock
L298N Dual H Bridge DC Stepper Motor Driver Board
DZD0019393

L298N Dual H Bridge DC Stepper Motor Driver Board

DZD 1,000.00In StockIn Stock
High Power (Up to 43 Amp) Motor Driver Module - BTS7960
DZD0019453

High Power (Up to 43 Amp) Motor Driver Module - BTS7960

DZD 2,800.00In StockIn Stock
16-Channel 12-bit PWM/Servo Driver – I2C interface – PCA9685 Module
DZD0019580

16-Channel 12-bit PWM/Servo Driver – I2C interface – PCA9685 Module

DZD 1,700.00Out of StockOut of Stock
View all