How to: Decoding mini and micro-USB cables' identity resistor with a Garmin GPS

 

This method is valid for my Nuvi 1350. It should work with all Garmin models as long as internal R1 is the same.

It's no easy task sticking probes into mini-USB male cord end, so I hope you find this useful for reverse-engineering all kinds of USB-cables, both mini, and micro(with the use of mini-to-micro conversion dongle.

Garmin uses assortment of resistors to identify the cable type.

Places your Garmin GPS into diagnostic mode.

Use a web calculator like this for quickest result.

http://www.raltron.com/cust/tools/voltage_divider.asp

Plug in R1 = 10,000
R2 = (cable resistance you're solving for)
V in = 2.25
V out =(key in the "voltage ID" value form diag screen)

On a regulator calculator you would do:
(10,000 x displayed volts)/(2.25-displayed volts) to solve for cable.

I wasn't sure if Nuvi used constant current method like a DMM or voltage divider. Turns out its the latter.
Here is how it works.
+2.25v--(R)--(pin-x)(cable resistor)--Gnd

On my unit, I determined that open circuit voltage is 2.25v, and short circuit current from pin-x to ground is 225µA. I found that the current varies with resistance as well. So the resistance is 2.25/2.25E-06, therefore 10kohm.

---
Determining the internal divider value:

If not all Garmin models use R1=10kOhm... Do let me know if this is the case. You will need a precision resistor of a known value between 10 and 50k ohms. It doesn't really matter what value as long as its about between those values and you know the exact value.

Plug in the value shown for Voltage ID with nothing connected for Vin. Plug in the known resistor's value for R1. Attach the resistor between the frame ground and 2nd pin from left with the wide end facing down and looking into the connector. This is probably the hardest part. Press it up against a window and have someone read the number from the other side. Once you get this value, simply key this in for Vin.

Not sure why I need to know

this but can you just measure the value of the resistor with an ohm-meter and not require extra cost of precision resistors?

--
260, 295W, 1490T,2455LMT

Why and for what purpose?

Why would I want to know or need to know this?

I have a mini USB cable for the 855 and an adapter to fit mini to the new connector for the 3790. So basically one USB cable for two different Garmin GPS's.

--
Nuvi 2797LMT, DriveSmart 50 LMT-HD, Using Windows 10. DashCam A108C with GPS.

.

Melaqueman wrote:

Why would I want to know or need to know this?

For those that wish to build their own Garmin clone cable. IMO, not worth the hassle (yes, I have made one so I speak from experience). Still useful info though.

--
nuvi 760, nuvi 765T, nuvi 855, nuvi 3790LMT, nuvi 3490LMT - SoCal area

good for clone cables and charging cables--

Many USB devices use this trick, particularly to determine charge current levels.

The most common approach is to set D+ and D- to a combination of 2.0 and 2.75 volts to tell the device what charge current levels are supported.

see for example:

http://voltaicsystems.com/blog/choosing-usb-pin-voltages-for...

--
Nuvi 2460, 680, DATUM Tymserve 2100, Trimble Thunderbolt, Ham radio, Macintosh, Linux, Windows

How To: Decoding Mini And Micro-USB Cables' Identity Resistor

Good to know. I thought they were all simply 5 volts!

Nice !

Nice reverse engineering Falcon, nice work and great write-up ! Thanks...! Now, back to my Arduino project.

Some run at 3.30v

I brought out my old Nuvi 200. This one runs at 3.30v with nothing attached. I confirmed that the voltage divider is still 10 k ohm.

I think the voltage at the pin is simply the core voltage.

So, you would still plug in 10,000 for R1, but use 3.30 for V in

reason

Melaqueman wrote:

Why would I want to know or need to know this?

There is no Garmin cable that hooks up to USB that does 1A.

So, if you want to charge from a USB hub or external battery that supports 1.0 to 2.1A, you will have to build it, which is why I did this.

You just got to try out different charger cords at Salvation army and such, this is a good way to find one that will register as about 14.7 k ohm (for straight power).

You could also use it to decode cables to see the needs of other devices.

Why would I want to know

Melaqueman wrote:

Why would I want to know or need to know this?

Because you WILL be QUIZZED on it tomorrow morning!
LOL