--=-7E/4ftLIDue9Kex28Pcu Content-Type: text/plain Content-Transfer-Encoding: 7bit Thanks for all the ideas.. I'd like to use the torroidal current sensor, I think.. No huge reason except that I've not tried any a/d before and I quite like the idea of being able to detect what kind of bulb is in the lamp. Although if I can't get it to work, the bridge-rectifier/opto idea would be next. I think I may have interpreted the data sheet wrong for the torroid I intend to use, so I've drawn a copy for others' opinions who have hopefully used something similar. I had inferred from the attached diagram that there was a resistance of 50 ohms through the actual device, but in retrospect, I think it may mean I have to supply one externally. I'm still not having any luck with Google in finding out how to hook up one of these things either.. I used to like those 'example circuits' and 'typical applications' at the end of data sheets.. It's probably one of those things that's so simple everyone already knows so no-one thinks of writing it down.. Now I know how my Mum feels when she tries something I find simple like setting the clock on the microwave.. Cheers, Tim. --=-7E/4ftLIDue9Kex28Pcu Content-Disposition: attachment; filename=toroidal.gif Content-Type: image/gif; name=toroidal.gif Content-Transfer-Encoding: base64 R0lGODdhegHSAIAAAAAAAP///ywAAAAAegHSAAAC/oyPqcvtDxGYtNqLs943+g+G4kiW5omm6goC 7GtM8EzX9o3neuPuo9vzCYfEovH4CCJ5saXzCY1KHcppIFi1arfcrikrVYK95LKZO4ZW0+e2+71j O7NyuP2OJ9WR4H3+Dxh41TXmJ3iIWGZYlLaY+Aj55DjENhl5ialj6SO3mfkJquKpCTEaeorqYYqz t5r6CtuEphpba9tC+OF6y/u4W7P42zv8JzzjaKygQcyslhuSzEDRTD33DK0pU71NFM2y6a2szU2e Ey5aci4xXt5+fP2Tre6+PX9ian/FTs//Ba8nr5/AdP8Amts3MGGSggZZIVQIMUE+gugOTowY6mK8 /hX5pmH8KGuLsY4PQQrUKCIZSZQmEbHEBWNlS4UvddGQOfMkw4oOa+a04zPCOZw/2wUtdWPl0aJk llJh1bMD02ZOmUCdipXWLHNZu1LhADas2A1xvJpVtvPd2bWDtnJle7aqtLJwzcpdMPFu3Ut6Jaar IDRFyb3D+krQI6bTl8GEC6f9Ku5pSsaNiRk+MKmS1RZjO2eoDO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RQdpiB1fVMx2gJvQDVOYIKb90DKRKAQDl3bEfZ0NIXVQYVKK2L2SEM93+XOa/vN6xMJE aDCDUFtH+H7GjmuBZ3OlC2JiIuPF5oURg25L2/jud7f72WeHAzJeiDBRvAVesYF8/OIDAag+J+4o fxzkFRwByUcCCnKMWiyk1iKzxpAcEnyL5J799IhIAkYvg3a8wyIdmcQeojGTpLxb1wZ4SU26sX5D PGEmQJlIUY5yk7TU4xvpAB1SDtCRrSzGJ7gYyo+lrpb422MsyhZGSTqwh8BcnXIe+ceRCZCYk2Sk /lyDyGFKsnehhGIjhclDZkayjW0ETPF6qcWMcVKWF8QgzjrpSW++ZkwcRKcrKbil9R0TTfnM5Pse dyV4uoSMODSgCAtq0AkiFHctXCiwkVJ4MdJEqD2VpIjn4DQ/zuCym0Q8qPnCCU2UGbOiD+0oRseW mWTey6QKpWDUItnOkaKxoS2V30tHqcsq2pMv2uupT38K1KCCpUelxOSBHIqhlG20mNA0IlLZA9J9 FdWLIHoqHDK0VDia8qhWfQNW9cnU2820q0BhGX/cxsaVVpGsfDkGSdmqxFfBNXaTm+tZCgAAOw== --=-7E/4ftLIDue9Kex28Pcu Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist --=-7E/4ftLIDue9Kex28Pcu--