Protecting RPi against lightning and high voltage
Is this iron rod part of lightning protection on an outbuilding or what?
Install surge protection in your house supply board or you may have everything blown, not only RPI.
Gas discharge tube AND optocoupler on anemometer input should be enough for indirect strike.
Direct strike...Even with surge protection everything plugged in in the house have minimal chances of survival.
Add second &quot;iron&quot; rod 1-5m higher 2-5 meters away as direct hit avoidance measure.