I notice Core have several ESP32 boards with LiPo connections - but only the DFR1075 FireBeetle 2 ESP32 C6 IoT Development Board promotes connecting a solar panel directly.
I would prefer an ESP32-S3 and more flash/RAM, so looking at other boards - particularly the UM Feathers3 - and thinking how to recharge the LiPo from solar panel.
Am I correct in assuming I just need a decent quality 5V buck/boost or step up/down voltage regulator ?
Might the charging circuit on the ESP have trouble if the 5V in is not a constant current ?
Can I have a solar panel connected to 5V pin, and connect a powerbank to the USB-C when an emergency charge is required ?
Anything else I need to look out for ?
The 5V solar panel I am currently using outputs approx 4.3V when there is daylight - but current is close to zero for much of that time, with peak about 2.2A. I assume it has a regulator built-in
Problems are
- The 4.3V that it is outputting is noticeably short of the 5V expected by the ESP32’s 5V pin
- unfortunately I have recorded voltage peaks up to 6.3A
- actual current generated is very low most of the time, even when at 4.3V
Would it be worthwhile to add a 5V buck/boost to further regulate the output - or would that be too many inefficiencies ?
I note Core have a variety of POLOLU 5V Step-Up/Step-Down Voltage Regulators, such as S8V9F5 and S13V15F5, plus boards from DFRobot, Sparkfun and Adafruit with prices from $6.05 to $27.50. Which would you recommend ?
2 Likes
Hey @Donald23173,
Having a look at the datasheet for the solar management chip on the FireBeetle 2 ESP32 C6 IoT Development Board it looks like you should be safe to directly input your solar into the VIN and GND pins.
The recommended input voltage is 4.5-6V as reported by the manufacturer of the board but the datasheet for the chip reports an absolute maximum rating of 6.5V.
While I wouldn’t recommend supplying the board with a constant voltage over 6V it seems safe to me to exceed this on a very rare occasion. This is the statement from the datasheet about this kind of thing:
"Stresses beyond those listed under ‘Absolute Maximum Ratings’ may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions above those indicated in the operational sections of the specifications is not implied. Exposure to Absolute Maximum Rating Conditions for extended periods may affect
device reliability."
I would interpret that to mean that you can push up to 6.5V, but they can’t promise it won’t have issues even if you keep this limitation in mind.
If you want to be safe however a 5V regulator could work for this. There are a fair few options for these ones that vary mainly depending on the input voltage they can handle and the maximum current output. If you are getting an average output of about 4V from the solar panel with a few peaks around 6V then I would suggest the following regulator.
As long as you are not expecting more than 1A of current from the solar panel, then this looks like this will give you the best value for your money (with expected efficiency of about 85%)
Hope this helps! 
1 Like
Thanks Samuel, but I did start by saying that this is the only ESP board that I am aware of (at least in Core’s catalog) that does advertise connecting a solar panel direct; and that I am interested in using a solar panel with one of the other boards (in particular the UM FeatherS3).
Thank you for the S8V9F5 recommendation.
Since this will be used to charge the LiPo 1A seems more than enough. I assume the voltage regulator and ESP32 charging circuitry will only draw as much current as they can handle … so it’s more about running the voltage regulator well within its spec so it doesn’t get too hot.
2 Likes
Hi Donald,
Its also worth mentioning that a regulator wont give the best efficiency from a solar panel, a dedicated solar IC should be used with Maximum-Power-Point-Tracking (MPPT).
On the Sparkfun page there is a good explanation of why MPPT is best if you intend to use a solar panel - Sunny Buddy Solar Charger V13 Hookup Guide - SparkFun Learn
It depends on the charging IC used, on the UM FeatherS3 the charging IC used is the
TP4065, all it wants is a constant power - which can be maximised through the MPPT IC,
I didn’t get far enough through the datasheet to find out if/how the chip would behave when there is not enough power to charge the battery.
Maybe? See above, though the 5V port will be more than sufficient to charge a battery, its just if the LiPo charge IC would enter some fail-safe state, where removing the battery/second input releases it, allowing the battery to be charged.
I believe the Sparkfun and Sunflower boards handle this quite well.
Liam
Add a capacitor (470µF+) on regulator output to buffer dips.
Check whether your ESP32 board has a protection diode on the 5V line — or add one yourself to prevent reverse feeding.
1 Like