UsbMeter2
TheBadZhang·usbMeter·hardware/usbMeter2/usbMeter2.kicad_pcb
About the UsbMeter2 PCB
UsbMeter2 is an open source STM32 PCB design by TheBadZhang, published on GitHub. It is a 2-layer board measuring 17.5 × 40.3 mm, with 40 components from 23 distinct parts.
Its main chip is the STM32G031G8Ux, from the STM32 family. Other key parts include the TPD4E05U06DQA, CH340E, INA228, CH217K and RT9193-33GB. By type, the board carries 17 capacitors, 9 ICs, 5 resistors, 4 diodes, 3 switches and 2 connectors.
From the project
Type-A USB 双向电流电压表
这个版本是最初的版本,具有我能够塞入的所有功能,结果发现嘉立创免费打样只支持0.3mm的孔,导致没有办法低价进行生产,随放弃,删除大量功能,只保留了最基本的功能,做出了 V1.0.0 版本

Main components on the UsbMeter2
UsbMeter2 bill of materials (BOM)
40 components, 23 distinct parts.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | STM32G031G8Ux | QFN-28_4x4mm_P0.5mm | U1 |
| 2 | TPD4E05U06DQA | USON-10_2.5x1.0mm_P0.5mm | U2, U3 |
| 1 | CH340E | MSOP-10_3x3mm_P0.5mm | U4 |
| 1 | INA228 | VSSOP-10_3x3mm_P0.5mm | U5 |
| 1 | CH217K | TSOT-23-6 | U6 |
| 1 | RT9193-33GB | SOT-23-5 | U7 |
| 1 | TPS54202DDC | SOT-23-6 | U8 |
| 1 | ~ | iic_oled_12864_ssd1312_2 | U9 |
| 1 | USB_A | USB_A_CNCTech_1001-011-01101_Horizontal | J1 |
| 1 | USB_A | C2763021 | J2 |
| 3 | SW_Push | KEY-SMD_4P-L4.2-W3.4-P2.15-LS4.5-TL | SW1, SW2, SW3 |
| 4 | WS2812B-2020 | ws2812-1010 | D1, D2, D3, D4 |
| 2 | 2.2uF | C_0402_1005Metric | C1, C20 |
| 2 | 100nF | C_0402_1005Metric | C2, C5 |
| 5 | 0.1uF | C_0402_1005Metric | C3, C4, C8, C18, C22 |
| 1 | 10uF | C_0603_1608Metric | C6 |
| 4 | 4.7uF | C_0402_1005Metric | C7, C10, C19, C21 |
| 1 | 22nF | C_0402_1005Metric | C9 |
| 2 | 1uF | C_0402_1005Metric | C16, C17 |
| 2 | 68R | R_0402_1005Metric | R3, R5 |
Show 3 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 20mR | R_1206_3216Metric | R4 |
| 1 | 100k | R_0402_1005Metric | R6 |
| 1 | 560K | R_0402_1005Metric | R12 |
UsbMeter2 design files
The KiCad project lives in the TheBadZhang/usbMeter repository on GitHub; these links point at the commit this page was built from.
UsbMeter2: common questions
What microcontroller does the UsbMeter2 use?
The UsbMeter2 is built around the STM32G031G8Ux, from the STM32 family.
How big is the UsbMeter2 PCB?
The UsbMeter2 measures 17.5 × 40.3 mm, has 2 copper layers and is 1.6 mm thick.
How many components are on the UsbMeter2?
40 components, from 23 distinct parts. The full bill of materials is listed on this page.
Where can I download the UsbMeter2 design files?
From the TheBadZhang/usbMeter repository on GitHub, which has the KiCad layout and the schematic; the links under Design files point to each one.
Can I use the UsbMeter2 design in my own project?
The repository has no license, so all rights stay with TheBadZhang. Use it as a reference, and ask the author before reusing the design.
Can I test firmware for the UsbMeter2 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.
More boards in usbMeter
Similar boards
STM32
LumenPnP Motherboard
opulo-inc
149 × 95 mm296 parts4LCC-BY-SA-4.03.7kSTM32
Type g
google
169 × 30 mm24 parts2LApache-2.02.9kSTM32
Main panel
google
234 × 84 mm26 parts4LApache-2.02.9kSTM32
Base
google
52.3 × 52.3 mm36 parts2LApache-2.02.9kSTM32
Type a
google
150 × 30 mm14 parts2LApache-2.02.9kSTM32
Type c
google
188 × 30 mm17 parts2LApache-2.02.9k