Making the Arduino act like an Apple Remote

Hi there,

I'm having some problems with my Arduino project. What I want is a simple, wired, Apple Remote to use on my iMac. All the inputs on the Arduino work, but now I need to send a signal over the USB cable to the iMac, and I need the iMac to interpret the signal so it knows what to do. How do I do this? I need some sort of program on the Mac that listens on the serial port, and sends a keyboard-like signal when it receives the appropriate input.

I hope you guys can help me out. I've tried making a wireless (IR) remote, but I'm having reception issues, and I want a robust system that 'always' works. Hope you can help me out!

  • Hylkepylke

what arduino are you using? if it's one of the recent ones with the atmega serial converter chips you should check out the firmwares that let the arduino itself act as a usb keyboard.

hylkepylke:
I need the iMac to interpret the signal so it knows what to do. How do I do this? I need some sort of program on the Mac that listens on the serial port, and sends a keyboard-like signal when it receives the appropriate input.

You can use processing platform, it has an IDE similar to Arduino IDE and you could quickly wite a small sketch to interpret data from the serial port and perform keyboard actions. for more info visit processing.org
You could also use the Arduino Leonardo which acts like a Keyboard/Mouse to give direct inputs.

Hope this Helps :slight_smile: