I’ve been working on a rather large project for a while (atmega 328p, 5V). It reads values from several sensors and uploads these values to ThingSpeak using a SIM800L GSM card every 10mins. It is powered by a USB power supply.
It’s working fine for a long time and than suddenly fails sometimes after 10hrs, sometimes after 20hrs or even 30 hrs. Symptoms:
- no data is uploaded anymore
- the internal LED flashes very quickly
- pressing the RESET button does not work
- A power cycle (remove the power) makes it work again
The most obvious cause would be a memory leak I guess.
What I don’t understand is how the “crash time” can vary so much.