MotionMechLab

Klipper rotation distance for a GT2 20T pulley

Set up a direct-drive GT2 20-tooth X or Y axis in Klipper. Work from the 2 mm pitch to rotation distance and pulse rate.

Jump to results ↓

Inputs

Motor & transmission
°
mm
T
Motion & load
rpm
kg
mm/s²
N
Include drag and any gravity load on the driven axis.
%
kg·cm²
Motor rotor plus drivetrain inertia seen at the motor.
×
kHz
Enter 0 to skip the controller limit check.
Pull-out curve samples

Replace these example points with data for your motor, current, driver and supply voltage.

rpm
N·m
rpm
N·m

Results

Preset estimate
Commanded resolution
80steps/mm
Pull-out torque between the two entered speeds, with the required operating point markedN·m0.47001,272 rpm
Teal marks the entered pull-out interval. The orange point marks required torque with margin.
Motor speed
600 rpm
Axis speed
400 mm/s
Axis feed
24,000 mm/min
Step frequency
32 kHz
Required pull-out torque
0.1163 N·m
Required torque (imperial)
16.46 oz·in
Pull-out torque at speed
0.2882 N·m
Travel per turn
40 mm
Required sizing power
7.31 W
Shaft power before margin
4.87 W
Axis force during acceleration
11.25 N
Rated frame face (nominal)
NEMA 17 · 42 mm
Full steps per revolution
200 steps

Worked example

A direct-drive GT2 20T pulley advances 20 × 2 = 40 mm per motor revolution. Enter rotation_distance: 40 for the axis. A 1.8° motor at 1/16 commands 80 steps per millimeter at that geometry.

Check the number of teeth on the motor pulley, even if the idler has the same markings. A change from 20T to 16T reduces distance per motor turn and changes both motion calibration and pulse rate.

Commanded resolution 80 steps/mm

Formulas

  • Full steps per turn = 360° / step angle
  • Travel per turn = pulley teeth × pitch, or screw lead
  • Steps/mm = full steps × microsteps / travel (mm)
  • Axis speed (mm/s) = RPM × travel / 60
  • Pulse frequency (kHz) = speed × steps/mm / 1000
  • Shaft torque = (m a + F) × travel / (2π η) + J × 2π a / travel
  • Required pull-out torque = shaft torque × margin factor
  • Mechanical power (W) = shaft torque × 2π RPM / 60

References

Frequently asked questions

Do I divide the GT2 20T rotation distance by 16 microsteps?

Use 40 mm with the example pulley. Microsteps is a separate setting that governs the number of pulses in each revolution.

Which Klipper config section gets the 40 mm value?

Use the section for the belt axis you are configuring, such as stepper_x. Use the printer’s existing kinematics and axis configuration.