Hi, sorry if this is posted in wrong section
I'm using homeassistant dashboard for my carplay so I guess it applies here
My honda has usb 2.0 port that's used for android auto/carplay but it charger my phone slowly.
I saw this post where someone made an adapter that separates the data for AA & to power the phone for fast charging.
Since he no longer makes them, I was wondering if I could make one myself but I'd like to clarify if the pin connections are correct?
It seems to be using 2 USB TYPE C 12 pins and 1 Micro USB. I will be using breakout boards to test it first
According to chatgpt, i simply need to connect these pins
• Type-C to Type-C: Connect only VCC and GND.
• Type-C to Micro USB: Connect only DP1/DN1 (or DP2/DN2) to D+/D-.
Is this sufficient to allow fast charging?
As for the microusb, would I still need to connect to the GND pin?
That's a very interesting hack. Let's start by quoting the description of the original author (emphasis in bold is mine):
rkoripalli wrote:
I have a 2017 Hyundai Santa Fe Sport with wired Android Auto that connects through a normal USB type A port. My phone is a Galaxy Note 10+ which has USB C PD (Power Delivery) and can charge at up to 45 Watts. The problem is when I connect my phone to Android Auto it charges at only 2.5 Watts just like plugging into a computer, which is horrendously slow and the phone actually discharges instead of charging even though it's plugged in. This has caused me problems several times at when my phone is about to die but I need Google Maps to get home.
The great thing about USB C PD over other fast charging methods is unlike Qualcomm Quick Charge, which uses the same data wires that Android Auto uses to communicate with the car, USB C adds additional wires for the charger and phone to negotiate the charging voltage. Knowing this, I designed a PCB that splits the power and data into two separate connectors, allowing me to connect the power side to a separate USB C Car charger that supports Power Delivery up to 30 Watts. The data side connects to the car's USB A Port as normal. This setup does add 2 additional cables but I was able to hide them in my car's center console pretty easily and I designed and 3D printed a custom dock for my car as a bonus. I had to drill a couple holes to pass cables through but I drilled them where they're not visible and on parts that are easily replaceable so I can easily undo this whole thing when I go to sell the car.
Even if you have a different phone and/or car you should be able to do a very similar setup. Any phone that supports USB C Power Delivery including newer Samsung phones and iPhones, will see much faster charging speeds. Just make sure you use a charger and cables that support USB PD. Even if your phone doesn't support USB PD, it should still be able to take advantage of charging at 5V @ 2A for 10W charging instead of 5V@.5A (2.5W) charging.
I have some extra boards that I'm selling on Tindie if anyone is interested in doing a similar setup.
Edit: Looks like a lot of people have this same problem. I'm running low on stock but because there seems to be a lot of interest I ordered some more boards. I should get them in a couple weeks and be able to ship them out.
Edit: I'm going to maintain a list of devices that work and do not work on the Tindie page.
Please keep in mind that I cannot guarantee this will work with your phone due to the huge variety of Android devices on the market. I'm just showing you what worked for me and making it available if you want to try it yourself. That being said I will do my best to provide instructions, tips and email support to ensure your installation is successful. For phones like the Pixel 4a and Pixel 5 there will be nothing I can do though.
I will maintain an up to date list on Tindie, so look there for updates.
Edit: Tried Pixel 4a again and it works! The USB C PD port didn't work but switching to the Quickcharge port worked. I assume this is because with no data connection the Quickcharge port supplies 5V 3A. Weird quirk of Pixel phones that seems to require 5V while using Andoird Auto. The Pixel 4a says "Rapid Charging" when plugged in. Just keep this in mind if trying it on a Pixel.
Edit: Using the Pixel 4a with a USB C power meter showed that while the phone says rapid charging, it's actually charging at 5V .5A. This means that you will not get any advantage when using this device with a Pixel 4a. The fact that it says Rapid charging leads me to believe that there is something in the firmware that prevents this from working. If you are on the waitlist hoping it will work with a Pixel then you may want to reconsider unless you have a rooted phone and just want to experiment, although I cannot guarantee that will work either.
So, if I understand correctly, he basically does something like that:
1. route everything from good charger to USB C connector...
2. except the D+ and D- lines, which do not go to charger, but to car
3. and, of course, ground has to be common (connected) for that to work
The following should really work, at least under assumption that it works as he said and D+/D- is not used to request quick charging, but only for data.
Added after 5 [minutes]:
So to answer your questions:
ferbulous wrote:
• Type-C to Type-C: Connect only VCC and GND.
In my opinion this is NOT correct. Do not listen to ChatGPT. Original author said:
Quote:
The great thing about USB C PD over other fast charging methods is unlike Qualcomm Quick Charge, which uses the same data wires that Android Auto uses to communicate with the car, USB C adds additional wires for the charger and phone to negotiate the charging voltage
So he is connecting those extra wires (additional wires for the charger and phone to negotiate the charging voltage). They are required for USB C charger to negotiate larger current.
ferbulous wrote:
As for the microusb, would I still need to connect to the GND pin?
The generic rule of thumb is that if we connect things together, they need a common ground. The same we do for flashing Tuya products, we also connect RX, TX, and GND to flashed device (sometimes also VDD). If microUSB is used for your, I don't know, radio, and it has separation from the GND of the cigarette charger, then it won't be able to tell the D+/D- signals without having a GND reference.
I haven't found the datasheet for the 12 pin type C yet so I'm just referencing this from the breakout board
Seems like:
Tyep C to Micro USB
DN2 & DN1 -> D-
GND > GND
DP2 > ??
Type C to Type C
CC1 > CC1
CC2 > CC2
SBU1 > SBU1
SBU2 > SBU2
GND > GND
VCC > VCC
I'mt still not quite sure if I map out the correct pin for the most left and rights pins (VCC & GND) for type C though.
I've already ordered the breakout boards, so should get them in a day or two
There are two ways you can approach this. Maybe three...
- you can check datasheets of USB C to figure out which pins are needed for PD charge in theory
- you can just buy two USB C breakouts and check it yourself by connecting wires
- alternatively, you can find a documentation for the board we are trying to replicate... or find a similiar project
I've tried searching and found the following graphic:
The lines you are asking for, marked DN1, DN2, DP1, DP2, on your picture, are actually D+ and D- on image above. They appear twice in the socket, it's because it supports both plugs orientations. So basically, you need to connect both D+ of USB C together and to the D+ of your microUSB. The same for D-.
So, on your image, assuming that you correctly marked pins, DP2 and DP1 go together to D+.