Skip to main content
  • stepper motors
  • stepper driver vref
  • a4988 drv8825 current
  • electronics
  • cnc settings

Stepper Driver Vref: Set A4988 and DRV8825 Current

The Boss Factory10 min read

A stepper motor that skips under load may need more current, but turning the trim pot upward is not a diagnosis. The honest answer is that the correct setting depends on the driver family, sense resistor on the specific board, motor rating, supply voltage, cooling, and the load your machine actually applies.

What stepper driver Vref actually controls

The trim adjustment on a typical step-stick sets the reference voltage, usually called Vref. The driver compares that reference with the voltage across its current-sense resistors and limits the peak current allowed through each motor coil. It is a current limit, not a speed setting and not a direct torque setting.

More coil current normally gives more available holding and running torque until another limit takes over. The motor may saturate, the driver may hit its thermal limit, or the supply and wiring may stop delivering clean power. Microstepping also does not create extra peak torque. It divides commanded movement into smaller current states, while the driver still has to regulate the coil current.

The adjustment is not a universal voltage-to-amps control. The conversion depends on the driver IC and on the sense-resistor value fitted to the board.

For common step-stick layouts, the nominal relationships are:

  • A4988: Imax = Vref / (8 × Rs)
  • DRV8825: Imax = Vref / (5 × Rs)

Here, Imax is the driver’s peak coil-current limit and Rs is the current-sense resistance in ohms. A common A4988 carrier with 0.05 ohm sense resistors therefore works out to about Imax = Vref × 2.5. A common DRV8825 carrier with 0.10 ohm sense resistors works out to about Imax = Vref × 2. Those board examples are not guarantees for every clone or revision. Read the resistor marking, board documentation, or schematic before converting stepper driver Vref into amps.

The motor’s nameplate current is another limit, but it is not automatically the value to enter into the formula. Some motor ratings specify current per phase under a particular test condition, while the driver’s stated value refers to its regulated peak current. Match the driver’s documentation to the motor’s data rather than assuming the two labels use identical definitions.

Starting current ranges that leave room for testing

The table below gives working starting bands, not final settings. They are deliberately conservative for common hobby machines using small bipolar motors and step-stick drivers. A motor with a lower rated current, a poorly cooled carrier, or a light axis belongs near the lower end. A heavier axis, higher acceleration, long belt, leadscrew friction, or a motor rated for more current may justify moving upward, provided the driver and motor datasheets allow it.

Starting conditionPeak current starting rangeMove toward the lower end whenMove toward the higher end whenMain failure if wrong
Light axis, short travel, low acceleration0.35-0.70 AThe motor is small, the carrier has little airflow, or the axis load is lowThe axis still stalls during controlled accelerationToo little current causes missed steps; too much wastes heat
Typical hobby belt or leadscrew axis0.60-1.20 AThe motor runs hot, the driver is enclosed, or the supply voltage is lowThe load has friction, acceleration is high, or the axis stalls only under motionA marginal setting skips; an excessive setting overheats both parts
Heavier axis or higher-load machine1.00-1.60 AThe step-stick lacks a heatsink or airflow, or the motor rating is modestThe carrier is rated for the current and cooling is known to be adequateDriver thermal shutdown or motor overheating can look like a mechanical fault
Small motor or compact mechanism0.25-0.60 AThe motor’s rated phase current is lowThe mechanism needs more torque and temperature remains controlledExcess current can heat a small motor quickly

These bands are useful only as a first move. They are not a substitute for the motor’s rated phase current or the driver carrier’s thermal limits. Many plug-in carriers are asked to dissipate more heat than their small package and board copper can handle, especially inside an enclosure. A heatsink may reduce case temperature, but it does not make an under-rated driver suitable for any current you choose.

Our default choice is the cheapest adequate driver and the lowest current that passes the real motion test. Buying a higher-current carrier before measuring the load often fixes a problem that is actually caused by acceleration, binding, a bad crimp, or an incorrect coil pair. Current is not a repair for poor mechanics.

A4988 and DRV8825 Vref calculations

Start by identifying the actual IC. An A4988 and a DRV8825 can occupy similar-looking carriers while using different Vref formulas. Applying the A4988 relationship to a DRV8825 can produce a substantial current error, and the same problem appears when a clone uses a different sense resistor from the familiar board layout.

Use this sequence:

  1. Find the carrier’s sense-resistor value, usually marked near the driver IC as R100, R050, or a value listed in its documentation. Confirm what that marking means on that board.
  2. Find the driver family and the manufacturer’s current-limit equation for that carrier.
  3. Choose a conservative current target inside the motor and driver limits.
  4. Rearrange the correct equation to calculate Vref.
  5. Measure the actual Vref after adjustment instead of trusting the pot position.

For the common examples above, a target of 0.80 A peak would correspond to about 0.32 V on the 0.05 ohm A4988 carrier, using the A4988 equation. On the 0.10 ohm DRV8825 carrier, the same target would correspond to about 0.40 V. Those figures are examples of the method, not universal settings. A different Rs value changes both results.

Power the board and measure only if the carrier documentation permits live adjustment. Disconnect the motor before changing or measuring the trim on boards where the manufacturer warns against an attached motor. Use the board’s ground and the specified Vref test point or trim-pot wiper. Keep the probe tip from bridging adjacent pins, and turn the adjustment in very small increments. A metal screwdriver can short the board or alter the reading through its shaft, so an insulated adjustment tool is the safer choice.

Also check whether the carrier exposes Vref at the pot, a test pad, or another point. Some boards reverse the apparent direction of adjustment, and some use a trim pot whose accessible metal is not the measurement point. The board documentation wins over a familiar photograph from another revision.

Current, torque, and heat on the machine

Current set too low loses steps under load. The usual pattern is a motor that sounds normal at low speed but falls behind during acceleration, direction changes, a deep cut, or a tight section of travel. A missed step is not corrected later, so the machine can finish a job with the coordinate system wrong even though the motor keeps turning.

Current set too high overheats both motor and driver. The motor may become hot enough to soften nearby printed parts or damage insulation over time, while the driver may enter thermal shutdown, produce intermittent motion, or fail permanently. Heat depends on current, duty cycle, supply conditions, driver design, airflow, and how much time the axis spends holding position.

The torque and heat compromise is why we do not set every axis to the motor’s maximum printed rating. A lightly loaded Z axis does not need the same current as a heavy gantry, and a short intermittent move does not create the same thermal condition as a motor holding position for hours. Holding current settings in firmware can matter here, but they vary by controller and firmware. Treat reduced holding current as a separate function and verify what your specific controller actually sends.

Before increasing current, check the causes that current cannot solve:

  • A loose coupler, pulley, or leadscrew nut can mimic a low-current stall.
  • A motor wired with the wrong coil pairs will vibrate or run weakly instead of producing useful torque.
  • Excessive acceleration demands torque that a slower move may not need.
  • A binding rail, dry screw, tight belt, or misaligned frame raises load across part of the travel.
  • A supply that sags during motion can make a correct Vref behave like an underpowered system.
  • A driver heatsink that is not bonded well, or a fan that does not move air through the carrier, reduces the usable current range.

Higher supply voltage can improve high-speed torque by giving the driver more voltage headroom, but it does not permit exceeding the driver’s current limit or the motor’s thermal limit. It also changes electrical and safety requirements for the rest of the machine. Solve that as a system change, not as a reason to turn the trim pot without measuring.

The load test that sets the final value

After setting a conservative Vref, test the machine rather than trying to calculate the perfect number from the bench. Secure the machine, keep hands clear of moving parts, and use the actual tool, carriage, or mechanism that creates the working load.

Run this progression:

  1. Move each axis slowly through its full usable travel and listen for rough spots, binding, or a changing motor sound.
  2. Run the intended acceleration and speed without load. If it skips here, inspect wiring, coil pairing, mechanics, and motion settings before raising current.
  3. Repeat with the normal working load. For a CNC axis, that means a controlled cut; for a printer or plotter, use the normal carriage and acceleration; for a custom mechanism, use the force it must produce in service.
  4. Increase current in small steps only when a repeatable stall occurs under a known load and the mechanics are free.
  5. After each change, run long enough for the motor and driver to reach a meaningful operating temperature. A five-second motion test cannot reveal an hour-long thermal problem.
  6. Stop increasing current when the machine completes the load test without missed steps and further current produces no useful improvement.

A practical final setting is the lowest measured current that completes the hardest normal move with a margin for ordinary variation. Check the motor by touch only with care, since surface temperature is not a calibrated measurement. An infrared thermometer can misread shiny or dark surfaces, so use it as a comparison tool rather than a laboratory result. The driver’s documented temperature limit and the motor manufacturer’s temperature guidance take priority.

Record the final Vref, calculated current, driver board revision, supply voltage, acceleration, and cooling arrangement. If a future symptom appears, that record separates an electrical change from a mechanical one. Recheck Vref after replacing a carrier because two boards marked with the same driver name may not use the same sense resistors.

Frequently asked questions

Should Vref equal the motor’s rated current?

Not automatically. The motor rating, driver equation, sense-resistor value, and definition of peak or phase current all have to match. Use the motor data and the specific carrier documentation, then start below the allowed limit and confirm the result with a load and temperature test.

Why does a DRV8825 need a different Vref from an A4988?

The driver families use different current-sense relationships. Common carriers use Imax = Vref / (8 × Rs) for the A4988 and Imax = Vref / (5 × Rs) for the DRV8825. The carrier’s sense resistor still matters, so those equations do not justify copying a voltage from one board to the other.

Can more current fix a motor that only skips at high speed?

Sometimes, but not reliably. High-speed torque also depends on supply voltage, acceleration, resonance, wiring, and mechanical load. Test a lower acceleration and inspect the mechanics first. Raise current only if the motor is below a suitable limit and the driver remains thermally stable.

We build made-to-order custom electronics and 3D-printed prototypes through The Boss Factory.

Related services

All services →

Have a project in mind?

Tell us what you want built — we reply within 24–48 hours.

Request a quote

Keep reading