Close

Forking Grbl_Esp32 to get a full 3 axis EDM

A project log for G-EDM

The G-EDM is an electrical discharge machine that supports sinker EDM, EDM engraving, EDM drilling and Wire EDM operations. #Drahterodieren

gedm-devgedm-dev 06/11/2023 at 11:140 Comments

One of the most difficult things with a 3 axis CNC is the motion control. I tried different ways but decided that reinventing the wheel is just to much trouble and using one of the available motion controllers would be the best way.

I first tried FluidNC which is the newest version of Grbl specialized to the ESP32. The problem is that the GEDM uses a Touch TFT display and a feedbackloop for the EDM process and the stock FluidNC firmware just doesn't fit.

I tried multiple times to fork FluidNC and failed two times more.

So I gave the previous version Grbl_Esp32 a chance to bring the axis to live. And the result is promising.

The fork removed all Telnet/XMODEM/WIFI/BLUETOOTH/UART/TMCDRIVER/WEBUI/I2S stuff and reduced the complete Grbl library to a module that integrates well into the Gedm code.

The TFT Touchscreen is isolated on Core0 while Grbl runs on Core1.

It wasn't easy... at all.. Maybe I need a doctor to check for brain aneurysm now... But it looks really good. In the current state the axis can be jogged via touch input, but the UI is still not fully functional. The SD card support needs to be integrated next. But after this is done the real testing can begin.

Discussions