I would like ESP32 cam to wake up one time per day, or one time per week. How can I do that?
I follow wake up timer example, and it works up until around 3600 sec, it start to keep waking up every 1 sec.
I don’t know why? Perhaps the number is too large for esp_sleep_enable_timer_wakeup function?
I check this web site, uint64 should give really really large number. but why I can’t even wakeup
every 3600 sec?
What number are you passing to the function? Note that it wants micro seconds so you need to multiply your seconds by 1 million. ie. 3600 seconds would be 3,600,000,000 us.
Also note that the built-in RTC is completely inaccurate. You would be better off using an external RTC and wake up the ESP32 with an interrupt.