Skip to the content
2 layers46 × 36 mmSTM32, the printed circuit board in 3D

Brief: KiCad project for a small STM32-based development/board (STM32F103C8T6).

Size
46 × 36 mm
Copper layers
2
Thickness
1.6 mm
Parts
33
Nets
50
Pads
132
Tracks, vias
221, 21
Pours
4
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
2 Aug 2026
Updated
2 Aug 2026

Overview

STM32 is an open-source printed circuit board by sharma-2712, from the sharma-2712/STM32 repository on GitHub. It is a 2-layer board of 46 × 36 mm with 33 parts on 50 nets, routed with 221 tracks and 21 vias.

It is built around the AMS1117-3.3. Its parts include 13 capacitors, 5 resistors, 4 connectors, 2 ICs and 1 diode. It belongs with the STM32 boards of this library.

Main components

1

README

README.md

STM32 PCB Project

Brief: KiCad project for a small STM32-based development/board (STM32F103C8T6).

Files included

  • stm32.kicad_sch — schematic (KiCad Eeschema)
  • stm32.kicad_pcb — PCB layout (KiCad Pcbnew)
  • stm32.kicad_pro — KiCad project settings
  • Gerber/ — Gerber outputs for manufacturing (F.Cu, B.Cu, masks, silkscreen, edge cuts, drills)

Tech stack

  • KiCad (Eeschema + Pcbnew) — schematic capture and PCB layout
  • Gerber format — PCB fabrication outputs
  • Standard SMD footprints (0805, 0402, LQFP-48, SOT-223, USB Micro-B, 2.54mm headers)

Main components / hardware

  • MCU: STM32F103C8T6 (STMicroelectronics, Arm Cortex-M3, 64KB Flash, 20KB RAM, up to 72MHz) — footprint LQFP-48
  • Voltage regulator: AMS1117-3.3 (3.3V LDO, SOT-223) — supplies +3.3V
  • USB: USB Micro-B connector (J1) — VBUS + D+/D- routed (likely used for power and/or USB device)
  • SWD header: 1x04 2.54mm connector (J4) — SWDIO, SWCLK, GND, VDD for programming/debugging (ST-LINK)
  • Crystal / oscillator: 4-pin crystal footprint present (external HSE crystal for MCU)
  • Passive components: decoupling capacitors (0402/0805), resistors (0402), ferrite bead for USB/power filtering
  • Test/headers: 1x04 pin header, other breakout nets for GPIO exposed as individual pads/nets

Key functionalities

  • Microcontroller core (STM32F103) — supports GPIO, ADC, timers, USART, SPI, I2C, USB (device), etc.
  • USB connector with VBUS net for powering the board and USB D+/D- routed to the MCU
  • 3.3V power rail (AMS1117 regulator) and decoupling networks; separate analog rail +3.3VA present
  • SWD programming and debugging via 4-pin header (SWDIO, SWCLK) for use with ST-LINK
  • Boot0 pin exposed (allows entering built-in bootloader for firmware upload over USART/USB)
  • Gerber outputs included for manufacturing; footprints indicate standard SMD assembly

How to open / build / produce

  1. Install KiCad and open stm32.kicad_pro with KiCad (Eeschema + Pcbnew).
  2. Inspect the schematic in Eeschema and run ERC (Electrical Rules Check).
  3. In Pcbnew open the PCB and run DRC (Design Rules Check).
  4. Generate BOM from Eeschema (Tools → Generate Bill of Materials) and export a CSV.
  5. Generate Gerber files from Pcbnew (File → Plot) if you need manufactured boards — Gerbers are provided in the Gerber/ folder.

Flashing / Programming

  • Preferred: use ST-LINK (hardware debugger/programmer) connected to the SWD header (J4) to flash firmware.
  • Alternative: use the MCU's system bootloader via BOOT0 (requires correct wiring and a serial bootloader or USB DFU if supported/configured).

Notes / Known gaps

  • The schematic includes a crystal footprint but the explicit frequency/value is not recorded in the symbol properties (check stm32.kicad_sch to confirm actual loaded value). If firmware expects a specific HSE frequency (e.g., 8 MHz or 12 MHz), verify and populate the value.
  • No USB-to-UART bridge IC footprint found (e.g., CH340/CP210x) — if you expect USB serial, either implement a bridge or use the STM32 USB peripheral + firmware.
  • Verify regulator thermal/heatsinking requirements if powering high-current loads; AMS1117 is rated ~1A with proper layout.

Where to look in this repo

If you want, I can generate a CSV BOM, extract component values automatically, or add a README section with step-by-step fabrication/export commands. Which would you like next?

Parts

33
QtyValueFootprintReferences
5100nCapacitor_SMD:C_0402_1005MetricC1, C2, C3, C4, C9
41k5Resistor_SMD:R_0402_1005MetricR2, R3, R4, R5
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
3Conn_01x04_SocketConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2, J3, J4
210pCapacitor_SMD:C_0402_1005MetricC10, C11
21uCapacitor_SMD:C_0402_1005MetricC7, C8
222uCapacitor_SMD:C_0805_2012MetricC12, C13
110kResistor_SMD:R_0402_1005MetricR1
110nCapacitor_SMD:C_0402_1005MetricC6
110uCapacitor_SMD:C_0603_1608MetricC5
1120RInductor_SMD:L_0603_1608MetricFB1
116MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1BLUELED_SMD:LED_0603_1608MetricD1
1LOGOLOGOG***
1STM32F103C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1SW_SPDTButton_Switch_SMD:SW_SPDT_PCM12SW1
1USB_B_MicroConnector_USB:USB_Micro-B_Wuerth_629105150521J1

Similar boards

  • 2 layers290.1 × 130 mmPro V2, the printed circuit board in 3D

    Pro V2

    kata0510/Lily58

    6×4+4keys column-staggered split keyboard.

    312 parts2.3k
  • 2 layers26.2 × 45.5 mmPL18 multiprotocol, the printed circuit board in 3D

    PL18 multiprotocol

    pascallanger/DIY-Multiprotocol-TX-Module

    Multiprotocol TX Module (or MULTI-Module) is a 2.4GHz transmitter module which controls many different receivers and models.

    24 parts1.9kGPL-3.0
  • 4 layers99 × 53.3 mmPSLab, the printed circuit board in 3D

    PSLab

    fossasia/pslab-hardware

    PSLab Hardware Design and Schematics https://pslab.io

    199 parts1.7kApache-2.0
  • 4 layers85 × 56 mmPslab mini, the printed circuit board in 3D

    Pslab mini

    fossasia/pslab-mini-hardware

    PSLab Mini Hardware https://pslab.io

    182 parts1.2kApache-2.0
  • 4 layers100 × 54 mm32Bit shift register, the printed circuit board in 3D

    32Bit shift register

    MaltWhiskey/Mega-Cube

    16x16x16 PL9823 Cube with Teensy 4.0 and FlexIO driver

    64 parts766
  • 2 layers44.2 × 29.3 mmI2c tiny usb, the printed circuit board in 3D

    I2c tiny usb

    harbaum/I2C-Tiny-USB

    Cheap and simple I²C to USB interface

    27 parts454
  • 2 layers78 × 60 mmIce viz, the printed circuit board in 3D

    Ice viz

    muni-works/vcad

    BRep CAD kernel in Rust/WASM

    44 parts442Apache-2.0
  • 2 layers59.1 × 99.9 mmCheap FOCer 2 60mm, the printed circuit board in 3D

    Cheap FOCer 2 60mm

    shamansystems/Cheap-FOCer-2

    Low-Cost Motor Controller based on the VESC 6

    193 parts407

Questions

How big is the STM32 PCB?

It measures 46 × 36 mm and has 2 copper layers, 1.6 mm thick.

What parts does the STM32 use?

33 parts, built around the AMS1117-3.3. 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 sharma-2712/STM32 repository on GitHub, at the commit this page was made from: the board is stm32/stm32.kicad_pcb and its schematic stm32/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 sharma-2712 before reusing the design.