Skip to the content
PCBKitNew board
2 layers80 × 50 mmDesk timer, the printed circuit board in 3D

My tiny project using KiCad to create a PCB for desk-timer (reminding me to drink water or something)

Size
80 × 50 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
37
Pads
76
Tracks, vias
71, 5
Pours
1
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
18 Oct 2026
Updated
1 Nov 2026

Overview

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.

Main components

3

README

README.md

desk-timer

使用 Arduino Nano 制作的桌面计时器,同时用于学习 KiCad 原理图和 PCB 设计。

第一版功能

  • 固定计时 25 分钟。
  • 6 颗 LED 显示剩余进度。
  • 两个按钮分别用于开始/暂停、复位计时。
  • 计时结束后由无源压电蜂鸣器提示,可通过程序改变音调。
  • 通过 Nano 的 USB 接口供电和下载程序。

元器件清单

当前采用 TDK PS1240P02BT 压电式无源蜂鸣器方案;电阻和两颗电容均采用 1206 贴片封装,其余元件的安装方式见表。

元件数量型号/电气规格封装/尺寸与安装方式备注
Arduino Nano1暂按经典款 5V/ATmega328P Nano v3.x已焊排针,插装到排母用户已有;具体型号、引脚定义和两排间距待确认
Nano 排母2单排 1×15Pin,间距 2.54mm直插;两排中心距暂按 15.24mm焊在底板上,用于插拔 Nano
绿色 LED6例如 Kingbright WP7113GD,雾面绿色直径 5mm、两脚直插、脚距 2.54mm进度指示;每颗单独串联一个限流电阻
LED 限流电阻6680Ω,¼W1206 贴片,约 3.2×1.6mm按经典款 5V Nano 设计
轻触按钮2Omron B3F-1000,常开瞬时按钮6×6mm、四脚直插、孔位 6.5×4.5mm开始/暂停、复位计时;四脚对应两个电气端子
压电式无源蜂鸣器1TDK PS1240P02BT,外部方波驱动直径 12.2mm、高 6.5mm、两脚直插、脚距 5mm提示音先按约 4kHz;实际响度待样机确认
蜂鸣器串联限流电阻1330Ω,¼W1206 贴片限制 GPIO 切换时的瞬态电流
蜂鸣器隔直电容11µF,非极性,耐压 ≥16VX7R 陶瓷、1206 贴片与 330Ω 串联;采购时匹配容量、耐压和封装
蜂鸣器泄放电阻1100kΩ,¼W1206 贴片并联在蜂鸣器两端
电源去耦电容1100nF,非极性,耐压 ≥16VX7R 陶瓷、1206 贴片跨接 5V 与 GND;采购时匹配容量、耐压和封装
USB 数据线1与现有 Nano 的 USB 接口匹配板外配件需要支持数据传输,供电和下载程序共用

该方案不再使用此前电磁蜂鸣器方案中的 BC337、220Ω 基极电阻、10kΩ 基极下拉电阻和 1N4007 续流二极管。

KiCad 符号与封装

以下条目已在本机 KiCad 10 自带库中找到;电容及 Nano 的最终封装仍须与采购件/实物核对。

元件SymbolFootprint匹配说明
Nano 及其排母安装位置MCU_Module:Arduino_Nano_v3.xModule:Arduino_Nano整体封装包含两排各 15 个焊孔,可用于安装两条排母,不再重复放置两套排母封装
LEDDevice:LEDLED_THT:LED_D5.0mm脚距 2.54mm;1 为阴极、2 为阳极
所有 1206 电阻Device:RResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolder加长焊盘,方便手焊;阻值分别填 680Ω、330Ω、100kΩ
按钮Switch:SW_PushButton_Switch_THT:SW_TH_Tactile_Omron_B3F-100x对应 B3F-1000;封装中两对焊盘分别共用编号 1、2
压电蜂鸣器Device:BuzzerBuzzer_Beeper:Buzzer_TDK_PS1240P02BT_D12.2mm_H6.5mm型号对应的专用封装,脚距 5mm
1µF 隔直电容Device:CCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder已选用 1206 手焊封装
100nF 去耦电容Device:CCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolder与 C1 相同的 1206 手焊封装

上述标准库元件直接引用 KiCad 自带库;当前不需要复制到项目专用库。

蜂鸣器驱动接法

text
Nano GPIO ── 330Ω ── 1µF ──┬── PS1240P02BT ── GND
                           └── 100kΩ ───────── GND

这是本项目拟采用的 GPIO 驱动方案,并非照搬厂商参考电路:串联电容隔直,100kΩ 电阻提供电荷泄放通路,330Ω 电阻限制切换瞬间的电流;按 5V 电平跳变估算约为 15mA。

程序使用 tone() 输出约 4kHz 方波,停止提示时结束方波输出;实际响度、波形及 GPIO 负载在样机阶段确认。

待确认事项

  • 用户现有 Nano 是否为经典款 5V/ATmega328P,以及排针方向、排距和 USB 接口类型。
  • 两种电容的实际采购型号;均按 1206、X7R、耐压 ≥16V 选购,容量分别为 1µF 和 100nF。
  • 已完成原理图、PCB 布局与布线;尚未生成生产文件或制作样机。

参考资料

LED 与 GPIO 对应

PCB 上 D1–D6 从左到右排列,分别经 R1–R6 连接 Nano 的 D7、D6、D5、D4、D3、D2;这一顺序用于减少布线交叉。 固件中从左到右的 LED 引脚数组应为 {7, 6, 5, 4, 3, 2}。

PCB 布线配置

  • 80 × 50 mm 双层板;保留当前元件布局。
  • 默认信号线宽 0.30 mm;5V 和 GND 的 Power 网络类线宽 0.50 mm;铜间距 0.25 mm。
  • 过孔直径 0.80 mm、钻孔 0.40 mm;铜到板边至少 0.50 mm。
  • 主要连线在顶层;底层两段短跳线,其余以连续 GND 铺铜为主;共 5 个过孔。
  • 底层 GND 区采用热焊盘连接,间隙及连接桥宽均为 0.30 mm,并移除孤立铜岛。
  • 本次填充铜区后 DRC:0 违规、0 未连接;焊盘网络与原理图一致。

Parts

24
QtyValueFootprintReferences
6680Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR1, R2, R3, R4, R5, R6
6WP7113GDLED_THT:LED_D5.0mmD1, D2, D3, D4, D5, D6
4MountingHole_3.2mm_M3MountingHole:MountingHole_3.2mm_M3H1, H2, H3, H4
2B3F-1000Button_Switch_THT:SW_TH_Tactile_Omron_B3F-100xSW1, SW2
1100kResistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR8
1100nFCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC2
11uF >=16VCapacitor_SMD:C_1206_3216Metric_Pad1.33x1.80mm_HandSolderC1
1330Resistor_SMD:R_1206_3216Metric_Pad1.30x1.75mm_HandSolderR7
1Arduino_Nano_v3.xModule:Arduino_NanoU1
1PS1240P02BTBuzzer_Beeper:Buzzer_TDK_PS1240P02BT_D12.2mm_H6.5mmBZ1

Questions

How big is the Desk timer PCB?

It measures 80 × 50 mm and has 2 copper layers, 1.6 mm thick.

What parts does the Desk timer use?

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.

Where can I download the Desk timer KiCad files?

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.

Can I use the Desk timer design in my own project?

Its repository states no licence, so its author keeps all rights: ask Ken-2511 before reusing the design.

Similar boards

  • 4 layers101.6 × 76.2 mm8051dumper, the printed circuit board in 3D

    8051dumper

    JohnDMcMaster/8051dumper

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

    41 parts27
  • 2 layers77.2 × 92.9 mmPackmate, the printed circuit board in 3D

    Packmate

    r-best/packmate

    76 parts
  • 2 layers72.8 × 32 mmMicro fm radio, the printed circuit board in 3D

    Micro fm radio

    dilshan/rda5807-fm-radio-module

    RDA5807M based stereo FM radio receiver

    56 parts8MIT
  • 2 layers85 × 155 mmEsp32-fan controller, the printed circuit board in 3D

    Esp32-fan controller

    merlindorin/esp32-fan-controller

    A small KiCad board to keep my home server cabinet cool. 4 PWM fans, 4 temperature probes, one ESP32.

    38 parts8MIT
  • 4 layers73.1 × 69.8 mmStm32u595-breakout, the printed circuit board in 3D

    Stm32u595-breakout

    oresat/oresat-kicad

    All things KiCAD for OreSat; libraries, tools, settings, etc.

    85 parts6
  • 2 layers96.5 × 76.2 mmBewaesserung, the printed circuit board in 3D

    Bewaesserung

    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.

    61 parts6GPL-2.0
  • 6 layers148 × 121 mmControl, the printed circuit board in 3D

    Control

    SSL-A-Team/electrical

    circuit board design files, gerbers, and circuit analysis

    529 parts6MIT
  • 2 layers100 × 140 mmPrototype-1, the printed circuit board in 3D

    Prototype-1

    amberisvibin/chibi-pc09

    The PC-09 will be a 6309 based microcomputer.

    35 parts4MIT