Skip to the content
2 layers32 × 35 mmCh32v003-usbpd, the printed circuit board in 3D

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

1

README

README.md

USB-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
QtyValueFootprintReferences
7RResistor_SMD:R_0805_2012MetricR4, R5, R6, R10, R11, R12, R13
2CCapacitor_SMD:C_0603_1608MetricC1, C2
1120Resistor_SMD:R_0805_2012MetricR7
11K2Resistor_SMD:R_0805_2012MetricR2
147Resistor_SMD:R_0805_2012MetricR9
1470Resistor_SMD:R_0805_2012MetricR1
15K1Resistor_SMD:R_0805_2012MetricR3
175Resistor_SMD:R_0805_2012MetricR8
1CH32V003F4P6Package_SO:TSSOP-20_4.4x6.5mm_P0.65mmU1
1Conn_01x04_PinConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ2
1HT75xx-1-SOT89Package_TO_SOT_SMD:SOT-89-3U2
1LEDLED_SMD:LED_0603_1608MetricD1
1TestConnector_PinHeader_2.54mm:PinHeader_1x04_P2.54mm_VerticalJ4
1USB_C_Receptacle_USB2.0Connector_USB:USB_C_Receptacle_HRO_TYPE-C-31-M-12J1
1VOUTConnector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ3

Similar boards

  • 2 layers36.1 × 21 mmLinux ch32v003, the printed circuit board in 3D

    Linux ch32v003

    tvlad1234/linux-ch32v003

    Linux on a $0.15 RISC-V microcontroller

    16 parts289MIT
  • 2 layers50.5 × 94.7 mmSwordOfSecretsUSBProd, the printed circuit board in 3D

    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 mmTiny scarab, the printed circuit board in 3D

    Tiny scarab

    Embeetle/tiny-scarab

    Tiny beetle board based on the CH32V003 10-cent chip.

    147 parts24MIT
  • 2 layers52.3 × 16.3 mmGeneric TSSOP20, the printed circuit board in 3D

    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 mmBSidesTLV2025GloveBadge, the printed circuit board in 3D

    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 mmFrekLedMini, the printed circuit board in 3D

    FrekLedMini

    Drewbi/frekmini

    Mini version of the IKEA Frekvens

    25 parts10
  • 2 layers92 × 63.4 mmBsidesorl v1, the printed circuit board in 3D

    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

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).