-->
Page 1 of 2

Power saving, while processing at 125 ms

PostPosted: Sat Nov 28, 2020 7:58 am
by RIN67630
Unfortunately I cannot, like most users do, just go to sleep to save power.
My instruments need a processing every 125 ms, a precise timing and network updates every second.
on the top of it, I need OTA.
What can I do, to save power?
I have seen, that the ESP8266 powers down the energy hungry WiFi interface during delay(); instructions.
But, my timing requires millis();
What can I do to power down WiFi without delay() just for the rest of my time budget?

Additionally, how much WiFi does the ArduinoOTA.handle(); consume and how frequently must it be run to be able to update a new sketch, while accepting a few minutes delay?

Thank you for your help

Re: Power saving, while processing at 125 ms

PostPosted: Sat Nov 28, 2020 8:34 am
by eriksl
How about asking this in the arduino section?

I was going to give some clues, but they're not applicable to arduino.

Re: Power saving, while processing at 125 ms

PostPosted: Sat Nov 28, 2020 10:51 am
by RIN67630
I am using an ESP8266, not an Arduino.

Re: Power saving, while processing at 125 ms

PostPosted: Sat Nov 28, 2020 10:57 am
by eriksl
RIN67630 wrote:Additionally, how much WiFi does the ArduinoOTA.handle(); consume and how frequently must it be run to be able to update a new sketch, while accepting a few minutes delay?


Apparently you do...

And yes the power usage is a main function of the software just as well, so please ask the arduino guys.