The use of the ESP8266 in the world of IoT

User avatar
By devianlabs
#26180 Hello I buyed esp-12, and I want to know how much is power consumption.

I buyed this from Aliexpress.

Image

And I will connect it to this

Image

Now I will put into the socket, and I would like to know for how many days/months will be this ESP working with three 1.5v battery?

Thanks in advance :)
User avatar
By kolban
#26186 The power consumption is a function of the communication needs of the device. When communicating, it can draw up to 200mA. When in deep sleep mode, it only draws 10uA. Because the current draw is not constant but a function of the program running on the device, it is much more complicated to predict the overall consumption until you build a program and actually measure the consumption over time.
User avatar
By devianlabs
#26341 I got it worked for 3 and half days, and then it spent all energy from three battery.I want to work it for few months, how to make it work, but to fit it in socket?It does not have to be esp8266(and it can work by bluetooth), do you know some other solution, I want only turn off and turn on device that enters the socket, its all.I dont what you mean by socket, but it is this:

Image

Or maybe there is some other battery, that is much better?

Thanks in advance
User avatar
By Touliloup
#27624 http://www.amazon.co.uk/Energenie-Remot ... B004A7XGH8 ?

No seriously you could use the power from the socket to avoid the use of battery. (not directly on 220V of course!)
Whats the source you will feed the relay from?
Is it to simply control an home appliance?

Here is some simple example on how to control the relay:
http://iot-playground.com/2-uncategoris ... rduino-ide

See here to power your esp8266 from 220V:
viewtopic.php?f=6&t=2193
http://fr.aliexpress.com/item/2W-Step-D ... 24799.html