USB-C-Portable-PSU
Ng-Chen-Xuan·USB-C-Portable-PSU·elec/elec.kicad_pcb
About the USB-C-Portable-PSU PCB
USB-C-Portable-PSU is an open source STM32 PCB design by Ng-Chen-Xuan, published on GitHub under the CERN-OHL-S-2.0 license. It is a 4-layer board measuring 58 × 58 mm, with 151 components from 34 distinct parts.
Its main chip is the STM32G030K8T6, from the STM32 family. Other key parts include the HUSB238A-XXXXX-QN16R, SY8303AIC, TPS55289RYQR and IS31FL3731-QF. By type, the board carries 65 diodes, 41 resistors, 24 capacitors, 6 switches, 5 ICs and 5 connectors.
It belongs with the power & battery and displays & leds designs in this gallery.
From the project
USB-C PD powered variable power supply
The USB-C-Portable-PSU Project is a portable variable power supply designed using KiCad v10.
The PCB was designed with a 4 layer stackup of SIG + PWR / GND / GND / PWR + SIG.
This PCB design serves as both an introduction to power electronics design, as well as a practical tool for hobbyist. Theoretical design practices learnt such as minimising trace inductance, buck-boost converter topology and USB-PD design can be tested in real-life conditions; Practice in programming an LED matrix display and experimentation of the STM32 ecosystem can be gained too.

Main components on the USB-C-Portable-PSU
USB-C-Portable-PSU bill of materials (BOM)
151 components, 34 distinct parts — part numbers from the project's BOM.
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | HUSB238A-XXXXX-QN16R HUSB238A-xxxxx-QN16R | WQFN-16-1EP_3x3mm_P0.5mm_EP1.75x1.75mm | U1 |
| 1 | SY8303AIC | TSOT_303AIC_SGY | U2 |
| 1 | STM32G030K8T6 | LQFP-32_7x7mm_P0.8mm | U3 |
| 1 | TPS55289RYQR | VREG_TPS55289RYQR | U4 |
| 1 | IS31FL3731-QF | QFN-28-1EP_4x4mm_P0.4mm_EP2.3x2.3mm | U6 |
| 1 | AO4419 | SOIC-8-1EP_3.9x4.9mm_P1.27mm_EP2.29x3mm_ThermalVias | Q1 |
| 1 | C5178539 USB_C_Receptacle | USB_C_Receptacle_GCT_USB4105-xx-A_16P_TopMnt_Horizontal | J1 |
| 1 | CONN_01X05 Conn_01x05 | PinHeader_1x05_P2.54mm_Vertical | J2 |
| 1 | SCREW_TERMINAL_01X02 Screw_Terminal_01x02 | TerminalBlock_CUI_TB007-508-02_1x02_P5.08mm_Horizontal | J3 |
| 2 | CONN_01X03 Conn_01x03 | PinHeader_1x03_P2.54mm_Vertical | J4, J5 |
| 1 | C391035 Buzzer | Buzzer_Murata_PKMCS0909E | BZ1 |
| 1 | SW_Push | SKRKAEE020 | SW2 |
| 5 | SW_Push | SW_Tactile_SPST_Angled_PTS645Vx58-2LFS | SW3, SW4, SW5, SW6, SW7 |
| 1 | C13564 Thermistor_NTC | R_0603_1608Metric | TH1 |
| 1 | C2103 D_Zener | D_SOD-123 | D1 |
| 64 | LED | LED_0603_1608Metric | D2, D3, D4, D5, D6, D7, D8, D9 +56 |
| 1 | 47UH 47uH | L_APV_ANR5040 | L1 |
| 1 | 4.7UH 4.7uH | L_12x12mm_H8mm | L2 |
| 3 | 4U7 4u7 | C_1206_3216Metric | C1, C3, C4 |
| 9 | 0.1UF 0.1uF | C_0603_1608Metric | C2, C6, C7, C8, C9, C10, C20, C21 +1 |
Show 14 more
| Qty | Part | Footprint | Refs |
|---|---|---|---|
| 1 | 10PF 10pF | C_0603_1608Metric | C5 |
| 6 | 22UF 22uF | C_1206_3216Metric | C11, C13, C14, C15, C16, C17 |
| 1 | 10UF 10uF | C_1206_3216Metric | C12 |
| 1 | 100PF 100pF | C_0603_1608Metric | C18 |
| 3 | 1UF 1uF | C_0603_1608Metric | C19, C22, C23 |
| 21 | 20K 20k | R_0603_1608Metric | R1, R2, R3, R4, R5, R11, R14, R18 +13 |
| 3 | 2K2 2k2 | R_0603_1608Metric | R6, R12, R13 |
| 3 | 1M | R_0603_1608Metric | R7, R8, R40 |
| 3 | 100K 100k | R_0603_1608Metric | R9, R15, R16 |
| 1 | 470R | R_0603_1608Metric | R10 |
| 1 | 15M 15m | R_2512_6332Metric | R17 |
| 1 | 147K 147k | R_0603_1608Metric | R20 |
| 7 | 1k | R_0603_1608Metric | R26, R27, R28, R32, R34, R35, R36 |
| 1 | C21189 0R | R_0603_1608Metric | R33 |
USB-C-Portable-PSU design files
The KiCad project lives in the Ng-Chen-Xuan/USB-C-Portable-PSU repository on GitHub; these links point at the commit this page was built from.
USB-C-Portable-PSU: common questions
What microcontroller does the USB-C-Portable-PSU use?
The USB-C-Portable-PSU is built around the STM32G030K8T6, from the STM32 family.
How big is the USB-C-Portable-PSU PCB?
The USB-C-Portable-PSU measures 58 × 58 mm, has 4 copper layers and is 1.6 mm thick.
How many components are on the USB-C-Portable-PSU?
151 components, from 34 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 USB-C-Portable-PSU design files?
From the Ng-Chen-Xuan/USB-C-Portable-PSU 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 USB-C-Portable-PSU design in my own project?
Yes, under the terms of its CERN-OHL-S-2.0 license, which Ng-Chen-Xuan chose for the repository.
Can I test firmware for the USB-C-Portable-PSU 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
AxxSolder
AxxAxx
39 × 82.5 mm122 parts2LGPL-3.01.7kSTM32
AIOC
skuep
21 × 31.5 mm47 parts2LMIT1.4kSTM32
Ferris
pierrechevalier83
208.8 × 86.8 mm102 parts2LSHL-2.11.3kSTM32
176 pin board
rusefi
61.8 × 73.2 mm76 parts2LGPL-3.01.2kSTM32
Brain board STM32F407
rusefi
61.8 × 73.2 mm69 parts2LGPL-3.01.2k