ESP32-CAM drawing 2.85mA in deep sleep?

MattHixson
Posts: 4
Joined: Tue Oct 05, 2021 7:11 pm

ESP32-CAM drawing 2.85mA in deep sleep?

Postby MattHixson » Sun Oct 10, 2021 11:56 pm

I have some test code that puts the ESP32-CAM into deep sleep mode (the demo TimeWakeUpTest from Arduino IDE 1.8.15). My multimeter is telling me it is drawing 2.85mA in this state. Does this sound correct? I was expecting it to be less than 1mA in this state.

Also, I have my own sketch that sets up a WiFi access point and then puts the board into deep sleep once the user has submitted some info. My sketch is consuming 20mA when its supposedly in deep sleep. Do I need to do something special to disable the WiFi before going into sleep mode? I don't need it again after that point.

Thank you.

chegewara
Posts: 2364
Joined: Wed Jun 14, 2017 9:00 pm

Re: ESP32-CAM drawing 2.85mA in deep sleep?

Postby chegewara » Mon Oct 11, 2021 9:12 am

In deep sleep and light sleep modes, wireless peripherals are powered down. Before entering deep sleep or light sleep modes, applications must disable WiFi and BT using appropriate calls (esp_bluedroid_disable(), esp_bt_controller_disable(), esp_wifi_stop()). WiFi and BT connections will not be maintained in deep sleep or light sleep, even if these functions are not called.
https://docs.espressif.com/projects/esp ... leep-modes

Also read all about power domain in that part of docs:
https://docs.espressif.com/projects/esp ... modes.html

I cant find schematics right now, but i believe that LDO is drawing that much when it is in deep sleep.

Hackswell
Posts: 14
Joined: Wed Jun 03, 2020 8:13 pm

Re: ESP32-CAM drawing 2.85mA in deep sleep?

Postby Hackswell » Tue Oct 12, 2021 1:36 pm

chegewara wrote:
Mon Oct 11, 2021 9:12 am
I cant find schematics right now, but i believe that LDO is drawing that much when it is in deep sleep.
I've been reading about this as well. The 1117 LDOs that the generic DEVKITs use are not very efficient. There are other boards that have better LDOs on them.

One person's calculations on a few boards:
https://diyi0t.com/reduce-the-esp32-power-consumption/

Who is online

Users browsing this forum: No registered users and 92 guests