Skip to the content
2 layers43.5 × 40.7 mmStm32, the printed circuit board in 3D

This project involves the design and development of a custom STM32F103C8T6-based embedded control board integrating power management, sensor interfaces, and industrial communication protocols. The goal was to create a modular, debugging-friendly, and industry-style PCB rather than relying on development boards.

Size
43.5 × 40.7 mm
Copper layers
2
Thickness
1.6 mm
Parts
38
Nets
55
Pads
151
Tracks, vias
344, 53
Pours
3
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
16 Dec 2025
Updated
13 Feb 2026

Overview

Stm32 is an open-source printed circuit board by Prap04, from the Prap04/STM32_POWER_CONTROLLER_BOARD_DESIGN- repository on GitHub. It is a 2-layer board of 43.5 × 40.7 mm with 38 parts on 55 nets, routed with 344 tracks and 53 vias.

It is built around the STM32F103C8T6, SN65HVD230D and AMS1117-3.3, with the NUP2105L among its other parts. Its parts include 15 capacitors, 7 resistors, 4 connectors, 3 ICs and 2 diodes. It belongs with the microcontroller boards boards and the STM32 boards of this library.

Main components

4

README

README.md

STM32F103 Custom Control Board (PCB Project)

This project is a custom-made PCB (Printed Circuit Board) built around the STM32F103C8T6 microcontroller.
The goal of this project was to learn how to design a real hardware board instead of only using ready-made development boards.


Project Goal

To design a working STM32 board that includes:

  • Stable power supply
  • Communication ports (CAN, UART, I2C)
  • Debugging support
  • A PCB that is ready for manufacturing

Main Components Used

PartWhat it Does
STM32F103C8T6Main microcontroller (the brain of the board)
CAN TransceiverAllows CAN communication (used in robotics & industry)
UART HeaderUsed for serial communication and debugging
I2C PinsUsed to connect sensors
SWD Pins (SWIO, SWCLK)Used to upload and debug firmware
CapacitorsReduce noise and stabilize power
Voltage RegulationProvides safe voltage to MCU

🔧 What I Added Beyond the Tutorial

This board was inspired by Phil’s Lab STM32 tutorial, but I added extra features:

FeatureWhy I Added It
CAN CommunicationUsed in industrial and robotic systems
Extra UART AccessEasy debugging and data output
I2C SupportTo connect sensors
Better Debug HeaderEasy firmware upload and testing

⚡ Power Design (Simple Explanation)

  • Small capacitors placed near MCU to reduce noise
  • Bigger capacitors used to keep voltage stable
  • Ground plane used to make signals cleaner

🧩 PCB Design Steps I Followed

  1. Created the schematic (circuit diagram)
  2. Chose the components
  3. Placed components on PCB
  4. Checked 3D view to see board shape
  5. Routed connections
  6. Ran DRC (error check)
  7. Generated Gerber files
  8. Prepared BOM list

🧪 How the Board Can Be Tested

If powering the board for the first time:

  1. Check voltage using multimeter
  2. Check clock signal
  3. Upload firmware using ST-Link and SWD pins
  4. Test UART communication on PC
  5. Check I2C sensor connection
  6. Test CAN communication

Parts

38
QtyValueFootprintReferences
5100nCapacitor_SMD:C_0402_1005MetricC7, C8, C9, C10, C12
41k5Resistor_SMD:R_0402_1005MetricR1, R2, R4, R7
4MountingHoleMountingHole:MountingHole_2.2mm_M2H1, H2, H3, H4
3Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ1, J2, J3
210pCapacitor_SMD:C_0402_1005MetricC4, C5
21uCapacitor_SMD:C_0402_1005MetricC14, C15
222uCapacitor_SMD:C_0805_2012MetricC1, C2
260Resistor_SMD:R_0402_1005MetricR3, R5
10.1uCapacitor_SMD:C_0402_1005MetricC3
110kResistor_SMD:R_0402_1005MetricR6
110nCapacitor_SMD:C_0402_1005MetricC13
110uCapacitor_SMD:C_0603_1608MetricC6
1120RInductor_SMD:L_0603_1608MetricFB1
116MHzCrystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
14.7nCapacitor_SMD:C_0402_1005MetricC11
1AMS1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U1
1LEDLED_SMD:LED_0603_1608MetricD1
1NUP2105LPackage_TO_SOT_SMD:SOT-23D2
1SN65HVD230Package_SO:SOIC-8_3.9x4.9mm_P1.27mmU2
1STM32F103C8T6Package_QFP:LQFP-48_7x7mm_P0.5mmU3
1SW_SPDTButton_Switch_SMD:SW_SPDT_PCM12SW1
1USB_B_MicroConnector_USB:USB_Micro-B_Wuerth_629105150521J4

Similar boards

  • 4 layers70 × 80 mmACC BMSmaster, the printed circuit board in 3D

    ACC BMSmaster

    NTURacingTeam/nturt_kicad

    kicad files

    137 parts4
  • 4 layers90 × 80 mmSteering Panel, the printed circuit board in 3D

    Steering Panel

    NTURacingTeam/nturt_kicad_EP7

    247 parts
  • 4 layers110 × 80 mmPNP MOBO V2, the printed circuit board in 3D

    PNP MOBO V2

    GabrielD98/PickUS_and_PlacUS

    pick and place de PCB pour projet S4 de robotique

    126 parts5MIT
  • 2 layers139.9 × 85.8 mmPas hw, the printed circuit board in 3D

    Pas hw

    NGOQUOC98/ESP32_MODBUS_PCB_MASTER

    This project was in development phase - we will remove this remark after release

    198 parts1
  • 2 layers150 × 130 mmSTM32-Automotive BCM Development Board, the printed circuit board in 3D

    STM32-Automotive BCM Development Board

    Akinlatauto19/STM32-Automotive-BCM-Development-Board

    Automotive Body Control Module (BCM) development board designed around an STM32 microcontroller, featuring relay-based automotive outputs, power management, protection circuitry, and a custom KiCad PCB.

    89 partsCERN-OHL-S-2.0
  • 2 layers89.4 × 66.9 mmE foc, the printed circuit board in 3D

    E foc

    embedded-pro/e-foc-hardware

    hardware to be used with https://github.com/embedded-pro/e-foc

    186 parts
  • 2 layers49.5 × 52 mmEsp32, the printed circuit board in 3D

    Esp32

    Manushree-J/ESP32-Development-Board-PCB

    Custom ESP32 development board designed in KiCad, featuring USB, OLED, CAN, UART, SPI, I2C, and power-management interfaces

    27 parts
  • 4 layers92.1 × 62.8 mmMotor controller, the printed circuit board in 3D

    Motor controller

    mohamed-belal-10/can-motor-controller-node

    CAN-connected closed-loop DC motor controller node — KiCad hardware (STM32F103, DRV8874, SN65HVD230) with an AS5600 encoder sub-PCB

    55 partsMIT

Questions

How big is the Stm32 PCB?

It measures 43.5 × 40.7 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Stm32 use?

38 parts, built around the STM32F103C8T6, SN65HVD230D, AMS1117-3.3 and NUP2105L. 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 Prap04/STM32_POWER_CONTROLLER_BOARD_DESIGN- repository on GitHub, at the commit this page was made from: the board is PCB/stm32.kicad_pcb and its schematic PCB/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 Prap04 before reusing the design.