DIY Apple Remote Shield for the Arduino

 by computergeek
Featured
Have you ever wanted to make an apple remote? Or maybe want to have one of your arduino creations be able to control iTunes on your Mac, your iPod, Or your Apple TV? Now you can! 

Awhile back I was working on a project that that I wanted to be able to start music the on my mac through the IR receiver. After a while of looking around I found this library which allows you to use your arduino as an Apple Remote. I integrated it in to my project and it worked great! So the other day I decided to make an Apple Remote shield for my arduino.

Note: Depending on the IR Led's you use, the performance of this can vary greatly.

 If you have any questions, comments, &/or suggestions. Please ask them.


Voting starts Nov 16th. So please come back & vote!
 
Remove these adsRemove these ads by Signing Up

Step 1: The Stuff:

Parts:
- Arduino
- 2 or 3 IR Led's
- 5 NO Momentary push buttons (NO Stands for Normally Open)
- Wire
- Perf-Board

Tools:
- Computer
- A-B USB Cable

Software:
- Arduino Software
- Apple Remote Library (This can be found in the step: Coding the Arduino!)
gomako says: Sep 20, 2012. 5:36 AM
There's a really good tutorial on capturing IR remote codes here -> http://www.ladyada.net/wiki/tutorials/learn/sensors/ir.html

Unfortunately, this sketch and library aren't working for me. I get an error when compiling that I don't understand. Something to do with the library. Blorp.
madrulzzz says: Aug 13, 2011. 2:12 AM
this is jus awesome.......
but cud u tell me why u are calling ars.play(),ars.left() etc.... three times in each if block...
do_too says: Jul 16, 2011. 10:10 PM
BTW, changed the <> to "" for the header file, works fine now, thanks for the great project and links to the Apple IR Lib, been looking for that for a while now!

Anyone know how to change (on the computer end) the codes or is that doable?
...as in creating new commands for the remote to tell the computer?

Thanks
do_too says: Jul 16, 2011. 2:21 PM
anyone have trouble with the ardy code compiling?

i.e."AppleRemoteSender does not specify type" (line 4)
kotofeiivanovich says: Mar 15, 2011. 12:44 PM
Have you ever tried creating an opposite project, i.e., reading the signals from apple remote, instead of sending them, to control the uC? Which photo-elements do I need for this? What's the frequency used in apple's IR remote controls? Are there any readymade libraries for atmel controllers?
supermaggel in reply to kotofeiivanovichMar 23, 2011. 1:35 PM
i'm looking for the exact same, apparently someone on the arduino forums allready did, but i couldn't find out what electronic components were needed. also, the technical details of the apple remote can be found on wikipedia: http://en.wikipedia.org/wiki/Apple_Remote
mrodal says: Dec 28, 2010. 1:37 PM
Great job. But which IR diodes did you use?
posox2000 says: Jul 26, 2010. 7:44 PM
Remote works! But.... apple react on next button pressing only every 5 sec. It is confusing when you want to adjust Volume. Do you have any suggestions where to look in the code? LCD flashing every time but computer ignoring them.
andrucha says: Jul 14, 2010. 4:37 AM
I can´t download the .pde file. How can I get it?
led235 says: Nov 30, 2009. 7:43 PM
 HOW DID THIS NOT MAKE IT TO THE FINALISTS!?!?!?!? THIS HAS GOT TO BE A JOKE THAT ITS NOT!!!
WHAT THE DEUCE!?!?!?
Radioactive_Legos says: Nov 9, 2009. 9:23 PM
Very nice!  LOL, according to hackaday, your IR LEDs are having a party!
zuixro says: Nov 4, 2009. 6:59 AM
Very cool. But why no Menu button?
computergeek (author) in reply to zuixroNov 4, 2009. 7:47 AM
I'm glad you like it! I didn't add a menu button because on my Apple Remote the menu button is kind of annoying & I didn't have another button handy. But if you want one you can hook another button up to pin 7, then use the code ars.menu(); to trigger the menu ir pulse.
joejoerowley says: Nov 3, 2009. 6:50 PM
 Great instructable! Very well documented. Congratulations on being featured on hackaday btw!
computergeek (author) in reply to joejoerowleyNov 3, 2009. 7:09 PM
 Thanks for the complements & pointing out that it was featured by hackaday.com! I probably would of never noticed that.
joejoerowley in reply to computergeekNov 3, 2009. 8:25 PM
No problem,
I tried to make a link and it didn't work last time. It won't be on the homepage forever so here is the permalink.


Pro

Get More Out of Instructables

Already have an Account?

close

PDF Downloads
As a Pro member, you will gain access to download any Instructable in the PDF format. You also have the ability to customize your PDF download.

Upgrade to Pro today!