felic:
Is it possible to charge a battery with a solar panel and at the same time power an Arduino with that battery?
This is my idea so far:
[Solar Panel]->[USB LiPo Charging Board]->[LiPo] and at the same time: [LiPo]->[3.3v Arduino]
These are all parts that I have lying around here.
My questions are:
- Would that work at all? If so, how well would it work?
- Is there room for improvement?
- Are there (potential) problems?
Technically yes this is possible, it is how every off grid solar system works, however i don't think your proposed set up will work.
Consider:
Your Solar Panels are rated to 5vdc
Your Battery Charger is rated 5.5VDC Input
Charger output is rated to 4.VDC
Battery is rated to 3.7VDC
Arduino is rated 3.3VDC
There is no voltage regulator anywhere in your equipment list
So in a perfect world the Solar Panel will output over 5VDC to the charger, the Charger will charge the 3.7VDC battery to 4.2VDC AND will run the Arduino at 4.2VDC which may lead to a failure.
As there is also no battery controller in the circuit the battery will over charge and POSSIBLY fail in a "non passive manner" (read explode/catch fire/melt etc).
Alternatively the "standing load" (the Arduino and associated components) will discharge the battery faster than the Panel(s) can recover the charge, the battery will fail and everything will stop working.
Now consider a better way to design this solution:
Start with the total load * the number hours per day to get AH required, then multiply by the number of days back up required (the sun doesn't shine everyday) then multiply by two to get the battery ah required.
Determine the MINIMUM hours usable Solar "Pressure" per day (this will be less than you would expect!!) Google P.V. hours for your area.
Now calculate recharge current required to FULLY recharge your battery bank, typically this will be ma removed * hours run * 1.15 (certainly for SLA check LiPo Data for recharge details)
As an example if your constant load is 100ma for 24 hours then 100ma * 24 = 2400ma *1.15 = 2760ma required to recharge battery.
Next divide required recharge current by WORST CASE P.V. hours and add constant load to determine minimum Solar Panel required.
So for Auckland New Zealand the figures based on a constant 100ma 5VDC load 24 hours per day are:
Battery: 100ma x 24 hours = 2,400maH * 3 Days without Solar = 7,200maH minimum battery * 2 (to get a decent life out of the battery do not discharge below 50%) = 14,400maH Battery
To size the Solar system:
2,400ma - minimum available Solar hours worst month = 2,400 - 2 hours =2,200ma per day * 3 days without Solar = 6,600 *1.15 (minimum amount to replace used charge)
=6,600ma * 1.15 = 7,590ma current required to recharge battery.
7,590ma / 2 hours P.V. = 3,795ma + Load =3,895ma Solar required.
So 3,895ma /1000 =3.895 amps @ 5VDC required recharge the battery 3.895 * 5VDC = 19.475 watts minimum Solar Panels at 5VDC
Simple really!!!