qReCon: Configurable 4-Channel Relay HAT for Raspberry Pi IO Expansion
Reliable AC/DC switching capability for your Raspberry Pi. A professional 4-channel relay board engineered with industrial-grade components and optocoupler isolation for automation and smart home ecosystems.
Built for Developers & Industrial Systems - Developer-Centric Hardware (DCH).
Premium Relays: Genuine Schrack components for safe, long-lasting high-power switching.
Electrical Isolation: Optical isolation to safeguard logic circuits and your Raspberry Pi from power surges and noise.
Hardware-Deterministic: Physical DIP-switch for 2-mode GPIO pin selection and Active High / Active Low control.
Zero-Configuration Integration: Built-in Home Assistant Auto-MQTT Discovery for instant setup.
The Objective Behind qReCon
Driven by our Developer-Centric Hardware (DCH) philosophy, we set out to create a 4-channel relay module that puts electrical safety first and eliminates the compromises of cheap hobbyist boards.
Generic relay boards often lack proper optical isolation, force fixed GPIO routing, and complicate software integration. By combining genuine Schrack relays with complete optocoupler isolation, a DIP-switch selectable GPIO bank, and built-in Home Assistant Auto-MQTT Discovery, we created a truly robust control solution. Whether you are switching industrial loads or automating your smart home, you get a rock-solid, noise-immune relay HAT with zero code configuration.
Design Choices for qReCon
From Factor
For easy assembly, qUPS has HAT form factor. Simply connect it via the 40 pin header.
Stackability
Pins on the connector are long ones, all can be accessed from the top of the product.
Reliable connection
Massive, soldered pin header for power and signal connection. Pogo pins are not reliable.
Zero firmware
Everything is done by hardware.
GPIO communication
Easy programming. Avoid extra load on capacitance limited I2C bus. 4 GPIO ports for communication.
Optical isolation
Optically isolated channels safeguard your Raspberry Pi from electrical noise and damage.
Visual feedback
A dedicated LED shows the real-time ON/OFF status of each relay.
Versatile SPDT Relays
Each relay features both Normally Open (NO) and Normally Closed (NC) contacts, letting you choose how to control your circuits.
Configurable Control Logic
Easily switch between Active High and Active Low with a simple jumper setting.
Flexible GPIO Selection
Choose between two GPIO groups to best fit your project and avoid conflicts with other add-on boards.
Pin allocation of the qReCon
GPIOSEL=ON
Relay 4/06
Relay 3/13
Relay 2/19
Relay 1/26
GPIOSEL=OFF
Relay 4/05
Relay 3/16
Relay 2/20
Relay 1/21
qReCon User Interface and Indicators
1 - Raspberry Pi 2x20 pin connector
2 - DIP Switch: setup GPIO ports, Active level (H/L)
3 - Relay 1 & 2 output connector
4 - Channel 1 LED
5 - Channel 2 LED
6 - Relay 3 & 4 output connector
7 - Channel 3 LED
8 - Channel 4 LED
Technical Specs of the qReCon
Physical parameters
- Form factor
- Raspberry Pi HAT
- Dimensions
- 65x56x23mm + 11mm header
- Stackable

Outputs
- Number of outputs
- 4
- Output type
- Relay
- Relay type
- SPDT
- Max AC voltage
- 250V
- Max DC voltage
- 28V (10A), 300V (0.5A)
- Max NO current
- 10A
- Max NC current
- 3A
Connectors
- Connection type
- Terminal block
- Vibration resistant

Communication
- Method
- GPIO ports
- Used GPIO ports
- 4
- GPIO groups
- 2 options
Safety
- Optical isolation

Indication
- Relay state

Software
- Control software
- C++ & Python
- Open Source

- Home Assistant compatibility
- Auto-MQTT Discrovery
qReCon Home Assistant Integration
Home Assistant integration steps:
Communication setup:
Set the DIP switch on the qReCon for choosing the used GPIO ports
Active H/L setup:
Set the DIP switch on the qReCon for choosing the Active Level (High or Low)
Open the Github page:
https://github.com/aqexhu/synapse/tree/main/src
Download the driver and sample file:
qpio-ha & sample-config-steel.json
Update the MQTT parameters and GPIO Bank (dip) setup in the json file:
broker, port, username, password, dip_bank_select
Rename the json file, if you want
Start the driver