IR Decode software (Sony and RC5) available for download
Posted: Mon Mar 17, 2003 10:35 am
We have posted some sample software that implements an interrupt driven method to decode both the Sony and RC5 (Philips) IR codecs. The routines use the EXT interrupt line which is tied to an IR demodulator (ex. TSOP4840). The software also uses Timer3 on PIC18FXX2 for timing and timeout checking. The software detects which codec by looking at the start bit timing. The routines are implemented as state machines that are called via the two interrupt handlers. The received messages are placed in a circular buffer to be processed by a main routine. Examples of how to handle continuous messages are also demonstrated.
Caveat: This code has not been tested with a remote that outputs the extended RC5 format.
Best Regards,
Dale
___________________________
This message was ported from CCS's old forum
Original Post ID: 12769
guest Guest
IR decode software
Posted: Tue Jun 08, 2004 6:35 pm
I appreciate this posting was made a long while back but would anyone know the location of this software?
Most CCS programs will have "use delay" in them. You must use
the quotes to make it be a phrase. Also put in "char" to help you
find actual source code. Then put your specific keyword at the end
of the string. Try variations of your keywords. If a keyword has
a dash in it, then quote the keyword to keep it as a phrase.
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum