1. The three parts
The panel makes electricity, the charge controller decides how much of it goes into the battery, and the battery stores it. The controller is not optional: without one, a panel can drain a battery flat on a cloudy day.
2. What a small system uses
A small setup for a gate sensor, a camera or a shed light usually runs on one 12-volt deep-cycle battery, often a 7 Ah or 12 Ah sealed type. It has the shape of a car battery, but it is built to be charged and discharged again and again.
3. Deep-cycle, not starter
A car starter battery is built for one big burst of power and then sits charged. A solar battery is a deep-cycle battery, built to give its energy away steadily and be charged again. Putting a starter battery on a solar panel ruins it in a few months.
4. AGM or gel for solar
A sealed AGM or gel battery needs no water and no ventilation, which makes it the usual choice for a battery box outdoors. A flooded battery is cheaper and can last longer if it is kept wet and in fair weather, but it needs topping up and cannot be left frozen.
5. Give it a place to live
A battery box outdoors should be shaded and ventilated, and the battery should never sit on bare soil. Keep the terminals clean and check the voltage every few months. A battery left at a low charge for weeks gets damaged.