ESP32_BAT_PRO power measurements

Schematics, Example Code and Q&A
kevs_oc
Posts: 3
Joined: Mon Sep 20, 2021 1:47 am

ESP32_BAT_PRO power measurements

Unread post by kevs_oc »

I have been testing the batt pro board for power consumption using the Otii Arc and found the following:

Deep sleep powered by VIN at 4.2v = 179uA
Deep sleep powered by VIN at 4.7v = 723uA
Deep sleep powered by VIN at 5v = 729uA
Deep sleep powered by battery at 3.7v = 23.5uA

Any ideas why the power consumption is so high? I am curious about the VIN readings but concerned about the battery reading as my project will be battery powered. I had hoped to get the 10-12uA that is claimed on the website.

The test was run with only the power leads and a wire for TX to read logging statements. No other connections are made. I also left the LEDs on the board but planned on removing them for actual use.

This is the code I used for testing:

Code: Select all

#include <Arduino.h>

// Logging settings
#define DEBUG true                           // flag to turn on/off logging
#define Serial if(DEBUG)Serial

// Sleep Settings
#define uS_TO_S_FACTOR 1000000  /* Conversion factor for micro seconds to seconds */
#define TIME_TO_SLEEP  3        /* Time ESP32 will go to sleep (in seconds) */

void setup() {
  Serial.begin(115200);
  Serial.println();

  Serial.println("Going to sleep...");
  esp_sleep_enable_timer_wakeup(TIME_TO_SLEEP * uS_TO_S_FACTOR);
  esp_deep_sleep_start();
}

void loop() {
  // Will never reach here
}
Thanks!

Kevin
Daniel
Posts: 133
Joined: Tue Nov 13, 2012 2:10 pm

Re: ESP32_BAT_PRO power measurements

Unread post by Daniel »

You need to initialize all the parts on the board. There's example code on Github.https://github.com/EzSBC/ESP32_Bat_Pro/ ... pSleep.ino

You can't leave parts of the system in an unknown state and expect it to behave well.
Post Reply