grbl-Mega-4axis icon indicating copy to clipboard operation
grbl-Mega-4axis copied to clipboard

Additional Analog/Digital controls for relays/led's or ???

Open aes92000 opened this issue 6 years ago • 2 comments

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

aes92000 avatar Dec 13 '18 03:12 aes92000

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

aes92000 avatar Jan 03 '19 05:01 aes92000

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

aes92000 avatar Jan 04 '19 03:01 aes92000