Hey guys i cant find any usefull guide on how USB c charging works in depth. In particular i have bought a pair of Sony headphones which i would like to make wireless change so I also bought a crappy wireless coil meant to convert a phone into wireless charging. i opened the headphones, located the ground and 5v pin coming from the USB connected the circuit and surprise the charging led doesn’t light … The charging board is separated from the main board so I checked the flat cable that connects them, found the 5v and gnd ,spliced into it, and the led light lit as if it was charging. the next morning the led was of signaling the headphones are full, unfortunately after powering them on the battery status indicated was still 20% as the evening before … Have I done anything wrong ? What about that phase when they negotiate the power output with a magic resistor ? What should I try next? Thanks in advance 👍🏻

  • litchralee@sh.itjust.works
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 months ago

    Two things come to mind with USB C charging that’s usually different than micro USB or prior standards. First is that some USB C circuits are tightly coupled to battery charger circuitry. The idea is that if the pack voltage is higher than standard 5v, then it may be advantageous for USB C to request one of the higher voltages from the wall-power block. But I think this is unlikely, if the photo you’ve included is of the board in question; there would usually be the leads for the battery pack attached to the same board.

    Second, USB C – unlike every other USB spec preceding it, I think – requires the sense resistors on the consume side before any power is supplied, even low-current 5v that we would otherwise expect. What’s probably happening with the LED becoming lit is that it’s probably indicating a data connection, as if you connected to a computer.

    • DNOSOP
      link
      fedilink
      English
      arrow-up
      1
      ·
      edit-2
      9 months ago

      Thanks your comment is really helpful I will dig into the link you send tomorrow … In the meantime what is the likely solution? find a resistor and permanently solder it on, the problem is that I would like to keep both USB and wireless charging options ( I don’t think it has any data capabilities) again thank you so much for your answer

      • litchralee@sh.itjust.works
        link
        fedilink
        English
        arrow-up
        0
        ·
        9 months ago

        You might try the resistors first, although in such a way that it could be removed if that doesn’t work. If you have correctly found the D+ and D- lines broken out from the USB C connector, and added resistors to those, I can’t see how that would cause an issue with the wireless charging; they should be mostly independent, since if there’s no USB power supply attached, the resistors won’t be sensed anyway.

        • DNOSOP
          link
          fedilink
          English
          arrow-up
          2
          ·
          9 months ago

          Thanks the only issue It might rise Is that when charging It automaticaly shuts down so if It detects the resistore as charging It might never Power on … i Will update you guys in the near future thanks a lot 👍🏻

        • DNOSOP
          link
          fedilink
          English
          arrow-up
          0
          ·
          edit-2
          9 months ago

          Hey I’m just scratching the surface of how deep this topic really is, I have read some articles and at this point I’m really confused, if I plug the USB cable in and search for 5v pads what will I found the vbus line which at the moment is the cc ? Or the d+ with the bc1.2 ? And how do I know what standard is it using at the moment ? Anyway from the wireless charger I only get 3 cables out 5v gnd and ID (keep in mind I have bought wireless chargers with the lightening plug because I wasn’t aware of such a complicated standard and they were cheaper anyway since now it doesn’t work I will bui proper USB c Qi chargers … ) So as I understood I should add a 5.1 k resistor in series with the cc because the charging board is expecting a pull down right?

          • litchralee@sh.itjust.works
            link
            fedilink
            English
            arrow-up
            2
            ·
            9 months ago

            I will note that I’m not an expert in the plethora of USB charging standards. Quite frankly, USB C is almost like black magic to me. With that said, finding the D+ and D- lines might be tough unless you’ve got a USB C charging cable you’re willing to cannibalize.

            That is, what you can do is carefully splice into such a cable, then connect it to the board and a USB charging block. By probing the wires, you can rule out the power wires, which should leave you with the D+ and D- wires. You would want to do this with a cable that’s meant only for changing, such as USB C to USB A. That way, there would only be four wires inside. If you cut open a USB C to C cable, you’ll have a lot more wires that you have to check.

            Once you identify the D+ and D- this way, you can then do continuity checks from those wires to various pads on the board. In this way, you’ll eventually find your D+ and D- pads, and can then add your temporary resistors, to see if that works.

            As for identifying the USB charging spec in use, that’s going to be tougher. I think there are test devices that take the place of a USB charger and can display or change the spec, but I’ve never used such a thing.

            • DNOSOP
              link
              fedilink
              English
              arrow-up
              2
              ·
              9 months ago

              Thanks so much for your help I will make some tests and hope for the best I now at least know that’s a lot more complicated that what it seems yeah definitely black magic to me too 😂 kinda ironic the universal name if u then have thousands of different standards