Setup an array of solar panels on rooftop connect them to a solar charge controller and charge the batteries.
How to charge 18650 battery with solar panel.
Charge controllers are also avai.
Solar powered charger for 18650 lithium ion cells step 1.
As a beginner s solar project i have designed a very simple solar battery charger to charge 18650 li ion batteries.
Divide the wattage of the solar panel by the voltage of the battery to get the number of amps your charge connector needs to handle.
Put the 18650 battery into the holder and solder wires.
Note that 2 40v cell for lead acid and 4 20v cell for lithium ion are the full charge voltage thresholds.
To charge a battery with a solar panel connect a charge connector to the solar panel.
From the batteries you can run any mains appliances using appropriate inverters.
Some correction i make to improve charging during winter solar cell should be 6 v and current or power can be variable like 500 mah or 1ah diode to protect tp4056 f.
Charging lithium ion battery with solar cell.
Then run wires from the battery to the charge connector making sure to match the positive and negative poles.
This project is made using cheap materials that can be sourced easily including solar.