@koffienl and how long does it run? 85 days?
-
ESPimatic battery issues
-
If a battery has a capacity of 2500 mAh and it lasted 2045 hours, so 2500/2045 is 1.22 mA average current. That’s 1220 uA! Too much current for a battery node.
My node uses 5.5 uA idling and for sending maybe 100 uA, i don’t know. Too fast to measure Correct me if i am wrong.
It looks like his interval was 10 minutes.
-
After 7 days my nodemcu-ds18b20 ESPimatic on 3x AA batteries (IKEA) died.
As mentioned: deep sleep with 10 minutes cycle, mDNS, dynamic IP, led removed.
The ESP is not really a battery powered option.Maybe mysensors is a viable alternative, but first I will try with an already in-house RF433/Nano combi.
-
Mine stopped after 7 days as well.
I had the same setup but I didn’t use mDNS.Follow my domotica project on http://maredana.nl
-
@Harry-van-der-Wolf said:
The ESP is not really a battery powered option.
Is not it a bit rash decision? People normally achieved 3-6 months.
I’m running seven days on this configuration:
ESP-01 with status LED + dallas + dht11 + 3.7V 500mAh Li-Po Battery
5 minutes cycle (I want to speed it up)
dynamic IP
firmware: ESPEasy R83Sending useless temperature of DHT11.
Pimatic = Smart Home
-
No, I don’t think so.
Maybe the esp-01 runs longer than a nodemcu or likewise development board. I have seen posts of up to 3 months but nowhere 6 months and definitely not for a development board.
Furthermore, an attiny or even a pro mini or nano runs much longer on 2 or 3 AA batteries.
When you read also the measurements being done in several posts, the power consumtion of the ESPs is at least a factor 3 higher.I’m still very interested in your mileage though. Are you really using a 500mAH Li-Po or was that a typo and should it be 2500 or even bigger?
-
@Harry-van-der-Wolf
I’m also curious. I will share the result.
Pimatic = Smart Home
-
I think on the devboards like NodeMCU the 5V-3.3V power regulator consumes a lot of power compared to the ESP. that is probably why a ‘bare’ ESP performs a bit better.
Does anyone know whether the wifi radio is automatically turned on when resuming after a deep sleep? Otherwise it could be an option to take measurements i.e. in 5 minute intervals --> store them (eventually with a timestamp) in memory/flash and only once per hour turn on the wifi radio and send the data to pimatic/upstream server. Only problem could be that AFAIK pimatic is currently not supporting timestamped data. -
After 9 days my ESP01 died. Really not much.
New test:
ESP-01 without status LED + dht11 + 3.7V 500mAh Li-Po Battery
15 minutes cycle
dynamic IP
firmware: ESPEasy R85Pimatic = Smart Home
-
@wutu
Espeasy allows you to set a fixed ip-address on your ESP which should save some extra power as well (at least theoretically). Why don’t you use that?Reserving an ip-address in your router doesn’t solve it as the ESP, using dynamic ip, will always ask the router for its ip-address.
-
@Harry-van-der-Wolf
I know. I will include it to the test No. 3. For comparison.Pimatic = Smart Home
-
I’m testig me deb boaard with deepsleep also. Batterys are used for some flash tests and unfortunately it didn’t go to sleep for about 9 hours because wrong backdoor value on my Pimatic
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
Just for comparison: I’m now doing the same with a arduino nano V3 (5Volt 16 MHz version) with a ds18b20 and an rf-transmitter.
Leds removed, power regulators still on, power down for 10 minutes, running on 3 AA batteries.I was glad to be able to swap my RF433’s for wifi ESP’s, but not if I can run the RF device for months compared to a week on ESP.
-
@Harry-van-der-Wolf said:
I was glad to be able to swap my RF433’s for wifi ESP’s, but not if I can run the RF device for months compared to a week on ESP.
And that’s the point. I also tried to run the ESP on batteries and run into problems. Sleep, deepsleep, problems with wakeup from deepsleep, reboots and so on.
What do you wanted to replace with Esp8266? Sensors or actuators?
-
Did some measuring on my nrf + pro mini + PIR. I’m always getting confused with mA > uA
Sending: 17 mA
Sleeping PIR low 0,13mA (130uA)
Sleeping PIR active: 0,2mA (200uA)Lets say batteries have around 2400mA capacity. Lets use 2200 to be realistic. and lets say the pir uses 0,25mA avarage = 2200 / 0,25 = 8000h / 24h = 366 days.
Measured another pir and that one used 0,08mA (80 uA) and active 0,16mA (160uA). That one should get 458 days (calculating with 0,2mA average.
Conclusion, even with the same hardware it can much differ. Sending could even be lower but i havent removed led13. But I don’t want to remove it for debugging.
I also removed the regulator on the pro mini which uses around 0,1mA. And i’m not even using it. And don’t use internal pull-ups! they use around 60uA.
So for the ESP users. Remove the LED’s, regulators and don’t use internal pull-up (if needed use a 1M external). Power it directly on the vcc with 2 AA batteries. I’m interested to see what the consumption will be. I think nodemcu’s are not good for batteries.
Does some1 have a barebone ESP? I’m interested to see what the consumption is with direct battery and a pir or something.
-
Off-topic but stil relevant (I think).
@Harry-van-der-Wolf said:
Just for comparison: I’m now doing the same with a arduino nano V3 (5Volt 16 MHz version) with a ds18b20 and an rf-transmitter.
Leds removed, power regulators still on, power down for 10 minutes, running on 3 AA batteries.And I stopped this one again. In 3 days (or so) my pimatic hung twice. Just because I connected those 433 devices again. Unfortunately I had also removed my “reset espimatic”, but also the “never failing because hardware triggered” watchdog as described here didn’t help.
I now ordered this set. -
My devboard is still working after more than 7 days with 10 minute deepsleep on 3 batterys. To be honest : i’m sending the ADC value so no sensors attached.
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
It stopped last night after 14 days.
The batterys weren’t fresh and due to a config mistake it was up for 9 hours without sleeping.Not sure if it would be twice as long without these sleep issues and fresh batterys.
Like my projects and help? Consider donating electroneum etnjwAKGPqF6omQWRmpp9u2BPyVDG9VuyRQjNJ1S8yfBdfR9qeUQ46kRy8KS2CNqbpNLRrsgmNW6F2TMzxmZgPrh6KctrkrYbm
-
14 days and still sending
https://forum.pimatic.org/topic/1500/espimatic-battery-issues/42EDIT: It stopped after 33 days.
Pimatic = Smart Home
-
A few days ago I saw a youtube video with some nice tips and tricks to get the most of your battery life out of an ESP. The author has been able to run his ESP-07 for 17 days on a LIR2450 button cell and extrapolated it to 425 days on 2 AA cells. Quite impressive IMHO.
for those interested:
https://www.youtube.com/watch?v=IYuYTfO6iOs