PIOHAT: Essential Raspberry Pi IO Module for Simple Tasks
Why pay for 8 ports when you only need 2? PIOHAT is the most affordable way to add isolated inputs and relays to your Raspberry Pi.
The Objective Behind PIOHAT
Most Raspberry Pi IO modules are overpriced and oversized for simple tasks, as they offer more ports than required. We have designed PIOHAT to eliminate the cost of unused capacity.
By focusing on 2 opto-isolated inputs and 2 relay outputs, we created a compact and budget-friendly module. It provides professional-grade protection and control for projects where two channels are exactly enough.
Design Choices for PIOHAT
From Factor
For easy assembly, PIOHAT 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. Only 4 GPIO ports for communication.
Optical isolation
Optically isolated channels safeguard your Raspberry Pi from electrical noise and damage.
Wide input voltage range
3-45V range for level type inputs.
Versatile SPDT Relays
Each relay features both Normally Open (NO) and Normally Closed (NC) contacts, letting you choose how to control your circuits.
Pin allocation of the PIOHAT
Input 2/27
Relay Out 2/15
PIOHAT User Interface and Indicators
1 - Raspberry Pi 2x20 pin connector
2 - Relays
3 - Output connectors
4 - Input connectors
Technical Specs of the PIOHAT
Physical parameters
- Form factor
- Raspberry Pi HAT
- Dimensions
- 65x56x23mm + 11mm header
- Stackable

Inputs
- Number of input
- 2
- Input types
- Level
- Input voltage range
- 3-45V
Outputs
- Number of outputs
- 2
- Output type
- Relay
- Relay type
- SPDT
- Max voltage
- 240VAC, 24VDC
- Max current resistive
- 7A
- Max current inductive
- 3A
Connectors
- Connection type
- Terminal block
- Vibration resistant

Communication
- Method
- GPIO ports
- Used GPIO ports for input
- 2
- Used GPIO ports for output
- 2
Safety
- Optical isolation

Software
- Control software
- C++ & Python
PIOHAT Manuals & Resources
Github
More information, user manual and control software (C++ & Python) can be found on Github.