Goodbye, cables: an ESP32 display for LinuxCNC (and it’s FREE)

Subscribe to the channelNew chapters of the restoration and LinuxCNC projects
I built a round, wireless display for my EMCO F1-CNC milling machine, based on a Waveshare ESP32 with a 480 × 480 touch screen. It shows spindle speed, feed rate and the XYZ axes, has a DRO with work and machine zero, and can control the spindle. Everything comes over Wi-Fi from LinuxCNC.
▶ Want to set up LinuxCNC from scratch? Start here: LinuxCNC 2.9: step-by-step installation | LinuxCNC From Scratch #1
Photos, data and more details on my website: https://dominicze.com/en/videos/i-built-a-wireless-display-for-my-cnc-mill/
In this video I show its three views and how I built the case, which I designed in Fusion. I also explain how the data leaves the LinuxCNC HAL over UDP, the HMAC-signed control and the OTA server that updates it at power-on. At the end I explain why I use LinuxCNC, with my own conversational programming screens in Probe Basic.
Would you like one on your machine? Let me know in the comments, and if you want, I'll publish the project.
SHOWN IN THE VIDEO
• Waveshare ESP32-S3 with a 480 × 480 round touch screen
• 3.7 V, 3000 mAh LiPo battery
• Case designed in Fusion
• Firmware in C with LVGL and OTA updates
• LinuxCNC (HAL and a Python component) and Probe Basic with my conversational screens
THE EMCO F3-CNC RESTORATION, ON THIS CHANNEL
Part 1: EMCO F3-CNC: An Abandoned Mill and the First Teardown (#1)
Part 2: EMCO F3-CNC: A Mismatch Between the X-Axis Belt and Pulley (#2)
Part 3: EMCO F3 CNC: missing encoder and more surprises | Part 3
The full project (code, docs and enclosure) is on Hackaday.io: https://hackaday.io/project/207482-linuxcnc-wireless-display
What the video shows
- Inspired by a car's gauges: the first view has an orange needle from 0 to 5000 rpm, the feed rate in mm/min, the XYZ axes, spindle and coolant indicators and a battery indicator.
- Tapping the logo switches to the DRO, with machine and work (G54) coordinates and a zero button, and to the spindle view, with a speed slider, start and stop.
- Waveshare ESP32-S3 board with a 480 × 480 round touchscreen and a 3.7 V, 3000 mAh LiPo battery. The case, designed in Fusion, is aligned by four pins and closed with screws and a threaded bezel.
- A Python component reads HAL outside the real-time loop. Data goes out over Wi-Fi, separate from the Mesa's Ethernet: the display announces itself, the computer checks the machine-display pair and sends it 25 UDP samples per second in JSON.
- The display discards old or repeated packets by session and sequence number. If a second passes with no valid data, it shows dashes and looks for the computer again.
- Spindle commands are signed with HMAC, and LinuxCNC rejects them while a program is running. The firmware, in C with LVGL, only redraws what changes to avoid flicker, and an OTA server updates it at power-up.
Details
| Board | Waveshare ESP32-S3, 480 × 480 |
|---|---|
| Link | Wi-Fi, UDP at 25 samples/s |
| Security | Commands signed with HMAC |
| Battery | LiPo, 3.7 V, 3000 mAh |
