Power consumption - especially if not everything is working smooth
Posted: Wed Jun 12, 2019 3:02 pm
I'm using several ESP's (01 / 12 / 32) to measure temperature, humidity, rain and similar.
The self-build sensors measure every 15 to 20 minutes and connect to my router and upload the data to the internet.
Inbetween the ESP's are in deep sleep.
As we all know, ESP's are power hungry when activating WiFi.
When coming back from a short holiday I was pretty astonished regarding two facts:
1) the power consumption was way higher than during my weeks of testing
2) looks like ESP's can kill LiFePO4 rechargable batteries directly attached
Ad 1)
main reason was that 'we' weren't at home. Or to be a little more precise: our WiFi attached devices weren't at home, so the router cut off the WiFi AND the ESP's weren't able to wake up my router's WiFi AND some of my codings didn't restrict time to connect to the WiFi.
Nothing brand new, but maybe still interesting in this combination
Ad 2)
One ESP-12 uploaded a final battery voltage of 2.22V. Yes we know, the ADC isn't that accurate, but my charger showed a matching value far below 2.5V. Charging this battery let to just 200mAh of charge. Nominal capacity: 1.500mAh. Lasts few charges allowed >>1.000mAh of charge.
As I charged the battery just two days after the ESP went out of operation and leakage wasn't visible during weeks of regular operation, I assume my ESP runs with less than 2.5V. How come'? The only sensor attached, a BME280, is powered by one of the GPIO's of the ESP itself and even if still connected shouldn't drain the battery that much.
Any idea why this can happen and how to avoid it? I have no problems when the ESP simply stops operation. And, yes, I'd like to stick to LiFePO4's due to safety and complexity reasons.
I know it's a mixture of different kinds of ESP's. If I should rather move my questions could you please be as kind as to propose which section would fit best?
The self-build sensors measure every 15 to 20 minutes and connect to my router and upload the data to the internet.
Inbetween the ESP's are in deep sleep.
As we all know, ESP's are power hungry when activating WiFi.
When coming back from a short holiday I was pretty astonished regarding two facts:
1) the power consumption was way higher than during my weeks of testing
2) looks like ESP's can kill LiFePO4 rechargable batteries directly attached
Ad 1)
main reason was that 'we' weren't at home. Or to be a little more precise: our WiFi attached devices weren't at home, so the router cut off the WiFi AND the ESP's weren't able to wake up my router's WiFi AND some of my codings didn't restrict time to connect to the WiFi.
Nothing brand new, but maybe still interesting in this combination
Ad 2)
One ESP-12 uploaded a final battery voltage of 2.22V. Yes we know, the ADC isn't that accurate, but my charger showed a matching value far below 2.5V. Charging this battery let to just 200mAh of charge. Nominal capacity: 1.500mAh. Lasts few charges allowed >>1.000mAh of charge.
As I charged the battery just two days after the ESP went out of operation and leakage wasn't visible during weeks of regular operation, I assume my ESP runs with less than 2.5V. How come'? The only sensor attached, a BME280, is powered by one of the GPIO's of the ESP itself and even if still connected shouldn't drain the battery that much.
Any idea why this can happen and how to avoid it? I have no problems when the ESP simply stops operation. And, yes, I'd like to stick to LiFePO4's due to safety and complexity reasons.
I know it's a mixture of different kinds of ESP's. If I should rather move my questions could you please be as kind as to propose which section would fit best?