Coder Social home page Coder Social logo

Comments (9)

blalor avatar blalor commented on July 28, 2024

I'm hoping that I'll be able to help with this. I have a Dension ice>Link:Plus (iPod adapter for some BMW & MINI cars) that's worked in Advanced mode with all of my iPhones. I bought a "sniffer" board from Ridax.se (because I was too lazy to make my own) and intend to use it to figure out what the differences are between your protocol implementation and the one they use.

from arduinaap.

finsprings avatar finsprings commented on July 28, 2024

Awesome! Let me know how it goes. I've since heard that neither mode works on an iPhone 4. Yet, my in-car iPod connector in my 2009 car works with my iPhone 4 so the protocol can't really have changed. My guess is the newer phones are more finicky about voltage levels or some other characteristic of the connected pins.

from arduinaap.

blalor avatar blalor commented on July 28, 2024

Simple mode works fine with my iPhone 4. That Dension adapter uses the simple and advanced modes. Some really new cars get much fancier and probably connect to the phone with USB (a la MINI Connected), but I'm confident that we can sort the advanced protocol.

from arduinaap.

finsprings avatar finsprings commented on July 28, 2024

Oh that's good to know. I'll have to check back with the couple of folks who said they had trouble then. Are you using the 500k resistor with the iPhone 4? I got a few in the unlikely event that 500k would work when 560k didn't, but it made no difference (and I haven't need the resistor at all for iPods).

I'm really pleased you're taking a look at this :-)

from arduinaap.

blalor avatar blalor commented on July 28, 2024

I'm using a 499k 1% resistor. For the most part, I'm limiting my testing to an old (but loved) Nano; I've implemented charging with the appropriate resistors to USB D+/D- which works perfectly for my iPhone 4, but I'm trying to limit the opportunities for frying that device while I'm working out the other stuff! I also had luck with 5 100k 5% resistors. I think that's the right ballpark, but I've seen references to 510k, 512k, and 470k, all of which are within a few percentage points of 500k. shrug

from arduinaap.

blalor avatar blalor commented on July 28, 2024

Hey, David. I just put my oscilloscope on the TX line from the Dension adapter to the iPod; the serial rate is 38400. If the iPhone's being super picky, that could certainly do it!

edit See this entry in my fork's wiki.

from arduinaap.

finsprings avatar finsprings commented on July 28, 2024

INTERESTING! The wiki said the default was 19,200 so that's what I went with. It's possible they switched to 38,400 or the old ones would autobaud down to that and the newer ones won't. It's trivial to change it to try it: in iPodSerial.h it's defined as a constant:

static const int IPOD_SERIAL_RATE = 19200;

from arduinaap.

ColinNg avatar ColinNg commented on July 28, 2024

I am able to use Advanced Mode on an iPhone 2G and an iPhone 4S. I'm using a 470K resistor on the sense line.

Also instead of using a 5.0 to 3.3V signal converter, I used a voltage divider on the iPhone Serial Rx ( Arduiono Tx --- 47K --- iPhone Serial Rx --- 170K --- GND ) and on the the iPhone Serial Tx side I simply piped the 3.3V signal into the Arduino Rx.

from arduinaap.

finsprings avatar finsprings commented on July 28, 2024

Nice colinng!

from arduinaap.

Related Issues (8)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.