5,598,779 Members 35,921 Now Online
XDA Developers Android and Mobile Development Forum

[APP][4.0.3+] PodMode - Connect ur Android device to iPhone dock/car audio interface

Tip us?
 
spadival
Old
(Last edited by spadival; 24th May 2013 at 01:02 AM.)
#1  
Senior Member - OP
Thanks Meter 64
Posts: 207
Join Date: May 2005
Location: Sydney/Melbourne

 
DONATE TO ME
Default [APP][4.0.3+] PodMode - Connect ur Android device to iPhone dock/car audio interface

Description

PodMode lets you connect your OTG USB host enabled Android device to an iPhone/iPod dock or car audio interface.






SOFTWARE+HARDWARE REQUIREMENT
  • Android 4.0.3 device with USB OTG capability and with the Android Open Accessory framework intact (Some device manufacturers strip this out). You can use this great app to check).
  • A Custom DIY dock adaptor/cable made up of simple, readily available components (See 2nd post for details and schematic).




FEATURES
  • No root required.
  • Plug and Play - the app will launch automatically in one of the 2 remote modes (decided by the accessory) and run in the background.
  • You can play and control media in any 3rd party media app that support media buttons.
  • Simple Remote Mode:
    • Speaker and Clock radio docks usually work in this mode.
    • You can play and control media in any 3rd party media app that support media buttons.
    • Preference to set the default media app to launch and control.
  • Advanced Remote Mode:
    • Car audio interfaces usually work in this mode.
    • Displays currently playing song info on the car audio system's screen.
    • Filter by Playlist/Genre/Artist/Album/Song
    • Notification display (** NEW **) - Status bar Notification text (mail/text/Nav turn-by-turn/weather) is displayed on car audio system's track information screen (Album/song name) for 15 seconds.
      NOTE:You need to enable this feature in the Phone Settings>>Accessibility>>PodMode.
    • Preference to set the default media app (** NEW **).
  • Unplug the USB and the app will pause playback and quit.
  • Preference to turn screen on - since some devices cannot supply USB host power in screen off/power save mode.
  • Preference to change the connection speed for different accessories.
  • Compatibility web page ( http://podmode.spadival.me/compatibility.php ) - List of iPhone/iPod accessories and Android devices where this app is working.
  • Supports 30-pin accessories that play analog audio ONLY (Not digital audio) and communicate via serial lines(not USB).

CREDITS

TESTED ON (Please help me expand this list further.)
Refer to the compatibility web page - http://podmode.spadival.me/compatibility.php





Screenshots

The Following 20 Users Say Thank You to spadival For This Useful Post: [ Click to Expand ]
 
spadival
Old
(Last edited by spadival; 10th April 2013 at 10:19 PM.) Reason: slight change in schematic
#2  
Senior Member - OP
Thanks Meter 64
Posts: 207
Join Date: May 2005
Location: Sydney/Melbourne

 
DONATE TO ME
Default DIY Cable

WARNING: DO THIS AT YOUR OWN RISK. I AM NOT RESPONSIBLE IF YOU SHORT WIRES AND DAMAGE THE DEVICE/ACCESSORY

(Mods: Not sure where this fits - If necessary, you may move this post to Hardware hacking).

COMPONENT LIST
NOTES
  • I am not going to tell you how to solder and what equipment you need (Get a multimeter at least!!). I have never soldered or used a multimeter before this, so hardly an expert! Plenty of guides out there to help you in the learning process.
  • Pinout numbers may be reversed on the pod socket (see last column here).
  • Most of these extension cables have pinout numbers on both male/female end PCB and all the wires are color-coded.
  • You can pry open the plastic casing without breaking it..or you can break the male end and trace the pinouts to their respective colour-coded wires. Since I didn't want the 5-6 unused wires hanging loose, I preferred to rip everything out and solder only the essential wires directly to the female socket PCB.
  • Make sure USB to serial is 3.3v and NOT 5v.
  • 30-pin extension cable manufacturers usually have the digital(1) and analog (audio) ground(2) pins shorted in order to scrimp on one lousy extra wire. But my untrained ear hasn't noticed any major interference. Minor interference I hear only when audio is paused is probably from the crappy LCD display on my el-cheapo tablet.
  • USB Y Cable isn't strictly necessary, but useful for devices that allow OTG charging.

Schematic

Pinout from http://pinouts.ru/PortableDevices/ipod_pinout.shtml


pinouts by spadival, on Flickr

Top view and Front view: Note how pins 1 & 2 are shorted. Ideally, they shouldn't be.

pinout2 by spadival, on Flickr

Link to largest size pic

PodMode cable_schematic by spadival, on Flickr


PodMode_cable by spadival, on Flickr
The Following 14 Users Say Thank You to spadival For This Useful Post: [ Click to Expand ]
 
spadival
Old
(Last edited by spadival; 10th April 2013 at 10:23 PM.)
#3  
Senior Member - OP
Thanks Meter 64
Posts: 207
Join Date: May 2005
Location: Sydney/Melbourne

 
DONATE TO ME
Changes
  • 11/04/2013 - Slight change in schematic - Moved USB Y Cable ground from pin 1 to 15/16. Note that these pins may be shorted on some of the extension cables anyway.
The Following 2 Users Say Thank You to spadival For This Useful Post: [ Click to Expand ]
 
spadival
Old
#4  
Senior Member - OP
Thanks Meter 64
Posts: 207
Join Date: May 2005
Location: Sydney/Melbourne

 
DONATE TO ME
Nobody up for some DIY?

PS: I can confirm the app works with FTDI USB to serial (3.3v) as well.
 
scotte9999
Old
#5  
scotte9999's Avatar
Senior Member
Thanks Meter 72
Posts: 202
Join Date: Feb 2008
Location: San Diego
Wow, nice hack!

Does USB go to pins 12 _and_ 16?
 
spadival
Old
(Last edited by spadival; 11th April 2013 at 12:36 AM.)
#6  
Senior Member - OP
Thanks Meter 64
Posts: 207
Join Date: May 2005
Location: Sydney/Melbourne

 
DONATE TO ME
Quote:
Originally Posted by scotte9999 View Post
Wow, nice hack!

Does USB go to pins 12 _and_ 16?
No. Pin 12 of the 30-pin dock goes to the TX line of the USB to serial converter. I have fixed the schematic and added more pics for clarity.(Link to largest size pic)
 
simulatorhck
Old
#7  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: May 2013
Location: Catanzaro
I want to connect the ttl interface to car usb to simulate an Ipod. What kind of connection I have to do?
 
simulatorhck
Old
#8  
Junior Member
Thanks Meter 0
Posts: 7
Join Date: May 2013
Location: Catanzaro
Quote:
Originally Posted by simulatorhck View Post
I want to connect the ttl interface to car usb to simulate an Ipod. What kind of connection I have to do?
I made it..It works. i'd prefer to use it with video playing are you working for others features?
Thank you
 
spadival
Old
(Last edited by spadival; 17th May 2013 at 11:12 PM.)
#9  
Senior Member - OP
Thanks Meter 64
Posts: 207
Join Date: May 2005
Location: Sydney/Melbourne

 
DONATE TO ME
Great!! Can you tell me what car audio accessory and android phone you are using? Some pictures and video of the working app+hardware would be nice too

I have added a few new features:

* You can now choose a media app for playback in Advanced Remote Mode. Earlier the playback was restricted to media available on your phone and was played back within PodMode (you can still do this). Now you can play & control Pandora/Spotify etc in your car.

* Notifications - in Advanced Remote mode, if you get an sms or use Google Navigation, the sms/turn-by-turn direction text is displayed on your car audio's Track information (Album/song name) display for 15 seconds. .. Edit: Sneak peek pics below. You can display just about any notification like weather or stock info.

* Compatibility webpage - List of accessories and Android devices where this app is working (Information to be crowd sourced on when app is launched for the first time and successful connection is established with the accessory)

* App UI layout improvements - it looks better now (At least I think so! )


Untitled by spadival, on Flickr


Untitled by spadival, on Flickr


Untitled by spadival, on Flickr

I haven't got much spare time to fully test the changes. I will try to upload the new version into Google Play as soon as possible.
The Following 2 Users Say Thank You to spadival For This Useful Post: [ Click to Expand ]
 
Afromac
Old
#10  
Junior Member
Thanks Meter 0
Posts: 1
Join Date: May 2013
Default Does the app only work with the custom cable??

Hi just bought a cable from cablejive.com called a samdock. its basically the same thing as the custom cable but without the audio jack. WIll the podmode app work with another cable or is it specifically designed for the diy cable above??

Tags
accessory, audio, car, dock, ipod
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes