We have seen several infrared projects in the past that used IR and IR receivers to seamlessly work with other electronic devices. IR is among the most popular methods of communications for home electronics (specifically TVs and stereos). The question is, how can you capture the signals of a remote control and then use them to control your own projects.
The seven part tutorial on making an infrared IR receiver that receives data commands from a Direct TV remote control. The steps take you through the basics of building a workable IR system with low cost components like microcontrollers, LEDs, resistors, op-amps and diodes. Walk through the tutorial and you will end up with a pretty good idea of the theory behind infrared communication and how to use it to control your projects.[Link]