Hi Everyone, I've found a toroidal current sense pcb-mounted device for a little over one UK pound. Excellent. It says it's suitable for 50Hz AC voltage and 1A to 10A. It's basically a rectangle with a hole in the middle for the current-carrying cable, and two pins underneath it for the output. The datasheet states that there is 50 ohms resistance between the two pins and the graph implies that I should see 4mV to 5mV for 1A and 7.5mv for 2A. That means I should be able to detect what kind of bulb is in the light too, right? Cool. The two possible bulbs are 250W and 500W, and I live in the UK, so it's 230vAC. I've never used the A/D port on a pic before, but I've got a 16f628 earmarked for this, which has one I believe. How does one connect up this current-sensing coil to a pic a/d pin then? I'm assuming something nice and simple like I ground one end of the coil and just wire the other directly into the a/d port, then it's all software? Or would that not yield any input? Cheers, Tim. -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist