Re: Esp32 Power management
Posted: Sun Feb 06, 2022 5:28 pm
Hey Martin,
Would be great if a "lower MCU" could do some sampling in the background and compare this value with a previous sample.
The more work that can be done with lower power would be great.
So what I'm thinking of now is to have a "lower part MCU" sample wake up out sleepmode and compare a sensor.
If this value is different of previous value (and is within a certain reach from previous samples), wake up the bigger MCU.
This must initialise all the peripherals and the WIFI, connect, send the data and after that everything must fall a sleep for the next 10 minutes.
In this period there isn't any action required. Only the previous value must be stored (your last post!) and the RTC must wake up the "lower MCU".
For your wind direction problem, I will PM you.
To host the webpage in deep sleep, I don't know if that can be done. The browser needs to have connection to the server at all times I guess?
Isn't Thingspeak something you can consider?
Would be great if a "lower MCU" could do some sampling in the background and compare this value with a previous sample.
The more work that can be done with lower power would be great.
So what I'm thinking of now is to have a "lower part MCU" sample wake up out sleepmode and compare a sensor.
If this value is different of previous value (and is within a certain reach from previous samples), wake up the bigger MCU.
This must initialise all the peripherals and the WIFI, connect, send the data and after that everything must fall a sleep for the next 10 minutes.
In this period there isn't any action required. Only the previous value must be stored (your last post!) and the RTC must wake up the "lower MCU".
For your wind direction problem, I will PM you.
To host the webpage in deep sleep, I don't know if that can be done. The browser needs to have connection to the server at all times I guess?
Isn't Thingspeak something you can consider?