peng-zhihui/x-cube-usb-pd — explained in plain English
Analysis updated 2026-07-18 · repo last pushed 2018-02-14
Build a custom USB-C charger or power bank that negotiates voltage and current automatically.
Add smart USB Power Delivery support to a device using a low-cost STM32 microcontroller instead of a proprietary chip.
Use the discrete-component hardware variant to cut manufacturing cost on a custom power-switching design.
Study a real, standards-certified implementation of the USB-PD protocol as a reference.
| peng-zhihui/x-cube-usb-pd | alphapixel/eric-graham-1987-juggler-raytracer-1.0 | redteamfortress/pplshade | |
|---|---|---|---|
| Stars | 56 | 54 | 54 |
| Language | C | C | C |
| Last pushed | 2018-02-14 | — | — |
| Maintenance | Dormant | — | — |
| Setup difficulty | hard | hard | hard |
| Complexity | 5/5 | 2/5 | 5/5 |
| Audience | developer | general | researcher |
Figures from each repo's GitHub metadata at analysis time.
Requires building or sourcing one of two certified hardware variants and flashing the STM32F072 microcontroller.
Firmware that turns a low-cost STM32 microcontroller into a full USB Power Delivery controller, letting a device negotiate charging voltage and speed over USB-C without a dedicated PD chip.
Mainly C. The stack also includes C, STM32F072, STUSB1602.
Dormant — no commits in 2+ years (last push 2018-02-14).
Setup difficulty is rated hard, with roughly 1day+ to a first successful run.
Mainly developer.
This repo across BitVibe Labs
double-check against the repo, no cap.