

Ch32v003-usbpd
Use the ch32v003 as a usb pd controller
- Size
- 32 × 35 mm
- Copper layers
- 2
- Thickness
- 1.6 mm
- Parts
- 22
- Nets
- 26
- Pads
- 87
- Tracks, vias
- 204, 22
- Pours
- 1
- Routed
- Yes
- KiCad
- KiCad 8.0 (file 20240108)
- Created
- 9 Dec 2023
- Updated
- 3 Jul 2024
Overview
Ch32v003-usbpd is an open-source printed circuit board by eeucalyptus, from the eeucalyptus/ch32v003-usbpd repository on GitHub, published under the MIT licence. It is a 2-layer board of 32 × 35 mm with 22 parts on 26 nets, routed with 204 tracks and 22 vias.
It is built around the CH32V003F4P6. Its parts include 13 resistors, 4 connectors, 2 capacitors, 2 ICs and 1 diode. It belongs with the power boards and the RISC-V boards of this library.
Main components
1README
README.mdUSB-PD on the CH32V003
I'm trying to get USB-PD working on the CH32V003. It doesn't have a dedicated USB-PD module, but I only want to use the chip itself and passive components. I'm using the internal comparator for receiving and a simple voltage divider for transmitting. The timing sensitive part of the firmware is written in assembler, while the rest is written in C.
The project is still in an early stage and WIP, but I was able to transmit and receive messages.
I wrote two blog posts about the project:
Setup
The development board can be found in the board directory. The board is a breakout board with the required passive components, a USB-C connector and a high voltage capable voltage regulator.
The firmware can be built with the provided makefile. It is built upon ch32v003fun and the toolchain described there.
Build and run via make flash.
Parts
22| Qty | Value | Footprint | References |
|---|---|---|---|
| 7 | R | Resistor_SMD:R_0805_2012Metric | R4, R5, R6, R10, R11, R12, R13 |
| 2 | C | Capacitor_SMD:C_0603_1608Metric | C1, C2 |
| 1 | 120 | Resistor_SMD:R_0805_2012Metric | R7 |
| 1 | 1K2 | Resistor_SMD:R_0805_2012Metric | R2 |
| 1 | 47 | Resistor_SMD:R_0805_2012Metric | R9 |
| 1 | 470 | Resistor_SMD:R_0805_2012Metric | R1 |
| 1 | 5K1 | Resistor_SMD:R_0805_2012Metric | R3 |
| 1 | 75 | Resistor_SMD:R_0805_2012Metric | R8 |
| 1 | CH32V003F4P6 | Package_SO:TSSOP-20_4.4x6.5mm_P0.65mm | U1 |
| 1 | Conn_01x04_Pin | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J2 |
| 1 | HT75xx-1-SOT89 | Package_TO_SOT_SMD:SOT-89-3 | U2 |
| 1 | LED | LED_SMD:LED_0603_1608Metric | D1 |
| 1 | Test | Connector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_Vertical | J4 |
| 1 | USB_C_Receptacle_USB2.0 | Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12 | J1 |
| 1 | VOUT | Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_Vertical | J3 |
Similar boards
- 2 layers36.1 × 21 mm

- 2 layers50.5 × 94.7 mm

SwordOfSecretsUSBProd
gili-yankovitch/SwordOfSecrets
To solve the challenge you will need to discover a series of flags, hidden inside the sword. Each one will help you unlock the next step in the challenge, to finally reveal the ultimate secret the sword holds.
16 parts47MIT - 4 layers44.8 × 76 mm

- 2 layers52.3 × 16.3 mm

Generic TSSOP20
dwillmore/TSSOP20_breakout
A generic breakout board for TSSOP20 chips to a SIP header meant for breadboard use
45 parts18CERN-OHL-W-2.0 - 2 layers65.4 × 133.6 mm

BSidesTLV2025GloveBadge
bsidestlv/bsidestlv-2025-badge
To solve the challenge you will need to discover a series of flags, hidden inside the badge. Each one will help you unlock the next step in the challenge, to finally reveal the ultimate secret the badge holds.
35 parts13MIT - 4 layers22 × 22 mm

- 2 layers92 × 63.4 mm

Bsidesorl v1
bsidesorlando/2026-badge
The electronic badge for BSides Orlando 2026, themed around retro-futurism: a 1960s World's Fair vision of tomorrow, with Lil Chompy the alligator at the wheel of a flying car.
39 parts5 - 2 layers78 × 57 mm

Questions
How big is the Ch32v003-usbpd PCB?
It measures 32 × 35 mm and has 2 copper layers, 1.6 mm thick.
What parts does the Ch32v003-usbpd use?
22 parts, built around the CH32V003F4P6. 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 Ch32v003-usbpd KiCad files?
From the eeucalyptus/ch32v003-usbpd repository on GitHub, at the commit this page was made from: the board is board/ch32v003_usbpd.kicad_pcb and its schematic board/ch32v003_usbpd.kicad_sch. PCBKit opens the board in the browser, with nothing to install.
Can I use the Ch32v003-usbpd 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).