Rng piHAT
akielaries·rng_piHAT·schematic/rng_HAT/rng_HAT.kicad_pcb
About the Rng piHAT PCB
Rng piHAT is an open source STM32 PCB design by akielaries, published on GitHub. It is a 2-layer board measuring 56.5 × 65 mm, with 53 components from 33 distinct parts.
Its main chip is the STM32F103C8Tx, from the STM32 family. Other key parts include the TL072CP. By type, the board carries 24 resistors, 13 capacitors, 6 diodes, 5 transistors, 2 ICs and 2 connectors.
It belongs with the dev boards & breakouts designs in this gallery.
From the project
Raspberry Pi HAT with random noise and number generator circuits
Prototype PCB designs I'm playing around with

Main components on the Rng piHAT
Rng piHAT bill of materials (BOM)
53 components, 33 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | TL072CP | DIP-8_W7.62mm_LongPads | U1 |
| 1 | STM32F103C8Tx | LQFP-48_7x7mm_P0.5mm | U3 |
| 4 | 2N3904 | TO-92_Inline | Q1, Q2, Q3, Q5 |
| 1 | BC107 | TO-18-3 | Q4 |
| 1 | 8MHz | Crystal_SMD_3215-2Pin_3.2x1.5mm | Y2 |
| 1 | RPi_GPIO | RPI_Hat_B+ | J1 |
| 1 | Conn_01x04_Pin | PinHeader_1x04_P1.00mm_Horizontal | J2 |
| 1 | BLU (FW ON) | LED_0201_0603Metric | D1 |
| 4 | CLEAR(TX) | LED_0201_0603Metric | D2, D3, D5, D6 |
| 1 | GRN (PWR ON) | LED_0201_0603Metric | D4 |
| 1 | 0.1uF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1 |
| 1 | 2.2uF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C2 |
| 2 | 20pF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C3, C8 |
| 1 | 100nF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C4 |
| 1 | 470uF | CP_Elec_3x5.3 | C5 |
| 1 | 10uF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C6 |
| 1 | 104nF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C7 |
| 2 | 220nF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C9, C11 |
| 1 | 1uF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C10 |
| 1 | 1nF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C12 |
Show 13 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 220pF | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C13 |
| 4 | 4.7k | R_0201_0603Metric | R1, R5, R7, R9 |
| 2 | 1m | R_0201_0603Metric | R2, R12 |
| 2 | 10k | R_0201_0603Metric | R3, R14 |
| 4 | 110 | R_0201_0603Metric | R4, R10, R11, R20 |
| 1 | 33k | R_0201_0603Metric | R6 |
| 1 | 470k | R_0201_0603Metric | R8 |
| 1 | 2M | R_0201_0603Metric | R13 |
| 2 | 1k | R_0201_0603Metric | R15, R19 |
| 1 | 47k | R_0201_0603Metric | R16 |
| 1 | 200k | R_0201_0603Metric | R17 |
| 1 | 4M7 | R_0201_0603Metric | R18 |
| 4 | R_Network03 | R_Array_SIP4 | RN1, RN2, RN3, RN5 |
Rng piHAT design files
The KiCad project lives in the akielaries/rng_piHAT repository on GitHub; these links point at the commit this page was built from.
Rng piHAT: common questions
What microcontroller does the Rng piHAT use?
The Rng piHAT is built around the STM32F103C8Tx, from the STM32 family.
How big is the Rng piHAT PCB?
The Rng piHAT measures 56.5 × 65 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the Rng piHAT?
53 components, from 33 distinct parts. The full bill of materials is listed on this page.
Where can I download the Rng piHAT design files?
From the akielaries/rng_piHAT repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the Rng piHAT design in my own project?
The repository has no license, so all rights stay with akielaries. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the Rng 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.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 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