Skip to main content

Soldered HUSB238 USB-C Power Delivery Breakout

This breakout asks a USB-C Power Delivery (PD) charger for a fixed voltage, 5, 9, 12, 15, 18 or 20 V, and passes it to a screw terminal and two header pins. The HUSB238 on the board handles the negotiation on its own, so you set the voltage and the current on two DIP switch banks without writing any code. Over I2C (a two-wire bus for talking to chips) you can also read what the charger agreed to and request a different voltage.

One DIP switch bank sets the voltage and the other sets the current request, 1.25, 1.5, 2, 2.5, 3 or 3.25 A. With every switch off, the board asks for 20 V and 3.25 A. If the charger does not offer the voltage you set, the HUSB238 takes the next lower one it does offer.

A P-channel MOSFET switches the output, and a purple LED lights while the output is on. A slide switch disconnects the board from USB-C. The I2C lines sit on their own 3-pin header at the fixed address 0x08, and the Soldered HUSB238 libraries for Arduino and MicroPython read the charger's status and request a voltage.

This documentation is for​

At a glance​

InterfaceI2C, fixed address 0x08
Main ICHUSB238, USB PD 3.0 sink controller
Voltage request5, 9, 12, 15, 18 or 20 V, by DIP switch or I2C
Current request1.25, 1.5, 2, 2.5, 3 or 3.25 A, by DIP switch or I2C (the Soldered libraries request only a voltage)
Voltage5 to 20 V out; SDA and SCL work from 2.5 to 5.5 V
CurrentUp to 3.25 A
ConnectorsUSB-C in; VOUT and GND on a 5.0 mm screw terminal and 2 single 2.54 mm pins; 3-pin I2C header
Dimensions54 x 22 mm, two 3.2 mm mounting holes
EnvironmentsArduino, MicroPython

What's in the box​

QtyItemNotes
1Soldered HUSB238 USB-C Power Delivery Breakout (main product)333376
1Header pins (unsoldered)Header pins included for all breadboard-compatible pins