
8051dumper
JohnDMcMaster/8051dumper
by NF6X. Forked from: https://gitlab.com/NF6X_Retrocomputing/8051dumper

My tiny project using KiCad to create a PCB for desk-timer (reminding me to drink water or something)
Desk timer is an open-source printed circuit board by Ken-2511, from the Ken-2511/desk-timer repository on GitHub. It is a 2-layer board of 80 × 50 mm with 24 parts on 37 nets, routed with 71 tracks and 5 vias.
It is built around the WP7113GD, B3F-1000 and PS1240P02BT. Its parts include 8 resistors, 6 diodes, 2 capacitors, 2 switches and 1 IC. It belongs with the AVR (ATmega, ATtiny) boards of this library.
使用 Arduino Nano 制作的桌面计时器,同时用于学习 KiCad 原理图和 PCB 设计。
当前采用 TDK PS1240P02BT 压电式无源蜂鸣器方案;电阻和两颗电容均采用 1206 贴片封装,其余元件的安装方式见表。
| 元件 | 数量 | 型号/电气规格 | 封装/尺寸与安装方式 | 备注 |
|---|---|---|---|---|
| Arduino Nano | 1 | 暂按经典款 5V/ATmega328P Nano v3.x | 已焊排针,插装到排母 | 用户已有;具体型号、引脚定义和两排间距待确认 |
| Nano 排母 | 2 | 单排 1×15Pin,间距 2.54mm | 直插;两排中心距暂按 15.24mm | 焊在底板上,用于插拔 Nano |
| 绿色 LED | 6 | 例如 Kingbright WP7113GD,雾面绿色 | 直径 5mm、两脚直插、脚距 2.54mm | 进度指示;每颗单独串联一个限流电阻 |
| LED 限流电阻 | 6 | 680Ω,¼W | 1206 贴片,约 3.2×1.6mm | 按经典款 5V Nano 设计 |
| 轻触按钮 | 2 | Omron B3F-1000,常开瞬时按钮 | 6×6mm、四脚直插、孔位 6.5×4.5mm | 开始/暂停、复位计时;四脚对应两个电气端子 |
| 压电式无源蜂鸣器 | 1 | TDK PS1240P02BT,外部方波驱动 | 直径 12.2mm、高 6.5mm、两脚直插、脚距 5mm | 提示音先按约 4kHz;实际响度待样机确认 |
| 蜂鸣器串联限流电阻 | 1 | 330Ω,¼W | 1206 贴片 | 限制 GPIO 切换时的瞬态电流 |
| 蜂鸣器隔直电容 | 1 | 1µF,非极性,耐压 ≥16V | X7R 陶瓷、1206 贴片 | 与 330Ω 串联;采购时匹配容量、耐压和封装 |
| 蜂鸣器泄放电阻 | 1 | 100kΩ,¼W | 1206 贴片 | 并联在蜂鸣器两端 |
| 电源去耦电容 | 1 | 100nF,非极性,耐压 ≥16V | X7R 陶瓷、1206 贴片 | 跨接 5V 与 GND;采购时匹配容量、耐压和封装 |
| USB 数据线 | 1 | 与现有 Nano 的 USB 接口匹配 | 板外配件 | 需要支持数据传输,供电和下载程序共用 |
该方案不再使用此前电磁蜂鸣器方案中的 BC337、220Ω 基极电阻、10kΩ 基极下拉电阻和 1N4007 续流二极管。
以下条目已在本机 KiCad 10 自带库中找到;电容及 Nano 的最终封装仍须与采购件/实物核对。
| 元件 | Symbol | Footprint | 匹配说明 |
|---|---|---|---|
| Nano 及其排母安装位置 | MCU_Module:Arduino_Nano_v3.x | Module:Arduino_Nano | 整体封装包含两排各 15 个焊孔,可用于安装两条排母,不再重复放置两套排母封装 |
| LED | Device:LED | LED_THT:LED_D5.0mm | 脚距 2.54mm;1 为阴极、2 为阳极 |
| 所有 1206 电阻 | Device:R | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | 加长焊盘,方便手焊;阻值分别填 680Ω、330Ω、100kΩ |
| 按钮 | Switch:SW_Push | Button_Switch_THT:SW_TH_Tactile_Omron_B3F-100x | 对应 B3F-1000;封装中两对焊盘分别共用编号 1、2 |
| 压电蜂鸣器 | Device:Buzzer | Buzzer_Beeper:Buzzer_TDK_PS1240P02BT_D12.2mm_H6.5mm | 型号对应的专用封装,脚距 5mm |
| 1µF 隔直电容 | Device:C | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | 已选用 1206 手焊封装 |
| 100nF 去耦电容 | Device:C | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | 与 C1 相同的 1206 手焊封装 |
上述标准库元件直接引用 KiCad 自带库;当前不需要复制到项目专用库。
Nano GPIO ── 330Ω ── 1µF ──┬── PS1240P02BT ── GND
└── 100kΩ ───────── GND这是本项目拟采用的 GPIO 驱动方案,并非照搬厂商参考电路:串联电容隔直,100kΩ 电阻提供电荷泄放通路,330Ω 电阻限制切换瞬间的电流;按 5V 电平跳变估算约为 15mA。
程序使用 tone() 输出约 4kHz 方波,停止提示时结束方波输出;实际响度、波形及 GPIO 负载在样机阶段确认。
PCB 上 D1–D6 从左到右排列,分别经 R1–R6 连接 Nano 的 D7、D6、D5、D4、D3、D2;这一顺序用于减少布线交叉。
固件中从左到右的 LED 引脚数组应为 {7, 6, 5, 4, 3, 2}。
| Qty | Value | Footprint | References |
|---|---|---|---|
| 6 | 680 | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R1, R2, R3, R4, R5, R6 |
| 6 | WP7113GD | LED_THT:LED_D5.0mm | D1, D2, D3, D4, D5, D6 |
| 4 | MountingHole_3.2mm_M3 | MountingHole:MountingHole_3.2mm_M3 | H1, H2, H3, H4 |
| 2 | B3F-1000 | Button_Switch_THT:SW_TH_Tactile_Omron_B3F-100x | SW1, SW2 |
| 1 | 100k | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R8 |
| 1 | 100nF | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C2 |
| 1 | 1uF >=16V | Capacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder | C1 |
| 1 | 330 | Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder | R7 |
| 1 | Arduino_Nano_v3.x | Module:Arduino_Nano | U1 |
| 1 | PS1240P02BT | Buzzer_Beeper:Buzzer_TDK_PS1240P02BT_D12.2mm_H6.5mm | BZ1 |
It measures 80 × 50 mm and has 2 copper layers, 1.6 mm thick.
24 parts, built around the WP7113GD, B3F-1000 and PS1240P02BT. 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 Ken-2511/desk-timer repository on GitHub, at the commit this page was made from: the board is desk-timer.kicad_pcb and its schematic desk-timer.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 Ken-2511 before reusing the design.

JohnDMcMaster/8051dumper
by NF6X. Forked from: https://gitlab.com/NF6X_Retrocomputing/8051dumper



merlindorin/esp32-fan-controller
A small KiCad board to keep my home server cabinet cool. 4 PWM fans, 4 temperature probes, one ESP32.

oresat/oresat-kicad
All things KiCAD for OreSat; libraries, tools, settings, etc.

SmartHome-yourself/shys-collection
Kompakte Sammlung für ESPHome, Hardware-Boards, Home Assistant und Node-RED. Fokus: einfach, überschaubar, konsistente Ordner. Optional gibt's einen Validator, GitHub Action und einen Pre‑commit Hook.

