Re: ESP32 on Batteries - your setup
Posted: Fri Apr 13, 2018 9:25 am
Guys, seriously, does ESP32 on battery project(using wifi of course) even exist? I did alot of search and cant find anything usable.
I am using an ESP32 to monitor heating oil level. It takes a reading every hour and transmits that back over WIFI to my MQTT server. It actually sends a data blob consisting of oil level, outside temperature, Battery Voltage, received RSSI and Awake time. It takes a total of around 1.6 seconds to acquire and send the data before going back to deep sleep for an hour. The data is processed with node-red and the image below is from the node-red ui. I calculated the battery (3xAA cells) should last about a year. I implemented it near the end of last year so it has been running for nearly four months now. In that time the battery voltage has gone down from 4.5 to 4.2 volts. It's measured whilst the WIFI is connecting so should be during maximum stress.meneldor wrote:Guys, seriously, does ESP32 on battery project(using wifi of course) even exist? I did alot of search and cant find anything usable.
I know, but im using the data asap (not less than 1m) for presence detection.woofy! wrote:If you don't really need the data to actually be sent every 2 minutes, you could wake up every 2 minutes and just log the data before going back to deep sleep. Then once per hour send it over WIFI. That would save you a lot of power.
I am currently planning to do that. I write a data logger that gathers data every second and light sleeps between for 900mS. Deep sleep is not efficient at that pace.woofy! wrote:If you don't really need the data to actually be sent every 2 minutes, you could wake up every 2 minutes and just log the data before going back to deep sleep. Then once per hour send it over WIFI. That would save you a lot of power.
woofy! wrote: ↑Fri Apr 13, 2018 10:09 amI am using an ESP32 to monitor heating oil level. It takes a reading every hour and transmits that back over WIFI to my MQTT server. It actually sends a data blob consisting of oil level, outside temperature, Battery Voltage, received RSSI and Awake time. It takes a total of around 1.6 seconds to acquire and send the data before going back to deep sleep for an hour. The data is processed with node-red and the image below is from the node-red ui. I calculated the battery (3xAA cells) should last about a year. I implemented it near the end of last year so it has been running for nearly four months now. In that time the battery voltage has gone down from 4.5 to 4.2 volts. It's measured whilst the WIFI is connecting so should be during maximum stress.meneldor wrote:Guys, seriously, does ESP32 on battery project(using wifi of course) even exist? I did alot of search and cant find anything usable.