#9 Making USB-C deliver 5V
HTML-код
- Опубликовано: 21 авг 2024
- UPDATE:
I figured out the reason that one cable is not working: the usb-c connector I'm using has CC1 and CC2 lines shorted together, so you have to cut one of them off and solder its own resistor. Video update:
• #12 Update: Making USB...
TL;DW: cut the connection between CC1 and CC2, then add a separate 5.1k resistor to CC2.
USB-C cables/devices are complicated. This was my attempt to simplify one aspect: how to get 5V from a usb-c cable.
I bought these connectors on AliExpress. Out of the box they only work with USB A to USB C cables, so they require some modifications before you can use a pure USB type C cable with them.
-------------------------
Affiliate links:
USB-C connectors: s.click.aliexp...
Resistors that will fit: s.click.aliexp...
Excellent video. I like it when you show your difficulties, it's much more useful than videos that pretend that everything is easy.
It looks like you only added the 5.1K resistor to one of the CC pins. Doing this will cause a USB-C to USB-C cable to work in one orientation but will not work when the connector is flipped 180deg. C to C cables only have one CC wire which allows for power negotiation as well as for determining connector orientation by observing which CC pin has a connection and which is open. You need to add a 5.1k to both CC1 and CC2, or you can also short CC1 and CC2 together, then use one 5.1k to ground. Shorting the CC pins is not normally done but in a simple power application like this, it's not a problem.
I realize this video is a couple years old now, but thought that explanation may help someone who is confused by this.
You are right, I added only one 5.1k resistor because this board has cc1 and cc2 lines shorted together, which was part of the problem. I posted an update to it where I separated the lines and added separate resistors to each one (#12). Thanks for your detailed explanation!
i was cracking my head about this. Thanks a lot
Thank you so much. This is exactly what I was looking for.
Well you just soldered the resistor just to one of the CC pins, did you try reversing the cable? That's why you could see in the diagram you found on the internet that both CC lines must be pulled down via their respective 5.1 kOhm resistors
yup, that was my problem. hence why i added a new video
Muito obrigado por passar seu conhecimento sobre isto, que Deus vos abençoe!
I wish USB C was sized as USB A then each user could "do something" and it's getting popular now with visible pads.
nice bro. thanks so much👍
Exactly what I was searching for. Did you check how many amps @5V can you draw using this method ?
I haven't tried to push for the limit, but I was getting 2A reliably.
THX for your help. Great
To the USB-C designers, why? Just why? Does everything have to be so difficult?
this is why: xkcd.com/927/
thank you, it worked
Thank you!!
Thanks!
I got one usb board and the resistor was 56kohm. Think designer stuffed up.
The usb type c module still works, but cannot be connected to new phone. I make one, the xiaomi mi5 still some time use quick charge, the mi mix2s can not be connected at all. But i dont know this mod would work
I have an Alienware Tactx keyboard I’m converting to USB C in for a removable cable.
Gonna have to try this when ever the new break out boards arrive.
Even though I’m using an A to C cable there’s no power. A few days ago, using the tester board I found, I grounded CC and the lights came back. Still no keyboard inputs, trying to find a resistor that will work now.
It’s being a real pain because this keyboard has double the wiring, should I disconnect the wiring and run the internal wiring to a hub internally? Or would just the resistor work?
i'm not sure what sort of double wiring it has. a USB-A (for usb2.0) port should only have 4 wires. if the keyboard is usb3.0, then you can check this website, it has a helpful diagram for mapping the pins: thecustomizewindows.com/2019/09/difference-between-a-usb-type-c-and-a-micro-usb-connector/
so if i just use USB-C to USB-A(usb2.0) charge+data cable without any modified to the breakout board will ut stil work?
correct, those don't need any modifications.
@@UNgineering Thank for reply, good to have someone confirm it.
Are you able to do PD out of this type C connector? 9v or 12V?
Unfortunately not. This is a "dumb" connector. In order to get 9V or more from usb-c you need to negotiate with the power supply.
Hey. Have you figured out why Apple cable does not give voltages? I'm facing the same problem the other way around (made a USB c to a USB-c cable with resistors on both sides) It does give 5v when plugged into a regular charger, but not Apple charger. I did some digging and found that Apple products have a handshake so they work with MFI products only, not sure though.
The Apple cable wasn't working because it needs 5.1k pulldowns on CC1 and CC2, I made an updated video about it: ruclips.net/video/_ZPFp-FdBVY/видео.html
@@UNgineering That's nice, but since both configurations pins are shorted to one pad, why didn't it work with one resistor on that pad? Meaning why two separate resistors?
@@af6727 that was part of the problem - CC1 and CC2 lines are shorted, which apple cable see as shorted to SBU pin (because it's in the same position on the opposite side). Most devices don't use or care about it, but evidently Apple does, that's why I had to separate them.
@@UNgineering You is the real deal. Thanks!
How many amps can you get with it?
the pull-down resistors only specify the voltage, since there's no PD negotiation. the current limit is set at the source, so if it can provide 2A, you'll get 2A, but if it maxes out at 500mA, that's all you get.
Making usb c 15v
can't do 15v with passive components. you'd have to negotiate with PD chip
Hi! Is there any chance at all I could get your discord? I'm attempting to do a similar project and just have some questions
Sorry, I don't have a discord account. But you can post your questions here, I'll try to answer them, if I can.
On cc1 and cc2 what would I need to do to make the usb c negotiate 12 volt from pd
you'd need a usb-pd trigger board to negotiate with the charger; it can't be done with resistors alone, at least that's as far as my knowledge goes