I'm building my own DLP printer with UV LEDs. I use a 20A relay to power them on, since they require high power and can't be directly driven by arduino or Raspberry.
I'm planning to use them with NanoDLP on Raspberry + GRBL on Arduino.
Is it possible to make NanoDLP tell GRBL to power on (send digital 1/+5V) the relay when the print starts and power it off (send digital 0/GND) when the print ends?
The other way would be to just install an on/off switch and do it manually, but I feel this step should be automated somehow.
Is there a way to do it?