ESP32 USB-C Power Supply
The Github site to download the code and design files is available here: https://github.com/mike-rankin/ESP32_USB-C_Power_Supply
A video of the project is available here: https://www.youtube.com/watch?v=B5UGXPlmMGQ
The idea for this ESP32 usb-c power supply project came to me when I discovered that components exist that communicate to parts inside usb-c wall chargers. These parts send out a request to the charger asking it to deliver specific voltage and current values if possible. Small chargers cannot deliver as much power as the larger ones. The small navigation button allows the user to select values with the top button as a power switch.
Hardware design instead of software is my strength so Larry Bank (https://github.com/bitbank2) was kind enough to write the software. I've changed a few things around and damaged it so it is still work in progress.
To upload an Arduino sketch to the board it is connected to a pc using a USB-C cable but the output is only ever +5V. When the board is plugged into a dedicated usb-c charger like the 60 watt apple one that I use, multiple voltages and current options are available. Text on the back of your charger will let you know what values are available.
A +5V LDO with a maximum input of 36V provides power to the CP2104N USB-C interface chip. Current consumption is so low for this part that and LDO will not get warm.
Because the ESP32 current draw a few hundred milliamps, an earlier revision using an LCD was too hot when +15v and +20V was selected. (power=voltage x current) A small switching buck power supply with a maximum input of +40V now runs cool.
Measuring current draw at every voltage would be ideal so I've chosen the INA199 because at this time it is the only component that I can find in stock. Right now it's performance not good so I will try and find something better for the next revision.
ESP32 USB-C Power Supply
*PCBWay community is a sharing platform. We are not responsible for any design issues and parameter issues (board thickness, surface finish, etc.) you choose.
- Comments(0)
- Likes(16)
- Engineer Oct 13,2024
- Engineer Sep 14,2024
- Engineer Jul 13,2024
- Isaque Costa Jun 24,2023
- Engineer Jun 18,2023
- Jacob L. Apr 17,2023
- Engineer Jan 03,2023
- Engineer Jan 11,2022
- Engineer Dec 09,2021
- Engineer Oct 15,2021
- Timothy Findlay Oct 11,2021
- Engineer Sep 06,2021
- Nicu Gabriel Aug 25,2021
- Bo Nielsen Aug 16,2021
- Salim Safran Aug 09,2021
- Ben Epstein Aug 02,2021
- 2 USER VOTES
- YOUR VOTE 0.00 0.00
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
- 1
- 2
- 3
- 4
- 5
- 6
- 7
- 8
- 9
- 10
-
8design
-
9usability
-
10creativity
-
8content
-
8design
-
9usability
-
8creativity
-
8content
More by Mike Rankin
- ST32G030 Development Board After years of only working with only with Arduino, I made this STM32 dev board. Getting used to the...
- ESP32 USB-C Power Supply The Github site to download the code and design files is available here: https://github.com/mike-ran...
- ESP32 Pico D4 Dev Board ESP32 Pico D4 project with 0.66" Oled Display This design was an experiment using new to me par...
- ESP32 IOT Color CoinCell This ESP32 internet of things dev board with has an accelerometer, 80x160 pixel 0.96" color TFT LCD ...
-
-
-
kmMiniSchield MIDI I/O - IN/OUT/THROUGH MIDI extension for kmMidiMini
131 0 0 -
DIY Laser Power Meter with Arduino
205 0 2 -
-
-
Box & Bolt, 3D Printed Cardboard Crafting Tools
178 0 2 -