Page 1 of 1

How disconnect modem in order to save power.

Posted: Wed Jul 24, 2019 6:44 pm
by papafritus
Hi all!,
I work on a project where I dont need to use wifi nor BT.
With the ESP8266, I achieve a 20ma total current using:

Code: Select all

  WiFi.mode(WIFI_OFF);
  delay(2);
  WiFi.forceSleepBegin();
  delay(2);
But with the ESP32 (mini board) I cant achieve a current below 60ma.
Is there a way to have a lower power consumption?

Thanks in advance!

Re: How disconnect modem in order to save power.

Posted: Thu Jul 25, 2019 12:14 pm
by dmaxben
Have you tried also manually turning off the ADC?

WiFi.mode(WIFI_OFF);
adc_power_off();

Re: How disconnect modem in order to save power.

Posted: Thu Jul 25, 2019 1:54 pm
by lbernstone
WiFi is not enabled unless you include WiFi.h and enable it.
What you are looking for is setCpuFrequencyMhz(). At 80 MHz, my test board pulls 30mA at 3V3. (~100mW).