Project for small power supply using a USB Type-C Power Delivery (PD) trigger to negotiate 20V, step down for logic power, and provide up to 28V 3A output. Monitors real-time voltage and current using an INA219 sensor and displays them on an OLED.
- USB Type-C PD trigger (set to 20V)
- Buck converter (20V ➔ 5V)
- Buck-boost converter (input 20V, output adjustable up to 28V)
- INA219 current/voltage sensor (I2C)
- 0.96" OLED (SSD1306, 128x64, I2C)
- Arduino-compatible board (Nano/Uno/ESP32 etc.)
- Clone this repo
- Install PlatformIO
- Edit
platformio.inias needed for your board - Build and upload:
pio run -t upload