Battery draine....

Moderators: grovkillen, Stuntteam, TD-er

Post Reply
Message
Author
Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Battery draine....

#1 Post by Dylantje » 04 Jan 2016, 22:42

My 2 esp:
http://cdn3.bigcommerce.com/s-vt19phz/p ... ralia-.jpg
And:
https://paradisetronic.com/media/images ... CUPack.jpg

Did have a battery drain ...
I do have problems with my WiFi router...
Only 1 day and my new battery where gone..
1 do have 2 sensors and this settings:
ScreenShot002.jpg
ScreenShot002.jpg (58.18 KiB) Viewed 16382 times
Last edited by Dylantje on 04 Jan 2016, 22:46, edited 1 time in total.

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Battery draine....

#2 Post by Dylantje » 04 Jan 2016, 22:45

ScreenShot003.jpg
ScreenShot003.jpg (97.35 KiB) Viewed 16383 times

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Battery draine....

#3 Post by Dylantje » 04 Jan 2016, 22:47

ScreenShot004.jpg
ScreenShot004.jpg (89.03 KiB) Viewed 16382 times
And the second ESP does not have any sensor on board,
And the battery empty to..... :)

BertB
Normal user
Posts: 1049
Joined: 25 Apr 2015, 14:39

Re: Battery draine....

#4 Post by BertB » 04 Jan 2016, 22:52

As far as I can see, you did not tick the Sleep Mode check box.

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Battery draine....

#5 Post by Dylantje » 04 Jan 2016, 22:56

BertB wrote:As far as I can see, you did not tick the Sleep Mode check box.
That is correct....
Only i am afraid to lose the ESp in my webgui.....
And because my setting are in concept....

NietGiftig
Normal user
Posts: 103
Joined: 16 Sep 2015, 20:32

Re: Battery draine....

#6 Post by NietGiftig » 05 Jan 2016, 10:14

A Pir and batteries are not the best choice.
Unless they are in rooms where there is not much movement.
Otherwise they keep sending and using the WiFi.

Sleep-mode and PIR is not a good idea, unless you make the esp wake up (reset) on movement

Backbone
Normal user
Posts: 106
Joined: 06 Oct 2015, 22:12

Re: Battery draine....

#7 Post by Backbone » 05 Jan 2016, 14:14

ESP and batteries are no good solution.
Batteries and sensors is MYSENSORS option.

Paco

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Battery draine....

#8 Post by Dylantje » 05 Jan 2016, 20:24

Backbone wrote:ESP and batteries are no good solution.
Batteries and sensors is MYSENSORS option.

Paco
mm
I thought that i read this chip was very good with battery's..
Why not.....
Is there no one that the ESP on an battery systeem?

And why do they sell them with battery pak?

NietGiftig
Normal user
Posts: 103
Joined: 16 Sep 2015, 20:32

Re: Battery draine....

#9 Post by NietGiftig » 05 Jan 2016, 21:46

Dylantje wrote:
Backbone wrote:ESP and batteries are no good solution.
Batteries and sensors is MYSENSORS option.

Paco
mm
Why not.....
Please read the answers.
Have a nice day

Backbone
Normal user
Posts: 106
Joined: 06 Oct 2015, 22:12

Re: Battery draine....

#10 Post by Backbone » 05 Jan 2016, 22:47

Sometimes you can be fooled by what people offer for sale.
The battery packs are pure for debugging for beginners............. ;-)
Google for power consumption ESP 8266 and you see they are not the best solution for battery operated sensors.
MYSENSORS is using other RF chip which is less consuming power.

Paco

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Battery draine....

#11 Post by Dylantje » 05 Jan 2016, 23:16

Thanks.
mmm

Pity...
But if I put it in sleep mode ? Will they or last longer ? Seeking to make the smallest alternative to a pir . [ And saw the combination with Domoticz , so 1 and 1 = ...

I assumed the Battery Body it could sustain, because feed all sensors ...

If I have to feed all , I can almost buy a better sensor ..

Of course, to my sensors ...

Anyone have experience with mysensors . ?
What is the range of the gateway?

And that gateway I can flash a esp8266 ?

VasilijHCN
Normal user
Posts: 18
Joined: 08 Oct 2015, 18:02

Re: Battery draine....

#12 Post by VasilijHCN » 25 Jan 2016, 12:58

My esp12 run 3 motnhs from single 700mah liion cell, 30min deepsleep mode, power led removed. Cell still has 3.7V - lot of energy remaining.

Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Re: Battery draine....

#13 Post by Deennoo » 29 Jan 2016, 00:44

Got one nude ESP12E who run with a 5v solar panel to charge 3*1.2v battery (recycling a garden light)

I test it for a parrot flower clone, actually it run since September, sending 1/h temp, lux, hum, and got back to deepsleep.

Of course i'm a beginner, but it work, great

Dylantje
Normal user
Posts: 255
Joined: 11 Oct 2015, 16:51

Re: Battery draine....

#14 Post by Dylantje » 09 Feb 2016, 22:16

When i use the esp in the sleeping mode....
Is the battery draine then gone???


Or what is the time the esp can work in a sleeping mode?

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Battery draine....

#15 Post by tozett » 10 Feb 2016, 08:14

Deennoo wrote:Got one nude ESP12E who run with a 5v solar panel to charge 3*1.2v battery (recycling a garden light)
... it run since September, sending 1/h temp, lux, hum, and got back to deepsleep.
would be very intered in your solar setup... :D
may you show a picture, components (links for aliexpress? :D ), cabling-diagram?

great thanks,
tozett

Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Re: Battery draine....

#16 Post by Deennoo » 10 Feb 2016, 09:43

tozett wrote: would be very intered in your solar setup... :D
may you show a picture, components (links for aliexpress? :D ), cabling-diagram?

great thanks,
tozett
Nothing special on it :

Solar panel and batterie come from a lidl garden lamp
Just don't forget to wire the deepsleep pin to gnd.

some info here (french forum)

http://easydomoticz.com/forum/viewtopic.php?f=7&t=836

tozett
Normal user
Posts: 734
Joined: 22 Dec 2015, 15:46
Location: Germany

Re: Battery draine....

#17 Post by tozett » 10 Feb 2016, 10:11

coool, thanx.
8-)
next to me is a lidl, the spring is coming and than the solar gardenlamp in the lidl..... :roll:
i will try this 8-)

Deennoo
Normal user
Posts: 158
Joined: 07 Sep 2015, 13:03

Re: Battery draine....

#18 Post by Deennoo » 11 May 2016, 11:07

got some news,

i 'll test this how to :
http://www.whatimade.today/do-i-have-ho ... hermistor/

Without thermistor part, but using the adc pin for a soil moisture sensors, parts order today, now waiting for them

JR01
Normal user
Posts: 260
Joined: 14 Feb 2016, 21:04
Location: South Africa

Power saving tips...

#19 Post by JR01 » 12 May 2016, 09:37

here is a great piece on power saving tips for ESP8266 on github. https://github.com/z2amiller/sensorboar ... rSaving.md
-----------
IOTPLAY. Tinkerer, my projects are @ http://GitHub.com/IoTPlay, and blog https://iotplay.org. Using RPi, Node-Red, ESP8266 to prove Industry 4.0 concepts.

rolfz
New user
Posts: 3
Joined: 19 Feb 2017, 09:54
Location: Switzerland
Contact:

Re: Battery draine....

#20 Post by rolfz » 19 Feb 2017, 11:26

I experienced that with a 1cell lipo and a low quintessence 3.3v regulator, my 1000mAh Lipo emptied within 24h. The solution to avoid the battery to empty in deep sleep mode for example is to add a 470uF Tantal capacity in parallel to the VCC-GND connections of the ESP8266. 470uF is a minimum. It did not work with 220uF. Best is to connect the capacitor as close as possible to the ESP. Tantal is necessary to have a low ISR and be able to compensate picks that are used from the ESP when connecting the WIFI network.

P.S. I used an AP2112K3.3v Regulator as on the Sparkfun board. Works great to get 3.3V from a 1 cell lipo !

You can find some more details about a proper power supply here https://www.youtube.com/watch?v=wf_msvWv1jk
Last edited by rolfz on 19 Feb 2017, 17:47, edited 2 times in total.

paxi
Normal user
Posts: 121
Joined: 02 Feb 2017, 00:48
Location: Germany

Re: Battery draine....

#21 Post by paxi » 19 Feb 2017, 12:10

I see that the cap helps to smooth supply for the active ESP but don't understand what it does for deep sleep where current draw is about 0.1mA. What is battery life now?

Shardan
Normal user
Posts: 1156
Joined: 03 Sep 2016, 23:27
Location: Bielefeld / Germany

Re: Battery draine....

#22 Post by Shardan » 19 Feb 2017, 12:54

Hello,

in general the ESP can be used with batteries.
That needs some specialised software, i don't think ESPEasy is the choice for this.

The little battery packs do not have enough power, they are just for quick testing.
You may use a LiIon or LiPo battery, they are rechargeable and have much more power.

It needs a specific setup: You have to connect GPIO 16 with the RST and you have to tick the sleepmode box.
The problem with your home server is loosing connection - but this can't be avoided. Sending takes power so
all battery sensors i know switch off the transmitter to save battery.
Remember that the "sensor delay" setting wakes up the circuit so the shorter the period the shorter is the life of the battery.

Last but not least:
A PIR sensor on battery is definitely a bad choice. Those modules can take up to 5 mA of current - permanently.
Even more when motion is detected. How much exactly will differ from module to module but anyways it is too much
for battery use.

Even the DHT sensors take up much current compared to others.
DHT11 takes around 1,5 mA when working and about 0.3 ... 0.5 mA on standby.
Besides that DHT11 and DHT22 are somewhat inaccurate.
If you want a low power consumption use a SI7021 for your project.
Max current running 0,15 mA, on standby 0,06 mA, so a tenth of current and higher accuracy on top.

Watch out, you can only set up one SI7021 as the I²C address can't be changed!
As a secnod sensor you may for example ad a BME280 (temp/humidity/pressure).

Anyways, battery and PIR will not work well, and a permanently running WiFi will neither.

Let's calculate a bit:
Usual AAA batteries have a average capacitiy of 380 mAh, really good ones have about 550 mAh.
Lets calculate with 400 mAh.
Your sensors alone take up around 6 mA.
400 mAh / 6mA = 66,6 h runtime!
And this are only the sensors, the ESP is not included.
My complete sensor modules with TLS2561 luminosity, BME280 (temp/hum/pressure), a DS18B20 and an ESP 8266
take up around 65 mA with peaks up to 300 mA when transmitting.

Again: 400 mAh / 65 mA = 6,15 h !!!

Standard batteries will drain within 6 hours.

A good Li-Ion battery (format 18650, 3.7V)) may have up to 3000 mAh

3000 mAh / 65 ma = 46 h

After two days even such a fat battery is drained!

As you can see there is no way avoiding sleep mode.

To clearify: Even with sleep mode you will be far away from the "one year and more" lifetime
of circuits professionally designed to ultra low power.

Regards
Shardan

Edit: added calculation of runtimes, removed wrong I2C address part.
Regards
Shardan

User avatar
toffel969
Normal user
Posts: 469
Joined: 03 Jan 2017, 10:58
Location: Germany

Re: Battery draine....

#23 Post by toffel969 » 20 Feb 2017, 18:11

Backbone wrote:Sometimes you can be fooled by what people offer for sale.
The battery packs are pure for debugging for beginners............. ;-)
Google for power consumption ESP 8266 and you see they are not the best solution for battery operated sensors.
MYSENSORS is using other RF chip which is less consuming power.

Paco
Also make sure to use good voltage regulator fo mysensors
Domoticz on Raspi 2 -- 14 ESP units (hacked Sonoff,NodeMCUs, Wemos, self-built units) running with RC140- Mega 2.0.0 dev8

DeNB3rt
Normal user
Posts: 120
Joined: 15 Dec 2015, 14:07

Re: Battery draine....

#24 Post by DeNB3rt » 22 Feb 2017, 10:18

VasilijHCN wrote:My esp12 run 3 motnhs from single 700mah liion cell, 30min deepsleep mode, power led removed. Cell still has 3.7V - lot of energy remaining.
nice one :)
Located in Belgium, Bruges. Working on a full DIY domoticz setup with ESPEasy.

Post Reply

Who is online

Users browsing this forum: Google [Bot] and 47 guests