The ELS (Electronic Leadscrew) module provides a user-friendly interface for lathe operations, inspired by projects like the Clough42 Electronic Leadscrew. It combines the Lathe module with a TM1638 display to create a standalone lathe control interface.
The ELS module provides:
This makes it ideal for manual lathe operations where you want the convenience of electronic leadscrew control without needing to use a computer interface.
The ELS module requires:
The TM1638 module is a common, inexpensive display board that includes:
These are widely available from electronics suppliers and provide an excellent interface for lathe control.
┌─────────────────────────────────────┐
│ [LED1] [LED2] [LED3] ... [LED8] │
│ │
│ ████ ████ ████ ████ ████ ... │
│ RPM Display │ Pitch/Feed │
│ │
│ [S1] [S2] [S3] [S4] [S5] [S6] [S7] [S8]
└─────────────────────────────────────┘
| Digits | Content |
|---|---|
| 1-4 (left) | Current spindle RPM |
| 5-8 (right) | Selected pitch/feed value |
| LED | Meaning when ON |
|---|---|
| LED 1 | Lathe operation is running |
| LED 2 | Distance mode (G33 Z specified) |
| LED 3 | Reversed direction |
| LED 4 | Unused |
| LED 5-8 | Selected digit while editing the pitch |
| Button | Function |
|---|---|
| S1 | Stop current operation |
| S2 | Start manual direct synchronization with G33.1 K{pitch} |
| S3 | Start G33.1 K{pitch} Z20; the 20 mm distance is currently hard-coded |
| S4 | Enter pitch-edit mode, advance through its four digits, then finish editing |
| S6 | Decrease the selected digit while editing, or decrease the value by 0.1 mm/rev outside edit mode |
| S8 | Increase the selected digit while editing, or increase the value by 0.1 mm/rev outside edit mode |
| S5, S7 | No implemented action in the current source |
[els]
enable = true
The ELS module requires both the Lathe and TM1638 modules to be configured:
# Lathe module configuration
[lathe]
enable = true
encoder_ppr = 1000
use_qe = true
qe_pullup = false
index_pin = PD15-
index_edge = rising
# TM1638 display configuration
[tm1638]
enable = true
clock_pin = PJ11
data_pin = PJ6
strobe_pin = PJ9
# ELS module configuration
[els]
enable = true
| Section | Option | Description | Default |
|---|---|---|---|
[els] |
enable |
Enable the ELS module | false |
The ELS module automatically discovers and uses the configured Lathe and TM1638 modules.
G33.1 K...; press S1 to send its stop request.G33.1 K... Z20. The direction and distance are not configurable in the current ELS interface, so do not treat this as a finished threading cycle.G33 or G33.1 form directly, following the distinctions and limits on the Lathe page.LED 2 indicates whether distance mode is active (specified via G-code).