I have an interesting problem. I have a mains circuit that looks like this: mains---110VAC--+ on/off switch +-------------------+ load +----------mains return The load is a regular incandescent light. I need to insert a 5V device in series with the switch. The problem is that when the switch is off, then the device also goes off. I have heard that leakage current could be a way to still have a mostly functional switch and still be able to provide power to the 5V device. But I haven't been able to find any designs/circuits that show this. Anyone have any advice? Jim --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .