Tiny11 iPod Remote Control

After getting an iPod Nano recently, I was thinking about ideas for add-on. Looks like an IR remote control can be easily designed along ATTiny11-6PC and a few discrete components.

iPod uses a protocol "Apple Accessory Protocol" to control iPod. The protocol is standard 19200 baud N81. The shortform protocol specification is here.
Another place to look at the protocol is ipodlinux.org

On the receiver side, AVR410 can be used to decode RC5 IR protocol. Any RC5 compatible remote control can be used.

Overall, the Tiny11 will receive commands from the RC5 IR remote and translate the command into the Apple Accessory Protocol commands (below) 

Play/Pause 0xFF 0x55 0x03 0x02 0x00 0x01 0xFA
Vol+ 0xFF 0x55 0x03 0x02 0x00 0x02 0xF9
Vol- 0xFF 0x55 0x03 0x02 0x00 0x04 0xF7
Skip >> 0xFF 0x55 0x03 0x02 0x00 0x08 0xF3
<< Skip 0xFF 0x55 0x03 0x02 0x00 0x10 0xEB
End Button 0xFF 0x55 0x03 0x02 0x00 0x00 0xFB

I have used AVR410 and AVR305 seperately in the past and have achieved good results. Tiny11 iPod remote firmware is just a matter of combining the two along with a lookup table.

If I get time (hopefully), I'll try to work on this idea :-)


Anonymous said…
I've been playin' w/ the tiny11, I've had luck getting it to do 19200baud w/ the internal clock, its very close to the limit for a 1Mhz clock.