qReCon Relay HAT mounted on Raspberry Pi 5. Shows 4 relays and full setup.

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.

Jump iconLearn About Our Approach

The Objective Behind qReCon

qReCon: Raspberry Pi Relay HAT - 4 relay, selectable GPIO & Active H/L

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

Form icon

From Factor

For easy assembly, qUPS has HAT form factor. Simply connect it via the 40 pin header.

Stackablility icon

Stackability

Pins on the connector are long ones, all can be accessed from the top of the product.

Strong icon

Reliable connection

Massive, soldered pin header for power and signal connection. Pogo pins are not reliable.

Gear icon

Zero firmware

Everything is done by hardware.

Handshake icon

GPIO communication

Easy programming. Avoid extra load on capacitance limited I2C bus. 4 GPIO ports for communication.

Isolation icon

Optical isolation

Optically isolated channels safeguard your Raspberry Pi from electrical noise and damage.

Light bulb icon

Visual feedback

A dedicated LED shows the real-time ON/OFF status of each relay.

Switch icon

Versatile SPDT Relays

Each relay features both Normally Open (NO) and Normally Closed (NC) contacts, letting you choose how to control your circuits.

High-Low icon

Configurable Control Logic

Easily switch between Active High and Active Low with a simple jumper setting.

DIP switch icon

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

Bank 2
GPIOSEL=ON

Relay 4/06
Relay 3/13
Relay 2/19
Relay 1/26
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
Bank 1
GPIOSEL=OFF

Relay 4/05


Relay 3/16
Relay 2/20
Relay 1/21

qReCon User Interface and Indicators

Top-down view of qRecon Raspberry Pi HAT showing 4 relays, connectors & electronics.
Raspberry Pi 2x20 pin connector
1
Relay 1 & 2 output connector
3
Channel 1 LED
4
DIP Switch: setup GPIO ports, Active level (H/L)
2
Relay 3 & 4 output connector
6
Channel 2 LED
5
Channel 3 LED
7
Channel 4 LED
8

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

Bandage icon

Physical parameters

Form factor
Raspberry Pi HAT
Dimensions
65x56x23mm + 11mm header
Stackable
Yes
Output icon

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
Connector icon

Connectors

Connection type
Terminal block
Vibration resistant
No
Communication icon

Communication

Method
GPIO ports
Used GPIO ports
4
GPIO groups
2 options
Helmet icon

Safety

Optical isolation
Yes
Indication icon

Indication

Relay state
Yes
Software icon

Software

Control software
C++ & Python
Open Source
Yes
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

qpio-ha --config xxx.json

qReCon Gallery

qReCon 3D view & Model

Purchase Options for qReCon

qReCon Manuals & Resources