This project is a USB-C Power Delivery source made using ESP32-S3, two LM311P and some resistors and transistors. For quite some time I wanted to make a power delivery source but I don't really like SMD, and there was no real power delivery solution that was not using a dedicated (SMD) IC. This is why I designed this charger, one that only uses one comparator and a few resistors to RX/TX per CC line. V1 is completed which supports up to 100W with e-marked cable, handles PPS and communicates with different sinks such as my Samsung phone. V2 is going to have EPR up to 48V and 240W. Hardware docs, schematics and lessons learned: https://github.com/GilbertzRivi/ESP32S3-PowerDelivery-Source
V1 is complete and working. Communicates with my phone and can charge it without any issues. For V2 i just got 240W cable and some ideas to make my sniffer just a little bit more useful. Now the STM32 blackpill sits on the board with PA0 soldered to one CC line (from the protected ESP32 side) with a 1k resistor. This works, but in case when the protection circuit fails in some way that malforms the signal, I wont see it on the probe. One better way of doing this would be making this another board with two pass through ports and its own protection instead. That's what Im going to work on next.