Skip to the content
PCBKitNew board
4 layers30 × 65 mmESP32 HAT, the printed circuit board in 3D

A Raspberry Pi HAT for the ESP32 C6

Size
30 × 65 mm
Copper layers
4
Thickness
1.6 mm
Parts
69
Nets
121
Pads
324
Tracks, vias
587, 53
Pours
3
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
13 Sep 2026
Updated
16 Sep 2026

Overview

ESP32 HAT is an open-source printed circuit board by Rufilla, from the Rufilla/ESP32_HAT repository on GitHub, published under the Apache-2.0 licence. It is a 4-layer board of 30 × 65 mm with 69 parts on 121 nets, routed with 587 tracks and 53 vias.

It is built around the ESP32-C6-MINI-1-H8, CP2102N-A02-GQFN28 and LBC847BDW1T1G, with the NCP1117LPST33T3G-MS, LESD5D5.0CT1G and 1N4148W among its other parts. Its parts include 27 resistors, 15 capacitors, 9 diodes, 4 ICs and 3 connectors. It belongs with the radio and wireless boards and the ESP32, RISC-V, FPGA and CPLD and Raspberry Pi (Linux) boards of this library.

Main components

9

README

README.md

ESP32-C6 Raspberry Pi Zero HAT

Licence: Apache 2.0 KiCad

KiCad design files for a Raspberry Pi Zero form-factor HAT carrying an Espressif ESP32-C6-MINI-1 module. The board gives a Raspberry Pi (or any 40-pin host) 2.4 GHz Wi-Fi 6, Bluetooth 5 LE, Zigbee and Thread connectivity, and can also be used stand-alone over its USB-C port. This repository contains the hardware design only — schematic, PCB and design rules; no firmware.

ClientInternal
StatusVersion 1.0 - Checked

ESP32 HAT

Overview

The board is a four-layer, 1.6 mm PCB measuring 30 x 65 mm, with two internal power planes.

  • ESP32-C6-MINI-1-H8 module — RISC-V SoC with 8 MB flash and an on-module PCB antenna, providing Wi-Fi 6, Bluetooth 5 LE, Zigbee and Thread.
  • Power — an on-board NCP1117 linear regulator derives 3.3 V (up to 1 A) so the HAT can run from either the host header or USB-C.
  • Host interface — a 40-pin, 2.54 mm Raspberry Pi-style header connects the ESP32 to the host.
  • USB-C and UART bridge — a USB-to-UART bridge allows programming and console access without the Pi in circuit.
  • Expansion — a 15-pin, 2.54 mm auxiliary header breaks out spare ESP32 GPIO.
  • Status and control — two WS2812B-2020 addressable RGB LEDs (Wi-Fi and Zigbee status) and three 5 x 5 mm normally-open SMD tactile switches. The WS2812 data line can be strapped to GPIO10, GPIO12, GPIO18 or GPIO21.
  • Mechanical — four 2.5 mm mounting holes and 3 mm corner radii, matching the Pi Zero outline.

Requirements

Hardware

  • Raspberry Pi Zero (or another 40-pin, 2.54 mm host header) — optional; the HAT also runs stand-alone.
  • USB-C cable for power, programming and console.

Software

  • KiCad 10.0 or later — earlier versions will not open these files.
  • kicad-cli (shipped with KiCad) for headless export and rule checks.

Getting the source

bash
git clone git@github.com:Rufilla/ESP32_HAT.git
cd ESP32_HAT

Open esp32_HAT.kicad_pro in KiCad. Footprint libraries are resolved through the local fp-lib-table.

Building

Generating the manufacturing outputs headlessly:

bash
kicad-cli sch export pdf  esp32_HAT.kicad_sch -o production/esp32_HAT-schematic.pdf
kicad-cli sch export bom  esp32_HAT.kicad_sch -o production/esp32_HAT-bom.csv
kicad-cli pcb export gerbers esp32_HAT.kicad_pcb -o production/
kicad-cli pcb export drill   esp32_HAT.kicad_pcb -o production/

production/, output/ and exported BOM/netlist files are git-ignored, so fabrication outputs are regenerated rather than committed.

Testing

Run the electrical and design rule checks before releasing a revision. Custom design rules live in esp32_HAT.kicad_dru.

bash
kicad-cli sch erc esp32_HAT.kicad_sch
kicad-cli pcb drc esp32_HAT.kicad_pcb --severity-error

Project structure

text
esp32_HAT.kicad_pro    KiCad project: DRC severities, net classes, board stack-up
esp32_HAT.kicad_sch    Schematic
esp32_HAT.kicad_pcb    PCB layout (4 layers, 1.6 mm, 30 x 65 mm)
esp32_HAT.kicad_dru    Custom design rules for the fabricator
system_block.kicad_sch System block diagram
fp-lib-table           Project footprint library table
esp32_HAT.png          Board render used in this README
docs/images/           Images referenced by documentation

Security

To report a security concern in this design, email hello@rufilla.com rather than opening a public issue.

Licence

Apache License, Version 2.0 — see LICENSE.

Third-party components keep their own licences. KiCad symbols and footprints taken from the standard KiCad libraries remain under the KiCad Library Licence; the ESP32-C6-MINI-1/U module and other parts are covered by their manufacturers' terms.

Support

Rufilla Ltd · Building D5, Culham Campus, Abingdon, Oxfordshire, UK, OX14 3DB hello@rufilla.com · +44 (0)1865 601201 · www.rufilla.com

© 2026 Rufilla Ltd

Parts

69
QtyValueFootprintReferences
110(1%)Resistor_SMD:R_0402_1005MetricR2, R3, R7, R8, R9, R13, R15, R17, R21, R23, R30
710K(1%)Resistor_SMD:R_0402_1005MetricR4, R5, R10, R12, R20, R22, R29
50.1uF/50V(10%)Capacitor_SMD:C_0402_1005MetricC2, C8, C9, C13, C14
510uF/25V(20%)Capacitor_SMD:C_0603_1608MetricC1, C3, C7, C10, C11
4MountingHoleMountingHole:MountingHole_2.5mm_PadH1, H2, H3, H4
3431181015816431181015816:431181015816S1, S2, S3
35.1K(1%)Resistor_SMD:R_0402_1005MetricR11, R25, R26
3LESD5D5.0CT1GLibrary:D_SOD-523-ModD2, D3, D4
212pF/50V(5%)(NC)Capacitor_SMD:C_0402_1005MetricC4, C5
21N4148WDiode_SMD:D_SOD-123D11, D12
21uF/16V(10%)Capacitor_SMD:C_0402_1005MetricC6, C12
110K(1%)(NC)Resistor_SMD:R_0402_1005MetricR14
110M/0402(NC)Resistor_SMD:R_0603_1608MetricR1
11K(1%)Resistor_SMD:R_0402_1005MetricR16
11N5819HW-7-FDiode_SMD:D_SOD-123FD1
122.1K(1%)Resistor_SMD:R_0402_1005MetricR19
13.3K(1%)Resistor_SMD:R_0402_1005MetricR6
132.768KHz(NC)Crystal:Crystal_SMD_2012-2Pin_2.0x1.2mm_HandSolderingY1
147.5K(1%)Resistor_SMD:R_0402_1005MetricR18
1BC817Package_TO_SOT_SMD:SOT-23Q1
1CON15X1_2P54Connector_PinHeader_2.54mm:PinHeader_1x15_P2.54mm_VerticalJ1
1CP2102N-A02-GQFN28Package_DFN_QFN:QFN-28-1EP_5x5mm_P0.5mm_EP3.35x3.35mmU3
1ESP32-C6-MINI-1-H8PCM_Espressif:ESP32-C6-MINI-1U1
1LBC847BDW1T1GPackage_TO_SOT_SMD:SOT-363_SC-70-6U6
1NCCapacitor_SMD:C_0603_1608MetricC16
1NCP1117LPST33T3GPackage_TO_SOT_SMD:SOT-223IC1
1Raspberry_Pi_2_3Connector_PinSocket_2.54mm:PinSocket_2x20_P2.54mm_VerticalJ5
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged2Bar_RoundedPad1.0x1.5mmJP1
1TLMS1000-GS15LED_SMD:LED_0603_1608MetricD5
1TestPointTestPoint:TestPoint_Pad_D1.0mm3V3
1UJ32-C-H-G-SMT-7-P24-TRUJ32-C-H-G-SMT-7-P24-TR:SAMESKY_UJ32-C-H-G-SMT-7-P24-TRJ3
1WS2812B-2020/ WiFiLED_SMD:LED_WS2812B-2020_PLCC4_2.0x2.0mmD13
1WS2812B-2020/ ZigbeeLED_SMD:LED_WS2812B-2020_PLCC4_2.0x2.0mmD6

Questions

How big is the ESP32 HAT PCB?

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

What parts does the ESP32 HAT use?

69 parts, built around the ESP32-C6-MINI-1-H8, CP2102N-A02-GQFN28, LBC847BDW1T1G and NCP1117LPST33T3G-MS. 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 ESP32 HAT KiCad files?

From the Rufilla/ESP32_HAT repository on GitHub, at the commit this page was made from: the board is esp32_HAT.kicad_pcb and its schematic esp32_HAT.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the ESP32 HAT design in my own project?

Its repository publishes it under the Apache-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 6 layers90 × 90 mmSolarDataLogger, the printed circuit board in 3D

    SolarDataLogger

    brokebit/SolarDataLogger

    Firmware for custom data logger for Victron MPPT charge controllers via the Ve.Direct port/protocol.

    70 partsCC0-1.0
  • 4 layers404 × 142.3 mmGalatea Keyboard PCB, the printed circuit board in 3D

    Galatea Keyboard PCB

    AronTech1/Galatea-75-wireless-mechanical-keyboard

    Galatea: 75% wireless mechanical keyboard with a 5" IPS display, per-key LEDs, rotary encoder, voice button and I²S microphone.

    454 parts
  • 4 layers115 × 55 mmRoamr motors, the printed circuit board in 3D

    Roamr motors

    uw-roamr/roamr

    turn your phone into a robot running SLAM with two motors, two control boards, and a bluetooth chip

    110 parts6
  • 4 layers55.2 × 6.6 mmMolisense, the printed circuit board in 3D

    Molisense

    Phantom3030/Electiva

    88 parts
  • 4 layers203.1 × 107.7 mmAxes controller board, the printed circuit board in 3D

    Axes controller board

    DEDALUS-5x/axes-controller-board

    Motherboard schematic design dedicated to motors control

    193 partsCERN-OHL-S-2.0
  • 2 layers94.1 × 63.5 mmGarageOpener, the printed circuit board in 3D

    GarageOpener

    AshiqAshref/Garage-Door-Opener

    Universal Garage Door using BLE (Bluetooth Low Power) running on ESP32 with highest security possible.

    42 partsMIT
  • 2 layers41 × 87 mmDif pressure meter, the printed circuit board in 3D

    Dif pressure meter

    ardiloot/dif-pressure-meter

    ESP32 based differential pressure (and air flow) meter. Handheld, battery powered DIY device for measuring small pressure differences (Sensirion SDP810-500Pa).

    68 parts23MIT