On Wed, Mar 10, 2010 at 1:23 AM, Dwayne Reid wrote: > I'm currently doing something similar with a 12f675 running directly > from a 120Vac power-line input. > Just wondering how you power up the 12F675? Since it is pure AC, there are different ways to do that. In my past job, I developed two universal power supply sensors, one level sensor and one photoelectric sensor. Both run from 20...250 VAC and 12...60V DC (actually 12...250V DC). I have to use a full bridge rectifier and DC/DC converters made of transistors. The two design are different, but both use buck converter. The current requirement is not high though (a PIC running slow and a relay). -- Xiaofan http://mcuee.blogspot.com -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist