Minimizing ESP8266 Battery Drain

Originalartikel

Backup

<html> <p>[Alex Jensen] wanted to build a <a href=„https://www.cron.dk/esp8266-on-batteries-for-years-part-1/“ target=„_blank“>battery-powered weather station</a>, using an ESP8266 breakout board to connect to WiFi. However, [Alex]&#8217;s research revealed that the ESP chip uses around 70mA per hour when the radio is on &#8212; meaning that he&#8217;d have to change batteries a lot more than he wanted to. He really wanted a low power rig such that he&#8217;d only have to change batteries every 2 years on a pair of AAs.</p> <p>The two considerations would be, how often does the ESP get powered up for data transmissions &#8212; and how often the weather station&#8217;s ATtiny85 takes sensor readings. Waking up the ESP from sleep mode takes about 16mA &#8212; plus, once awake it takes about 3 seconds to reconnect, precious time at 70mA. However, by using a static IP address he was able to pare that down to half a second, with one more second to do the actual data transmission. In addition to the hourly WiFi connection, the Tiny85 must be powered, though its relatively modest 1.5mA per hour doesn&#8217;t amount to much, even with the chip awake for 36 hours during the year. All told, the various components came to around 500 mAh per year, so using a pair of AA batteries should keep the rig going for years.</p> <p>We&#8217;re intrigued by stories of hackers eking out every last drop of power to make their projects work. We&#8217;ve posted about <a href=„https://hackaday.com/2017/09/24/datalogger-uses-esp32-and-esp8266-low-power-modes/“>ESPs low-power mode</a>&#160;before, and what can be more low-power than a <a href=„https://hackaday.com/2017/02/15/chronio-diy-watch-slick-and-low-power/“>watch running off a coin cell</a>?</p> </html>