Thanks all for the replies. A few of you suggested off-the-shelf solutions, but where's the fun in that? I like to learn things from my projects, so now I'm reading about opto-triacs and transformlerless power supplies. (Found a great Microchip app note: http://www.microchip.com/stellent/idcplg?IdcService=SS_GET_PAGE&nodeId=1824&appnote=en021266) Even hearing that a relay is an acceptable option was useful information, so thanks again! m -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist