Page 1 of 1

Life span of ESP32 Devkit 1

Posted: Wed Jul 24, 2024 7:24 am
by devdebono
Hi, I have a project which is a poultry management system and am using ESP32 as my controller. As part of my project is to include the life span of that or the average operating hours of it. I hope anyone knows thank you! If there are basis or reference to it, much better. Thanks again!

Re: Life span of ESP32 Devkit 1

Posted: Wed Jul 24, 2024 11:55 pm
by ESP_Sprite
Should be fairly trivial. On startup, set a timer that triggers e.g. every 10 minutes. In the timer callback, add 1 to a variable in nvs. That variable now contains the total runtime of your solution in 10 minute increments.