LOLIN D32 How to get hibernate / power off

ColinDexter
Posts: 2
Joined: Mon Feb 15, 2021 1:00 pm

LOLIN D32 How to get hibernate / power off

Postby ColinDexter » Tue May 25, 2021 9:27 am

How can I get de LOLIN D32 on hibernate mode or power off. I now use the code below but it still use around 75uA.

Code: Select all

     WiFi.disconnect(true);
      WiFi.mode(WIFI_OFF);
      btStop();

      adc_power_off();
      esp_wifi_stop();
      esp_bt_controller_disable();

      esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_SLOW_MEM, ESP_PD_OPTION_OFF);
      esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_FAST_MEM, ESP_PD_OPTION_OFF);
      esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_OFF);

      esp_deep_sleep_start();
Even if I only use esp_deep_sleep_start (); the current is around 75uA :-(

Who is online

Users browsing this forum: Baidu [Spider], Google [Bot] and 49 guests