Deep sleep power consumtion ESP32 devkit

Hi,

I cannot seem to find the answer.
I've got an ESP32 which needs to be battery power.

I cannot get the power consumption under 0.011 A in sleep mode.
I've tried powering true the USB connector
Even removed the 3.3 regulator from the board, and used an external 3.3 to measure there but got the same result.

I went back to the basic sleep code and still got the same result..

Any idea / tips


#define BUTTON_PIN_BITMASK 0x200000000 // 2^33 in hex

RTC_DATA_ATTR int bootCount = 0;


void print_wakeup_reason(){
  esp_sleep_wakeup_cause_t wakeup_reason;

  wakeup_reason = esp_sleep_get_wakeup_cause();

  switch(wakeup_reason)
  {
    case ESP_SLEEP_WAKEUP_EXT0 : Serial.println("Wakeup caused by external signal using RTC_IO"); break;
    case ESP_SLEEP_WAKEUP_EXT1 : Serial.println("Wakeup caused by external signal using RTC_CNTL"); break;
    case ESP_SLEEP_WAKEUP_TIMER : Serial.println("Wakeup caused by timer"); break;
    case ESP_SLEEP_WAKEUP_TOUCHPAD : Serial.println("Wakeup caused by touchpad"); break;
    case ESP_SLEEP_WAKEUP_ULP : Serial.println("Wakeup caused by ULP program"); break;
    default : Serial.printf("Wakeup was not caused by deep sleep: %d\n",wakeup_reason); break;
  }
}

void setup(){
  Serial.begin(115200);
  delay(1000); //Take some time to open up the Serial Monitor
  ++bootCount;
  Serial.println("Boot number: " + String(bootCount));

  print_wakeup_reason();
  esp_sleep_enable_ext0_wakeup(GPIO_NUM_33,1); //1 = High, 0 = Low



  Serial.println("Going to sleep now");
  esp_deep_sleep_start();
}

void loop(){

Build your own board.

Dump the USB to serial converter and just use an external programmer.

Use a low IQ regulator.

You can then get the deep sleep current down to around 25uA.

1 Like

"Build your own board."
Building a board is not something for this home project :slight_smile:

"Dump the USB to serial converter and just use an external programmer."
Did dump the USB to serial converter and dropped current from 10mA to 2mA
(overlooked the power consumption of this in the datasheet.. Must have been late in the evening :frowning: )

"Use a low IQ regulator."
I've got my meter between the out 3.3v and the Arduino at this point.
So the loss in the voltage regulator is not yet measured...
I've got some HT7333-A Sot89 spare from another home project.
The objective is to use an 18650 lithium-ion battery

Thanks for the tips

Then you need to find a manucturer who takes low deep sleep current seriously and sells an appropriate ready built board. Most all of them do not even consider low deep sleep current.

The Seeed ESP32S3 Sense board (ready built) when running from a lithium battery has a RTC wake up deep sleep current of 10uA.

I didn't try it myself but here may be some useful information: https://www.youtube.com/watch?v=JFDiqPHw3Vc&t=422s

I have forgotten where I've got this information but Firebeetle boards are supposed to be very good at deep sleep power consumption.

Here it is. They managed to get ESP32 Firebeetle running at 10 uA.

Thank you for the information.

Gonne try to get my hands on that board

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.