PIC IR remote
Friday, October 14th, 2005Here’s the info on how to control a SONY TV. (caveat you may need to do some debugging.)
You need a 555 timer to generate the 40 Khz for you.
Your pic just turns on or off the 555 to transmit the appropriate data.
Circuit link.
SIRC codes explained.
SIRC code data format
My PICBasicPro code to implement this protocol.
Update:
Found a simpler solution. Use this IC from rentron. It will generate either a 40 or 38KHz carrier frequency for you. Use the PIC program above and connect the PIC pin to DATA IN of this IC. You need a 4Mhz clock, some pullup/down resistors, and the circuit to drive your IR LED…that’s it!