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.