I have been experiencing continual reliability issues with my MKR 1500 NB boards disconnecting from the Arduino IoT cloud, every few days (and not reconnecting again). I can see the void(loop) is still running as as I have a modified blink without delay code also running.
I have tested various options including resetting the Arduino via software and checking regularly if the cloud is disconnecting and then reconnecting automatically but none of these options are working.
My understanding is that the manufacturer of the SAMD recommends not resetting the chip via it's own digital pins connected to the reset pin as suggested by some online tutorials and timing out the WDT doesn't reconnect the Arduino to the cloud (I am guessing because the SARA IC doesn't get reset by this procedure).
The only thing that seems to work 100% is to power-cycle the Arduino, this works 100% of the time.
My idea is to create a circuit where the Arduino fires a monostable 555 timer that switches a mosfet-relay off and cuts the power to the Arduino for say 5 seconds.
The Arduino will do this based on not seeing a change in a variable that is being changed by a Cloud scheduler every minute or so.
Can anyone suggest any pitfalls in this approach or any better options?
Many Thanks,
M