ESP32 deep sleep current consumption
Posted: Mon Aug 13, 2018 6:33 am
Hi,
Trying very hard for last couple of hours to get reported deep sleep current from ESP32 NodeMCU module. I am powering the board with 3.3V directly applied to the 3.3V pin so as to bypass the USB-serial I/o chip and VR, but still the board is drawing 16 mA in deep sleep mode. Code I am using is:
Note: If I un-comment the line esp_wifi_stop(), there seems to be a crash as the board goes to sleep mode and immediately start executing out of sleep (as shown by the voltage at Pin 23)
Please help.
Trying very hard for last couple of hours to get reported deep sleep current from ESP32 NodeMCU module. I am powering the board with 3.3V directly applied to the 3.3V pin so as to bypass the USB-serial I/o chip and VR, but still the board is drawing 16 mA in deep sleep mode. Code I am using is:
Code: Select all
#include "esp_sleep.h"
#include "esp_wifi.h"
void setup()
{
pinMode(23, OUTPUT);
digitalWrite(23, HIGH);
delay(1000);
digitalWrite(23, LOW);
esp_sleep_pd_config(ESP_PD_DOMAIN_RTC_PERIPH, ESP_PD_OPTION_OFF);
// esp_wifi_stop();
esp_deep_sleep(10 * 1000000);
}
void loop()
{
}
Please help.