HomeCommunity › CH32V003 USB power meter — 100 W, OLED, fully open source
Community project

CH32V003 USB power meter — 100 W, OLED, fully open source

A USB power meter squeezed into 16 KB of Flash: voltage, current and power readout up to 20 V / 5 A, PD 2.0 pass-through, energy statistics, and a power-history curve on a 0.96-inch OLED — all driven by the 10-cent RISC-V MCU.

Project facts

PlatformGitHub / OSRTOS
AuthorCommunity project (see project page)
LicenseOpen source (see project page)
SiliconWCH CH32V003F4U6 + INA219
Source: GitHub / OSRTOS — this project belongs to its author. We feature it as community content for evaluation; full schematics, source code and license terms live on the original project page.

Why we follow it

What it isA pass-through USB meter built around the CH32V003F4U6 and a Texas Instruments INA219 current monitor. The PCB uses wide 8 mm traces for the 100 W current path.
Why it is interestingA case study in resource-constrained firmware: I2C driving the INA219 and the SSD1306 OLED on one bus, internal-Flash EEPROM emulation for cumulative energy, and binary-size optimisation to fit the 16 KB budget.
ToolingBuilt with the noneos-sdk on PlatformIO, flashed with a WCH-LinkE on SWDIO/NRST. Gerbers, BOM and 3D-printable enclosure files are part of the release.
For youA complete, manufacturable design to study if you want a shipping-quality reference for CH32V003 products with a display and analog front-end.

Original project

Parts you need to build it

WCH CH32V003
The 10-cent RISC-V microcontroller
Core QingKe V2A (RV32EC); Clock 48 MHz; Flash / RAM 16 KB / 2 KB
View product →
WCH WCH-LinkE
Official programmer and debugger for all W.CH RISC-V parts
Function Programming and debugging via single-wire SDI; Targets CH32V, CH32X, CH32L, CH56x, CH57x, CH58x, CH59x; Interface USB Type-C
View product →

Questions

Where is the repository?

The OSRTOS project page links the full source, PCB files and enclosure STLs.

Tell us what you are building and the volume. We will confirm part availability, lead time and pricing.
Request a quote