All projects will be hosted on https://github.com/grbl-io in the future
This project is based on ESP32 & GRBL 1.1 for all CNC & 3D printing applications
This project is the start for more projects like grbl DRO, Wireless Pendant, CNC Panel...
New Version Date 28.02.2023 without M5 Lib's - > for Universal ESP32
The Light Tower is already supported by 4 M5Stack ESP32 boards.
Flow of functions: (grbl Light-Tower Controller)
- continuous sending of character ? to CNC Controller
- receive all Status messages from CNC controller
- grbl Message type recognition
- parse message reportData Contents
- Provide all values in local variables
- Shown 8 Status on the display of the Atom Matrix (3 or more Colors)
- Shown 3 (or more) Status on the Light-Tower
- Each LED has 4 modes: OFF, ON, Blinking, Flashing.
Signal Light Tower by default
- Idle = green on
- Alarm = red flashing
- Checkmode = red blinking
- Run = orange on
- Hold = orange on and red flashing
- Jog = orange blinking
- SafetyDoor = red flashing
- Sleep = all off
- Config Alarm = red blinking
Connect
- Connect RX to TX and TX to RX (M5 crossed to CNC)
- Look for 3.3V or 5V Input / Output levels depending on the board.
- Depending on the board, the 5V can also be plugged in directly on the CNC board.
Selection of the UART
- you can use RX & TX directly on the controller. (if you don't use the USB port simultaneously)
- Some boards / Firmwares offer a separate external TTL UART connector (eg FluidNC)
Connection signal tower
- A suitable circuit can be built with the DiY Protokit. (or similar)
- I will publish a circuit proposal shortly.
used libraries (Visual Studio Code & PlatformIO / Arduino )
All libraries are automatically installed with PlatformIO
All important parameters are controlled via the Platformio.ini.
The code is easily ported to any Arduino board with hardware UART.
GBL compatibility
It should support GRBL from the current version 1.1 https://github.com/gnea/grbl/wiki/Grbl-v1.1-Interface
final word
I am happy about every reaction in the issues.
I will write detailed instructions in the next few days. WIKI