--===============0960546575== Content-Type: text/plain; charset="windows-1250" Content-Transfer-Encoding: 8bit Optical sensor (look for when something is not blocking a light source)? Or - toroid, single transistor amp, comparator and an integrator? Use a ratio on the toroid to get enough sensitivity for a minimum current? Or - park a 100mH inductor next to the hot wire, resonate the inductor to 60Hz, envelope detect and use a simple comparator to trigger? Scott >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> Simply put, I need to know when something has been unplugged from a AC socket. I don't care about how much current its drawing (I do...but I dont need to know), because in some cases it might be a 100mA wall wart and in other cases a 100W power supply. I just want to know....did it get unplugged. >>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.467 / Virus Database: 269.6.6/795 - Release Date: 5/9/2007 3:07 PM --===============0960546575== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --===============0960546575==--