#9 Making USB-C deliver 5V

Sdílet
Vložit
  • čas přidán 8. 09. 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...

Komentáře • 42

  • @fantv525
    @fantv525 Před měsícem +1

    Excellent video. I like it when you show your difficulties, it's much more useful than videos that pretend that everything is easy.

  • @gusmartin6053
    @gusmartin6053 Před 6 měsíci +10

    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.

    • @UNgineering
      @UNgineering  Před 6 měsíci

      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!

  • @user-nt8ug2tm5p
    @user-nt8ug2tm5p Před 2 lety +8

    i was cracking my head about this. Thanks a lot

  • @VFXnirvana
    @VFXnirvana Před 2 lety +5

    Thank you so much. This is exactly what I was looking for.

  • @amilker2011
    @amilker2011 Před 27 dny

    Muito obrigado por passar seu conhecimento sobre isto, que Deus vos abençoe!

  • @herantd
    @herantd Před rokem +10

    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

    • @UNgineering
      @UNgineering  Před rokem +4

      yup, that was my problem. hence why i added a new video

  • @ash-tn6fl
    @ash-tn6fl Před 3 měsíci +1

    nice bro. thanks so much👍

  • @mareknovak9881
    @mareknovak9881 Před 11 měsíci +1

    THX for your help. Great

  • @elektron2kim666
    @elektron2kim666 Před 5 měsíci

    I wish USB C was sized as USB A then each user could "do something" and it's getting popular now with visible pads.

  • @HemantKumar-xn8mn
    @HemantKumar-xn8mn Před rokem +1

    Exactly what I was searching for. Did you check how many amps @5V can you draw using this method ?

    • @UNgineering
      @UNgineering  Před rokem +1

      I haven't tried to push for the limit, but I was getting 2A reliably.

  • @BowsettesFury
    @BowsettesFury Před 2 lety +1

    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?

    • @UNgineering
      @UNgineering  Před 2 lety

      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/

  • @chinhchinh6265
    @chinhchinh6265 Před 3 měsíci

    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

  • @jeffjorczak
    @jeffjorczak Před rokem +2

    To the USB-C designers, why? Just why? Does everything have to be so difficult?

  • @erandiromesha2365
    @erandiromesha2365 Před 4 měsíci

    thank you, it worked

  • @dereksavage8728
    @dereksavage8728 Před 2 lety +1

    Thank you!!

  • @Swenser
    @Swenser Před 10 měsíci

    I got one usb board and the resistor was 56kohm. Think designer stuffed up.

  • @flameboss555
    @flameboss555 Před 4 měsíci

    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?

    • @UNgineering
      @UNgineering  Před 4 měsíci +2

      correct, those don't need any modifications.

    • @flameboss555
      @flameboss555 Před 4 měsíci

      @@UNgineering Thank for reply, good to have someone confirm it.

  • @nehdiwmbcuow868
    @nehdiwmbcuow868 Před 2 lety +1

    Thanks!

  • @HxMancia
    @HxMancia Před 11 měsíci

    Are you able to do PD out of this type C connector? 9v or 12V?

    • @UNgineering
      @UNgineering  Před 11 měsíci

      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.

  • @sonicrollin
    @sonicrollin Před rokem

    On cc1 and cc2 what would I need to do to make the usb c negotiate 12 volt from pd

    • @UNgineering
      @UNgineering  Před rokem +2

      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

  • @bratizhka
    @bratizhka Před 10 dny

    Why all of you making 5v???
    How to get 9v Adaptive Fast Charging?

    • @UNgineering
      @UNgineering  Před 10 dny

      9V requires active negotiation, while 5V can be achieved passively and cheaply.

  • @raular5513
    @raular5513 Před rokem

    How many amps can you get with it?

    • @UNgineering
      @UNgineering  Před rokem +1

      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.

  • @af6727
    @af6727 Před 2 lety

    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.

    • @UNgineering
      @UNgineering  Před 2 lety +1

      The Apple cable wasn't working because it needs 5.1k pulldowns on CC1 and CC2, I made an updated video about it: czcams.com/video/_ZPFp-FdBVY/video.html

    • @af6727
      @af6727 Před 2 lety

      @@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?

    • @UNgineering
      @UNgineering  Před 2 lety +1

      @@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.

    • @af6727
      @af6727 Před 2 lety

      @@UNgineering You is the real deal. Thanks!

  • @sangamlal3611
    @sangamlal3611 Před 2 lety

    Making usb c 15v

    • @UNgineering
      @UNgineering  Před 2 lety

      can't do 15v with passive components. you'd have to negotiate with PD chip

  • @michaelsy.
    @michaelsy. Před 2 lety

    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

    • @UNgineering
      @UNgineering  Před 2 lety +2

      Sorry, I don't have a discord account. But you can post your questions here, I'll try to answer them, if I can.