This is my very first big project. I have to build a laser engraving machine for date stamping. I'm using Arduino Uno microcontroller and a CNC shield with GRBL control.
Being fairly new to G-code, I looked up articles about writing one for daily date change. I found http://www.microtechstelladata.com/TextToNCcode.aspx where they convert date to G-code directly.
My concern is, how do I generate G-codes daily in an autonomous way? I am going to use another Arduino Mega for programming a keypad and an LCD screen and use it for controlling an RTC module for daily date update. Can I use the output of the RTC module somehow and feed it to the G-code generator in Arduino mega which will generate a G-code daily and provide it further to the other Arduino Uno board with the CNC shield.
RTC module (daily date update) --> Arduino Mega (generation of g-code for date provided by RTC module) --> Arduino UNO equipped with CNC shield and GRBL control --> stepper motors and laser diode driver --> laser engraving
Am I going in the right direction here? Any help will be appreciated.