Skip to the content
2 layers54.5 × 26 mmPi Sensor Hub, the printed circuit board in 3D

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.md

Raspberry 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.

3D render of the board

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:

ConnectorSensorSignals
J2DHT11 (temperature/humidity)3.3V, GPIO4 (data, pulled up via R1), GND
J3INA219 (voltage/current)3.3V, GND, SDA/GPIO2, SCL/GPIO3 (pulled up via R2/R3)
J4HC-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 capture
  • layout.pdf — PCB layout, top and bottom copper layers
  • BOM.csv — bill of materials
  • 3D_rend.png — 3D render of the finished board
  • pi-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
QtyValueFootprintReferences
34.7kResistor_SMD:R_0805_2012MetricR1, R2, R3
2Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3, J4
11kResistor_SMD:R_0805_2012MetricR4
12kResistor_SMD:R_0805_2012MetricR5
1Conn_01x03Connector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJ2
1Raspberry_Pi_2_3Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_VerticalJ1

Similar boards

  • 2 layers103 × 30.5 mmTS Back Endcap, the printed circuit board in 3D

    TS Back Endcap

    EEVengers/ThunderScope

    ThunderScope GitHub Repo

    9 parts1.3kMIT
  • 2 layers31.8 × 47.6 mmNGC 38 connector, the printed circuit board in 3D

    NGC 38 connector

    rusefi/rusefi

    rusefi - GPL internal combustion engine control unit

    9 parts1.2k
  • 2 layers24 × 27.3 mmExpansion Card Retrofit, the printed circuit board in 3D

    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 mmSKR Mini TFT Thermistor Board, the printed circuit board in 3D

    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 mmLearnoliver, the printed circuit board in 3D

    Learnoliver

    hackclub/OnBoard

    💡 Join 1,000 teenagers and make your first PCB with a $100 grant!

    9 parts915
  • 2 layers17.4 × 16.9 mmToolhead, the printed circuit board in 3D

    Toolhead

    tanaes/whopping_Voron_mods

    9 parts787GPL-3.0
  • 2 layers9.8 × 108 mmExpander, the printed circuit board in 3D

    Expander

    wntrblm/Castor_and_Pollux

    A Juno-inspired dual oscillator

    9 parts587
  • 2 layersKeyboard after, the printed circuit board in 3D

    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.