Skip to the content
2 layers65 × 30 mmPi power hat, the printed circuit board in 3D

Raspberry Pi Zero W + LiPo + OLED HAT reference design — fully routed KiCad PCB

Size
65 × 30 mm
Copper layers
2
Thickness
1.6 mm
Parts
21
Nets
48
Pads
108
Tracks, vias
107, 32
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
6 Jul 2026
Updated
6 Jul 2026

Overview

Pi power hat is an open-source printed circuit board by salocin2662, from the salocin2662/pi-power-hat repository on GitHub. It is a 2-layer board of 65 × 30 mm with 21 parts on 48 nets, routed with 107 tracks and 32 vias.

It belongs with the power and lEDs and displays boards of this library.

README

README.md

Pi Power HAT

Raspberry Pi Zero W + LiPo Battery + OLED Display HAT

Hardware

  • Charger: TP4056 (LiPo, 1A max)
  • Boost: MT3608 (5V @ 2A)
  • Supervisor: TPS3831 (3.0V brown-out detection)
  • Power Gate: SN74HC74 dual flip-flop
  • Display: SSD1306 128x64 I2C OLED
  • MCU: Raspberry Pi GPIO header

Power Control

Button press → SN74HC74 flip-flop → enables MT3608 boost → Pi powers on. Pi shutdown (GPIO26 / gpio-poweroff overlay) → flip-flop cuts boost enable.

Files

  • kicad/pi_power_hat.kicad_pcb — 2-layer PCB, 65×30mm HAT form factor
  • kicad/pi_power_hat.kicad_sch — Schematic
  • route_pi_hat.py — Headless PCB generator (107 traces, 32 vias)
  • build_pi_hat.py — Schematic + PCB generator
  • layers/*.svg — SVG layer previews

Running

text
"C:\Program Files\KiCad\10.0\bin\python.exe" route_pi_hat.py

Parts

21
QtyValueFootprintReferences
21C1, C2, D_CHG, D_PWR, D1, J1, J2, J3, J4, L1, MH1, MH2, MH3, MH4, R1, R2 +5

Similar boards

  • 2 layers28.3 × 39.8 mmLevelShifter, the printed circuit board in 3D

    LevelShifter

    gusmanb/logicanalyzer

    24 channel, 100Msps logic analyzer hardware and software

    21 parts5.1kGPL-3.0
  • 2 layers171.2 × 72.9 mmAmiga gfxcard before pour, the printed circuit board in 3D

    Amiga gfxcard before pour

    mntmn/amiga2000-gfxcard

    MNT VA2000, an Open Source Amiga 2/3/4000 Graphics Card (Zorro II/III), written in Verilog

    21 parts1k
  • 2 layers93.9 × 46 mmRectifier, the printed circuit board in 3D

    Rectifier

    rene-dev/stmbl

    AC Servo Driver for STM32F4

    21 parts990GPL-3.0
  • 2 layers45.5 × 42.9 mmEsphome han reader, the printed circuit board in 3D

    Esphome han reader

    hackclub/OnBoard

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

    21 parts915
  • 2 layers31.8 × 14.5 mmEsp prog, the printed circuit board in 3D

    Esp prog

    drandyhaas/KiCadRoutingTools

    A set of Python/Rust tools to aid routing in KiCad

    21 parts744MIT
  • 2 layers23.5 × 15.8 mmQuiverAttachPCB, the printed circuit board in 3D

    QuiverAttachPCB

    Arrow-air/project-quiver

    Project Quiver documentation, designs, and project artifacts.

    21 parts617CERN-OHL-S-2.0
  • 2 layers69.9 × 41.3 mmHeaterMeterLCD, the printed circuit board in 3D

    HeaterMeterLCD

    CapnBry/HeaterMeter

    HeaterMeter and LinkMeter Arduino BBQ Controller

    21 parts557MIT
  • 2 layers161.3 × 111.8 mmDoj, the printed circuit board in 3D

    Doj

    kelu124/echomods

    Open source ultrasound processing modules and building blocks

    21 parts463

Questions

How big is the Pi power hat PCB?

It measures 65 × 30 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Pi power hat use?

21 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 power hat KiCad files?

From the salocin2662/pi-power-hat repository on GitHub, at the commit this page was made from: the board is kicad/pi_power_hat.kicad_pcb. PCBKit opens the board in the browser, with nothing to install.

Can I use the Pi power hat design in my own project?

Its repository states no licence, so its author keeps all rights: ask salocin2662 before reusing the design.