Hi,
I'm working setting up a standard Arduino relay (something like this: [
i.imgur.com]) with my RAMPS 1.4 / Marlin firmware board. I have the relay module hooked to 5V, and the POWER_ON RAMPS pin, on the same line as the servo enable jumper. My relay is functional, and triggers fine using M80/M81. In Marlin's configuration.h, I have "PS_DEFAULT_OFF" enabled, so my relay pin will be pulled low(?) when the board is booted. My intention is to enable/disable the relay using M80/81 in the starting and ending g-code of Cura. As far as how the relay works and enables the power supply, everything works great, until I connect via Repetier.
Upon launching Repetier and connecting to the printer, it's almost as if Reptier is sending an M80 (power on) command to the board, which enables the power supply. I was hoping there would be a configuration setting in the printer settings of Repetier to disable this functionality - I've tried having disable extruder/bed/motors after job enabled, but it doesn't seem to make any difference. Is there any way to have Repetier NOT activate the power_on pin upon connect? I typically leave Repetier connected to my printer unless I'm re-flashing the firmware with the Arduino IDE. If it's not possible to have Repetier not send an M80 upon connect, is it possible to automatically run an M81 afterwards?
Thank you for any assistance.