Solar and USB charging for battery power

I have an arduino that will be stored and used location without power and so will need it to be battery powered.

I would like the battery to be charged by solar power as much as possible but also have a connection (usb or something) that means it can be charged that way too if required.

Does that kind of functionality exist as a project, or even better, as an off-the-shelf component?


PV panel feeds power bank, power bank feeds Arduino.

Maybe one of the kits here is a good fit for what you want: Solar Panels | Goal Zero

Looks like Sparkfun has some chargers and regulators - not sure if they have a single board that will do everything you want