In this tutorial i will show you how to decode the Sony SIRC protocol and control the home appliances like bulb, fan etc with the Sony remote control. Infrared remote control has been around for a very long time now. Each manufacturer use different set of protocols. For example, RC80 is used by Panasonic, RC5 is used by Philips, and SIRC is used by SONY, which is one of the simplest to decode.
Modulation is used to prevent the other light sources interference. This modulation is center around different frequencies depending on manufacturer and varies from 32KHz to 56KHz. In the case of SONY, the modulation center is 38-40KHz which means we need a IR-receiver that can receive the modulation infrared light and convert it to a TTL signal for a PIC. There are a number of IR-receivers available, each having a specific center frequency that they are more sensitive too.You can use whatever you want just remember the pin outs; i am gonna use to local IR receiver.