aj0070/usb-pd-supply
A 2-layer USB‑C PD power board with STUSB4500 negotiation, SCT2330 synchronous buck conversion using a 10 µH inductor, adjustable VOUT, INA219 shunt current/voltage monitoring over I²C, and status LEDs/connectors.
- Version
- 1.0.0
- License
- unset
- Stars
- 0
Use with the tscircuit CLI
tsci is the tscircuit CLI. Install it with npm install -g tscircuit.
tsci clone aj0070/usb-pd-supply # download the package files into ./usb-pd-supply
tsci add aj0070/usb-pd-supply # add it to your project as @tsci/aj0070.usb-pd-supplyIn a cloned or new (tsci init) project: tsci dev starts a local preview, tsci build outputs Circuit JSON, and tsci push publishes to tscircuit.com.
README.md
# USB-PD bench supply
Small adjustable bench supply powered from a USB-C PD charger, 50 x 35 mm, 2 layers.
## On the board
- USB-C receptacle with STUSB4500 PD sink controller negotiating a 12-20 V contract
- Input bulk capacitance and TVS on VBUS
- SCT2330 synchronous buck converter with inductor, bootstrap cap and output caps
- Adjustable output (about 3.3 to 12 V) set by a feedback divider with a trimmer
- INA219 current and voltage monitor on I2C with a Kelvin-sensed shunt in the output path
- P-FET output enable driven by the PD controller's power-good output
- 2-pin 5 mm screw terminal output, I2C header, status LEDs
## Notes
- The feedback divider assumes a 0.8 V reference; check the SCT2330 datasheet before trimming.
- At 12 V output the output P-FET sees about -12 V Vgs, which is its rated limit; use a P-FET with more Vgs headroom or a gate clamp for 12 V and above.
- The switch node and feedback loops are functional but not as tight as a production layout would want.