Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using VOC with DeepSleep #7

Open
SphaeroX opened this issue Jan 7, 2022 · 1 comment
Open

Using VOC with DeepSleep #7

SphaeroX opened this issue Jan 7, 2022 · 1 comment

Comments

@SphaeroX
Copy link

SphaeroX commented Jan 7, 2022

Is there a way to read the VOC value even when the Esp32 controller goes into DeepSleep?

With me then always appears only the value 0. I suspect it is because he loses the data for the calculation of the VOC index in the DeepSleep, can that be?

@tyeth
Copy link
Contributor

tyeth commented Jan 10, 2023

That sounds about right. You can declare a variable to be stored in RTC memory, with a macro prefix, which will be maintained on wake. There is 8K of RTC memory available I believe, I have this page bookmarked https://forum.arduino.cc/t/loading-strings-text-into-esp32-rtc-memory/953139/4 and this set of sketches https://github.com/G6EJD/ESP32_RTC_RAM

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants