Calculating anything Klipper
These calculators will help you tune your machine.
Missing something? Let us know.
Stepper current
The value you use as input should be the RMS value. Not the peak value that is written on the stepper.
Please note
The stepper current calculator is made for Nema17 steppers!
run_current
hold_current
Most stepper motors will not obtain a significant benefit to reducing current during normal prints, because few printing moves will leave a stepper motor idle for sufficiently long to activate the hold_current feature. And, it is unlikely that one would want to introduce subtle print artifacts to the few printing moves that do leave a stepper idle sufficiently long.
Formula explained
The formula we use for calculating run_current:
Motor_Peak_Current * 0.707
Since we don't want to push the motors with 100% we'll do:
Motor_Peak_Current * 0.707 * 0.80
That will give us a 20% safety margin.
On a stock Ender 3 motor that is 0.84A peak
0.84*0.707*0.8 = 0.47A
So you input 0.47 in run_current of your TMC stepper.
A normal 1.4A stepper is:
1.4x0.707x0.8 = 0.79A
In this case you put 0.79 in run_current of your tmc stepper.
Calibrating rotation_distance on extruders
On an extruder, the rotation_distance is the amount of distance the filament travels for one full rotation of the stepper motor. The best way to get an accurate value for this setting is to use a “measure and trim” procedure. Read more about this procedure here.
The formula that is used to calculate rotation_distance on extruders.
initial_mark_distance = initial mark on filament from the intake of the extruder body
subsequent_mark_distance = distance of mark on filament after extruding 100mm
actual_extrude_distance = <initial_mark_distance> - <subsequent_mark_distance>
actual_extrude_distance = 120mm - 20mm
rotation_distance = <previous_rotation_distance> * <actual_extrude_distance> / <requested_extrude_distance>
rotation_distance = 200 * 20mm / 100mm