Skip to the content
PCBKitNew board
2 layersStm32-tutorial project, the printed circuit board in 3D

A tutorial for microcontroller hardware design with the STM32 G4 (in KiCAD)

Copper layers
2
Thickness
1.6 mm
Parts
72
Nets
67
Pads
254
Tracks, vias
0, 0
Routed
Not yet
KiCad
KiCad 9.0 (file 20241229)
Created
19 Mar 2025
Updated
11 Jun 2025

Overview

Stm32-tutorial project is an open-source printed circuit board by CanSource, from the CanSource/STM32G4-tutorial-project repository on GitHub, published under the CERN-OHL-P-2.0 licence. It is a 2-layer board with 72 parts on 67 nets.

It is built around the PTVS7V5Z1USKYL and SP0504BAHTG. Its parts include 17 resistors, 14 capacitors, 12 diodes, 6 connectors and 2 ICs. It belongs with the STM32 boards of this library.

Main components

2

README

README.md

kicad project STM32G4-tutorial-project

.github/workflows/main.yaml

a cool table showing the workflow of all the kicad projects.

project_nameDRCERC
stm32-tutorial-project❌❌

for a quick guide check project setup

This is a simple project template for new kicad projects. This template has some basic setup already completed such as workflows for auto creating all the things you forget when creating a kicad project such as:

Parts

72
QtyValueFootprintReferences
8500Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR2, R4, R8, R9, R10, R11, R12, R15
8LEDDiode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolderD1, D2, D5, D6, D7, D8, D9, D10
5100nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC1, C4, C5, C6, C11
310kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR3, R16, R17
20Resistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR_EXT1, R5
210uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC12, C13
212pfCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC9, C10
21kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR13, R14
21uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC2, C8
2220 OHMInductor_SMD:L_0603_1608Metric_Pad1.05x0.95mm_HandSolderFB1, FB2
24.7kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR18, R19
25.1kResistor_SMD:R_0603_1608Metric_Pad0.98x0.95mm_HandSolderR6, R7
2Conn_01x04Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ3, J4
2Conn_01x13Connector_PinHeader_2.54mm:PinHeader_1x13_P2.54mm_VerticalJ5, J6
2D_SchottkyDiode_SMD:D_0603_1608Metric_Pad1.05x0.95mm_HandSolderD3, D4
110nCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC7
110pin IDC SWDConnector_IDC:IDC-Header_2x05_P2.54mm_VerticalJ2
122uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC14
14.7uCapacitor_SMD:C_0603_1608Metric_Pad1.08x0.95mm_HandSolderC3
15VTestPoint:TestPoint_Pad_D3.0mmTP4
15V_SLECConnector_PinHeader_2.54mm:PinHeader_1x03_P2.54mm_VerticalJP4
15V_senseJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP2
1AZ1117-3.3Package_TO_SOT_SMD:SOT-223-3_TabPin2U2
1Crystal_GND24Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mm_HandSolderingX1
1DIGITAL_IO_1TestPoint:TestPoint_Pad_D3.0mmTP1
1DIGITAL_IO_2TestPoint:TestPoint_Pad_D3.0mmTP2
1FuseFuse:Fuse_0805_2012MetricF1
1I2C_PULL_UPS_ENConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJP5
1NPNPackage_TO_SOT_SMD:TSOT-23_HandSolderingQ1
1PNPPackage_TO_SOT_SMD:TSOT-23_HandSolderingQ3
1PTVS7V5Z1USKDiode_SMD:Nexperia_DSN1608-2_1.6x0.8mmD12
1REG_INJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP7
1REG_OUTJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP6
1SP0504BAHTGPackage_TO_SOT_SMD:SOT-23-5D11
1STM32G431CBTxPackage_QFP:LQFP-48_7x7mm_P0.5mmU1
1SW_PushButton_Switch_SMD:SW_Tactile_SPST_NO_Straight_CK_PTS636Sx25SMTRLFSSW1
1SW_Push_SPDTButton_Switch_THT:SW_Slide_SPDT_Angled_CK_OS102011MA1QSW2
1Schottky_bypassJumper:SolderJumper-2_P1.3mm_Open_Pad1.0x1.5mmJP3
1USB_C_Receptacle_USB2.0_14PConnector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1VBAT_SLECJumper:SolderJumper-3_P1.3mm_Open_Pad1.0x1.5mm_NumberLabelsJP1
1VBUSTestPoint:TestPoint_Pad_D3.0mmTP3

Questions

What parts does the Stm32-tutorial project use?

72 parts, built around the PTVS7V5Z1USKYL and SP0504BAHTG. 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-tutorial project KiCad files?

From the CanSource/STM32G4-tutorial-project repository on GitHub, at the commit this page was made from: the board is hardware/stm32-tutorial-project/stm32-tutorial-project.kicad_pcb and its schematic hardware/stm32-tutorial-project/power.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

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

Its repository publishes it under the CERN-OHL-P-2.0 licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 4 layers59 × 34.5 mmPump controller, the printed circuit board in 3D

    Pump controller

    nfranzwa/OscillatingPump

    Pump

    53 parts2Apache-2.0
  • 2 layers61.7 × 55.2 mmStm motor driver, the printed circuit board in 3D

    Stm motor driver

    yogendra-kumawat/stm-motor-driver

    STM32 carrier board with dual DRV8833 motor drivers, onboard power management, and full GPIO breakout

    23 partsMIT
  • 2 layers60 × 90 mmLogger, the printed circuit board in 3D

    Logger

    voltlog/Voltlogger

    More info about this project in Voltlog #368. If you would like to order one of these boards ready assembled, check out my Tindie store.

    111 parts17GPL-3.0
  • 4 layers93.7 × 43.7 mmFlight Computer, the printed circuit board in 3D

    Flight Computer

    SunDevilRocketry/Flight-Computer

    General purpose flight computer for high powered rocketry projects.

    113 parts5
  • 2 layers56.9 × 63.9 mmOpi hat, the printed circuit board in 3D

    Opi hat

    eddyem/ARMsingleboard

    Something for singleboard PC (Orange Pi Zero1/2 etc): I2C, SPI etc.

    53 parts2GPL-3.0
  • 4 layers134.2 × 60.2 mmL0005-Valve Controller, the printed circuit board in 3D

    L0005-Valve Controller

    SunDevilRocketry/Valve-Controller

    Controller for managing the liquid engine's solenoid valves and servo-actuated ball valves.

    107 parts2
  • 4 layers94.9 × 43.2 mmGround Station Telemetry, the printed circuit board in 3D

    Ground Station Telemetry

    cacost12/SDR-Ground-Station-Telemetry-PCB

    Current PCB Revision: 1.0 PCB Part Number: A0005

    57 parts1
  • 2 layers175 × 90 mmController, the printed circuit board in 3D

    Controller

    Circuit-Digest/machine-vision-robotic-assembly-system

    A machine vision-based robotic assembly system using the MechArm 270, NVIDIA Jetson Nano, and a custom ESP32 controller board for automated pick-and-place and miniature car assembly.

    95 parts1MIT