-->
Page 1 of 3

Reduce battery consumption

PostPosted: Tue Apr 05, 2016 7:21 am
by erbedo
Hi, I have a small project in which an ESP-12 wakes up from deep sleep every 30 minutes, polls an hygrometers and reports the data to a local server. Everything is battery operated, and my aim would be to achieve at least some months of operations without battery charging. However, my best shot at the moment is 2 weeks.

The code is simple, I simply wakeup, connect to the network, and send an HTTP request to the server, then go back to sleep. My guess is that the major consumption is when the ESP is trying to get the IP from the DHCP server, which takes considerable time. I'm wondering if I could put the IP as static, and just associate with the WLAN. Otherwise, I would try not to send the data every 30 minutes, but every hour or so, but this would reduce the number of readings I have.

Does anybody have a "best practice" or ideas on how to reduce the consumption?

Re: Reduce battery consumption

PostPosted: Sun Apr 10, 2016 3:32 am
by erbedo
Any idea?

Re: Reduce battery consumption

PostPosted: Sun Apr 10, 2016 5:22 am
by Andrei Bucur
Hello
What kind of baterry do you use ?
Do you have a regullator for 3.3v ?
Do you check the current in the deep sleep mode ?

Re: Reduce battery consumption

PostPosted: Sat Apr 16, 2016 1:53 pm
by erbedo
Hi, no, I do not use any voltage regulator. I have 3 Ni-MH AA batteries (1.2 V each).

I did not check the consumption whilst in deep sleep. However, it seems to me that the biggest consumption happens due to a slow association to the AP (nearly 6 seconds).