4.3 Connect External Relay

Hardware Connection · Use the C-connector outputs or another compatible protected control interface
ℹ️
Recommended method: use the V4.7B C connector with a PiBot IsoSwitch V4 or another compatible optically isolated relay-input module. This provides three clear control channels without taking over the PWM or laser headers.
⚠️
Keep the controller side low voltage. Do not route mains wiring through a V4.7B logic connector. Relay contact wiring must use suitable fusing, enclosure, wire size, grounding and a device rated for the real load and surge current.
V4.7B C Connector
EN · STP · DIR · GND
IsoSwitch Inputs
S1 · S2 · S3 · GND
Relay Contacts
NC · COM · NO
1
Prepare the IsoSwitch V4
PiBot IsoSwitch V4 relay input and active high active low jumper settings
IsoSwitch V4 input power, S1/S2/S3/GND and trigger-jumper reference. Verify the silkscreen on your own revision.
2
Connect V4.7B C to S1 / S2 / S3
V4.7B C connectorIsoSwitch inputTest-YAML functionTest command
EN · I2SO.23S1Mist / relay channel 1M7 on · M9 off
STP · I2SO.21S2Flood / relay channel 2M8 on · M9 off
DIR · I2SO.20S3Digital output 0 / relay channel 3M64 P0 on · M65 P0 off
GNDGNDSignal referenceRequired
3
Test the Three Relay Channels

Power the low-voltage control side and send one command at a time.

M7S1 / relay 1 turns on. Send M9 and confirm it turns off.
M8S2 / relay 2 turns on. Send M9 and confirm it turns off.
M64 P0S3 / relay 3 turns on. Send M65 P0 and confirm it turns off.
4
Use NC / COM / NO Correctly
ContactState while relay is inactiveTypical use
COMCommon moving contactConnects to NC or NO depending on relay state
NOOpenLoad turns on only when relay is energized
NCClosed to COMLoad path opens when relay is energized
💡
Choose NO or NC from the required safe state, not merely convenience. Test with a continuity meter before connecting the real load.
5
Other V4.7B Control Options
C Connector · RecommendedThree dedicated test outputs with simple M7/M8/M64 commands and one GND reference.
GPIO.4 / GPIO.12 HeadersCompatible 5 V logic relay inputs may be configured here, but these signals are shared with PWM/laser and the matching MOSFET channels.
MOSFET Low-Side ChannelsFor a compatible small DC coil only, with correct flyback protection. Maximum 1.5 A per channel; heavier loads require a suitable external driver.
Commissioning Check