
Stm32-io extend
hardenedlinux/cheap-pcb
Cheap PCB: Better understanding the current status of hardware supply chain

AI+Kicad
Stm32f103 min sys is an open-source printed circuit board by 123Nert, from the 123Nert/ai_pcb repository on GitHub. It is a 2-layer board of 78 × 57 mm with 31 parts on 44 nets, routed with 561 tracks and 53 vias.
It is built around the STM32F103C8T6 and AMS1117-3.3. Its parts include 14 capacitors, 7 connectors, 3 resistors, 2 ICs and 2 crystals. It belongs with the STM32 boards of this library.
使用 ZCode(GLM-5.3-Flash)+ KiCad 10 全流程 AI 辅助设计的可直接烧录的 STM32 最小系统板。
| 模块 | 说明 |
|---|---|
| 主控 | STM32F103C8T6(LQFP-48,72MHz Cortex-M3,64KB Flash / 20KB RAM) |
| 时钟 | HSE 8MHz 晶振(Y1 + 20pF×2)+ LSE 32.768kHz(Y2 + 12pF×2,支持 RTC) |
| 复位 | 10kΩ 上拉 + 100nF + 轻触按键(SW1),NRST 已引出 |
| 启动 | BOOT0 经 10kΩ 下拉(上电从 Flash 启动),BOOT1(PB2) 随排针引出 |
| 电源 | 5V 输入 → AMS1117-3.3 LDO(输入/输出各 10µF)→ 3.3V,带电源指示灯 |
| 下载 | SWD 排针(3V3 / SWDIO / SWCLK / GND),PA9/PA10 串口亦在排针上 |
| IO | 全部 GPIO 通过排针引出:PA0–PA15、PB0–PB15、PC13、NRST |
| 去耦 | 每个 VDD 引脚 100nF + 整体 10µF;VDDA 经磁珠独立滤波 |
| 排针 | 引脚 |
|---|---|
| J1(SWD) | 3V3 · SWDIO(PA13) · SWCLK(PA14) · GND |
| J2 | PA0 – PA7 |
| J3 | PA8 – PA12 · PA15(SWDIO/SWCLK 已由 J1 引出) |
| J4 | PB0 – PB7 |
| J5 | PB8 – PB15 |
| J6 | PC13 · NRST |
| J7 | 5V 输入(接 USB 转 5V 或直流电源) |
SWDIO → SWDIO,SWCLK → SWCLK,GND → GND,3V3 → 3V3| 文件 | 说明 |
|---|---|
stm32f103_min_sys.kicad_pro | 工程文件——工程设置、DRC 约束规则都存在这里,双击它打开整个工程 |
stm32f103_min_sys.kicad_sch | 原理图——最小系统电路 |
stm32f103_min_sys.kicad_pcb | PCB——布好线的板子(核心成果) |
stm32f103_min_sys.pdf | 原理图导出的 PDF(给人看的版本) |
| 文件 | 说明 |
|---|---|
netlist.xml | 网表——原理图的连接关系清单,画 PCB 时的"施工依据" |
board.dsn | 给 Freerouting 的自动布线任务文件(从 PCB 导出) |
board.ses | Freerouting 的布线结果(已导入回 PCB) |
board_preview.png | 3D 渲染预览图 |
drc.rpt / erc.rpt | DRC/ERC 校验报告(当前:DRC 仅剩外观类提示,0 电气错误) |
| 文件 | 说明 |
|---|---|
.git/ | git 仓库数据(版本历史就在这里,别动) |
.gitignore | git 排除规则(备份/锁文件/缓存不入库) |
.history/ | VS Code 本地历史插件缓存(已被 git 排除) |
~stm32f103_min_sys.kicad_pro.lck | KiCad 打开工程时的锁文件,正常关闭会自动消失 |
stm32f103_min_sys.kicad_prl | KiCad 的本地界面状态(图层颜色、窗口位置等),自动生成 |
一句话总结:真正要备份的是 4 个核心文件(.pro/.sch/.pcb/.pdf),其余都能随时重新生成或删除。git 已经把核心文件都纳入版本管理了。
本工程由 ZCode 智能体驱动 KiCad 10 完成:
仅供学习交流使用。
| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 100nF | C_0603_1608Metric | C3, C4, C5, C6, C8, C10 |
| 3 | 10uF | C_0603_1608Metric | C7, C13, C14 |
| 2 | 10k | R_0603_1608Metric | R1, R2 |
| 2 | 12pF | C_0603_1608Metric | C11, C12 |
| 2 | 20pF | C_0603_1608Metric | C1, C2 |
| 1 | 1k | R_0603_1608Metric | R3 |
| 1 | 1uF | C_0603_1608Metric | C9 |
| 1 | 32.768kHz | Crystal_SMD_3215-2Pin_3.2x1.5mm | Y2 |
| 1 | 5V_IN | PinHeader_1x02_P2.54mm_Vertical | J7 |
| 1 | 600R@100MHz | L_0603_1608Metric | FB1 |
| 1 | 8MHz | Crystal_SMD_HC49-SD | Y1 |
| 1 | AMS1117-3.3 | SOT-223-3_TabPin2 | U2 |
| 1 | PA0-PA7 | PinHeader_1x08_P2.54mm_Vertical | J2 |
| 1 | PA8-PA15 | PinHeader_1x08_P2.54mm_Vertical | J3 |
| 1 | PB0-PB7 | PinHeader_1x08_P2.54mm_Vertical | J4 |
| 1 | PB8-PB15 | PinHeader_1x08_P2.54mm_Vertical | J5 |
| 1 | PC13/NRST | PinHeader_1x02_P2.54mm_Vertical | J6 |
| 1 | PWR | LED_0603_1608Metric | LED1 |
| 1 | RESET | SW_PUSH_6mm | SW1 |
| 1 | STM32F103C8T6 | LQFP-48_7x7mm_P0.5mm | U1 |
| 1 | SWD | PinHeader_1x04_P2.54mm_Vertical | J1 |

hardenedlinux/cheap-pcb
Cheap PCB: Better understanding the current status of hardware supply chain

milar111/HEAT
An open-source STM32 SMD assembly station for precision soldering. Uses a custom Smart Pulse & Coast algorithm to drive 400W mains heaters via SSR. Features OLED UI, NTC feedback, and safety cooling.


minhle4397/Line-Follower-Robot-v2
Improved Hardware and Firmware for Line Follower Robot

mupfdev/TrackMAG
An open hardware development board primarily intended for the development of accessible input devices.

RaduAndre/DeskMixer
DeskMixer is a software that allows control of application volumes with real sliders, and action mapping on buttons using arduino like platforms. The project was inspired originally by deej.

abda-s/STM32-Phill-s-Lab-PCB-Course
A beginner-friendly introduction to STM32 hardware design and KiCad

It measures 78 × 57 mm and has 2 copper layers, 1.6 mm thick.
31 parts, built around the STM32F103C8T6 and 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.
From the 123Nert/ai_pcb repository on GitHub, at the commit this page was made from: the board is stm32f103_min_sys.kicad_pcb and its schematic stm32f103_min_sys.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Its repository states no licence, so its author keeps all rights: ask 123Nert before reusing the design.