robotzero1 / esp32cam-timelapse

Create timelapse images using the ESP32-CAM and other ESP32 based camera modules
58 stars 15 forks source link

deepsleep #2

Closed maba64 closed 3 years ago

maba64 commented 3 years ago

Hello Thank you for sharing the code- Would it be possible to install a deepsleep function (to safe batterie) and save the current photo Number in the Eprom?

thank you verry much

Markus

robotzero1 commented 3 years ago

Hi, Here's another project that has deepsleep - https://github.com/dimhoff/ESP32-CAM_Interval it's much more complicated than my code so you could either just upload it or combine the deepsleep parts into my code.

For Eprom.. this is easy with the Preferences library - https://github.com/espressif/arduino-esp32/blob/master/libraries/Preferences/src/Preferences.h

Cheers, Andrew

maba64 commented 3 years ago

Thank you very much for your support