by analog31 · 5y ago · 0 comments
It would probably be beneficial to monitor the status of the control outputs, to see if they actually agree with the inputs.
Also, of course the microcontroller and its code are points of failure like you say.
I am not sure if I specifically mentioned it in the article but this is a wood boat and it leaks. The pump will run about 25 seconds a day to remove the day's water. I have the sequence after running the engine because a hard sail can cause the leaking to increase until things swell back up.
There have also been several changes to make the monitor more robust since I wrote the article. One main one is that a lot of the sample code on the web for email monitoring has "while" loops. These need to have counters to exit if the WiFi is down for example.