Delay vs Sleep
Posted: Sun Sep 17, 2017 9:15 am
I'm assuming someone has already checked this out - so I'll ask rather than go through the setup/measurements.
So I see "Power your 8266 for a year on a battery with 'deepsleep'. And there are charts with posts of X uA with deep, Y uA with light etc. I can't find any numbers with "delay(###);" An external ping works during delay so the radio is running. Is anything else running. During delay nothing responds - ie http...
So, if I were to, in loop { ... delay (60000); } would it cut my battery consumption? Reason being I want to say, check a temp/humd every 5 minutes or turn on a pump every 2 hrs.
Enquiring minds...
So I see "Power your 8266 for a year on a battery with 'deepsleep'. And there are charts with posts of X uA with deep, Y uA with light etc. I can't find any numbers with "delay(###);" An external ping works during delay so the radio is running. Is anything else running. During delay nothing responds - ie http...
So, if I were to, in loop { ... delay (60000); } would it cut my battery consumption? Reason being I want to say, check a temp/humd every 5 minutes or turn on a pump every 2 hrs.
Enquiring minds...