
As promised, a circuit for interfacing the older type 'spinning disc' electricity meters, with the transmitter's PIC.
My meter is in a very dark cupboard. The 'threshold' control can be adjusted to suit most light levels, but you can alter RX and the value of the control, to suit your specific setup. [:)]
A negative pulse of approx 100ms, appears on the output of the 2nd comparator (pin 7), each time the black area passes the optocoupler.
The length of this pulse can be changed to some extent, by altering the value of the 0.1uf capacitor between the comparators.
Richard
<b>Download Attachment:</b> [img]images/icon_paperclip.gif[/img] Interface.jpg<br />29.97 KB