Sunday, March 11, 2018

ESP8266 powered by a solar panel and a 18650 battery

On my setup described in here I've added this solar panel from Banggood. If in the past the maximum of battery operated was around 48 days on one charge, now with the help from solar panel I am expecting to run 24/7 without the need to recharge the battery myself.

The panel has dimensions 165x135x2mm and is made from monocrystalline silicon and is rated to 6W and 580 mA.
Exposing it to full sun will produce 6.54 volts and after the diode (I've used a 1N4007) will have 6.00 V.

To connect the solar panel to charger board I've cut a USB to micro-USB cable and I've soldered the part with the micro-USB to the solar panel. The micro-USB cable now can be plugged directly into the charger in its micro-USB connector.

The entire setup is now made from:

Wemos ESP8266  - 1pcs
Wemos Lithium charger board - 1pcs - this is an old version or Wemos Lithium charger board - 1pcs - the new version
BMP180 temperature and pressure sensor - 1pcs.
Battery 18650 -1pcs
Battery holder - 1pcs

The code is the same as in the original post in here.


This is the picture with the module and the LED being GREEN ( battery is fully charged )
Green LED - fully charged

And the entire module with solar panel attached to the window.

The entire module with solar power.


Just after I've added the solar panel the voltage of the battery has start to increase.

Just connected the solar panel to the charger

Now after few days you can see that what is consumed during the night and during the day when there is not enough sun will be recovered in few hour of sun. The panel is mounted to a window where is having sunlight for three four hours in the afternoon.

In the next picture you can see four peaks (one every day), where the charger actually stopped the charging of battery. The charger is cutting the power to the battery at 4.26 - 4.27 V. You can see that by looking to the LED on the charger board that will light green. In the led is red it means that the charger is charging the battery. If there is not enough sun the led will be off which is good because will not drain the battery.
4 days run on solar panel

Now it will run forever and I don't need to load the battery every 48 days.

This is the current voltage on my setup in real time:




After a two days without any sun ( two days of rain) you can see that there are no peeks of fully charged. You can see this in the picture bellow.

Two days without sun, so there are no peeks

It will be interesting to see if the battery will be fully charged again in the next days with sun.

As you can see in few hours with sun the battery is full again, recovering after a two cloudy days. The LED is green again now.


LED is green again, battery is fully charged
I've let the module to work exclusively on battery for 10 days. I've reconnected the solar panel and in two hours the battery was again fully charged.

Solar panel connected after 10 days on battery


(- I will continue to update this post - )









2 comments:

  1. The max charge of that cell is 4.2v - by overcharging it you risk a nice bonfire on your window.

    ReplyDelete
  2. I don't think that is overcharging since the charger stops charging the battery when the LED is green. Voltage measured directly on battery indicates 4.20 V when the LED is green.

    ReplyDelete