Skip to the content
PCBKitNew board
2 layers23.1 × 34.5 mmUSCB PD, the printed circuit board in 3D

A compact USB Power Delivery sink board based on the HUSB238 USB-PD controller IC. Accepts USB-C PD input and outputs a selectable regulated voltage via an onboard 6-position DIP switch.

Size
23.1 × 34.5 mm
Copper layers
2
Thickness
1.6 mm
Parts
24
Nets
23
Pads
99
Tracks, vias
134, 41
Pours
4
Routed
Yes
KiCad
KiCad 9.0 (file 20241229)
Created
30 May 2026
Updated
30 Sep 2026

Overview

USCB PD is an open-source printed circuit board by Will946, from the Will946/USBC-PD repository on GitHub, published under the MIT licence. It is a 2-layer board of 23.1 × 34.5 mm with 24 parts on 23 nets, routed with 134 tracks and 41 vias.

It is built around the AONR21307. Its parts include 9 resistors, 5 capacitors, 3 connectors, 1 diode and 1 switch. It belongs with the power boards of this library.

Main components

1

README

README.md

USB-C PD Power Board

A compact USB Power Delivery sink board based on the HUSB238 USB-PD controller IC. Accepts USB-C PD input and outputs a selectable regulated voltage via an onboard 6-position DIP switch. Designed as a cleaner, improved implementation of the Adafruit USB Type-C Power Delivery Dummy Breakout, with a fixed 3A current request, soft-start capacitor, and SMD components throughout.

Board Preview


Features

  • USB-C PD 3.0 input supporting standard PD voltage profiles (5V, 9V, 12V, 15V, 18V, 20V)
  • Output voltage selectable via 6-position DIP switch (SW1)
  • Fixed 3A current request via R9 (22.6KΩ on ISET)
  • HUSB238 USB-PD sink controller (WDFN-10 package)
  • AONR21307 N-channel MOSFET for output switching
  • 10Ω series resistor on VIN for filtering per datasheet recommendation
  • 100nF soft-start capacitor on GATE pin (C5)
  • 3× 4.7µF output decoupling capacitors for stability
  • Status LED indicator (D1) with solder jumper (JP1) to disconnect
  • Screw terminal output (J4) for direct wire connection
  • 2-pin header output (J5)
  • Test point (TP1) on VSET bus for voltage probing
  • I2C header (J5) for dynamic control via microcontroller
  • All SMD components, 2-layer PCB

Specifications

ParameterValue
Input InterfaceUSB-C PD 3.0 / Type-C v1.4
Input Voltage Range3V – 25V (VBUS)
Max Output Power100W (20V × 5A)
Requested Output Current3A (fixed via R9 = 22.6KΩ)
Output VoltageSelectable via DIP switch (see below)
Controller ICHUSB238_xxxDD
MOSFETAONR21307 (DFN8 3×3mm)
Legacy Protocol SupportApple Divider 3, BC1.2 (SDP, CDP, DCP)
PCB Layers2
Designed WithKiCad 9.0

Voltage Selection (SW1 DIP Switch)

Output voltage is set by closing one switch at a time on SW1. Each switch connects a resistor between the HUSB238 VSET pin and GND. The HUSB238 reads the resulting voltage on VSET (set by a 100µA internal current source through the resistor) and negotiates the corresponding PD voltage profile with the USB-C adapter.

Only one switch should be ON at a time. Closing multiple switches places resistors in parallel, which will result in an unintended voltage being requested.

SW1 PositionResistorVSET ResistanceRequested VoltageMax Power @ 3A
SW1-1R1 (6K)6.04KΩ9V27W
SW1-2R2 (10K)10KΩ12V36W
SW1-3R6 (14K)14KΩ15V45W
SW1-4R7 (18K)17.8KΩ18V54W
SW1-5—0Ω (short to GND)5V15W
SW1-6—NC (open)20V60W

How voltage selection works: The HUSB238 requests a voltage equal to or lower than the programmed value. If the connected USB-C adapter does not support the requested voltage (e.g. a strict PD adapter with no 12V profile), the board will fall back to the next lower available voltage (e.g. 9V). Always verify the output voltage with a multimeter before connecting a load.

Important: If no switch is closed (all OFF), the VSET pin floats and the HUSB238 defaults to requesting 20V. Ensure a known switch position is set before powering up.


Current Selection

The output current request is fixed at 3A via R9 (22.6KΩ) connected between the ISET pin and GND. This is hardwired on the board and cannot be changed without reworking R9.

The HUSB238 will request 3A from the adapter. If the adapter cannot supply 3A at the negotiated voltage, it will supply whatever current it is rated for — the board will not be damaged, but the load current must not exceed the adapter's rating.

ISET ResistorRequested Current
0KΩ1.25A
4.53KΩ1.5A
7.5KΩ1.75A
10.5KΩ2A
13.7KΩ2.25A
16.5KΩ2.5A
19.6KΩ2.75A
22.6KΩ (R9, fitted)3A
NC3.25A

Circuit Description

Power Path

USB-C VBUS → 10Ω series resistor (R3) → VIN pin of HUSB238 → HUSB238 drives GATE pin → AONR21307 MOSFET → VOUT

The MOSFET acts as a load switch controlled by the HUSB238. It only turns on after a successful PD contract is established. R4 (5.1KΩ) sits on the GATE line, and R5 (49.9KΩ) pulls the MOSFET source to VBUS to ensure proper biasing.

Voltage Setting (VSET)

The 6 DIP switch positions each connect a different resistor to the VSET bus. All resistor pad 1s share the VSET bus; pad 2 of each resistor goes to its own DIP switch pin, which connects to GND when closed. TP1 is connected to this VSET bus and can be probed to verify the set voltage level.

Output Filtering

Three 4.7µF capacitors (C2, C3, C4) on the output reduce ripple and improve transient response. C1 (1µF) decouples the HUSB238 VIN pin.

LED Indicator

D1 (LED) is connected to VOUT via R8 (49.9KΩ) and JP1 (solder jumper). JP1 is bridged by default — cut the trace to disconnect the LED. The LED illuminates when output voltage is present.

I2C Interface

The HUSB238 supports I2C at address 0x08 for dynamic voltage/current control and source capability querying. J5 exposes the SCL and SDA lines. Note: I2C requires external pullup resistors to the logic level of the connected microcontroller. I2C settings override the DIP switch resistor settings.


Connectors

RefTypePitchDescription
J1USB-C 16P Receptacle—USB-C PD input (JAE DX07S016JA1R1500)
J4Screw Terminal 1×023.5mmPower output — VOUT and GND
J5Pin Header 1×022.54mmI2C (SCL, SDA) / auxiliary output

Bill of Materials

RefValuePackageDescription
C11uF/50V0805VIN decoupling capacitor
C2, C3, C44.7uF/50V1206Output filter capacitors
C5100nF/50V1206GATE soft-start capacitor
D1LED1206Output status indicator
J1USB_C_Receptacle_USB2.0_16P—USB-C input connector
J4Screw_Terminal_01x02P3.5mmOutput screw terminal
J5Conn_01x02P2.54mmI2C / auxiliary header
JP1SolderJumper_2_Bridged—LED enable jumper (bridged by default)
MOSFET1AONR21307DFN8 3×3mmN-channel load switch MOSFET
R16K0805VSET resistor → 9V
R210K0805VSET resistor → 12V
R310R0805VIN series filter resistor
R45.1K0805GATE resistor
R549.9K0805MOSFET source pullup
R614K0805VSET resistor → 15V
R718K0805VSET resistor → 18V
R849.9K0805LED current limit resistor
R922.6K0805ISET resistor → 3A current request
SW1SW_DIP_x06SMD P=1.27mm6-position voltage selection DIP switch
TP1TestPointPad D1.5mmVSET bus test point
U1HUSB238_xxxDDWDFN-10 3×3mmUSB-PD sink controller IC

Project Files

FileDescription
USCB-PD.kicad_schKiCad schematic
USCB-PD.kicad_pcbKiCad PCB layout
USCB-PD.kicad_proKiCad project file
USCB-PD.jpgBoard render

References

Parts

24
QtyValueFootprintReferences
34.7uFCapacitor_SMD:C_1206_3216MetricC2, C3, C4
249.9KResistor_SMD:R_0805_2012MetricR5, R8
110Resistor_SMD:R_0805_2012MetricR3
1100nFCapacitor_SMD:C_1206_3216MetricC5
110KResistor_SMD:R_0805_2012MetricR2
114KResistor_SMD:R_0805_2012MetricR6
118KResistor_SMD:R_0805_2012MetricR7
11uFCapacitor_SMD:C_0805_2012MetricC1
122.6KResistor_SMD:R_0805_2012MetricR9
15.1KResistor_SMD:R_0805_2012MetricR4
16KResistor_SMD:R_0805_2012MetricR1
1AONR21307AONR21307:DFN8_3x3_EP_AOSMOS
1Conn_01x02Connector_PinHeader_2.54mm:PinHeader_1x02_P2.54mm_VerticalJ5
1HUSB238_xxxDDPackage_DFN_QFN:WDFN-10-1EP_3x3mm_P0.5mm_EP1.8x2.5mmHUSB
1LEDLED_SMD:LED_1206_3216MetricD1
1LOGOLOGOG***
1SW_DIP_x06Button_Switch_SMD:DSHP06TS-SSW1
1Screw_Terminal_01x02TerminalBlock_4Ucon:TerminalBlock_4Ucon_1x02_P3.50mm_VerticalJ4
1SolderJumper_2_BridgedJumper:SolderJumper-2_P1.3mm_Bridged_Pad1.0x1.5mmJP1
1TestPointTestPoint:TestPoint_Pad_D1.5mmTP1
1USB_C_Receptacle_USB2.0_16PConnector_USB:USB_C_Receptacle_JAE_DX07S016JA1R1500J1

Questions

How big is the USCB PD PCB?

It measures 23.1 × 34.5 mm and has 2 copper layers, 1.6 mm thick.

What parts does the USCB PD use?

24 parts, built around the AONR21307. 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 USCB PD KiCad files?

From the Will946/USBC-PD repository on GitHub, at the commit this page was made from: the board is USCB-PD.kicad_pcb and its schematic USCB-PD.kicad_sch. PCBKit opens the board in the browser, with nothing to install.

Can I use the USCB PD 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).

Similar boards

  • 6 layers190 × 140 mmLatest, the printed circuit board in 3D

    Latest

    dennisss/dacha

    Monorepo for awesome tools/projects/libraries

    442 parts397Apache-2.0
  • 2 layers68.7 × 22.9 mmBurnwing, the printed circuit board in 3D

    Burnwing

    CubeSource/Burnwing

    A burnwire release mechanism development board. Featherwing form factor.

    75 parts4
  • 2 layers162 × 40 mmNano supply v2b, the printed circuit board in 3D

    Nano supply v2b

    xx0x/nano-supply

    Compact open source Eurorack USB-C power supply.

    54 parts1CERN-OHL-P-2.0
  • 2 layersMotherboard V2, the printed circuit board in 3D

    Motherboard V2

    jserra7d5/ece-capstone-motherboard-v2-pcb

    30 parts
  • 2 layers80 × 85 mmLight controller base, the printed circuit board in 3D

    Light controller base

    M41T3/USB-PD-Table-Lamp

    Table Lamp with USB PD Light Controller

    105 parts
  • 2 layers45 × 30 mmSparkleboard5v, the printed circuit board in 3D

    Sparkleboard5v

    TemuWolverine/Circuits

    A collection of PCB designs and KiCad stuff

    37 partsMIT
  • 2 layers55.6 × 15.5 mmUsb c power, the printed circuit board in 3D

    Usb c power

    MicroLind-Developers/microlind-hw

    Hardware repository for the microlind project

    16 partsCERN-OHL-P-2.0