power source for esp8266

Everything about esp8266 and more.

Moderator: leecollings

Post Reply
pietrondo
Posts: 5
Joined: Thursday 10 March 2016 16:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

power source for esp8266

Post by pietrondo »

Hi,
I'm new with domoticz, but in few hours with a raspberry, domoticz and a esp8266 i have a domotic house controlled by telegram ;-)

My problem is the power source of esp8266.. I have tried 2 AA but nothing.. so at the moment I'm using a usb cable connected to an usb hub to give enought powert to the module (connect with a humidity and temperature sensor dht11).
What are your solutions for "realy" indipendent sensor with esp8266?

thx
dijkdj
Posts: 63
Joined: Saturday 07 March 2015 22:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: power source for esp8266

Post by dijkdj »

3xAA. Thats is also how you find some boards on dx. Com
SweetPants

Re: power source for esp8266

Post by SweetPants »

Be aware the ESP8266 draws a lot of current when transmitting. if it is a sensor sending periodic data, better implement 'deep sleep' mode or use an external power source.
SweetPants

Re: power source for esp8266

Post by SweetPants »

dijkdj wrote:3xAA. Thats is also how you find some boards on dx. Com
Don't go over 3.3v, the module will die
pietrondo
Posts: 5
Joined: Thursday 10 March 2016 16:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: power source for esp8266

Post by pietrondo »

so. an AA is 1.5
3 AA == 4.5 right?
SweetPants

Re: power source for esp8266

Post by SweetPants »

pietrondo wrote:3 AA == 4.5 right?
That will probably brick your ESP module (Datasheet: "Operating voltage" 3.0 ~ 3.6 V)
pietrondo
Posts: 5
Joined: Thursday 10 March 2016 16:14
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: power source for esp8266

Post by pietrondo »

so what can I do?
dijkdj
Posts: 63
Joined: Saturday 07 March 2015 22:10
Target OS: Raspberry Pi / ODroid
Domoticz version:
Contact:

Re: power source for esp8266

Post by dijkdj »

Voltage stepdown, or measure 3x aa rechargable (1.2v) but remember deepsleep. What do you want the esp to do
SweetPants

Re: power source for esp8266

Post by SweetPants »

pietrondo wrote:so what can I do?
If you know how to make electronics, you could use a low drop 3.3v voltage regulator between the batteries and the ESP module. Then you need at least 3 1.5V batteries. Again, the ESP without deep sleep is not suitable for long time battery operation (year or more).
simonrg
Posts: 329
Joined: Tuesday 16 July 2013 22:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8807
Location: North East England
Contact:

Re: power source for esp8266

Post by simonrg »

There is quite a lot on the web around how to power ESP8266s and as mentioned voltage regulator combined the deep sleep function is the way to go for longest life - http://hackaday.com/2015/05/03/esp8266-wifi-throwies/.

I have taken a very simple approach, I would be very interested to hear why what I am doing is not a good idea or how I could do it better.

I never went down the Arduino route, a bit too electronicy, software seemed a bit too low level, communication did not seem to be well standardised and the cost was not as low as I would have liked.

ESP8266 is very cheap, flexible software from ESPEasy to Lua to Arduino and wifi built in - so can be used like a computer than a microcontroller.

Wifi means that ESP8266 has to wake up / transmit for 10s of seconds in order to send data, whereas an something based on 433MHz technology only wakes up / transmits data for fractions of a second - is there a $5 ESP8266 which has an integrated 433 instead of wifi?

I have taken a rather pragmatic approach to using / powering ESP8266s.

I decided that aside for power usage the Wemos D1 Mini had the right combination of features and ease of use - easy fit on breadboard - microusb for serial connection / power / programming, takes in 5V but operates at 3.3V and supplies a 3.3V supply for sensors.

So in general I am attaching ESP8266 inside to cheap USB power supplies with cheap 5m USB cables.

For remote use I am experimenting a number of once again cheap backup phone power supplies - 2500mAh and 5000mAh - not sure how these will work out or how long they will last.

This is a Wemos D1 Mini with ESPEasy firmware feeding 4 DHT22 temperature and humidity data to Domoticz, 2500mAh USB power brick and a 5m USB cable.
IMG_0146.JPG
IMG_0146.JPG (39.1 KiB) Viewed 9645 times
Raspberry Pi 2 B - 2A@5V PSU - Raspbian + Domoticz + RFXtrx(89), LightwaveRF House(dimmers, sockets, wireless/mood switches), Owl CM113, 4 LaCross Temp / Humidity Sensors, 4 Siemens PIR, Smappee, Solaredge, ESP8266
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: power source for esp8266

Post by Derik »

@ Simonrg...
What is the battery live with a USB powerpack? [ hum and pir? ]


For firmware:
http://www.esp8266.nu/index.php/ESPEasy

Perhaps mysensors is a better option.:
http://forum.mysensors.org/topic/486/my ... -sensor/72
Or:
Openhardware:
https://www.openhardware.io/
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
maluko
Posts: 105
Joined: Sunday 02 February 2014 23:57
Target OS: Raspberry Pi / ODroid
Domoticz version:
Location: Portugal
Contact:

Re: power source for esp8266

Post by maluko »

simonrg, can you tell me if this powerbank 5000 can charge and discharge at same time?
simonrg
Posts: 329
Joined: Tuesday 16 July 2013 22:54
Target OS: Raspberry Pi / ODroid
Domoticz version: 3.8807
Location: North East England
Contact:

Re: power source for esp8266

Post by simonrg »

maluko wrote:simonrg, can you tell me if this powerbank 5000 can charge and discharge at same time?
Not sure will give it a try.
Raspberry Pi 2 B - 2A@5V PSU - Raspbian + Domoticz + RFXtrx(89), LightwaveRF House(dimmers, sockets, wireless/mood switches), Owl CM113, 4 LaCross Temp / Humidity Sensors, 4 Siemens PIR, Smappee, Solaredge, ESP8266
Derik
Posts: 1602
Joined: Friday 18 October 2013 23:33
Target OS: Raspberry Pi / ODroid
Domoticz version: BETA
Location: Arnhem/Nijmegen Nederland
Contact:

Re: power source for esp8266

Post by Derik »

note...
I do have 2 power banks they are going off when i connect my nano... [ for others when you buy one ]
1 powerbank is always on, and is working great...
Xu4: Beta Extreme antenna RFXcomE,WU Fi Ping ip P1 Gen5 PVOutput Harmony HUE SolarmanPv OTG Winddelen Alive ESP Buienradar MySensors WOL Winddelen counting RPi: Beta SMAspot RFlinkTest Domoticz ...Different backups
deennoo
Posts: 784
Joined: Wednesday 10 December 2014 13:06
Target OS: Linux
Domoticz version: beta
Location: Bordeaux France
Contact:

Re: power source for esp8266

Post by deennoo »

If there is for outside try solar power supply, got one ESP who with this since Septembre:

ESPEasy + ESP12E + DHT22 + Deepsleep + sending info every Hour.

Solar composants come from a gardenlight who works with a 3.6v battery.


For inside got some wemos + dht shield : they are juste plug to device with USB port who have to always stay ON : ISP box, Clock, printer.

The more difficult is to find good enclosure with WAF...

If you don't use deepsleep don't forget ESP is getting warm, you'll have to apply correction to a temp value.
Domoticz stable 3.5877 for real & Domoticz beta for test
Rfxtrxe / RFLink / Milight / Yeelight / Tasmota / MQTT / BLE / Zigate
http://domo-attitude.fr
Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest