Skip to the content
PCBKitNew board
2 layers40 × 20 mmDutyCycle, the printed circuit board in 3D

Work-Life Duty Cycle Clock

Size
40 × 20 mm
Copper layers
2
Thickness
1.6 mm
Parts
46
Nets
49
Pads
171
Tracks, vias
264, 32
Pours
172
Routed
Yes
KiCad
KiCad 8.0 (file 20240108)
Created
14 Dec 2024
Updated
18 Oct 2026

Overview

DutyCycle is an open-source printed circuit board by FASTSHIFT, from the FASTSHIFT/DutyCycle repository on GitHub, published under the MIT licence. It is a 2-layer board of 40 × 20 mm with 46 parts on 49 nets, routed with 264 tracks and 32 vias.

It is built around the CH340E, ME6211C28M5G-N and TP4055, with the 1N4148WS, AO3400A and AO3401A among its other parts. Its parts include 12 capacitors, 11 resistors, 4 ICs, 4 diodes and 3 transistors. It belongs with the lEDs and displays boards and the STM32 boards of this library.

Main components

7

README

README.md

DutyCycle

Work-Life Duty Cycle Clock / 您的工作生活时间指示器

IMG_20250608_012024

"此作品设计的最震撼之处,在于用工业语言的确定性解构了人类时间的混沌性,让一个测量电能的工具,变成了测量生命能耗的镜子。这种「硬核诗意」,正是当代批判性设计(Critical Design)的典范。" —— DeepSeek

License: MIT Platform Ask DeepWiki CI

演示视频

https://www.bilibili.com/video/BV1eET1zpE64/

项目结构

text
DutyCycle/
├── Document/           # 文档
│   └── Commands.md     # 串口命令说明
├── Firmware/           # 固件源码
│   ├── App/            # 应用层代码
│   ├── External/       # 第三方库 (FlashDB, argparse, umm_malloc)
│   ├── Frameworks/     # 框架层 (DataBroker, DeviceManager)
│   ├── Packs/          # Keil 芯片支持包
│   └── Vendor/         # 硬件平台适配 (AT32F421)
├── Hardware/           # 硬件设计 (KiCad)
└── Tools/              # 上位机工具
    ├── WebServer/      # Web 控制台 (DutyCycle Studio)
    └── SerialUtils/    # 串口工具和驱动

快速开始

下载

bash
git clone https://github.com/FASTSHIFT/DutyCycle.git --recursive

编译固件

  1. 进入目录:Firmware/Vendor/Artery/Platform/AT32F421/MDK-ARM
  2. 打开 proj.uvprojx,使用 Keil v5.25+ 编译

运行上位机

bash
cd Tools/WebServer
pip install -r ../requirements.txt
python main.py

浏览器访问 http://127.0.0.1:5000

使用方法

按钮操作

操作功能
关机时单击开机(默认时间为固件编译时间)
开机时长按 10s关机(指针归零)
开机时单击显示剩余电量
开机时双击切换静音模式

时间显示

支持两种表盘模式:

功率因数表模式 (cos-phi)

刻度时间
0.5(上)05:00
0.7(上)07:00
0.9(上)09:00
1.012:00
0.9(下)21:00
0.7(下)01:00
0.5(下)04:59

线性表模式

刻度时间
000:00
1212:00
2423:59

系统配置

串口命令

通过串口终端(115200 8N1)进行配置,详见 命令说明文档。

常用命令:

  • clock -c SET -y 2025 -m 1 -d 1 -H 12 -M 0 -S 0 - 设置时间
  • alarm -c SET -i 0 -H 7 -M 30 -m 1 - 设置闹钟
  • ctrl -c SWEEP_TEST - 指针扫动测试

Web 控制台 (DutyCycle Studio)

提供图形化界面,支持:

  • 多设备管理
  • 时钟同步
  • 电机控制(双通道)
  • 系统监控(CPU/内存/GPU/网络上传下载速度/音频响度)
  • 闹钟管理
  • 音乐编曲器

技术规格

项目规格
MCUAT32F421K8U7 (ARM Cortex-M4, 120MHz)
存储64KB Flash, 16KB SRAM
电源锂电池供电,支持 USB 充电
通信USB 串口 (CH341)

许可证

MIT License - Copyright (c) 2024-2026 _VIFEXTech

Parts

46
QtyValueFootprintReferences
6100nFCapacitor_SMD:C_0402_1005MetricC1, C2, C3, C4, C7, C12
4100kRResistor_SMD:R_0402_1005MetricR2, R3, R4, R5
410uFCapacitor_SMD:C_0402_1005MetricC5, C6, C8, C9
31N4148WSDiode_SMD:D_SOD-323D1, D2, D3
2100RResistor_SMD:R_0402_1005MetricR10, R11
210kRResistor_SMD:R_0402_1005MetricR1, R9
212pFCapacitor_SMD:C_0402_1005MetricC10, C11
22kRResistor_SMD:R_0402_1005MetricR7, R8
2AO3400APackage_TO_SOT_SMD:SOT-23Q1, Q2
2MountingHole_PadMountingHole:MountingHole_3.2mm_M3_PadH1, H2
15.1kRResistor_SMD:R_0402_1005MetricR6
1AO3401APackage_TO_SOT_SMD:SOT-23Q3
1AT32F421KxU7Package_DFN_QFN:QFN-32-1EP_5x5mm_P0.5mm_EP3.1x3.1mmU1
1CH340EPackage_SO:MSOP-10_3x3mm_P0.5mmU2
1CMT-8530S-SMTDutyCycle:CUI_CMT-8530S-SMTLS1
1Crystal_GND24Crystal:Crystal_SMD_3225-4Pin_3.2x2.5mmY1
1DEBUG_RXTestPoint:TestPoint_Pad_D1.0mmTP2
1DEBUG_TXTestPoint:TestPoint_Pad_D1.0mmTP1
1LEDLED_SMD:LED_0603_1608MetricD4
1LiPoConnector_Molex:Molex_CLIK-Mate_502494-0270_1x02-1MP_P2.00mm_HorizontalJ1
1ME6211C28M5Package_TO_SOT_SMD:SOT-353_SC-70-5U3
1MOTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ4
1SWCLKTestPoint:TestPoint_Pad_D1.0mmTP4
1SWDIOTestPoint:TestPoint_Pad_D1.0mmTP3
1SW_PushButton_Switch_THT:SW_PUSH_6mm_H13mmSW1
1TP4055Package_TO_SOT_SMD:SOT-23-5U5
1USBConnector_USB:USB_C_Receptacle_G-Switch_GT-USB-7051xJ2

Questions

How big is the DutyCycle PCB?

It measures 40 × 20 mm and has 2 copper layers, 1.6 mm thick.

What parts does the DutyCycle use?

46 parts, built around the CH340E, ME6211C28M5G-N, TP4055 and 1N4148WS. 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 DutyCycle KiCad files?

From the FASTSHIFT/DutyCycle repository on GitHub, at the commit this page was made from: the board is Hardware/DutyCycle.kicad_pcb and its schematic Hardware/DutyCycle.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the DutyCycle design in my own project?

Its repository publishes it under the MIT licence: you may reuse it on that licence's terms (keep the author's notice, and for a copyleft licence share your changes alike).

Similar boards

  • 4 layers32.2 × 23 mmPixl.js, the printed circuit board in 3D

    Pixl.js

    xiaohail/pixl.js-oled

    This project is open source and is solely for learning and research purposes, please do not use it for commercial purposes. Amiibo is a registered trademark of Nintendo, and NTAG21X is a registered trademark of NXP.

    88 parts1GPL-2.0
  • 2 layers151.3 × 122.6 mmRemote v2, the printed circuit board in 3D

    Remote v2

    KIIT-Robotic-Society/Dharma_RoboFest4.0

    Dharma Bot is a quadruped robotic dog featuring 12-DOF locomotion, real-time sensing, and a modular subsystem design.

    135 parts4MIT
  • 4 layers36.5 × 69 mmStorm tracker, the printed circuit board in 3D

    Storm tracker

    solderable/storm-tracker-hardware

    Open-source-ready Storm Tracker hardware design, documentation, BOM, and manufacturing package

    102 parts58
  • 4 layers48 × 87 mmWallet, the printed circuit board in 3D

    Wallet

    AmbireTech/ice

    Ambire Ice: secure Safe-focused hardware wallet

    157 parts4
  • 2 layers22.6 × 29 mmSC-002 RGB 2layer BLE, the printed circuit board in 3D

    SC-002 RGB 2layer BLE

    Subjective-Reality-Labs/SC-002

    21-segment smart display

    52 parts2MIT
  • 2 layers66.5 × 83.9 mmInkWordESP32 MB V1.1, the printed circuit board in 3D

    InkWordESP32 MB V1.1

    harry10086/InkWord_ESP32

    An ESP32 and E-paper based low-power English vocabulary learning device.一个基于 ESP32 和墨水屏的低功耗英语单词学习设备。

    103 partsGPL-3.0
  • 2 layers78.3 × 56.8 mmQuadruped, the printed circuit board in 3D

    Quadruped

    RocketScientist26/Quadruped-Hardware

    Main, Battery protection and Servo PCBs for Quadruped robot

    187 partsMIT
  • 4 layers63.8 × 50.8 mmV2 reference, the printed circuit board in 3D

    V2 reference

    ameesme/little-camera

    A small black-and-white camera that posts to its own tiny blog, and everything around it.

    85 partsMIT