Solar system power for esp8266 device like weather sensor. You need 5V 0.15W solar panel and small li-po battery for example 200mAh. Zener diode stabilizes voltage on 4.3, schottky diode give 0.15-0.2V voltage drop because 4.3V is too much for li-ion battery and prevents lekage current from battery. You can use panel also like binary(0/1) light sensor.
Keep It Simple Stupid
Not tested yet.
The LP2980-N is a 50-mA, fixed-output voltage regulator designed specifically to meet the requirements of battery-powered applications.
Using an optimized VIP (Vertically Integrated PNP) process, the LP2980-N delivers unequaled performance in all specifications critical to battery-powered designs:
Dropout voltage: Typically 120 mV at 50-mA load, and 7 mV at 1-mA load.