james tornes wrote: > I have an interesting problem. I have a mains circuit that looks like thi= s: > > 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? > =20 How much current does your device need? Does the devices power supply need to be referenced to any particular point= ? Is the wattage of the bulb known in advance? Does the device need to work with the light both on and off? > Jim > =20 --=20 http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist .