I'm in the process of replacing a hard wired alarm panel from the 80's with a home-built panel using Arduino MKR1000/ESP32 processors. The sensor switch wire runs (windows, doors, etc) are all 2-wire and some runs are 50+ feet. None of the runs are shielded nor twisted pair. Each run is basically one or more reed switches in series, all normally closed. An alarm condition is triggered when any switch is opened.
I'm concerned about possible transients since some runs could be near 120VAC household outlet/switch wiring in the walls. Also concerned about other transients from other unusual sources such as nearby lightning or whatever else might induce noise.
So, what kind of protection might I add at the processor end of each run? The signaling will all be 3.3V (old panel was 12VDC). Under normal circumstances each input would be grounded through an (up to) 100' run (50' out and back). When triggered, the input would have an (up to) 50' open line attached with a pull-up resistor at the processor.
Thinking that 50' of wire is an awful big antenna even with a decent pull-up resistor.
Recommendations?
I'm concerned about possible transients since some runs could be near 120VAC household outlet/switch wiring in the walls. Also concerned about other transients from other unusual sources such as nearby lightning or whatever else might induce noise.
So, what kind of protection might I add at the processor end of each run? The signaling will all be 3.3V (old panel was 12VDC). Under normal circumstances each input would be grounded through an (up to) 100' run (50' out and back). When triggered, the input would have an (up to) 50' open line attached with a pull-up resistor at the processor.
Thinking that 50' of wire is an awful big antenna even with a decent pull-up resistor.
Recommendations?


