ESP32 Sleep Modes

All ESP32 boards running MicroPython.
Target audience: MicroPython users with an ESP32 board.
Post Reply
doceave
Posts: 26
Joined: Fri Feb 14, 2020 4:02 pm

ESP32 Sleep Modes

Post by doceave » Sat Mar 28, 2020 3:49 pm

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.

User avatar
tve
Posts: 214
Joined: Wed Jan 01, 2020 10:12 pm
Location: Santa Barbara, CA
Contact:

Re: ESP32 Sleep Modes

Post by tve » Sat Mar 28, 2020 4:27 pm

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.

doceave
Posts: 26
Joined: Fri Feb 14, 2020 4:02 pm

Re: ESP32 Sleep Modes

Post by doceave » Sat Mar 28, 2020 4:57 pm

Thanks tve... Awesome :)

Post Reply