STM32G4-tutorial project
CanSource·STM32G4-tutorial-project·hardware/stm32-tutorial-project/stm32-tutorial-project.kicad_pcb
About the STM32G4-tutorial project PCB
STM32G4-tutorial project is an open source STM32 PCB design by CanSource, published on GitHub under the CERN-OHL-P-2.0 license. It is a 2-layer board measuring 147.4 × 140 mm, with 57 components from 34 distinct parts.
Its main chip is the STM32G431CBT6, from the STM32 family. Other key parts include the AZ1117CH-3.3TRG1. By type, the board carries 18 resistors, 14 capacitors, 12 diodes, 2 ICs, 2 transistors and 2 connectors.
From the project
A tutorial for microcontroller hardware design with the STM32 G4 (in KiCAD)
a cool table showing the workflow of all the kicad projects. | project_name | DRC | ERC | | ------------ | --- | --- | | stm32-tutorial-project | ❌| ❌ |
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:
Main components on the STM32G4-tutorial project
STM32G4-tutorial project bill of materials (BOM)
57 components, 34 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32G431CBT6 STM32G431CBTx | LQFP-48_7x7mm_P0.5mm | U1 |
| 1 | AZ1117CH-3.3TRG1 AZ1117-3.3 | SOT-223-3_TabPin2 | U2 |
| 1 | MMBT3904 NPN | TSOT-23_HandSoldering | Q1 |
| 1 | MMBT3906 PNP | TSOT-23_HandSoldering | Q3 |
| 1 | 12.60049 Crystal_GND24 | Crystal_SMD_3225-4Pin_3.2x2.5mm_HandSoldering | X1 |
| 1 | USB4105-GF-A USB_C_Receptacle_USB2.0_14P | USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | AWHW2 10G-0202 10pin IDC SWD | IDC-Header_2x05_P2.54mm_Vertical | J2 |
| 1 | 0ZCK0075FF2E Fuse | Fuse_0805_2012Metric | F1 |
| 1 | RC0603JR-070RL 0 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R_EXT1 |
| 1 | PTS636SM43SMTR LFS SW_Push | SW_Tactile_SPST_NO_Straight_CK_PTS636Sx25SMTRLFS | SW1 |
| 1 | OS102011MA1QN1 SW_Push_SPDT | SW_Slide_SPDT_Angled_CK_OS102011MA1Q | SW2 |
| 1 | 150060AS75000 LED | D_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D1 |
| 4 | 150060BS75000 LED | D_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D2, D5, D6, D7 |
| 2 | SD0805S020S1R0 D_Schottky | D_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D3, D4 |
| 1 | 150060RS75000 LED | D_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D8 |
| 1 | 150060YS75000 LED | D_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D9 |
| 1 | 150060VS75000 LED | D_0603_1608Metric_Pad1.05x0.95mm_HandSolder | D10 |
| 1 | SP0504BAHTG | SOT-23-5 | D11 |
| 1 | PTVS7V5Z1USKYL PTVS7V5Z1USK | Nexperia_DSN1608-2_1.6x0.8mm | D12 |
| 2 | MH1608-221Y 220 OHM | L_0603_1608Metric_Pad1.05x0.95mm_HandSolder | FB1, FB2 |
Show 14 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | C0603C104K9RACTU 100n | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C1 |
| 2 | C0603C105K9RACTU 1u | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C2, C8 |
| 1 | C0603C475K9PACTU 4.7u | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C3 |
| 4 | C0603C104K9PACTU 100n | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C4, C5, C6, C11 |
| 1 | C0603C103K9RACTU 10n | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C7 |
| 2 | C0603C120K9RAC7411 12pf | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C9, C10 |
| 2 | C0603C106M9PACTU 10u | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C12, C13 |
| 1 | C0805C226M9PACTU 22u | C_0603_1608Metric_Pad1.08x0.95mm_HandSolder | C14 |
| 8 | RT0603BRD07500RL 500 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R2, R4, R8, R9, R10, R11, R12, R15 |
| 3 | RC0603FR-0710KL 10k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R3, R16, R17 |
| 1 | RC0603JR-070RL 0 | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R5 |
| 2 | RC0603FR-075K1L 5.1k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R6, R7 |
| 2 | RC0603FR-0710KL 1k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R13, R14 |
| 2 | RC0603FR-074K7L 4.7k | R_0603_1608Metric_Pad0.98x0.95mm_HandSolder | R18, R19 |
STM32G4-tutorial project design files
The KiCad project lives in the CanSource/STM32G4-tutorial-project repository on GitHub; these links point at the commit this page was built from.
STM32G4-tutorial project: common questions
What microcontroller does the STM32G4-tutorial project use?
The STM32G4-tutorial project is built around the STM32G431CBT6, from the STM32 family.
How big is the STM32G4-tutorial project PCB?
The STM32G4-tutorial project measures 147.4 × 140 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the STM32G4-tutorial project?
57 components, from 34 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the STM32G4-tutorial project design files?
From the CanSource/STM32G4-tutorial-project repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the STM32G4-tutorial project design in my own project?
Yes, under the terms of its CERN-OHL-P-2.0 license, which CanSource chose for the repository.
Can I test firmware for the STM32G4-tutorial project without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k