Skip to content
GEEKnodes

3D printing · Updated on

How to Set Stepper Driver Vref on a 3D Printer with a Multimeter

How to measure and adjust Vref on TMC2208 stepper drivers with a multimeter, when it applies (standalone or UART) and how to stop your 3D printer skipping steps.

Drivers are the chips that move your printer’s stepper motors. If they get too little current, the motor loses torque and skips steps (shifted layers, parts going crooked halfway through a print); if they get too much, the driver and motor run hotter than they should. Adjusting Vref with a multimeter is how you dial them in. Here’s how I did it on my Ender 3 with an SKR 1.3 board and TMC2208 drivers, and what has changed since then.

Before you start: does your driver use Vref?

It depends on the mode your driver runs in:

  • Standalone mode (STEP/DIR, no communication with the board): the current is set by the driver’s potentiometer. Here, adjusting Vref is essential.
  • UART mode (TMC2208/TMC2209 with the J2 bridge soldered and TMC2208 set in Marlin): the current is set by the firmware, through X_CURRENT, Y_CURRENT, etc. in Configuration_adv.h. In this mode the potentiometer usually has no say anymore, so those values are what you need to check.
  • Klipper: with UART drivers, the current is set with run_current in the [tmc2208 stepper_x] section of printer.cfg.
Comparison of setting current with the potentiometer in standalone mode and in the firmware in UART or Klipper.
Standalone uses the potentiometer; UART and Klipper set the current in the configuration.

If you don’t know which mode your board is in, measure anyway: it does no harm and gives you a starting point.

What you need

  • A multimeter set to DC volts.
  • A small screwdriver, ideally ceramic or insulated.
  • Alligator clips (highly recommended, you’ll see why in a moment).
  • The Vref value recommended by your driver’s manufacturer.

In my case I have TMC2208 drivers and the manufacturer recommended setting them to 1.40 V, so that’s what I did. This value isn’t universal: it depends on the driver, its sense resistor and the motors, so always check the documentation for yours.

Step by step

  1. Turn on the printer. Vref can only be measured with the board powered, so work carefully and take your time.
  2. Find the potentiometer on each driver. It’s a tiny adjustment screw on the driver board itself. Its metal body is the measuring point (it carries positive voltage).
  3. Place the black probe of the multimeter on any ground (GND) on the mainboard: for example, the negative terminal of the heated bed input.
  4. Place the red probe on the potentiometer.

For a steady reading, alligator clips work best, like this:

Multimeter connected with alligator clips to the potentiometer of a TMC2208 driver and to GND on the SKR 1.3 board

This leaves your hands free to turn the potentiometer while you read the value. They’re very sensitive: an eighth of a turn already changes the reading quite a bit.

  1. Turn the potentiometer little by little until you reach the recommended value. On BIGTREETECH drivers, turning clockwise lowers Vref (and current); other manufacturers may do the opposite, so watch how the reading changes.
  2. Repeat for each driver: X, Y, Z and extruder.

Be very careful not to touch any other component with the screwdriver or the probes: a short between pins can fry the driver or the board.

Here are the steps on video:

Check that it works

A printer builds a tower with aligned layers and warm motors after 15–20 minutes.
A long print lets you check the layers and the motor temperature.
  • Run a long test print (a tall cube or a tower) and check that there are no shifted layers.
  • After 15–20 minutes, carefully touch the motors: it’s normal for them to be warm, but not so hot you can’t keep your finger on them.
  • If you use UART, send M122 from a terminal (OctoPrint, Pronterface…) and Marlin will show you the status of each driver and the configured current. M906 shows or changes the current without recompiling.

Common problems

The reading jumps around and I can’t get a steady value. You’re moving the probe as you turn. Use alligator clips or hold the metal screwdriver with the red clip, and always measure against the same GND.

I adjusted Vref and nothing changes. Your drivers are most likely running in UART mode: the current is controlled by Marlin (X_CURRENT…) or Klipper (run_current). Adjust it there.

The motor still skips steps. Besides the current, check that the pulley is tight on the motor shaft, the belt tension, and that acceleration or speed aren’t set too high in the slicer.

The drivers get very hot. Lower the current a little and make sure they have heatsinks and that the electronics fan is working.

“TMC CONNECTION ERROR”. This isn’t a Vref problem: the driver isn’t communicating over UART. Check the J2 bridge and the jumpers, as I explain in how to install the SKR 1.3.

FAQ

Can I measure Vref with the printer off? No. The potentiometer only gives a voltage when the board is powered.

Does the same apply to the TMC2209? The measuring procedure is the same, but the Vref value and how it relates to current vary by driver. Check its manual.

Gear used

Creality Ender 3 Ender 3 on AliExpressAlligator clips on AliExpress

Accessibility preferences

Quick profiles

Text and reading

Text size
Default
Line height
Default
Letter spacing
Default
Word spacing
Default

Colour

Motion and orientation

Cursor