Why not use a plain 12V relay or preferably an SSR instead of a relay module, and connect the relay coil to the RAMPS heated bed output? Then you won't need to modify the firmware. Don't forget to connect a flyback diode across the relay coil, if it is a mechanical relay.
↧