Simple Scheduler with Deep Sleep

C programming, build, interpreter/VM.
Target audience: MicroPython Developers.
Post Reply
PRosenb
Posts: 6
Joined: Sun Jul 05, 2020 1:18 pm

Simple Scheduler with Deep Sleep

Post by PRosenb » Mon Jul 06, 2020 5:01 pm

On an ESP32, a common use case could be to execute a task at a specific time or in a certain interval. In between these times, the chip could be put to deep sleep to save power.

I envision a library or built in functionality like a scheduler that supports executing tasks with supporting deep sleep while nothing is done.
In deep sleep, only RTC memory is kept, so the list of tasks would have to be stored there and the tasks would have to be aware, that data in memory is not kept and they have to store data in a file or also in RTC memory.

Is there something like that available already? If not, would you guys welcome that such a lib or built in functionality is implemented or extended for MicroPython?

Post Reply