recently I bought a couple of ESP32 Dev boards:
The upper one has already power indication diod soldered off. But for some reason in deep sleep the power consumption is 9.7mA (resp. 11.2mA with the diod on).
I wanted to use a 3.7V 700mAh LiPo battery but it's drained in 3 days. Battery is connected using VIN, GND pins. The test code is just this:
Code: Untitled.cpp Select all
#define uS_TO_S_FACTOR 1000000
#define TIME_TO_SLEEP 30
void setup() {
esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
esp_deep_sleep_start();
}
void loop() {
}
Thanks
