I still have a problem with my protection to the circuit. The LM317 give me a constant approx 1mA current. When the wire gets cut the output of the LM317 should go up to 12V. (Thanks Herman) I have upload a schematic at http://www.eskulaap.co.za/schem.gif . Will this circuit give me relative good protection against ligtning. The fence is a 1.6mm wire around a residential home and probably a very good candidate for a lighting strike. Should I connect more transorps, MOV's, caps or inductors. Where and what values? Thanks Francois -- http://www.piclist.com PIC/SX FAQ & list archive View/change your membership options at http://mailman.mit.edu/mailman/listinfo/piclist