I still really do not understand exactly what you want to do but, from a quick look at some of your other posts, that seems to be an ongoing theme.
The Scott DVD Player uses the NEC IR protocol with a carrier of 38kHz. Scott's custom code is 8. The NEC protocol is one of the oldest (if not the oldest) IR protocol. It is widely used by many AV manufacturers and is easily understood. There's a datasheet for one of the early NEC encoder chips on my webpage at http://davehouston.net/Nec6121.pdf.
If you want to capture these codes with a PIC, the best way is to use an IR receiver module which receives the IR, removes the carrier, and outputs the data envelope. I suggest the Vishay TSOP1100 which works with 33-57kHz carriers. If you also want to capture the carrier frequency use a photodiode on another pin and, if your oscillator is at least 8MHz, use PBP's COUNT for 1mS during the initial IR burst which is usually 2.5mS or longer with almost all protocols. The initial burst is about 9mS with the NEC protocol.
As it happens, I've posted code to send/receive, encode/decode the NEC protocol as RF. The only difference for receiving is the polarity - the IR receiver is active low where an RF receiver is active high. For sending, modify my RF code with Bruce Reynold's IR code which I cited earlier. You can even leave it at 40kHz but you'll need to use the NEC timing in my code. See http://www.picbasic.co.uk/forum/showthread.php?t=6261.




Bookmarks