grbl-Mega-4axis
grbl-Mega-4axis copied to clipboard
Additional Analog/Digital controls for relays/led's or ???
i would like to see the option to have or be able to enable additional outputs for control of additional equipment with commands and possible analog inputs to control such outputs
i would like to see: different color led depending on run, error, complete... turn on/off work light have temp controlled fans on motors
maybe - D44 - D46 for digital/pwn output A0 - A2 as inputs (temp sensors) A3-A6 as outputs
i have been playing with the code and have been able to get 4 extra output pins to somewhat work.
they will toggle individually and all off through 'M' codes there is a couple issues i do not know how to get pass
certain activated output will screw with program im using (bCNC 9.1). program will not run/move axis motors but shows work being completed in viewer. i tried to change names, pin assignments, code... im not a programmer. i just copied code from coolant and googled things.
if anyone interested in looking at modifications and trying to successfully complete, attached is files MEGA 2560 grbl MOD.zip
if get working properly please post back
correction, it now works with 4 additional output pins tested with bCNC and snapcnc
outputs have individual toggle as well as an all off MEGA2560 grbl1.1e MOD.zip