I recently broke the male port of my USB-C laptop charger. I already got a new one, but I would like to fix and repurpose the old one to be the power for my Raspberry Pi 4 instead of throwing it out.
I ordered a 6 pack of USB-C male ports from Amazon thinking that it would be easy to solder it up especially that I am an electrical engineering student. I am now on the 6th try after knocking out some resistors, soldering the wrong pins, accidentally soldering pins together so I need to get this last one right.
My problem is that I don't understand what pins do what in this charger. The charger cable has red, black, blue, and white wires. The while and black wires are much thicker than the red and blues ones so I first assumed the following:
- Red: Vcc
- Black: GND
- White: Data +
- Blue: Data -
...but I am completely unsure if this is correct.
The fact that I get 0V across the red and black wires makes me even more uncertain than I already am. I'm guessing that there must be some enable wires (maybe CC) to tell a switch in the rectifier in the charger to start. But where do I connect it? How do I test it?
I used the image from Microchip in this link https://www.allaboutcircuits.com/technical-articles/introduction-to-usb-type-c-which-pins-power-delivery-data-transfer/ to try to figure out what might be what.
Please see the attached pictures for reference.