PowerWatch
zhbi98·PowerWatch·Hardware/kicad_project/stm32f103.kicad_pcb
About the PowerWatch PCB
PowerWatch is an open source STM32 PCB design by zhbi98, published on GitHub under the MIT license. It is a 2-layer board measuring 86 × 45 mm, with 61 components from 30 distinct parts.
Its main chip is the STM32F103RCTx, from the STM32 family. Other key parts include the LM1117-3.3, INA226AIDGSR and W25Q32JVSS. By type, the board carries 24 resistors, 13 capacitors, 6 connectors, 5 switches, 4 ICs and 4 modules.
From the project
【USB功率计】PowerWatch 自制的 USB 电源功率计,用于测量具备 USB 接口的设备输出电能参数,支持测量电压(V),电流(A),功率(W),电能(Ah, Wh)
PowerWatch 是我设计的一个 Mini-USB 电源功率计,设计包含外观结构,电路 PCB,程序固件。
PowerWatch 在硬件设计上支持同时采样被测电源的电压,电流及功率等参数,同时通过软件的形式实现了电能实时监测功能。
电能实时监测功能可以方便的知道被监测电源所输出的电能。 比如通过 PowerWatch 可以知道充电宝为手机充电时,充电宝流入手机的电能为多少 mAh。
而其中 mAh 表明的是电能单位,例如以 $x$ mA 电流持续输出 $1$ h 时间,则输出的电能为 $x$ mAh。
(1) 微控制器:采用国产兆易 GD32F103RCT6,芯片主频 96MHz 最高可达 108MHz,64P 引脚,RAM 空间 64KB,ROM 空间 256KB,支持 USB 通信。
(2) 屏幕:驱动芯片 ST7789V3,材质 IPS,采用 8 位并行 8080 通信接口,分辨率 320x170。

Main components on the PowerWatch
PowerWatch bill of materials (BOM)
61 components, 30 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | LM1117-3.3 | SOT-223 | U1 |
| 1 | STM32F103RCTx | LQFP-64_10x10mm_P0.5mm | U2 |
| 1 | INA226AIDGSR | VSSOP-10_L2.9-W5.05-P0.5_INA226AIDGSR | U3 |
| 1 | W25Q32JVSS | SOIC-8_L4.8-W5.8-P1.27_W25Q32JVSS | U4 |
| 4 | Mounting_Holes_3mm_THT | Mounting_Holes_3mm_THT | M1, M2, M3, M4 |
| 1 | Q_PNP_BEC | SOT-23 | Q1 |
| 1 | 8M | Crystal_SMD_HC49-SD | Y1 |
| 1 | SWD | PinSocket_1x04_P2.54mm_Vertical | J1 |
| 1 | USART1 | PinSocket_1x03_P2.54mm_Vertical | J2 |
| 1 | USB4105-GF-A | USB-C-SMD_16P_USB4105-GF-A | J3 |
| 1 | Conn_01x30 | Hirose_FH12-30S-0.5SH_1x30-1MP_P0.50mm_Horizontal | J4 |
| 1 | INA226 ALERT | PinSocket_1x01_P2.54mm_Vertical | J5 |
| 1 | USB1130-15-A_REVA | USB-A-TH_4P_USB1130-15-A-REVA | J6 |
| 4 | 1-1825027-1 | KEY-TH_L6.0-W6.0-H_B3F-3100 | S1, S2, S3, S4 |
| 1 | 1825910-6 | KEY-TH_L6.0-W6.0-V_B3F-1000 | SW1 |
| 1 | POWER LED | LED_0805_2012Metric | D1 |
| 1 | LED1 | LED_0805_2012Metric | D2 |
| 1 | LED2 | LED_0805_2012Metric | D3 |
| 2 | 22pF | C_0805_2012Metric | C1, C4 |
| 2 | 10uF | C_0805_2012Metric | C2, C5 |
Show 10 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 9 | 0.1uF | C_0805_2012Metric | C3, C6, C7, C8, C9, C10, C11, C12 +1 |
| 5 | 220R | R_0805_2012Metric | R1, R2, R3, R4, R14 |
| 1 | 10M | R_0805_2012Metric | R5 |
| 4 | 10K | R_0805_2012Metric | R6, R10, R22, R24 |
| 2 | 0.5K | R_0805_2012Metric | R7, R8 |
| 2 | 1k | R_0805_2012Metric | R9, R13 |
| 2 | 20R | R_0805_2012Metric | R11, R12 |
| 1 | 100mR | R_2010_5025Metric | R15 |
| 6 | 5.1K | R_0805_2012Metric | R16, R17, R18, R19, R20, R21 |
| 1 | 100R | R_0805_2012Metric | R23 |
PowerWatch design files
The KiCad project lives in the zhbi98/PowerWatch repository on GitHub; these links point at the commit this page was built from.
PowerWatch: common questions
What microcontroller does the PowerWatch use?
The PowerWatch is built around the STM32F103RCTx, from the STM32 family.
How big is the PowerWatch PCB?
The PowerWatch measures 86 × 45 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the PowerWatch?
61 components, from 30 distinct parts, with part numbers taken from the project's own BOM. The full bill of materials is listed on this page.
Where can I download the PowerWatch design files?
From the zhbi98/PowerWatch repository on GitHub, which has the KiCad layout, the schematic and the BOM; the links under Design files point to each one.
Can I use the PowerWatch design in my own project?
Yes, under the terms of its MIT license, which zhbi98 chose for the repository.
Can I test firmware for the PowerWatch without the hardware?
Yes. HardLabs builds a simulation of the board from its netlist and BOM, so you can run and debug STM32 firmware against it before you order a PCB.
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k