Naervern / sunnybreeze

A tiny solar-powered esp32-s2 weather monitor with wifi capture portal access, intended as a weather awareness project to enable monitoring for climate research and civic participation
GNU General Public License v3.0
0 stars 0 forks source link

Deep sleep function required #8

Open Naervern opened 7 months ago

Naervern commented 7 months ago

Implement a deep sleep function. Power saving is extremely important.

The function must still preserve all critical variables in the RTC memory. Must also be implemented with a scheduler to calculate the time to wake up for the next task - by default, the wake-up every 10 minutes to take measurements, in the proposed configuration. Ideally, it will take the timers and constants defined on the code.