Skip to the content
4 layers140 × 96 mmXWatch Rev3.0, the printed circuit board in 3D

XWatch Rev3.0

Han-ZenX/X-Watch

A Fully Customizable Open-Source Smartwatch

Size
140 × 96 mm
Copper layers
4
Thickness
0.92 mm
Parts
381
Nets
266
Pads
1,269
Tracks, vias
3,759, 2,554
Pours
22
Routed
Yes
KiCad
KiCad 10.0 (file 20260206)
Created
17 Sep 2026
Updated
4 Nov 2026

Overview

XWatch Rev3.0 is an open-source printed circuit board by Han-ZenX, from the Han-ZenX/X-Watch repository on GitHub, published under the MIT licence. It is a 4-layer board of 140 × 96 mm with 381 parts on 266 nets, routed with 3,759 tracks and 2,554 vias.

Its parts include 120 capacitors, 84 resistors, 40 connectors, 29 ICs and 18 inductors.

README

README.md

X-Watch

X-Watch 是一款开源智能手表项目,主控芯片为 STM32L4R9AII6U,图形界面基于 TouchGFX 开发。本仓库统一管理硬件设计、嵌入式固件、配套软件、文档与测试。

项目处于早期开发阶段(硬件 Rev1.0),接口与目录结构可能随迭代调整。

核心方案

项目选型
主控 MCUSTM32L4R9AII6U(Arm Cortex-M4F,120 MHz,2 MB Flash,640 KB SRAM,UFBGA169)
图形框架TouchGFX(配合 TouchGFX Designer 设计界面)
图形加速Chrom-ART(DMA2D)、GFXMMU,显示接口可选 LTDC / MIPI DSI
硬件 EDAKiCad
固件构建CMake + GCC ARM(arm-none-eabi)
大文件管理Git LFS

为什么选 STM32L4R9

  • 超低功耗:STM32L4+ 系列,适合电池供电的穿戴设备。
  • 图形能力完整:片上集成 LTDC、MIPI DSI Host、Chrom-ART 加速器和 GFXMMU(适合圆形屏帧缓冲),无需外置图形芯片。
  • TouchGFX 官方支持:ST 提供 STM32L4R9I-DISCO 参考设计(圆形 AMOLED 屏),可作为软硬件起点,手册见 docs/references/Rev1.0。

目录结构

text
X-Watch/
├── firmware/      # 嵌入式固件(app / hal / drivers / services 四层架构)
├── hardware/      # 硬件设计(原理图、PCB、BOM、Gerber、3D、引脚表)
├── software/      # 配套软件(desktop / mobile / cloud)
├── tools/         # 构建脚本与辅助工具
├── docs/          # 项目文档
├── tests/         # 单元测试 / 集成测试 / 硬件在环测试
└── ci/            # CI/CD 流水线配置

完整的架构说明见 docs/architecture/architecture.md。

快速开始

1. 获取代码

bash
git lfs install
git clone git@github.com:Han-ZenX/X-Watch.git

2. 开发环境

  • STM32CubeMX:外设与时钟配置
  • TouchGFX Designer:UI 设计与代码生成
  • GCC ARM 工具链(arm-none-eabi-gcc)、CMake ≥ 3.20、Ninja
  • KiCad:打开 hardware/schematic/v1.0/XWatch_Rev1.0/ 下的工程
  • 调试器:ST-LINK

3. 编译固件

bash
cd firmware
cmake -B build -G Ninja -DBOARD=default
cmake --build build

或使用构建脚本:

bash
python tools/scripts/build.py --board=default

硬件

  • 原理图 / PCB:hardware/schematic/v1.0/XWatch_Rev1.0/(KiCad 工程)
  • 引脚分配:hardware/pinout/pinout.md
  • 每次硬件改版需同步更新引脚表与 firmware/boards/ 下对应的板级配置。

开发计划

  • 硬件 Rev1.0 原理图与 PCB 完成
  • STM32L4R9 板级支持(时钟、电源、调试串口)
  • 显示屏驱动与 TouchGFX 移植
  • 触摸驱动接入
  • 基础表盘与界面
  • 低功耗管理

变更记录

见 CHANGELOG.md。

许可证

本项目基于 MIT License 开源。

Parts

381
QtyValueFootprintReferences
51C0201C0201C0401, C402, C403, C407, C408, C409, C411, C0501, C2401, C2405, C2406, C2408, C2409, C2410, C2418, C2421 +35
48C0402C0402C1002, C1003, C1004, C1006, C1014, C1015, C1019, C1021, C1022, C1024, C1025, C1028, C1030, C1031, C1034, C1035 +32
40R0201R0201R1033, R1035, R1036, R1037, R1038, R1039, R1040, R1041, R1042, R1043, R1044, R1045, R1046, R1047, R1048, R1049 +24
32R0402R0402R16, R17, R20, R1062, R1063, R1064, R1065, R1067, R1068, R1103, R1104, R1105, R1106, R1107, R1108, R1109 +16
24DIP3$2F$P2.54DIP3$2F$P2.54J504, J601, J602, J603, J604, J605, J606, J607, J608, J609, J610, J611, J612, J613, J614, J615 +8
17DIP2$2F$P2.54DIP2$2F$P2.54CHIP_EN, J408, J409, J501, J502, J503, J1002, J1005, J1007, J1009, J1101, J1102, J2301, J2402, J2403, J9001 +1
15VR0402VR0402ESD239, ESD2301, ESD2302, ESD2303, ESD2304, ESD2305, ESD2306, ESD2307, ESD2308, ESD3001, ESD3002, ESD3003, ESD3004, ESD3005, ESD3006
13SC0402SC0402C3101, C3103, C3104, C3105, C3106, C3107, C3108, C3109, C3110, C3111, C3112, C3113, C3114
9SR0402SR0402R14, R15, R3101, R3102, R3103, R3104, R3105, R3106, R3107
8L0201L0201L401, L503, L507, L508, L511, L512, L514, L515
8SOT363-6PINSOT363-6PINU2401, U2403, U2405, U2406, U3102, U3103, U3104, U3105
7LED190LED190D1103, D9001, D9002, D9003, D9004, D9005, D9006
7ZQFN-4L-1X1ZQFN-4L-1X1U1002, U1005, U1007, U1010, U1014, U1098, U1099
62-1L1B$2F$SMD$2F$SSM3K35MFV2-1L1B$2F$SMD$2F$SSM3K35MFVQ9001, Q9002, Q9003, Q9004, Q9005, Q9006
6C0603C0603C1094, C1102, C1104, C1107, C1109, C2016
6R$5C$DIPR$5C$DIPF601, F602, F603, F604, F605, F606
5LED-SLED-SD2401, D2402, D3004, D3005, D9007
4HEADER10HEADER10J1008, J1012, J1103, J3101
4HOLE$2F$PTH$2F$D1R2HOLE$2F$PTH$2F$D1R2TP3002, TP3003, TP9147, TP9148
4TH3MMTH3MMVIA3003, VIA3004, VIA3005, VIA3006
4TP30MILTP30MILTP401, TP1001, TP9146, TP9149
3L$2F$IND$2F$SMD$2F$0402L$2F$IND$2F$SMD$2F$0402L504, L505, L513
3L$2F$IND$2F$SMD$2F$LQM2MP-0806L$2F$IND$2F$SMD$2F$LQM2MP-0806L1002, L1003, L1005
3SMA8400MSMA8400MCON501, CON502, CON503
3SOT-23SOT-23Q1, Q2, Q3
3WL-CSP0.9X1.6-8WL-CSP0.9X1.6-8U1008, U1012, U1016
2C0603_H300C0603_H300L2402, L2404
2C1210C1210C1105, C1106
2DIP-SWITCH_2X1DIP-SWITCH_2X1SW1V8, SW2V8
2FUSE$2F$DIP$2F$SMDFUSE$2F$DIP$2F$SMDF1102, F1103
2JACK$2F$BANAAAJACK$2F$BANAAAJ2017, J2023
2L$2F$IND$2F$SMD$2F$2520L$2F$IND$2F$SMD$2F$2520L1001, L1102
2MICROUSB$2F$5P$2F$SMD$2F$P0.65$2F$R$2F$8791-N005-M1A0MICROUSB$2F$5P$2F$SMD$2F$P0.65$2F$R$2F$8791-N005-M1A0CON3001, CON3002
2SAW-1.1X0.9SAW-1.1X0.9U0501, U509
2SIP-2PSIP-2PJP1101, JP3103
2SIP-9P-2MM-FRAMESIP-9P-2MM-FRAMEJ412, J2401
2SPP2301_USISPP2301_USIQ501, Q502
2WDFN8$2F$SMD$2F$P0.5$2F$RT5715WDFN8$2F$SMD$2F$P0.5$2F$RT5715U1096, U1102
10402_USI0402_USIR1061
1AG3335M_3.8X4.2(R9XC10)-0.4BPAAAG3335M_3.8X4.2(R9XC10)-0.4BPAAU0401
1BGA76-5.5X5.5-AHTBGA76-5.5X5.5-AHTU2402
1C0.22F3.3V$2F$SMD$2F$EN-RLC0.22F3.3V$2F$SMD$2F$EN-RLBAT1099
1D$2F$SMD$2F$VMD2D$2F$SMD$2F$VMD2D1001
1DFN12DFN12U3101
1DIP30X2$2F$P2.54$2F$R$2F$PHR230GB138DIP30X2$2F$P2.54$2F$R$2F$PHR230GB138J9107
1EMT6-P0.5EMT6-P0.5U2404
1HEADER10X2-P2.54HEADER10X2-P2.54J1206
1MICROSD$2F$8P$2F$SMD$2F$TA-M017-012-07-811MICROSD$2F$8P$2F$SMD$2F$TA-M017-012-07-811CON2301
1NC$2F$MMD$2F$L1$2F$4MILNC$2F$MMD$2F$L1$2F$4MILSHORT402
1PADCBPADCBPF_TEST2401
1R0402$2F$SMDR0402$2F$SMDR1060
1R0805R0805R13
1RTC3215RTC3215X0401
1SAW1511SAW1511U506
1SW2P$2F$DIP-V1SW2P$2F$DIP-V1SW1101
1SW8P_DIP_P2.54SW8P_DIP_P2.54SW2002
1TS6301E180GTS6301E180GSW1
1TXCO4P$2F$SMD$2F$P0.4$2F$1.65X1.25$2F$1612TCXOTXCO4P$2F$SMD$2F$P0.4$2F$1.65X1.25$2F$1612TCXOTCXO403
1TXCO4P$2F$SMD$2F$P0.4$2F$2.0X1.6$2F$KT2016KTXCO4P$2F$SMD$2F$P0.4$2F$2.0X1.6$2F$KT2016KTCXO402
1WDFN8$2F$SMD$2F$P0.5$2F$RT9718WDFN8$2F$SMD$2F$P0.5$2F$RT9718U1101
1XDFN8-P0.4-1.6X1.2XDFN8-P0.4-1.6X1.2U1015
1XT2016XT2016Y2401

More from Han-ZenX/X-Watch

1
  • 2 layersXWatch Rev2.0, the printed circuit board in 3D

    XWatch Rev2.0

    Han-ZenX/X-Watch

    A Fully Customizable Open-Source Smartwatch

    118 partsMIT

Similar boards

  • 4 layers53.3 × 68.6 mmHamShield1, the printed circuit board in 3D

    HamShield1

    EnhancedRadioDevices/HamShield1

    HamShield 1.0 Hardware

    381 parts8
  • 4 layers95.9 × 90.2 mmBaikal be t100, the printed circuit board in 3D

    Baikal be t100

    chipiki/baikal_be-t1000

    OpenHardware development board for Russian Baikal BE-T1000 MIPS Warrior P-class P5600 processor

    381 parts6BSD-3-Clause
  • 4 layers204 × 244 mmAries-1, the printed circuit board in 3D

    Aries-1

    computerguy096/Aries-1

    This is a work in progress micro-ATX 486 board, based off of the DTK 386 replica and the Prometheus VLB

    381 parts3GPL-3.0
  • 4 layers99.8 × 94.6 mmOresat live card, the printed circuit board in 3D

    Oresat live card

    kitspace-test-repos/kicad6-file-collection

    381 partsMIT
  • 4 layers180 × 130 mmEcu25kva, the printed circuit board in 3D

    Ecu25kva

    mohan4220/ecu25kva

    Replacement engine control unit for a 25 kVA Kirloskar diesel genset — engine 3GK550ETA 4SR1, application code GK3.8703, 26.5 kW at 1500 rpm, 12 V system. Panel controller is a Deep Sea Electronics DSE4522 MKII AMF.

    380 parts
  • 4 layers236.4 × 119 mm50p spectra6 4 copy, the printed circuit board in 3D

    50p spectra6 4 copy

    StickyPix/Not-So-Sticky-Pix

    Spectra 6 and 4 gray E-paper frame

    380 parts6
  • 4 layers104 × 158 mm281D, the printed circuit board in 3D

    281D

    DunningtonAudio/281D

    A quad function generator project

    380 parts24GPL-3.0

Questions

How big is the XWatch Rev3.0 PCB?

It measures 140 × 96 mm and has 4 copper layers, 0.92 mm thick.

What parts does the XWatch Rev3.0 use?

381 parts. 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 XWatch Rev3.0 KiCad files?

From the Han-ZenX/X-Watch repository on GitHub, at the commit this page was made from: the board is hardware/schematic/v1.0/XWatch_Rev3.0/XWatch_Rev3.0.kicad_pcb and its schematic hardware/schematic/v1.0/XWatch_Rev1.0/Audio.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the XWatch Rev3.0 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).