Skip to content

Threading encoder information

Huub Buis edited this page Oct 17, 2026 · 5 revisions

For threading an encoder with index pulse is needed. A single index pulse (1 PPR) can be enough if the lathe motor has enough torque. Depending on the controller firmware there is an optimal PPR for best results. There is also an minimum and maximum PPR that can be used. Using an encoder that has a higher PPR than the optimal value will decrease threading accuracy. The minimum, maximum and optimal PPR values are measured (bench tested) while simulating a lathe threading pass. I found that the results where in depended of the processor used. The firmware however has influence.

A special notice about the ESP32 processor. In my lathe I use 12V encoder/index pulses that are converted to the required logic level (3V3 or 5V) using optocouplers. This works for all processors except the ESP32 reqThis processor needs steep encoder pulses.

Firmware Min Max Optimal
uCNC 4 16 8
GRBL-L 1 16 4
GRBL-L-Mega 1 16 4

Clone this wiki locally