#9 Making USB-C deliver 5V

แชร์
ฝัง
  • เผยแพร่เมื่อ 24 พ.ย. 2021
  • 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.aliexpress.com/e/_AY5Aws
    Resistors that will fit: s.click.aliexpress.com/e/_A2HecM
  • วิทยาศาสตร์และเทคโนโลยี

ความคิดเห็น • 38

  • @gusmartin6053
    @gusmartin6053 3 หลายเดือนก่อน +5

    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  3 หลายเดือนก่อน

      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!

  • @VFXnirvana
    @VFXnirvana ปีที่แล้ว +5

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

  • @user-nt8ug2tm5p
    @user-nt8ug2tm5p 2 ปีที่แล้ว +8

    i was cracking my head about this. Thanks a lot

  • @ash-tn6fl
    @ash-tn6fl 23 วันที่ผ่านมา +1

    nice bro. thanks so much👍

  • @mareknovak9881
    @mareknovak9881 8 หลายเดือนก่อน +1

    THX for your help. Great

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

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

  • @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/

  • @erandiromesha2365
    @erandiromesha2365 2 หลายเดือนก่อน

    thank you, it worked

  • @dereksavage8728
    @dereksavage8728 2 ปีที่แล้ว +1

    Thank you!!

  • @nehdiwmbcuow868
    @nehdiwmbcuow868 2 ปีที่แล้ว +1

    Thanks!

  • @chinhchinh6265
    @chinhchinh6265 29 วันที่ผ่านมา

    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

  • @HxMancia
    @HxMancia 8 หลายเดือนก่อน

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

    • @UNgineering
      @UNgineering  8 หลายเดือนก่อน

      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.

  • @flameboss555
    @flameboss555 หลายเดือนก่อน

    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  หลายเดือนก่อน +1

      correct, those don't need any modifications.

    • @flameboss555
      @flameboss555 หลายเดือนก่อน

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

  • @elektron2kim666
    @elektron2kim666 3 หลายเดือนก่อน

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

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

  • @Swenser
    @Swenser 7 หลายเดือนก่อน

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

  • @jeffjorczak
    @jeffjorczak ปีที่แล้ว +2

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

    • @UNgineering
      @UNgineering  ปีที่แล้ว +5

      this is why: xkcd.com/927/

  • @af6727
    @af6727 ปีที่แล้ว

    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  ปีที่แล้ว +1

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

    • @af6727
      @af6727 ปีที่แล้ว

      @@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  ปีที่แล้ว +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 ปีที่แล้ว

      @@UNgineering You is the real deal. Thanks!

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