qRecon Flex Relay HAT with replaceable relays mounted securely onto a Raspberry Pi board.

qReCon Flex: Raspberry Pi HAT with Variable & Replaceable Relay Type

Maximum versatility for your custom switching needs. A professional 4-channel socketed relay board designed for interchangeable relays and total control flexibility.

Built for Developers & Industrial Systems - Developer-Centric Hardware (DCH).

Replaceable Relay Sockets: Modular design supporting interchangeable relays from various manufacturers to fit your exact current, voltage, or load requirements.

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 Flex

The qReCon Flex Raspberry Pi Relay HAT featuring user-replaceable relays for extended lifespan

Driven by our Developer-Centric Hardware (DCH) philosophy, we set out to create a 4-channel relay module that breaks free from fixed relay limitations without compromising on electrical safety.
Generic relay boards force you into fixed current limits, lack proper optical isolation, and complicate software setup. By introducing replaceable relay sockets, complete optocoupler isolation, a DIP-switch selectable GPIO bank, and built-in Home Assistant Auto-MQTT Discovery, we built the ultimate modular control solution. Whether you need custom relay types for specific AC/DC loads or seamless smart home onboarding, you get maximum hardware flexibility with zero code configuration.

Design Choices for qRecon Flex

Infinity icon

Endless Customization.

Compatible with a wide range of relay types and manufacturers for ultimate flexibility.

Replace icon

Built for Longevity

Relays are easily replaceable, ensuring your module outlasts other fixed-relay solutions.

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.

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.

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.

Gear icon

Zero Firmware

Everything is done by hardware.

qRecon Flex - Compatible Relays

The compatible 5V DC relays fit one of the two dimensional specifications detailed below, which include front, side, and footprint measurements. All units are in mm:

SPDT/DPDT type relays

29
20
5
5
12.7
7.5
20
5
5
7.5

Bottom view

SPST/DPST type relays

29
20
5
12.7
7.5
20
5
7.5

Bottom view

Examples of Compatible Relay Models

Omron

G2RL-1A-E(-ASI, -HA, -PW1) DC5 (SPST/16A)

G2RL-1-E(-ASI, -HA, -PW1) DC5 (SPDT/16A)

G2RL-1A-E-CV(-HA) DC5 (SPST/16A)

G2RL-2A(-HA, -PW1) DC5 (DPST/8A)

G2RL-2(-ASI, -HA, -PW1) DC5 (DPDT/8A)

G2RL-1A4-E DC5 (SPST/16A)

G2RL-14-E DC5 (SPDT/16A)

G5RL-1A-E(-LN, -HR, -TV8) DC5 (SPST/16A)

G5RL-1-E DC5 (SPDT/16A)

G5RL-1-E-HR DC5 (SPDT/16A)

Finder

40.51.9.005.xxxx (SPDT/10A)

40.52.9.005.xxxx (DPDT/8A)

40.61.9.005.xxxx (SPDT/16A)

TE Connectivity / Schrack

RT314005F (SPDT/16A)

RT42x005x (DPDT/8A)

RTD14005F (SPDT/16A)

RTE2x005x (DPDT/8A)

RTSxx005x (SPST/16A)

RZx3-1Ax-D005x (SPST/16A)

RZx3-1Cx-D005x (SPDT/16A)

Pin allocation of the qRecon Flex

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 Flex User Interface and Indicators

qRecon Flex Relay HAT top view, showing 4 user-replaceable relay sockets and terminal blocks.
Raspberry Pi 2x20 pin connector
1
Relay sockets
2
DIP Switch: setup GPIO ports, Active level (H/L)
3
Relay 3 & 4 output connector
4
Relay 1 & 2 output connector
5

1 - Raspberry Pi 2x20 pin connector
2 - Relay sockets
3 - DIP Switch: setup GPIO ports, Active level (H/L)
4 - Relay 3 & 4 output connector
5 - Relay 1 & 2 output connector

Technical Specs of the qRecon Flex

Bandage icon

Physical parameters

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

Outputs

Number of outputs
4
Output type
Relay
Relay type
Depend
Max AC voltage
Depend
Max DC voltage
Depend
Max NO current
Depend
Max NC current
Depend
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
Software icon

Software

Control software
C++ & Python
Open Source
Yes
Home Assistant compatibility
Auto-MQTT Discrovery

qReCon Flex 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-flex.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 Flex Gallery

qRecon Flex 3D view & Model

Purchase Options for qRecon Flex

qRecon Flex Manuals & Resources