How disconnect modem in order to save power.

papafritus
Posts: 2
Joined: Fri May 10, 2019 12:44 pm

How disconnect modem in order to save power.

Postby papafritus » Wed Jul 24, 2019 6:44 pm

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!

dmaxben
Posts: 108
Joined: Thu Nov 16, 2017 6:04 pm

Re: How disconnect modem in order to save power.

Postby dmaxben » Thu Jul 25, 2019 12:14 pm

Have you tried also manually turning off the ADC?

WiFi.mode(WIFI_OFF);
adc_power_off();

lbernstone
Posts: 831
Joined: Mon Jul 22, 2019 3:20 pm

Re: How disconnect modem in order to save power.

Postby lbernstone » Thu Jul 25, 2019 1:54 pm

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).

Who is online

Users browsing this forum: No registered users and 48 guests