You may want to check out the Universal Infrared Remote (UIR) by Ties Bos at http://www.geocities.com/SiliconValley/Sector/3863/uir/ It's a 12C509 based generic IR-receiver. It does not 'decode' IR codes, just sends a unique string (via RS-232) for IR codes it receives. Even if you don't want to build a UIR, the circuit (and some coding) would be a way to detect 'arbitrary IR codes from arbitrary remotes'. The only limitation seems to be that different remotes use different frequencies, and the UIR will be most sensitive to the center frequency of the IR detector you use. Common values seem to be 36kHz and 38kHz. >Hi. I have a PIC-based device that is designed to learn IR codes so that it >can be controlled. > >The device has about a dozen functions that should be controllable from an >IR remote. However, it doesn't have its own remote control. Instead, I want >to be able to learn an arbitrary remote IR code from an arbitrary remote >controller, and then respond to that code whenever I see it (by "I" I mean >the device). -- http://www.piclist.com#nomail Going offline? Don't AutoReply us! email listserv@mitvma.mit.edu with SET PICList DIGEST in the body