Coder Social home page Coder Social logo

grbl-status-light-tower-m5-atom-matrix's Introduction

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
image
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.

image

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.

image

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

grbl-status-light-tower-m5-atom-matrix's People

Contributors

patrikrindlisbacher avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

grbl-status-light-tower-m5-atom-matrix's Issues

Signal Tower

  • Summarize on the three colors
  • Allocation of the pins
    .. is now in progress

Leave your comment here 👍

Leave your comment here :-)
Hinterlassen Sie hier Ihren Komentar

I am happy about any praise or criticism
Ich freue mich über lob oder kritik.

Schönen Gruss / greeting

hardware design

I am looking for people who would like to help with hardware design.

my applications

  • Solidwork 2022
  • Target 3001

I have a fully automatic SMD mounter MV-10

Preparation for different ESP32 boards

Preparation for different ESP32 boards (possibly also other Arduino boards)
... The first tests are successful
24.02.2023 Board -> Atom-Lite --> Atom-Matrix --> Atom-PSRAM

24.02.2023 debug flags in Platformio.ini for Light Tower
-D FLAG_PIN_LIGHT_TOWER_RED=19
-D FLAG_PIN_LIGHT_TOWER_ORANGE=23
-D FLAG_PIN_LIGHT_TOWER_GREEN=33

24.02.2023 first debug flags in Platformio.ini for UART Pin's
-D FLAG_PIN_RXD_UART_TO_CNC=26
-D FLAG_PIN_TXD_UART_TO_CNC=32
24.02.2023 Launch for multiple board's in platformio.ini

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.