ipod + arduino
by anaid on Feb.02, 2009, under thesis, wearables
Today I worked on getting the Arduino and ipod to play together. Here’s how:
the pod breakout board, sold by sparkfun, connected like this:
what’s going on here is:
pins 1 and 11 go to ground
pin 12 (tx) goes to arduino pin rx (digital pin 0 in my Diecimila board)
pin 13 (rx) goes to arduino pin tx (digital 1) WITH a 1k resistor to power. I’m using 3.3 volts. This seemed to fix the bug where the ipod sends too many commands at once.
the loose yellow wires are my improvised switch.
i consulted this documents:
- the pinout for the ipod breakout from pinouts.ru
- the ipod linux resource for understanding the commands.
- Rosie Daniel’s ipod remotes step by step.
- iPod serial accessory protocol.
- a good intro to hex
thanks to John Schimel for the code!
