Head-Fi.org › Forums › Misc.-Category Forums › DIY (Do-It-Yourself) Discussions › Does anyone have the iPhone LOD pinout?
New Posts  All Forums:Forum Nav:

Does anyone have the iPhone LOD pinout? - Page 8

post #106 of 264
OK, can someone explain this to me:

I have an iPhone 3G that I want to hook up to my head unit through the back AUX/CDC port. I also have a working car charger that takes 12V in and has a USB port for charging that works with the iPhone.

NOTE: For the record, the charger outputs 5V, 2.8V, 2.0V and GND on the USB pins.

I hook up the left/right/gnd audio pins in the dock connector to the audio pins on the head unit. I also hook up pins 11/15/16 to pin 21 through a 66K ohm resistor (actually two 33K in series). Everything works great, no "not designed for iphone message".

I hook up the USB pins in the dock connector to the car charger and the power for the charger to the 12V/GND lines in the AUX/CDC port of the head unit. The phone charges, but I only have left audio. The right audio is instead various electrical noise - not noise on top of the audio, just noise. I unplug power from the car charger without unpluging anything else and immediately I have left and right audio again.

Also wierd is when the USB charger is attached, about every 4th or 5th time I attach the connector to the iPhone I get a "this device is not compatible with the iPhone" message - but it's a slightly different message than I used to see.

Any ideas?
post #107 of 264
Is it possible some of your wires are touching inside the connector? It seems like maybe one of the USB pins is touching that audio channel, resulting in it overpowering whatever audio was coming through that channel with noise.
post #108 of 264
Originally Posted by Juaquin View Post
Is it possible some of your wires are touching inside the connector? It seems like maybe one of the USB pins is touching that audio channel, resulting in it overpowering whatever audio was coming through that channel with noise.
Unlikely. At the dock connector, audio is pins 2/3/4 while USB is pins 16/23/25/27 at the other end of the connector. On the other end of the cable the pins are definately not touching.

I'm wondering if the 66K ohm resistor could have something to do with it? Maybe if I replaced that resistor with one of the more commonly used values it would work right (but have the "not for iPhone message). The only problem is that soldering on the connector is so tough that if I try and re-solder anything I'm pretty sure the connector will get destroyed.
post #109 of 264
Juaquin is right about the noise. It sounds like the right channel is shorting to something, like shorting a speaker with a 9V battery. Did you disconnect the entire USB connector or just the 5V rail when right channel starts working? Recheck all your connections and make sure you know for a fact which side pin 1 is on. Also, there are no "commonly used values" for the iphone (hence the last half of this thread). All that "commonly used" information you will find is based on the old IPODs and the associated peripherals. There are no "made for the iphone" products out yet. You can modify them to get them working by floating pin 21 but that's it. The 66k is why you aren't getting the "not made for iphone" message, at least the first four times..
post #110 of 264
I've triple-checked all my connections and can't find anything shorting, but it's hard to check at the dock connector itself due to the size.

Here's the setup - the left/right/gnd audio pins (2/3/4) are connected to the left/right/gnd audio pins on the back of my head unit. Pins 11/15/16 are shorted together. Those pins are connected through the 66K resistor to pin 21. The combination of 11/15/16 (consider it one pin now) and pins 23/25/27 (the USB pins) are connected to a USB connector. That USB connector is pluged into a car charger and the power for that charger (12V/GND) is connected to the 12V/GND (not audio GND) lines at the back of the head unit.

Using the cable like this I only get left audio and right noise. If I unplug the 12V/GND to the car charger, I get left/right audio.

I just don't see how in the worst possible case I could be shorting anything except maybe pin 1 (also a GND of some sort), but I my multimeter says I'm not...
post #111 of 264
Is your charger stepping down the voltage to 5V or does it go into the phone as 12V straight from your wire harness? Does the phone go into charging mode with the line-out hooked up?
post #112 of 264
I'm thinking of doing a conversion of a XtremeMac 'Incharge Auto' charger XtremeMac InCharge Auto, Black to also have the line out in a separate cable. The charger works great, no 'This accessory' message.

What I was thinking is to copy the pinout they have for the charger feature, but just add in (with a new connector) a LOD feature.

Then, I'll have a split connector out of my iPhone 3g. One for charging, one for LOD.

The cable on the Incharge is so long, I'll use part of it to make my LOD cable, and everything will 'match'.

post #113 of 264
jedi, do you have a multimeter with a connection test (where it will create a tone if the two terminals create a circuit)? This would make it really easy to test if various pins are touching - just put one lead on each pin (from wherever you can access the pin, top or bottom or even leads to them) and if it beeps, we have a problem.

Other than that I'm not sure why only one channel would be affected like this. Maybe that channels wire accidentally came in contact with a shield on a cable, and at some point that shield is hitting something on the USB power circuit? I'm just guessing here.
post #114 of 264

I just tried my board with the 66kOhm resistor. It seams to work quite well. I only received the popup message (not designed for the iPhone) once from about 20 tests.

I am able to charge the iPhone, the line out works very good (left and right) and I can send commands over the serial interface.

I am still not able to make a phone call over the line out! Does anyone have any further ideas?

post #115 of 264
I am still getting the accessory warning when I plug in my line out cable to my iPhone 3G. I'm using a 66.5 kOhm resistor from Digikey (part no. 66.5KXBK-ND) between pins 21 and 30 (GND). I am also connecting pin 11 to pin 30 (GND). Does the resistance need to be exactly 66 kOhm and do I need to connect all the ground pins to eachother? Any help would be appreciated.
post #116 of 264
Wigging: mine was exactly 66kohm just because that was the sum of what I had available. According to the dock, it is 357k in parallel with 82.5k + the channel resistance of the IC. Do you have a potentiometer you could play with? Ideally, the best way to get the resistance value would be to plug the phone into the dock and then measure pin21 to GND. Mine was broken so I couldn't do it. BTW, Digikey has a resistor kit that is inexpensive.

Ludi: I'm glad it kind of works. The value must have to be very accurate or we're missing something. Do you have to be jailbroken to play with RS232 (so much potential)? With regard to the phone call over line out, could you be more specific as to what it's not doing? Does the audio start coming from the phone speaker? It might not be possible...
post #117 of 264
Today I connected the iPhone to my own car adapter several times. I receive the message unsteady (about every 10 try).
If the iPhone is unlocked (the screen) the message does not appear, but if the iPhone is locked (press power button) I receive the message sometimes. Maybe the resistor with 66k is not the right one.

For using the RS232 the iPhone needs to be jailbroken, but I use only the standard calls from the iPod functions, therefore this is not necessary. Now I can use my steering wheel (car) radio buttons to jump to the next song and so on. That works fine!

I connected the line out from the phone to the line in from my car radio. For example if I hear music (iPod functions) and than receive a phone call you can hear the ring ton over the car speakers. But If I accept the call the speech switches to the iPhone speakers! If possible I would like to hear the phone call over the car speakers as well.
post #118 of 264
For the record, I've solved my problem of noisey left-only audio when charging - I was being an idiot. I didn't short any lines at all, but I swapped the audio ground and right audio lines. Once I built a new cable I saw the problem and corrected it, the problem went away.

Thanks to everyone for the help.

Oh, and I can confirm that using a 66K resistor (actually two 33K resistors in series) or a single 68K resistor I don't ever have the "not for iPhone" message. It seems very solid and consistent for me.

This 66K-68K info is great - I think this is the only forum online that has that info. Everyone else seems to still be in the dark about the iPhone 3G.
post #119 of 264
post #120 of 264
Originally Posted by ridax View Post
Considering the price of admission into the 'Made for iPhone/iPod' program, I'm betting the same.

Good thing the subscription service worked before you edited your post
New Posts  All Forums:Forum Nav:
  Return Home
Head-Fi.org › Forums › Misc.-Category Forums › DIY (Do-It-Yourself) Discussions › Does anyone have the iPhone LOD pinout?