# PCB 和固件

### PCB 设计

限于水平有限，这里仅提供一些相关链接。

* <https://github.com/ruiqimao/keyboard-pcb-guide>
* <https://deskthority.net/wiki/KiCAD_keyboard_PCB_design_guide>

### 固件开发

#### QMK

QMK 基于 tmk 固件，由来自 OLKB 的 Jack Humbert 领导的开源社区维护，支持 ATmega32U4 和 STM32 芯片。是目前客制化键盘圈最常用的固件，大部分键盘都基于 QMK 开发，可以说是客制化固件的事实标准。

QMK 在提供了固件能力的同时，还有相关配套配置工具，依托 QMK 生态，键盘作者可以比较低成本的开发自己的键盘固件。

但 QMK 也有一些弊端，QMK 目前的开发进度非常缓慢，功能迭代不多，对于无线等强需求的支持并不好。

* <https://github.com/qmk/qmk_firmware>


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://david-zhang.gitbook.io/custom-keyboard/advanced/pcb.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
