Universal Remote Code

Here’s a helpful library that allows one to add simple IR control to projects

The library implements the NEC IR protocol, so set up the universal remote for any NEC device (TV, DVD, VCR, …) and the 32-bit codes should be received.

The example sketch provided just prints out IR codes as they’re received, so it’s good to run that sketch to see what codes the remote is sending, so they can later be used to trigger specific actions

Aah, libraries make code look clean! – Hardware and software details in the Arduino forums – Control Arduino with Universal Remote

Infraredcontrol Arduino Crop
Infrared remote control receiver for Arduino