

Pi Sensor Hub
A custom PCB, designed in KiCAD, that carries the DHT11, INA219, and HC-SR04 sensors from my Industrial IoT OPC UA Monitoring System off a breadboard and onto a dedicated interface board for the Raspberry Pi.
- Size
- 54.5 × 26 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 9
- Nets
- 32
- Pads
- 61
- Tracks, vias
- 115, 5
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 10.0 (file 20260206)
- Created
- 30 Aug 2026
- Updated
- 30 Aug 2026
Overview
Pi Sensor Hub is an open-source printed circuit board by Shah-2024, from the Shah-2024/Pi-Sensor-Hub repository on GitHub. It is a 2-layer board of 54.5 × 26 mm with 9 parts on 32 nets, routed with 115 tracks and 5 vias.
Its parts include 5 resistors and 4 connectors. It belongs with the sensors and measurement boards of this library.
README
README.mdRaspberry Pi Sensor Interface Board
A custom PCB, designed in KiCAD, that carries the DHT11, INA219, and HC-SR04 sensors from my Industrial IoT OPC UA Monitoring System off a breadboard and onto a dedicated interface board for the Raspberry Pi.

Overview
The original monitoring system prototyped its sensor wiring on a breadboard, including a manual voltage divider to safely bring the HC-SR04's 5V echo signal down to the Pi's 3.3V GPIO logic level. This board turns that breadboard wiring into a permanent, fabrication-ready PCB that plugs directly onto the Pi's 40-pin GPIO header.
Interfaces:
| Connector | Sensor | Signals |
|---|---|---|
| J2 | DHT11 (temperature/humidity) | 3.3V, GPIO4 (data, pulled up via R1), GND |
| J3 | INA219 (voltage/current) | 3.3V, GND, SDA/GPIO2, SCL/GPIO3 (pulled up via R2/R3) |
| J4 | HC-SR04 (ultrasonic distance) | 5V, GPIO23 (Trig), Echo (routed through an R4/R5 voltage divider to GPIO24), GND |
Design details
- I2C/digital pull-ups: R1, R2, R3 (4.7kΩ) pull the DHT11 data line and the I2C SDA/SCL lines up to 3.3V.
- Echo voltage divider: the HC-SR04's 5V echo output is never connected directly to a Pi GPIO. It passes through R4 (1kΩ) and R5 (2kΩ) first, producing a safe ~3.3V signal (
ECHO_DIV) before reaching GPIO24 — protecting the Pi's 3.3V-only GPIO input from the sensor's 5V output. - Ground plane: a bottom-layer copper pour ties all ground connections together rather than hand-routed GND traces.
- Verification: schematic passed Electrical Rules Check (ERC) with zero errors; PCB passed Design Rules Check (DRC) with zero errors/warnings, including schematic-to-PCB parity verification.
Repo contents
schematic.pdf— full schematic capturelayout.pdf— PCB layout, top and bottom copper layersBOM.csv— bill of materials3D_rend.png— 3D render of the finished boardpi-sensor-hub.kicad_pro/.kicad_sch/.kicad_pcb— KiCAD project files
Status
Design complete and verified (ERC/DRC clean). Not yet fabricated — next step is ordering boards for assembly and integration testing with the live sensor monitoring system.
Related project
This board is designed to plug directly into industrial-iot-opcua-monitor, replacing that project's breadboard sensor wiring with a dedicated PCB.
Parts
9| Qty | Value | Footprint | References |
|---|---|---|---|
| 3 | 4.7k | Resistor_SMD:R_0805_2012Metric | R1, R2, R3 |
| 2 | Conn_01x04 | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J3, J4 |
| 1 | 1k | Resistor_SMD:R_0805_2012Metric | R4 |
| 1 | 2k | Resistor_SMD:R_0805_2012Metric | R5 |
| 1 | Conn_01x03 | Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_Vertical | J2 |
| 1 | Raspberry_Pi_2_3 | Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_Vertical | J1 |
Similar boards
- 2 layers103 × 30.5 mm

- 2 layers31.8 × 47.6 mm

- 2 layers24 × 27.3 mm

Expansion Card Retrofit
FrameworkComputer/ExpansionCards
Reference designs and documentation to create Expansion Cards for the Framework Laptop
9 parts1.1kCC-BY-4.0 - 2 layers15.6 × 17.3 mm

SKR Mini TFT Thermistor Board
VoronDesign/Voron-Hardware
Cool Hardware designed by the Voron Design group
9 parts1.1kGPL-3.0 - 2 layers39.1 × 49.5 mm

Learnoliver
hackclub/OnBoard
💡 Join 1,000 teenagers and make your first PCB with a $100 grant!
9 parts915 - 2 layers17.4 × 16.9 mm

- 2 layers9.8 × 108 mm

- 2 layers

Keyboard after
adamws/kicad-kbplacer
KiCad plugin for automatic keyboard's key placement and routing
9 parts547GPL-3.0
Questions
How big is the Pi Sensor Hub PCB?
It measures 54.5 × 26 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Pi Sensor Hub use?
9 parts. The full list of its parts is on this page, with links to each part's symbol and footprint where PCBKit's library has them.
Where can I download the Pi Sensor Hub KiCad files?
From the Shah-2024/Pi-Sensor-Hub repository on GitHub, at the commit this page was made from: the board is pi-sensor-hub.kicad_pcb and its schematic pi-sensor-hub.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Pi Sensor Hub design in my own project?
Its repository states no licence, so its author keeps all rights: ask Shah-2024 before reusing the design.