kicad
Compare original and translation side by side
🇺🇸
Original
English🇨🇳
Translation
ChineseKiCad Skill
KiCad 技能
Designs PCB schematics and layouts for VanDaemon hardware projects, primarily the ESP32-based 8-channel LED dimmer. KiCad 7+ uses S-expression format for all files. The project follows automotive-grade design practices for reliability in vehicle environments.
为VanDaemon硬件项目设计PCB原理图和布局,主要是基于ESP32的8通道LED调光器。KiCad 7及以上版本的所有文件均采用S-expression格式。该项目遵循汽车级设计规范,以确保在车载环境中的可靠性。
Quick Start
快速开始
Find Hardware Project Files
查找硬件项目文件
bash
undefinedbash
undefinedLocate KiCad project files
Locate KiCad project files
find hw/LEDDimmer -name ".kicad_" -type f
find hw/LEDDimmer -name ".kicad_" -type f
Current project structure
Current project structure
hw/LEDDimmer/
├── led_dimmer_8ch.kicad_sch # Main schematic
├── led_dimmer_8ch.kicad_pcb # PCB layout (when created)
└── led_dimmer_8ch.kicad_pro # Project settings
undefinedhw/LEDDimmer/
├── led_dimmer_8ch.kicad_sch # Main schematic
├── led_dimmer_8ch.kicad_pcb # PCB layout (when created)
└── led_dimmer_8ch.kicad_pro # Project settings
undefinedRead Schematic Structure
查看原理图结构
bash
undefinedbash
undefinedView schematic header and metadata
View schematic header and metadata
head -50 hw/LEDDimmer/led_dimmer_8ch.kicad_sch
head -50 hw/LEDDimmer/led_dimmer_8ch.kicad_sch
Find all component references
Find all component references
grep -E "^\s+(property "Reference"" hw/LEDDimmer/led_dimmer_8ch.kicad_sch
undefinedgrep -E "^\s+(property "Reference"" hw/LEDDimmer/led_dimmer_8ch.kicad_sch
undefinedKey Concepts
核心概念
| Concept | Format | Example |
|---|---|---|
| Comments | | |
| Component reference | | Resistor R1 |
| Pin connection | | Net connection |
| Symbol instance | | Component placement |
| Net label | | Named net |
| 概念 | 格式 | 示例 |
|---|---|---|
| 注释 | | |
| 元件编号 | | 电阻R1 |
| 引脚连接 | | 网络连接 |
| 符号实例 | | 元件放置 |
| 网络标签 | | 命名网络 |
WARNING: Comment Syntax
注意:注释语法
KiCad does NOT support semicolon comments. Use for comments in KiCad files.
#kicad
undefinedKiCad 不支持分号注释。在KiCad文件中请使用进行注释。
#kicad
undefinedGOOD - Hash comments work
GOOD - Hash comments work
Power regulation section
Power regulation section
; BAD - Semicolons are NOT comments, they become part of the data
undefined; BAD - Semicolons are NOT comments, they become part of the data
undefinedCommon Patterns
常见模式
Adding a Component
添加元件
kicad
(symbol (lib_id "Device:R")
(at 100 50 0)
(unit 1)
(property "Reference" "R1" (at 100 45 0))
(property "Value" "10k" (at 100 55 0))
(property "Footprint" "Resistor_SMD:R_0603_1608Metric" (at 100 50 0))
)kicad
(symbol (lib_id "Device:R")
(at 100 50 0)
(unit 1)
(property "Reference" "R1" (at 100 45 0))
(property "Value" "10k" (at 100 55 0))
(property "Footprint" "Resistor_SMD:R_0603_1608Metric" (at 100 50 0))
)Creating a Net Connection
创建网络连接
kicad
(wire (pts (xy 100 50) (xy 120 50)))
(label "PWM_CH0" (at 110 50 0))kicad
(wire (pts (xy 100 50) (xy 120 50)))
(label "PWM_CH0" (at 110 50 0))Design Guidelines
设计规范
| Parameter | Requirement | Reason |
|---|---|---|
| Trace width (power) | ≥0.5mm | Handle 2A per channel |
| Trace width (signal) | ≥0.25mm | Manufacturing tolerance |
| Via size | 0.8mm/0.4mm | Thermal dissipation |
| Clearance | ≥0.2mm | Automotive reliability |
| Copper weight | 2oz | Current handling |
| 参数 | 要求 | 原因 |
|---|---|---|
| 电源走线宽度 | ≥0.5mm | 满足每通道2A电流需求 |
| 信号走线宽度 | ≥0.25mm | 符合制造公差 |
| 过孔尺寸 | 0.8mm/0.4mm | 散热需求 |
| 安全间距 | ≥0.2mm | 汽车级可靠性要求 |
| 铜箔厚度 | 2oz | 电流承载能力 |
See Also
另请参阅
- patterns - Schematic and PCB patterns
- workflows - Design and export workflows
- patterns - 原理图和PCB设计模式
- workflows - 设计与导出工作流程
Related Skills
相关技能
- platformio skill - Firmware for ESP32 hardware
- docker skill - Build automation for production
- platformio 技能 - ESP32硬件固件开发
- docker 技能 - 生产环境构建自动化