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

Комментарии • 40

  • @fantv525
    @fantv525 18 дней назад +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 5 месяцев назад +7

    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  5 месяцев назад

      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 2 года назад +8

    i was cracking my head about this. Thanks a lot

  • @VFXnirvana
    @VFXnirvana Год назад +5

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

  • @herantd
    @herantd Год назад +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  Год назад +4

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

  • @amilker2011
    @amilker2011 9 дней назад

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

  • @elektron2kim666
    @elektron2kim666 5 месяцев назад

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

  • @ash-tn6fl
    @ash-tn6fl 2 месяца назад +1

    nice bro. thanks so much👍

  • @HemantKumar-xn8mn
    @HemantKumar-xn8mn Год назад +1

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

    • @UNgineering
      @UNgineering  Год назад +1

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

  • @mareknovak9881
    @mareknovak9881 10 месяцев назад +1

    THX for your help. Great

  • @jeffjorczak
    @jeffjorczak Год назад +2

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

  • @erandiromesha2365
    @erandiromesha2365 4 месяца назад

    thank you, it worked

  • @dereksavage8728
    @dereksavage8728 2 года назад +1

    Thank you!!

  • @nehdiwmbcuow868
    @nehdiwmbcuow868 2 года назад +1

    Thanks!

  • @Swenser
    @Swenser 9 месяцев назад

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

  • @chinhchinh6265
    @chinhchinh6265 3 месяца назад

    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

  • @BowsettesFury
    @BowsettesFury 2 года назад +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  2 года назад

      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/

  • @flameboss555
    @flameboss555 3 месяца назад

    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  3 месяца назад +2

      correct, those don't need any modifications.

    • @flameboss555
      @flameboss555 3 месяца назад

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

  • @HxMancia
    @HxMancia 10 месяцев назад

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

    • @UNgineering
      @UNgineering  10 месяцев назад

      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.

  • @af6727
    @af6727 2 года назад

    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  2 года назад +1

      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

    • @af6727
      @af6727 2 года назад

      @@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  2 года назад +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 2 года назад

      @@UNgineering You is the real deal. Thanks!

  • @raular5513
    @raular5513 Год назад

    How many amps can you get with it?

    • @UNgineering
      @UNgineering  Год назад +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.

  • @sangamlal3611
    @sangamlal3611 2 года назад

    Making usb c 15v

    • @UNgineering
      @UNgineering  2 года назад

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

  • @michaelsy.
    @michaelsy. 2 года назад

    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  2 года назад +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.

  • @sonicrollin
    @sonicrollin Год назад

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

    • @UNgineering
      @UNgineering  Год назад +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