- Mon Sep 30, 2019 10:49 am
Yes I meant the relay's load. Just to eliminate if the problem was caused by current surges.
At this point what I would do is to run a simple sketch that outputs the time. Without additional libraries, no sensor code. See how long that runs. Its a pain in the ass but I think this is the only way you can get to the bottom of this.
You need to break the code down to smaller bits and see what is causing the break. Or if it is an electrical thing, then only running a simple timer (Blink for example) and it still does fail, I would look closer at it potentially being an electrical issue.
If it did fail with a blink sketch then I would run the board on batteries.