-->
Page 1 of 2

Esp12 Temperature Logger and Battery Life

PostPosted: Fri Jun 30, 2017 7:10 am
by erdemontas
Hi I made a temperature logger, with Esp12 and DHT11. I use deepsleep mode and I send my values in every 10 min to the cloud. I've faced with a problem I used 3 AAA batteries and in a one week ESP12 has drained all batteries. In my circuit I have;
4 x10K resistor on ESP's GPI0,GPIO15,GPI02 AND EN pins
2 x 0.1 uF, 1 x 47 uF, 1 x 2.2 uF capacitor
and I'm using LF33CV 3.3V voltage Regulator.
1 Week is totally ridiculous for my purpose. There is lots of topics in the forum but what I want to ask is those components in my circuit are really energy drainer or the problem is ESP12's itself?

I have a cheap multimeter so I actually can't measure the current. Any advice?

Re: Esp12 Temperature Logger and Battery Life

PostPosted: Sat Jul 01, 2017 12:36 pm
by Barnabybear
Hi, is the DH11 +ve connected to 3.3V or one of the GPIOs? If its connected to 3.3V it wil be powered all the time and use something like 200mAH in a week. If you power it from one of the GPIOs it will only draw 2mA when measuring. Whilst that doesn't account for all the cells discharge it will help.

Re: Esp12 Temperature Logger and Battery Life

PostPosted: Sat Jul 01, 2017 2:23 pm
by faramon
Can you give us some info about how you connect pins and maybe shema and lua code (if lua). Those days I think I will try to do the same.
Faramon

Re: Esp12 Temperature Logger and Battery Life

PostPosted: Sat Jul 01, 2017 4:09 pm
by rudy
Stop using AAA batteries. Use AA at the least.

As far as the code. Turn a pin high on power up. This pin is for the sensor power. Get the reading. Then turn the pin low. Send your information, then power down.

WiFi is not a low power way of communicating. Its cheap and its easy.