PIC 8-Channel Sony SIRC Decoder Demo - Sony Remote Control Signal Decoding Demo (PIC16F1827 & Assembly Language).
This microcontroller project demonstrates one of many ways to decode Sony SIRC infrared remote control data. The assembly language program in this project borrows a method or algorithm found in a similar SIRC decoder project published by David De Vleeschauwer. I believe David's method is very well thought out and should be relatively immune to noise and IR interference. More on this later.
There's a page titled "" in the source code repository on PICLIST that's probably worth checking out. I'm using this method to test if the IR signal low and high pulse widths are within a given range. In this case, I'm checking for a value in the range of 2200 to 2600 usecs. Of course the numbers are being scaled by 64 to match TMR0 resolution of 64-usecs so what we're really looking for here is a TMR0 value in the range of 34 to 40 (64-usec 'ticks') to qualify a ~2400-usec "start" pulse.