Page 1 of 1

ESP32 Sleep Modes

Posted: Sat Mar 28, 2020 3:49 pm
by doceave
I have built a device which interfaces an ADS1115 which needs to measure signals over a very small range. Owing to poor circuit design I am stuck with attempting to minimize interference bmo software settings.

The wifi and bluetooth radios are a major source of interference --- probably due to little reserve in the power supply to the circuit.

Is there a way in which these can be completely disabled? Such as with the "modem sleep" function seen with the ESP8266?

There are many tutorials which describe deep sleep for the ESP32 but no obvious instructions for making use of modem sleep.

Would simply not setting up wifi and bluetooth result in their remaining silent and not consuming any power?

Thanks.

Re: ESP32 Sleep Modes

Posted: Sat Mar 28, 2020 4:27 pm
by tve
I believe if you call active(False) on the STA and AP interfaces or never use them the radios should stay off. BT should be off unless you use it.

Re: ESP32 Sleep Modes

Posted: Sat Mar 28, 2020 4:57 pm
by doceave
Thanks tve... Awesome :)