esp-mqtt-dht
esp-mqtt-dht copied to clipboard
ESP and DHT from battery
Have you tried using a battery to power this device?
I'm wondering if this would work.. Also I wonder how long can this last if e.g. powered from common AA battery.
I haven't tried running them from a battery because I'm just using standard USB phone chargers to run them. I haven't put in any optimizations for battery life. In theory, the ESP supports various levels of sleep. Because the sensor only has to report in occasionally (I do 30 seconds, but multiple minutes also would work), the ESP could be sleeping the vast majority of the time.
I believe there are other ESP projects that have focused on battery life.