Welcome to XDA

Search to go directly to your device's forum

Register an account

Unlock full posting privileges

Ask a question

No registration required
Post Reply

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

OP spadival

4th April 2013, 06:48 AM   |  #1  
OP Senior Member
Flag Sydney/Melbourne
Thanks Meter: 83
 
227 posts
Join Date:Joined: May 2005
Donate to Me
More
Description

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






SOFTWARE+HARDWARE REQUIREMENT
  • Android 4.0.3 device with the Android Open Accessory framework intact (Some device manufacturers strip this out). You can use this great app to check).
  • USB OTG capability is required if you use PL2303x or FT232 USB-to-Serial chip.
  • OTG capability is not required if you use FT311D/FT312D chip.
  • A Custom DIY dock adaptor/cable made up of simple, readily available components (See 2nd post for details and schematic).
  • For pre-2013 Hyundai car audios, A HC05 Bluetooth module can be used (See 3rd 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

Last edited by spadival; 9th June 2014 at 11:12 PM. Reason: Update for V3.0
The Following 25 Users Say Thank You to spadival For This Useful Post: [ View ]
4th April 2013, 06:49 AM   |  #2  
OP Senior Member
Flag Sydney/Melbourne
Thanks Meter: 83
 
227 posts
Join Date:Joined: May 2005
Donate to Me
More
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
Last edited by spadival; 9th June 2014 at 12:18 PM. Reason: slight change in schematic
The Following 15 Users Say Thank You to spadival For This Useful Post: [ View ]
4th April 2013, 06:50 AM   |  #3  
OP Senior Member
Flag Sydney/Melbourne
Thanks Meter: 83
 
227 posts
Join Date:Joined: May 2005
Donate to Me
More
HC-05 Bluetooth
HC-05 Bluetooth schematic for Hyundai Pre-2013 car audio

Since Hyundai schematic does not use 3.3v Accessory detect, HC-05 Bluetooth module connected to a USB cable can be used.

However, the HC-05 need to be configured with the AT command to the correct baud rate and the Bluetooth device name has to be changed to PodModeBT for it to work with PodMode app.

Please google for instructions on how to enable and run the AT commands on HC-05.
Code:
AT+NAME=PodModeBT
AT+UART=57600,0,0


We need only USB male plug (Shown as connector B above) to be wired to the HC-05 BT chip as shown below
594099938_799 by spadival, on Flickr


Process to connect with PodMode app
1. First, pair the android device with PodModeBT bluetooth device in Settings>>Bluetooth. (Default pin is 1234)
2. Once pairing is successful, open PodMode app.
3. The app will try to connect and once connected, the status on PodMode screen will change to "Connected.."
4. Now you are good to go
Last edited by spadival; 9th June 2014 at 11:09 PM. Reason: Switched posts
The Following 2 Users Say Thank You to spadival For This Useful Post: [ View ]
6th April 2013, 11:34 AM   |  #4  
OP Senior Member
Flag Sydney/Melbourne
Thanks Meter: 83
 
227 posts
Join Date:Joined: May 2005
Donate to Me
More
Change log
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.

24/09/2013
9/06/2014
  • Added support for Bluetooth HC05 chip.
Last edited by spadival; 9th June 2014 at 11:10 PM. Reason: Switched posts
The Following User Says Thank You to spadival For This Useful Post: [ View ]
6th April 2013, 06:09 PM   |  #5  
scotte9999's Avatar
Senior Member
Flag San Diego
Thanks Meter: 79
 
227 posts
Join Date:Joined: Feb 2008
More
Wow, nice hack!

Does USB go to pins 12 _and_ 16?
7th April 2013, 12:45 AM   |  #6  
OP Senior Member
Flag Sydney/Melbourne
Thanks Meter: 83
 
227 posts
Join Date:Joined: May 2005
Donate to Me
More
Quote:
Originally Posted by scotte9999

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)
Last edited by spadival; 11th April 2013 at 01:36 AM.
The Following User Says Thank You to spadival For This Useful Post: [ View ]
13th May 2013, 06:40 PM   |  #7  
Junior Member
Flag Catanzaro
Thanks Meter: 0
 
7 posts
Join Date:Joined: May 2013
I want to connect the ttl interface to car usb to simulate an Ipod. What kind of connection I have to do?
16th May 2013, 07:40 PM   |  #8  
Junior Member
Flag Catanzaro
Thanks Meter: 0
 
7 posts
Join Date:Joined: May 2013
Quote:
Originally Posted by simulatorhck

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
17th May 2013, 10:22 PM   |  #9  
OP Senior Member
Flag Sydney/Melbourne
Thanks Meter: 83
 
227 posts
Join Date:Joined: May 2005
Donate to Me
More
Thumbs up
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.
Last edited by spadival; 18th May 2013 at 12:12 AM.
The Following 2 Users Say Thank You to spadival For This Useful Post: [ View ]
18th May 2013, 09:58 AM   |  #10  
Junior Member
Thanks Meter: 1
 
1 posts
Join Date:Joined: May 2013
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??

The Following User Says Thank You to Afromac For This Useful Post: [ View ]
Post Reply Subscribe to Thread

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

Advanced Search
Display Modes