How-To: Design your own iPod super dock (Part 1)

This one goes out to everyone that has an iPod or two laying about and an itchy soldering iron and thinks that the standard USB or Firewire dock just isn't quite good enough. The tiny thirty pin dock connector on the bottom of later model iPods contains quite a few connections and we want to take advantage of all of them: audio, video, serial, USB and Firewire. Today, we're bringing you part one of a How-To series on designing and building your own iPod super dock.
In this first part we'll be shopping for parts and preparing to design the super dock. The idea of building a dock with every connection available has been around for a while. It came up on the iPodLinux forums long ago and more recently a prototyping version was featured on Hack-A-Day. To find out just what the dock connector has to offer, we checked out pinouts.ru. Twenty five of thirty pins on the connector are used to deliver line level audio in, out, composite video out, a TTL level serial port, 3.3 volts out (handy for powering accessories), Firewire and USB.
The most challenging part to acquire is the actual iPod dock connector. Others have sacrificed cables, but new connectors are easier to work with. We picked up ours from Ridax on the iPodLinux forums, but lately Spark Fun Electronics started to carry them. (Spark Fun is out of stock today, but they assured us that more are coming in very soon) The connector we used is actually designed for making cable assemblies. The tabs are very small, and you'll probably turn into Smeagol go nuts trying to solder to them.
For the rest of the connectors, we visited Mouser electronics. Here's what we bought (Mouser's part numbers are listed):
- 538-53460-0621 6 pin 1394 PCB Connector
- 571-7877801 'B' USB Connector
- 161-4223 3 way RCA Phono Jack: Red, White and Yellow
- 152-3309 D-Sub 9 pin Connector
- 161-0096-E Red PCB Phono Jack
- 161-0097 Black PCB Phono Jack
To try our hand at soldering wires to the tiny connector, we made this handy travel charger just before a long, long, long plane ride. (The TSA guys actually laughed at it) Trust us, wiring this up took some patience. Forum user holto2go suggests placing a small piece of paper between the pins to ease soldering.

Because we want to use all of the pins, we decided to mount the connector directly to a pc board. A small screw driver was used to slightly spread the pins of the connector, and it fit very snugly around the edge of our board.
We considered using a fine tip sharpie to lay out the connector lines, but there's still alot of board design left to do, and it's not very clean looking. In the end, we decided to lay out the custom connector in the latest version of our favorite freeware layout software: EAGLE.
To get started on the custom connector we measured the pins of the connector with our digital calipers. It's pretty challenging to measure the tiny connectors with much accuracy, but our measurements gave us a great place to start. We're going to skimp on some of the details because Instructables has a nice how-to on making your own parts in EAGLE.
To get the width of the pins just right, we printed out test rows with our laser printer and compared it to the pins on the connector.

We found that a .016 inch thick SMD pad was the right width, and starting with a grid size of .0205 inches we made test layouts of 15 pins, printed them out on a laser printer and compared the width to the actual part. Through a few iterations we settled on a grid that was .0195 inches wide. To provide plenty of surface area, we made the pads a generous .140 inches wide. The pads alternate red and blue to indicate the top and bottom of the board. To make it look good, we added an approximation of what the dock connector looks like. Lastly we numbered the pads in order with the name command.

Next we made a simple schematic layout. It's just a box with the 25 active connector pins. Then we named each pin. We did a couple of repeats, because EAGLE doesn't want to link a schematic pin to two physical pins.

To bring together the symbol and the package layouts, we created a new device called the ipod-dock-connector. Within the package definition we associate the pins on the physical package with the pins in the schematic version. Now all the really tedious stuff is finished and we can start laying out the actual connections.
If you want to start playing around with your own dock designs, you can download the library we created for EAGLE here. Just place it in the "lbr" directory under the main EAGLE program directory. We'll continue the project in next week's in Part II. We'll be designing the dock and laying out the board using EAGLE. From there we'll make our own PC board and complete the super dock faster than you can say "iPod on fire."
















Can i have complete circuit diagram of iPOD and its charger circuit diagrams.
I'm sure many of us have thought about doing something like this... I hope part 2 or even part 3 has info about controlling the ipod through the dock. I've always dreamt about a super dock in my car with buttons on the stearing wheel for controlling the ipod and who knows what else could be possible with a custom dock like this.
Great! I can't wait for the next part...
Just out of curiosity, did you try to measure the distance in between just 2 pins, or did you measure the distance across an entire row and divide by the number of pins? That just came to mind...
But hey, cool writeup! Too bad I have a shuffle...
-Taylor
I ordered some of these same connectors (from ridax < THANKS) Not a week ago I put a similar project together. I used one to build a cable for my car, not only does the ipod charge (without a transformer) but it plays over my pioneer head unit without the sucky sound quality of FM transmitters. All one cable, and the only cost was the connector itself. I did not even need to buy one of those Aux. input boxes for my pioneer... I used http://stereophonik.com/gutterslide/IP-BUS_Hack/
Works flawlessly!
I did spend all day soldering those connections though!
BTW- You can remove the pins! just use a gentle touch and (preferably) rubber coated needle nose pliers. I had to resolder many of my connection because the pins themselves kept breaking.
This is great. I have been wanting to do this for a while and now i can. I cant wait for the next part. Thanx alot
This could be a fun project. I have a 3rd Gen and my gf has a Nano. I would love a cradle that could do everything and wasn't $99 like crApple is charging.
Timmay
I had the same problem as firepyroandy and kept breaking pins. I've never etched a PC board but I think it's about time to learn.
Always need more money to buy more tools.
I built an iPod car dock into the ashtray of my car. But this I used a Belkin car charger with line out, that I striped down.
Does this mean that you could plug Ipod(s) into a circuit bent casio synth/Keytar and make things go totally loopy?!
Here is the link to the CAD software http://www.cadsoft.de/. We had to use the Eagle Board Layout software for my senior project. It is an ok app it just has a lot of odd quirks that take a little time to get used to.
for parts I was thinking using those super cheapo Cellboost charger http://www99.shopping.com/xPO-CELLBOOST_CELLBOOST_Instant_Power_for_your_iPod_or_iPod_Mini they only cost about 8 bucks in radioshack, or riteaid, can they be disected and reuse the connector?.
good thing that you guys came out with the pin layout.
No. 11 - Ale
I dont think that this "CELLBOOST" for the iPod will have all the pins you will want for a full blown dock connector.
Just order a bunch of them off of RIDAX, use what you can, and sell the extras for profit :)
Coolwave:
to remotely control the ipod would more likely be through the connection next to the headphone jack, which is only a 4-pin out, so it shouldn't be hard to figure out
i got a simpler solution then all this
check out my forum
http://www.rush2112.net/phpBB2/viewforum.php?f=7
its IPOD Dock talk only...no other ipod junk
also, u have to join to see the pictures
but what i did was design a cable and had it made in china... i got lucky i met the right person, normally they want 1000 pieces, i got 100
i also designed a pc interface, and wrote a nice ipod explorer software... all there is my forum
i have all the commands in the software, its to aid with microcontroller development, which i already did a IPOD to Sony XES interface :)
Still to this date the IPODLINUX wikki is backwards
correct dock pinout is on my forum
and more details there
mitch
mitch: I know that the pin numbering that has been documented through reverse engineering has the pinout backwards compared to the one you have. As long as you specify how you number the pins, I don't see why it should matter that much.
jeht: You can remote control the iPod through either the headphone jack/remote connector (on pre-nano versions) or the dock connector.
Will the female connectors from the stores work in the same housings as the male connectors. I just want to make a simple extension and want it to look good, otherwise I'll have to mod something out of plastic.
of course Ridax, but the people who made the connector define where pin 1 is, someone change the wikki, my DATA is right from APPLE!
mitch
mitch: I feel you are just confusing people when you say the iPodLinux page is wrong. The pinout documented there is correct, as they also have documented how they number the pins (although the description is a little weak on this). It doesn't matter how you number the pins and as long as you just look at the iPodLinux documentation, and not the official Apple docs and mix the two, it doesn't matter.
mark: The female connectors will not fit in the male covers.
With a minor modification to the female connector, it will fit quite OK in one of the covers. The connector head needs to be glued into the cover, but it works quite good. The combination is now available for order at http://www.ridax.se
Hi, do you still build this cable? I want to buy one compatible with my iPod Classic 160gb and my iPod Touch 32gb. Do you sell it?
This may be the greenhorn question, but which is pin 1 and which is pin 30? I want to make a jumper for my car stereo so that I can disable the car stereo's button control of the iPod and use the touchscreen, I just want power and audio.
What is the pinout for the 9 volt battery? It is a very cool thing!
Waiting for Part 2 - ANYDAY NOW!!!!
I have a really good idea for an ipod. I all so like your website it is very interestning
Hope this isn't too much of a noob question, but does anyone have the official developer manuals for the ipods (developing dock devices, audio jack devices, specifications, etc.), if there is such a thing? Thanks for any who can advise.
I might be wrong here but don't you need something in there to regulate the voltage coming out of that 9V battery? all my ipod chargers say 5V output and as far as I know USB only has 5V output.
I'm trying to build the travel charger you show in the picture above. I bought the connector and I have all the necessary supplies, and the pinout from:
http://pinouts.ru/Devices/ipod_pinout.shtml
but the only thing I've managed to do so far is make the ipod screen go black. Is it as simple as soldering one wire to ground the other to the a power input or is there a step I'm missing? I tried many different combinations of the grounds and power inputs listed while hooked up to a power supply, and none of the combos make the little guy charge. I have an old 10GB ipod. Any suggestions?
Yup, it's that simple to make. There's an easy way to prevent shorts - grab your pliers and remove all the pins you don't need.
I use a 15w weller iron with a .5mm (or so) tip that I beveled with my dremel tool for an even finer point.
Will
This is fantastic. I came across it while searching for pinout info. I want to mod an iRiver AFT-100 FM car transmitter to interface with an iPod Classic. I got a bunch of them at the local $0.9999 store. Those connectors are great and cheap! I hope the pinouts are correct. I don't want to fry my iPod. Got it at Sam's Club so I could return it if I did but that would be a last resort. I'd rather do it right the first time. Does anyone have the pinouts for the AFT-100? It is for a U10 for the record.
I just got a replacement iPod nano (5g versus 3g) and it's incompatible with my Bose SoundDock.
1. When plugging it in, I got a warning that the iPod won't charge on it.
2. Some of the remote control buttons don't work, although the iPod will play through the dock speakers.
Apparently, Bose didn't follow Apple's recommendations and used FireWire pins (19 and 20?) to charge the iPod and they should have used the USB pins (23 and 16?). Bose will fix the dock ($99) or replace it ($179).
I found a pinout (below), and was wondering if there is a hack to bypass this problem, at least for the charging problem. The pinout has notes that seem to imply you can jumper between pins using resistors to get the correct voltage. I also thought you might be able to jump pin 18 (nominally 3.3 VDC, but apparently 5 VDC on some accessories) to pin 23 (this might work but not deliver sufficient power).
I haven't put a voltmeter onto the SoundDock yet to see what' s coming out of each pin.
http://www.allpinouts.org/index.php/Apple_iPod_-_iPhone_dock
I had previously been to http://mike.kruckenberg.com/archives/2006/06/add_aux_input_t.html and thought he had some good ideas. Ithought I'd go back, but Google claims there may be malware on the site (Warning - visiting this web site may harm your computer!), so I'm holding off.
Any thoughts?
I want the over all circuit diagram of ipod
Hello,
Does anyone have any idea how to connect the connector (which pins) so that I can use my car's 12v battery to charge the ipod and also which pins for left, right and screen so I can connect this to my aux input on my car radio.
Many thanks in advance
Matt
just found the answer to the female ipod to mini jack adapter at RIDAX
hey, i was wondering, could the serial output be used to link the ipod with a computer that does not have usb?
I have a iPOD docking connector board. When I place the nano iPOD into the docking station, it sez that" it's waiting for a video accessory to be inserted" Any comments on this???