On Wed, 30 Jul 2003, Picdude wrote: > All I gotta do now is design/build a 38khz-carrier-wave circuit with some > different encodings from a few buttons. A PIC 12F629 should work well for > this, and should be fairly simple. > I tried that with a 555 oscillator running at 38KHz, going into an AND gate to which the other input was connected to my 16f84. I looked up the Philips RC-5 protocol and got it all working perfectly. I've since reduced the carrier wave generation to a few lines of code so I have a 1-chip remote control solution. I found that the carrier wave had a 1/3 duty cycle, but if you want to cheat I can send you my code :) Tim -- http://www.piclist.com hint: To leave the PICList mailto:piclist-unsubscribe-request@mitvma.mit.edu