How to improve RTC accuracy with an ESP32-CAM?

General discussions and questions abound development of code with MicroPython that is not hardware specific.
Target audience: MicroPython Users.
Post Reply
Simpler1
Posts: 16
Joined: Wed Jan 06, 2021 6:30 pm

How to improve RTC accuracy with an ESP32-CAM?

Post by Simpler1 » Mon Feb 15, 2021 4:25 pm

I'm considering connecting a DS3231 to my ESP32-CAM to improve the clock accuracy during deep sleep.

The wake time is currently very erratic and unpredictable with the default setup.

The following site shows that a different internal oscillator can be used for the clock when in deep sleep, but I'm not sure how this would be accomplished with MicroPython:

https://docs.espressif.com/projects/esp ... c-clk-src

Has anyone configured a different oscillator (internal or external) on the ESP32-CAM?
I'm relatively new to setting up microcontrollers and any help or direction would be appreciated.

Thanks

Post Reply