View Single Post
Old January 4th, 2010, 07:34 PM   #30 (permalink)
Junior Member
Join Date: Dec 2009
Posts: 19
Carrier: Not Provided

Thanks: 0
Thanked 0 Times in 0 Posts

Originally Posted by tehstup View Post
Long post ahead, Cliff notes:
Droid should be capable of analog audio in/out over the data port.
MicroUSB port is a CEA-936-A Compliant car kit port.
I have done some testing and have not been successful.
There are MicroUSB to 3.5mm plugs on the market that supposedly work for the droid but i have not seen any posts saying whether or not they do work nor have i gotten ahold of one for myself.

I signed up just for this. I have the same exact desire and did not want to settle on using bluetooth or pluging in the headphone jack. I did some research and found that the droid can do audio over usb, at least it is in the design. The micro USB plug was designed into the phone to be a OTG CEA936-A compliant plug. What that means is that it must do what we want it to.

The microUSB plug has a 5th pin that is not standard to the regular USB plug. the 5th pin is an ID pin. The droid uses it to tell what mode its data port is being used in. Supposedly, there are 3 modes - USB, UART and Analog. A resistor from the ID pin to ground on the cable side is what tells the phone what mode the data port is in.

In the analog mode, the D+ Pin becomes a microphone input and right speaker output and is switched by the phone (ie, the D+ pin is a microphone input when in a call and is right speaker output when not in a call). The D- pin becomes the left speaker output, regaurdless of whether you are in a call or not. The ground pin is used for the speaker and microphone negative connections.

i opened up my "multimedia" dock (what a joke) and spliced into the cable in there. i used a prototype board so i could easily change resistor values and then hooked up the D- and Ground pins to a volt meter to see if i could get some audio out of the usb port with different resistor values.

so far, i have had no success. i believe the key to cracking this is in the resistor value needed, so far, all i have tested is a 200kOhm and 400kOhm (actual resistances were 220k and 440k, go 10% quality resistors!)

if anybody has found a copy of the CEA-936-A specification book, it should have the appropriate resistor values needed to get the analog mode for the droid. from there, i would need to test to see if you can charge while in Analog mode, as that would be a final criteria needed for my project to be complete.

I found a MicroUSB to 3.5mm adapter on ebay but i havent seen any report whether or not it works on the droid. i need to make a radio shack run today anyways, so i will have to see if i can find one and report back what i find.
I found this on Wikipedia:
OTG Micro Plugs
The USB On-The-Go standard introduces a new plug receptacle called Micro-AB. It can accept either a Micro-A plug or a Micro-B plug. Micro-A Adapters allow for connection to Standard-A plug type USB cables, as used on standard USB 2.0 Devices. An OTG product must have a single Micro-AB receptacle and no other USB receptacles.[6][7]
The OTG cable has a micro-A plug on one side, and a micro-B plug on the other (it cannot have two plugs of the same type). OTG adds a fifth pin to the standard USB connector, called the ID-pin; the micro-A plug has the ID pin grounded, while the ID in the micro-B plug is floating. The device that has a micro-A plugged in becomes an OTG A-device, and the one that has micro-B plugged becomes a B-device (see above). The type of the plug inserted is detected by the state of the pin ID .
Three additional ID pin states are defined[6] at the nominal resistance values of 124 kO, 68 kO, and 36.5 kO. These permit the device to work with a USB Accessory Charger Adapter which allows the OTG device to be attached to both a charger and another device simultaneously.[8] These three states are used in the cases of:
A charger and either no device or an A-device that is not asserting VBUS (not providing power) are attached. The OTG device is allowed to charge and initiate SRP but not connect.[8]
A charger and an A-device that is asserting VBUS (is providing power) are attached. The OTG device is allowed to charge and connect but not initiate SRP.[8]
A charger and a B-device are attached. The OTG device is allowed to charge and enter host mode.

Is this what you need?

Good Luck!
bwanna is offline  
Reply With Quote