Skip to the content
2 layers40.5 × 33 mmStm32 design, the printed circuit board in 3D

A custom STM32F103C8T6 development board designed in KiCad

Size
40.5 × 33 mm
Copper layers
2
Thickness
1.6 mm
Parts
32
Nets
50
Pads
132
Tracks, vias
175, 23
Pours
4
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
16 Mar 2026
Updated
16 Mar 2026

Overview

Stm32 design is an open-source printed circuit board by imad-drs, from the imad-drs/STM32_BluePill_Pcb repository on GitHub. It is a 2-layer board of 40.5 × 33 mm with 32 parts on 50 nets, routed with 175 tracks and 23 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_BluePill_Pcb

A custom STM32F103C8T6 development board designed in KiCad

Board Render

⚠️ Disclaimer: First PCB Project Please note: This is my very first custom PCB design! I reverse-engineered the popular "Blue Pill" board to design this custom circuit in KiCad. It was created as a personal learning exercise to understand the bridge between embedded software and physical hardware. While I put a lot of effort into following best practices, there may be errors. This project should not be used as an official hardware reference.

🛠️ Project Overview

This repository contains the KiCad project files for a custom microcontroller development board based on the STM32F103C8T6 (ARM Cortex-M3).

Hardware Specifications & Features:

  • PCB Stackup: Routed on a standard 2-layer board.
  • Connectivity & Debugging: Includes a dedicated SWD (Serial Wire Debug) header for easy flashing/debugging, plus broken-out UART and I2C pins for external sensor communication.
  • USB Interface: Integrated Micro-USB Type-B connector for power and data.
  • Clocking: External crystal oscillator circuit included for precise timing and USB synchronization.
  • User Interface: Includes a dedicated BOOT button for flashing/configuration and a Power indicator LED.
  • Signal Integrity: Robust power routing with separated digital and analog ground planes (where applicable).

⚡ Technical Deep Dive: Decoupling Capacitors

One of the primary focuses of this project was understanding and implementing proper power delivery. Because microcontrollers switch states millions of times per second, they require instantaneous bursts of current. Traces and power supplies have inherent inductance and cannot deliver this current fast enough, potentially causing the system to crash.

To ensure stability, I implemented a strict decoupling strategy:

  • Local Decoupling (100nF): Placed as close as physically possible to each VDD and VBAT pin. These act as tiny, instant energy reservoirs to handle high-frequency switching.
  • Bulk Decoupling (10uF): Placed near the microcontroller to act as a larger, general energy reservoir for the IC.
  • Analog Filtering (VDDA): The analog supply pin is highly sensitive to digital noise. I isolated it from the main digital 3.3V rail using a ferrite bead (120Ω at 100MHz) flanked by a 1uF and 10nF parallel capacitor network to protect the internal Analog-to-Digital Converters (ADCs).

📂 Files Included

  • Core KiCad project files (.kicad_pro, .kicad_sch, .kicad_pcb).
  • Schematic.pdf: Exported PDF of the logical circuit map.

*Designed by Drias Imad Eddine *

Parts

32
QtyValueFootprintReferences
5100nCapacitor_SMD:C_0402_1005MetricC0, C1, C2, C3, C8
41k5Resistor_SMD:R_0402_1005MetricR2, R3, R4, R5
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
3Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1, J3, J4
210nCapacitor_SMD:C_0402_1005MetricC5, C7
210pCapacitor_SMD:C_0402_1005MetricC9, C10
210uCapacitor_SMD:C_0402_1005MetricC4, C12
110kResistor_SMD:R_0402_1005MetricR1
116MhzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
11uCapacitor_SMD:C_0402_1005MetricC6
122uCapacitor_SMD:C_0402_1005MetricC11
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U3
1FerriteBeadInductor_SMD:L_0603_1608MetricFB1
1REDLED_SMD:LED_0603_1608MetricD1
1STM32F103C8TxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1SW_SPDTButton_Switch_SMD:SW_SPDT_PCM12SW1
1USB_B_MicroConnector_USB:USB_Micro-B_Wuerth_629105150521J2

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 design PCB?

It measures 40.5 × 33 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Stm32 design use?

32 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 design KiCad files?

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

Can I use the Stm32 design design in my own project?

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