curious power consumption #4173
roha-github
started this conversation in
Troubleshooting
Replies: 1 comment 5 replies
-
I highly doubt this. This seems to suggest your measurements are not consistent. |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
The power consumption varies greatly depending on the release and setting.
I took a few measurements and got some unexpected results. In my opinion, the behavior is transferable to other devices and ESP32 models, even if the Heltec V2 is no longer officially supported. I measured with a USB consumption meter.
Activating Power Saving reduces the power consumption during reception due to Light Sleep, but increases the power consumption during shutdown. It gets even stranger if you deactivate Bluetooth, in which case the power consumption actually increases instead of decreasing. As of release 2.3.x, more power is generally consumed.
Of course, this is not necessarily a runtime error, but it shows that the states of the consumptions are not (cleanly) defined in the same way for different options. It is also difficult to automatically test the consumption depending on different settings.
Edit: I noticed something else - after flashing firmware 2.2.23, the node consumes approx. 60mA when idle. If I disconnect the device from the USB port and reconnect it, the node consumes approx. 44mA when idle.
This could indicate that the ESP32 is calibrated differently during booting and has an influence on the power consumption.
https://docs.espressif.com/projects/esp-idf/en/stable/esp32/api-guides/RF_calibration.html
I would like to understand what influences the different power consumption, because ESP32 wants to be used as a sensor with disposable batteries.
Edit 2: I couldn't get my head around it, so I downloaded the source code for 2.2.23 from Github and compiled it unchanged with VSCode (1.90.2) and PlatformIO (Core 6.1.15 / Home 3.4.4) - result 12mA after shutdown vs. 6mA with the precompiled binary. Apparently the compiler also has an influence on the consumption.
Beta Was this translation helpful? Give feedback.
All reactions