Skip to the content
2 layers59 × 34.2 mmSTM32, the printed circuit board in 3D
Size
59 × 34.2 mm
Copper layers
2
Thickness
1.6 mm
Parts
29
Nets
45
Pads
110
Tracks, vias
149, 16
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
27 May 2026
Updated
27 May 2026

Overview

STM32 is an open-source printed circuit board by sandhya-na, from the sandhya-na/STM32_PCB_Project repository on GitHub. It is a 2-layer board of 59 × 34.2 mm with 29 parts on 45 nets, routed with 149 tracks and 16 vias.

It is built around the AMS1117. Its parts include 14 capacitors, 3 resistors, 2 ICs, 2 connectors and 1 diode. It belongs with the STM32 boards of this library.

Main components

1

README

README.md

STM32_PCB_Project

This project contains the complete hardware design files for a custom 2-layer development board built around the STM32F103C8T6 microcontroller. I designed this entire board in KiCad. My main goal for this project was to focus on real-world board performance—making sure the power lines are stable, the clock signal doesn't pick up electrical noise, and the ground layout is solid enough to prevent signal problems. This board is ready to be used as a reliable core module for robotics or automation setups.

Design Choices & Technical Details.

1. Power Supply Layout

For the power stage, I used an AMS1117-3.3V linear regulator to drop the incoming +5V power down to the +3.3V needed by the STM32 chip. Since these regulators can get pretty hot when running, I spent extra time planning the layout around it.

  • Cooling Copper Zones: I poured large areas of copper directly connected to the regulator's ground tab. This acts like a built-in heatsink to keep the regulator cool so it doesn't overheat.
  • Thicker Power Traces: I routed the main 3.3V and 5V lines using a wide 0.5mm track width instead of thin signal lines. This keeps the voltage steady and prevents drops when the chip draws sudden bursts of power.
  • Decoupling Capacitor Placement: I placed the 100 nF decoupling capacitors as close as physically possible to the STM32's VDD pins. I routed the tracks so that power flows into the capacitor pad first, and then into the chip pin, which helps filter out electrical noise perfectly.

2. Crystal Oscillator (Clock) Circuit

The external 8 MHz crystal acts as the heartbeat of the microcontroller. If this part of the circuit picks up noise, the whole chip can freeze or misbehave.

  • Symmetrical Tracks: I routed the two lines connecting the crystal to the chip with equal lengths and matching shapes. This ensures the clock signals stay perfectly in sync.
  • Noise Isolation: I kept this entire area clear of any other switching digital lines. I didn't route any other tracks underneath the crystal on either layer to prevent noise from leaking into the clock signal.

3. Ground Plane & Return Paths

In high-frequency digital circuits, current needs a quick, clean path to travel back to the ground. If the ground path is long and winding, it acts like an antenna and creates a lot of electrical noise. - Solid Bottom Ground Plane: I used a continuous, unbroken copper pour on the Bottom Layer (B.Cu) to act as a massive ground shield under the whole board. - Dedicated Vias: Instead of running long ground tracks on the top layer, every ground pad drops immediately down to the bottom ground plane using its own small via. This keeps the connections incredibly short and clean.

What I Learned

  • Manual Routing Control: Hand-routing 100% of the tracks allowed me to plan exactly where current flows, ensuring my bottom ground plane didn't get chopped into pieces by crossing traces.
  • Handling Bottlenecks: I learned how to deal with tight spaces around small 0805 components by smoothly narrowing down traces just to pass the bottleneck, and then widening them back out for power capacity.
  • Fixing DRC Errors: Running the final Design Rules Check taught me how to fix real manufacturing issues, like snapping open edges on the board outline layer and clearing up solder mask alerts near the crystal pads.

Parts

29
QtyValueFootprintReferences
5100nCapacitor_SMD:C_0805_2012MetricC1, C2, C3, C4, C9
4~MountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
210KResistor_SMD:R_0805_2012MetricR1, R2
210uFCapacitor_SMD:C_1206_3216MetricC12, C13
21uCapacitor_SMD:C_0805_2012MetricC7, C8
222pFCapacitor_SMD:C_0805_2012MetricC10, C11
110uCapacitor_SMD:C_0805_2012MetricC5
110uCapacitor_SMD:C_1206_3216MetricC6
110uFCapacitor_SMD:C_0805_2012MetricC14
1120RResistor_SMD:R_0805_2012MetricFB1
1330RResistor_SMD:R_0805_2012MetricR3
15V_inputConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ2
18MHzCrystal:Crystal_SMD_5032-4Pin_5.0x3.2mmY1
1AMS1117Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1Conn_01x05Connector_PinHeader_2.54mm:PinHeader_1x05_P2.54mm_VerticalJ1
1LEDDiode_SMD:D_0805_2012MetricD1
1STM32F103C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1SW_SPDTButton_Switch_THT:SW_Lever_1P2T_NKK_GW12LxHSW1

Similar boards

  • 2 layers74.4 × 51.2 mmEsp32-wroom timer, the printed circuit board in 3D

    Esp32-wroom timer

    AlessandroAU/Chorus32-ESP32LapTimer

    This is an ESP32 port of the popular Chorus RF Laptimer

    66 parts102GPL-3.0
  • 2 layers44 × 20.5 mmQrng, the printed circuit board in 3D

    Qrng

    Spooky-Manufacturing/QRNG

    Quantum Random Number Generator

    29 parts86GPL-3.0
  • 4 layers125 × 90 mmAnalog board, the printed circuit board in 3D

    Analog board

    EERNINUO/ArbWave30

    ArbWave30 – 30MHz 任意波形发生器 | FPGA + 高速DAC | SCPI 可控

    295 parts53GPL-3.0
  • 2 layers100 × 45 mmTranspOtterNG, the printed circuit board in 3D

    TranspOtterNG

    Jana-Marie/transpOtterNG

    Next Generation of TranspOtter.

    63 parts51
  • 2 layers85 × 56 mmBasicengine, the printed circuit board in 3D

    Basicengine

    uli/basicengine-pcb

    Schematics and PCB layout for the BASIC Engine home computer

    115 parts48
  • 2 layers230 × 116 mmCvocd banana, the printed circuit board in 3D

    Cvocd banana

    hotchk155/cvocd.a

    176 parts38
  • 2 layers22 × 71 mmCircut, the printed circuit board in 3D

    Circut

    larry-wong/tiny_sensor

    基于 ESP32-S3 的温湿度 / 光照 / 人体存在传感器和红外发射器。

    18 parts34
  • 2 layers89.6 × 79 mmTDR 5351 core, the printed circuit board in 3D

    TDR 5351 core

    MR-DOS/TDR_diploma_thesis

    Time domain reflectometer. Includes Hardware, firmware and GUI in Octave. Also a diploma thesis.

    199 parts33GPL-3.0

Questions

How big is the STM32 PCB?

It measures 59 × 34.2 mm and has 2 copper layers, 1.6 mm thick.

What parts does the STM32 use?

29 parts, built around the AMS1117. 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 STM32 KiCad files?

From the sandhya-na/STM32_PCB_Project repository on GitHub, at the commit this page was made from: the board is STM32.kicad_pcb and its schematic STM32.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the STM32 design in my own project?

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