> I am designing a device that can learn remote controls in the field, > optimally without a PC. I am interested in an IR learner that would > analyze and encode IR signals, and make those results available to a > microcontroller so that we could reproduce the code. Has anyone seen > such a component or device, or worked towards that end? I designed something like this for a client a few years back. Can't help with code or too much information but I don't recall it being too difficult. I used a 16F84 and used the fact that the remote sent the data several times. First determine the carrier frequency (there were only a couple of values) and save that information. Then determine the minimum useful bit time and then sample at that rate to create a bitstream which is stored. No effort was made to decode it as the remote just had to regurgitate the bitstream. IIRC, there was one system that toggled a bit with each send and one (Sky TV) that used a baseband method. I think all the consumer ones we tried worked. It's not an 'off the shelf' solution but knowing that it is possible and the general method is a big step forward. Steve. ====================================================== Steve Baldwin Electronic Product Design TLA Microsystems Ltd Microcontroller Specialists PO Box 15-680, New Lynn http://www.tla.co.nz Auckland, New Zealand ph +64 9 820-2221 email: steveb@tla.co.nz fax +64 9 820-1929 ====================================================== -- http://www.piclist.com hint: The list server can filter out subtopics (like ads or off topics) for you. See http://www.piclist.com/#topics