AI-Agent of-PCB-Design
liuyubin8056·AI-Agent-of-PCB-Design·examples/board.kicad_sch
About the AI-Agent of-PCB-Design
AI-Agent of-PCB-Design is an open source AVR/Arduino PCB design by liuyubin8056, published on GitHub. It is a board, with 18 components from 13 distinct parts.
Its main chip is the ATmega328P-PU, from the AVR/Arduino family. Other key parts include the AMS1117-5.0 and I2C_SENSOR. By type, the board carries 7 capacitors, 4 resistors, 3 ICs, 1 crystal, 1 connector and 1 switch.
From the project
一个用于设计电路板的Agent
课程大作业《AI Agent 电路板设计》的实现仓库:不画板子,而是做一个会画板子的 Agent。
当前进度:W1–W6 已完成。骨架、MVP、审查闭环、追问改需求均可用,并已通过 KiCad 真机验证:从生成的原理图导出网表,与 IR 逐引脚一致(差异 0 条),ERC 0 error。 DRC 闭环与报告留 W7–W8。详见下文「六、八周排期」。
这个项目的难点不在「调通 API」,而在「让 LLM 不出电气错误」。三条原则贯穿全仓库:
1. LLM 只产出结构化中间表示(IR),绝不直接写 KiCad 文件。 模型输出 {器件, 值, 封装, 网络成员} 这样的 JSON,由确定性代码渲染成 .kicadsch`。让模型直接拼 s-expression,它一定会编出不存在的引脚和非法 UUID。
2. 引脚必须「喂给」模型,而不是「问」模型。 library.pintabletext() 把器件真实引脚表注入 prompt,模型只能从枚举里选。 配合器件库白名单校验,引脚幻觉会被当场抓住(tests/testvalidate.py::testfakepinnumbercaught`)。
Main components on the AI-Agent of-PCB-Design
AI-Agent of-PCB-Design bill of materials (BOM)
18 components, 13 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | ATmega328P-PU | DIP-28_W7.62mm | U1 |
| 1 | AMS1117-5.0 | SOT-223-3_TabPin2 | U2 |
| 1 | I2C_SENSOR | PinHeader_1x04_P2.54mm_Vertical | U3 |
| 1 | 16MHz | Crystal_HC49-4H_Vertical | Y1 |
| 1 | Conn_01x02 | PinHeader_1x02_P2.54mm_Vertical | J1 |
| 1 | SW_PUSH | SW_SPST_B3U-1000P | SW1 |
| 1 | LED-Green | LED_0603_1608Metric | D1 |
| 3 | 100nF | C_0603_1608Metric | C1, C2, C5 |
| 2 | 22pF | C_0603_1608Metric | C3, C4 |
| 2 | 10uF | C_0603_1608Metric | C6, C7 |
| 1 | 10k | R_0603_1608Metric | R1 |
| 1 | 330 | R_0603_1608Metric | R2 |
| 2 | 4.7k | R_0603_1608Metric | R3, R4 |
AI-Agent of-PCB-Design design files
The KiCad project lives in the liuyubin8056/AI-Agent-of-PCB-Design repository on GitHub; these links point at the commit this page was built from.
- Schematicexamples/board.kicad_sch
- BOMexamples/bom.csv
AI-Agent of-PCB-Design: common questions
What microcontroller does the AI-Agent of-PCB-Design use?
The AI-Agent of-PCB-Design is built around the ATmega328P-PU, from the AVR/Arduino family.
How many components are on the AI-Agent of-PCB-Design?
18 components, from 13 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 AI-Agent of-PCB-Design design files?
From the liuyubin8056/AI-Agent-of-PCB-Design repository on GitHub, which has the schematic and the BOM; the links under Design files point to each one.
Can I use the AI-Agent of-PCB-Design design in my own project?
The repository has no license, so all rights stay with liuyubin8056. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the AI-Agent of-PCB-Design without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug AVR/Arduino firmware against it before you order a PCB.
Similar boards
AVR/Arduino
Magspoof
samyk
35 × 29 mm11 parts2LNo license4.2kAVR/Arduino
Redox keyboard
mattdibi
162.2 × 126.5 mm77 parts2LMIT2.0kAVR/Arduino
Labrador
espotek-org
36.8 × 34.7 mm75 parts2LNo license1.2kAVR/Arduino
ModuleV450
stuartpittaway
30 × 61.4 mm39 parts2LCC-BY-NC-4.01.1kAVR/Arduino
V4
stuartpittaway
30 × 50 mm38 parts2LCC-BY-NC-4.01.1kAVR/Arduino
Discipline
coseyfannitutti
304.9 × 122.8 mm170 parts2LCC-BY-NC-4.01.0k