PiHat
mkramar·dizzyrobot·Schamatic/PiHat/PiHat.kicad_pcb
About the PiHat PCB
PiHat is an open source STM32 PCB design by mkramar, published on GitHub. It is a 2-layer board measuring 65 × 29.9 mm, with 65 components from 46 distinct parts.
Its main chip is the STM32F031G4U6, from the STM32 family. Other key parts include the LM2678-3.3V, LM2678-12V, IFX91041 - 3.3V, LSM6DS33 and LTC2876. By type, the board carries 27 connectors, 12 capacitors, 10 resistors, 7 diodes, 6 ICs and 2 inductors.
Main components on the PiHat
PiHat bill of materials (BOM)
65 components, 46 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | LM2678-3.3V ACS781 | ACS781 | U1 |
| 1 | LM2678-12V IFX91041 - 5V | HTSOP-8-1EP_3.9x4.9mm_Pitch1.27mm_ThermalVias | U2 |
| 1 | IFX91041 - 3.3V | HTSOP-8-1EP_3.9x4.9mm_Pitch1.27mm_ThermalVias | U3 |
| 1 | LSM6DS33 | LGA16R50P3X5_300X300X100 | U5 |
| 1 | LTC2876 | LTC2876 | U6 |
| 1 | STM32F031G4U6 | STM32F031G4U6 | U7 |
| 1 | Resonator_Small | Oscillator | Y1 |
| 2 | +45V | 1pin | J1, J2 |
| 4 | GND | 1pin | J3, J4, J10, J11 |
| 1 | 3.3V | Pin_Header_Straight_1x02_Pitch2.54mm | J5 |
| 1 | CONN_02X05 5V | Pin_Header_Straight_1x02_Pitch2.54mm | J6 |
| 1 | CONN_02X10 CONN_02X20 | Pin_Header_Straight_2x20_Pitch2.54mm | J7 |
| 2 | MOTOR | 1pin | J8, J9 |
| 1 | SW1 | 1pin | J12 |
| 1 | SW2 | 1pin | J13 |
| 4 | MOUNT | 1pin | J14, J15, J16, J17 |
| 1 | CONN_02X05 | Pin_Header_Straight_2x05_Pitch1.27mm | J18 |
| 1 | SDA | 1pin | J19 |
| 1 | SCL | 1pin | J20 |
| 1 | ADCI | 1pin | J21 |
Show 26 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ADCV | 1pin | J22 |
| 1 | DE | 1pin | J23 |
| 1 | TX | 1pin | J24 |
| 1 | RX | 1pin | J25 |
| 2 | CONN_01X02 | Pin_Header_Straight_2x01_Pitch2.54mm | J26, J27 |
| 1 | D | D_SMA | D1 |
| 1 | D | D_SOD-323F | D2 |
| 1 | 47V | D_SOD-123F | D3 |
| 2 | D_Small | D_SOD-323 | D4, D5 |
| 2 | LED_Small | LED_0603 | D6, D7 |
| 1 | 15UH 47uH | Inductor-1812 | L1 |
| 1 | 33UH 47uH | Inductor-1812 | L2 |
| 4 | 0.1uF | C_0603 | C2, C9, C10, C11 |
| 2 | 22nF | C_0603 | C3, C4 |
| 1 | 220nF | C_0603 | C5 |
| 1 | 0.1UF 220nF | C_0603 | C6 |
| 2 | 0.01UF 100uF | C_1206 | C7, C8 |
| 1 | 100UF 0.1uF | C_0603 | C12 |
| 1 | 100UF 1uF | C_1206 | C13 |
| 2 | 22k | R_0603 | R1, R2 |
| 1 | 100K 1% | R_0603 | R3 |
| 1 | 10K 4K 1% | R_0603 | R4 |
| 1 | 4K 1% | R_0603 | R5 |
| 1 | 30K 6K 1% | R_0603 | R6 |
| 2 | 10K | R_0603 | R7, R8 |
| 2 | 370 | R_0603 | R9, R10 |
PiHat design files
The KiCad project lives in the mkramar/dizzyrobot repository on GitHub; these links point at the commit this page was built from.
PiHat: common questions
What microcontroller does the PiHat use?
The PiHat is built around the STM32F031G4U6, from the STM32 family.
How big is the PiHat PCB?
The PiHat measures 65 × 29.9 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the PiHat?
65 components, from 46 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the PiHat design files?
From the mkramar/dizzyrobot repository on GitHub, which has the KiCad layout and the BOM; the links under Design files point to each one.
Can I use the PiHat design in my own project?
The repository has no license, so all rights stay with mkramar. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the PiHat without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
More boards in dizzyrobot
STM32
Mainboard
mkramar
45 × 140 mm71 parts4LNo license13STM32
Motor-2
mkramar
45 × 45 mm64 parts2LNo license13External
mkramar
45 × 45 mm54 parts2LNo license13STM32
Motor
mkramar
45 × 45 mm49 parts2LNo license13PiConn
mkramar
27.1 × 65.7 mm8 parts2LNo license13UpConn
mkramar
26.9 × 39.4 mm4 parts2LNo license13Sensor B
mkramar
12 × 27 mm3 parts2LNo license13Sensor
mkramar
13.2 × 9.1 mm3 parts2LNo license13
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k