AC/DC — HLK-PM03 4x relay — mains rated
Mains-rated relay controller

Relay Board

$32

4-channel relay board with mains-rated contacts (10 A / 250 VAC) and onboard AC/DC power supply. Connect to the Sensor Board via USB-C cable, or control any channel via a direct GPIO pin. Switch pumps, lights, heaters, and fans from any Automato sensor node.

4× relayAC/DC PSUMains-rated Optoisolated74HC595USB-C controlGPIO controlOpen source
Open-source hardware & firmware  ·  MIT License  ·  KiCad design files available

Mains switching for your grow

The Relay Board gives any Automato sensor node the ability to switch mains-voltage loads — pumps, lights, heaters, fans, solenoids. Four independent SPDT channels, each rated 10 A / 250 VAC.

The onboard Hi-Link PSU powers the board directly from mains — no separate supply needed. Optoisolated control keeps your microcontroller safely isolated from line voltage.

Two ways to control it

  • USB-C — connect directly to the Sensor Board via USB-C cable for plug-and-play control (planned addition — not in current schematic)
  • GPIO pin — wire any Automato node directly via the 3-pin screw terminal (SPI to 74HC595)

Safety note: This board connects to mains voltage. Follow all local electrical codes. If in doubt, consult a licensed electrician.

Safety defaults: All relays default to OFF at boot, on power loss, and on connectivity loss. This is by design and cannot be changed.

Pairing with the Brain Board? Connect via Qwiic to the SparkFun Qwiic GPIO (TCA9534, I2C 0x20) for relay control without consuming GPIO pins on the microcontroller.

Relay channels4× Omron G5LE-14 DC3 — SPDT, rated 10 A / 250 VAC
Relay driverToshiba 74HC595D shift register — SPI-controlled, daisy-chainable
MOSFET driversDiodes Inc. DMG3418L (N-ch) — one per relay coil
Freewheeling diodesSMC 1N4007 (per relay), BAS16LT1G (signal path)
AC/DC power supplyHi-Link HLK-PM03 — 100–240 VAC input, 3.3 V / 3 W output
Mains protectionLittelfuse TMOV14RP140E metal-oxide varistor (MOV)
Mains connectorsTE Connectivity 3-213598-4 (live, neutral, earth) and 5-pin screw terminal
Low-voltage connectorPhoenix Contact 1935789 (3-pin, for GPIO control signal + 5V + GND)
Host control — Option 1USB-C connector from Sensor Board (not in current schematic — planned addition)
Host control — Option 2Direct GPIO pin from any Automato sensor node via 3-pin screw terminal
Status LEDs4× Würth green LED — one per relay channel
DecouplingKemet 47 nF (×4 relay), 220 µF bulk, 100 nF and 10 µF supply caps
LicenseMIT (hardware)
Pin / LabelGPIOFunction
Relay OUT 1–4SPDT switched contacts — NO, COM, NC per channel
AC LINE INLive, neutral, earth mains input
USB-C (host)Control connection from Sensor Board via USB-C cable (planned — not in current schematic)
GPIO CTRLSPI (74HC595)Direct GPIO control from sensor node — SER, SRCLK, RCLK via 3-pin screw terminal
VCC5 V logic supply from host or USB hub
GNDCommon ground (low-voltage side, isolated from mains)