Bill, I like the design too. One suggestion, which may just be my personal preference and not widely shared, would be to make the IR emitter on RB3 socketed or at least easily disabled with a jumper, as you have for the TSOP detector. In the applications I have worked on, it was an advantage to be able to move and/or to substitute different emitters. Also, the IR emitter/detector combination you show is so sensitive, it's easier to unplug the emitter than cover with black tape. Last, and maybe most important, if the emitter could be removed, the open socket woud give the user access to a fairly high current switch. John