- Deep sleep only helps if wake pins are not floating and peripherals are really off. A floating GPIO can leak milliamps.
- Wi-Fi must be stopped before sleep. Staying associated in modem-sleep is a different, higher budget than deep sleep.
- LEDs, LDOs that do not shut down, and USB-UART chips on a DevKit dominate the meter. Measure on the product schematic, not only on a DevKit.
- Size the hold-up capacitance and the wake source (timer, EXT0/EXT1, ULP) as a power design, not as a firmware toggle.
Short answer
Why is ESP32 deep-sleep current still high?
中文
短答
ESP32 深睡电流为什么还是高?
- 唤醒脚悬空、外设没真正关掉时,深睡帮不上忙。浮空 GPIO 就能漏毫安级。
- 睡前要停 Wi-Fi。一直挂在 modem-sleep 里,电流预算和深睡不是一档。
- 灯、关不掉的 LDO、开发板上的 USB 转串口都会把表笔顶高。要按产品原理图测,不要只测 DevKit。
- 维持电容和唤醒源(定时、EXT0/EXT1、ULP)是电源设计,不是固件里拨一下开关。