Firmware & Hardware • • By Marcus Brody

ESP32 Power Profiling: Achieving Sub-15µA Deep Sleep Current

Learn how to bypass onboard USB UART bridges and configure RTC GPIOs to squeeze years of battery life out of an ESP32 development node.

ESP32 Power Profiling: Achieving Sub-15µA Deep Sleep Current

The Problem with Stock ESP32 Dev Boards

Standard development modules like the ESP32 DevKit consume 30mA to 50mA continuously, even in deep sleep, due to inefficient linear dropout regulators (LDOs) and CP2102/CH340 USB-to-serial chips remaining powered.

Optimization Strategies

  1. Power Domain Gating: Isolate the USB-to-UART converter using a P-channel MOSFET.
  2. Switch to Ultra-Low Quiescent LDOs: Replace the stock AMS1117 (5mA quiescent) with an AP2112K or MCP1700 (1.6µA).
  3. RTC GPIO Holds: Configure pins before entering sleep:
esp_sleep_enable_timer_wakeup(60 * 1000000); // 60 seconds
esp_deep_sleep_start();

By implementing these three adjustments, average sleep current drops to 12µA, allowing an 18650 cell to last over 3.2 years.