Hi all
This issue has me going over and over in circles, and I don´t know how to solve it.
Here it is:
I got a Mega controlling a greenhouse with relays, temp sensors, rain sensor, switches to detect water levels, curtain levels, etc.
Rain season is here, and so far the lightnings have killed 3 Megas.
The Arduinos are not inside the greenhouse, they are in a secure, safe and dry room; long wires go from the electronic paraphernalia, to the Megas.
I already connected the ground of the Mega to a ground line inside the house -- still no luck, today the third one died.
How do they die? they won´t do anything -- avrdude sends timeouts, and even trying to reprogram them with the atmel tools, they just won´t "see" the arduino.
Arduino IDE does see the port connected, but I cannot upload anything... they are just there, two leds on all the time (one of them has a led slowly blinking).
Before I spend more money, I would like to get some suggestions from you as to what might be happening.
For the record, I was thinking about drilling a hole in the greenhouse structure, and put a screw there with a wire connected to the common ground wire of all the sensors. Do you think that could help me?
Thanks for your time to read this.