From 8a0b51aa3c8e1fa50ac83da5c058dc6d319c1139 Mon Sep 17 00:00:00 2001 From: BaelfireNightshd <25194649+BaelfireNightshd@users.noreply.github.com> Date: Fri, 14 Aug 2020 23:01:34 -0700 Subject: [PATCH] Add information on the two different current formulas for LV8729. --- calibration.html | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/calibration.html b/calibration.html index ed4cf33..f29c9da 100644 --- a/calibration.html +++ b/calibration.html @@ -405,9 +405,13 @@
VREF = (RMS current * 2.5) / 1.77

The process is then the same as for A4988s as shown in the video above.

LV8729

-

When I tested these, there was no mention of a sense resistor. Therefore the VREF formula is simple:

-

The process is then the same as for A4988s as shown in the video above.

+

There are mainly two kinds of stepper driver boards with this driver.

+

One has a resistor labeled R100 on the bottom, and on the other the resistor is labeled R220. Which formula you use is based off of this resistor

+

The process is then mostly the same as for A4988s as shown in the video above, but with the correct formula for your driver board.

+

R100:

VREF = max current / 2
+

R220:

+
VREF = max current * 1.1

2. Gcode

TMC drivers connected via UART or SPI serial can easily have their current set via gcode. This is not peak current, but rather RMS (root mean square) current. Rather than the maximum, think of this as more a typical/average current, where the driver will be operating mostly. To convert the peak current from stepper motor specs to RMS, divide it by 1.41.

The current can be set in a few different ways for each driver:

@@ -954,4 +958,4 @@ controls: 1 }); - \ No newline at end of file +