Solar lighting for a shed or garage
No mains in the shed? A small solar panel, a charge controller and a 12 V battery run LED lights every evening for years. The controller has three pairs of screw terminals: panel, battery and load. You connect two wires to each.
New to electronics? The words used on this page
- Fuse
- A small part that melts and cuts the power if too much current flows. It protects the wire from overheating.
- LiFePO4
- A safe, long-lasting kind of lithium battery. A 12 V one is 12.8 V and charges at 14.4 to 14.6 V.
- Lug, ring terminal
- A metal end with a hole, crimped onto a wire so it can be bolted to a battery, fuse or busbar.
- Multimeter
- A hand-held meter that measures voltage. Use it to check before you connect anything.
APanel, controller, battery and lights
For lights in a shed, garage, cabin or chicken coop, away from mains power. Screw terminals · 2 to 3 hours
You will need
- 12 V solar panelWatts from the calculatorView on Amazon
- Solar charge controller with LOAD terminalsAmps from the calculator; with a LiFePO4 setting if you use lithiumView on Amazon
- 12 V batterySize and type from the calculatorView on Amazon
- Inline fuse holder and blade fusesFuse size from the calculatorView on Amazon
- 12 V LED bulbs or LED strip12 V DC types, not mains bulbsView on Amazon
- Wall switchAn ordinary light switch works for 12 VView on Amazon
- Red and black wire, ring terminalsGauge from the calculatorView on Amazon
- MultimeterTo check voltages before you connect anythingView on Amazon
Tools
Screwdriver, wire stripper, drill, multimeter.
Step by step
- 1
Connect the battery to the controller's BAT terminals, + through the fuse. The controller's display lights up.
Check: battery first, always.
- 2
Mount the panel in full sun. With it covered, connect its wires to the PV terminals: + to +, − to −.
Check: uncover it: the controller shows it charging.
- 3
Run wire from the LOAD + terminal through the switch to the lights' +, and from LOAD − to the lights' −.
Check: 12 V LEDs only light one way round: swap the wires if a bulb stays dark.
- 4
Set the controller's battery type. Switch the lights on and check them after dark.
Every connection, one by one
Tick each one as you make it. When every box is ticked, the wiring is complete.
| Done | From | To | Wire |
|---|---|---|---|
| Battery + | Fuse, then controller BAT + | Red, gauge from the calculator | |
| Battery − | Controller BAT − | Black | |
| Panel + | Controller PV + | Red | |
| Panel − | Controller PV − | Black | |
| Controller LOAD + | Switch, then lights + | Red | |
| Controller LOAD − | Lights − | Black |
As an Amazon Associate I earn from qualifying purchases. Links open Amazon search results.
Size the panel and battery
For your lights and hours per day.
How this is calculated
- Method
- Energy per day = watts × hours. Battery Ah = that × days without sun ÷ usable share ÷ battery voltage. Panel W = daily Wh ÷ 85% (battery losses) ÷ (sun hours × 0.75). Controller A = the larger of panel W ÷ 12 V × 1.25 and light current × 1.25.
- Assumptions
- Usable share 90% for LiFePO4 (12.8 V), 50% for sealed lead-acid (12 V). The 0.75 factor is a rule of thumb for heat, angle, dirt and controller losses. Use the sun hours of your worst month for year-round light.
- Sources
- Common off-grid sizing practice; NEC 690.8 for the 1.25 factor.
Stay safe
- Connect the battery to the controller first and the panel last. Disconnect in the reverse order.
- Fuse the battery's + wire close to the battery.
- Cover the panel or turn it face down while you connect it: it makes voltage whenever light falls on it.
- Fix the panel firmly; wind can lift a loose panel off a roof.
- Set the controller to your battery type. A lead-acid setting can overcharge a lithium battery.
Questions people ask
PWM or MPPT controller?
For a small lighting system, a PWM controller is cheap and fine with a 12 V panel. MPPT gets about 20% more from the panel and is worth it above about 100 W.
Can I use a car battery?
It works for a while, but car batteries are not made for deep, slow discharge and wear out fast. Use a sealed deep-cycle or a LiFePO4 battery.
Where should the panel face?
Towards the equator (south in the northern half of the world), tilted at roughly your latitude, with no shade in the middle of the day.
Can I add a USB socket or a motion sensor?
Yes. Wire a 12 V USB socket or a 12 V motion sensor switch to the controller's LOAD terminals, like the lights.
Written and checked by Moataz FOUAD, telecom and electronics engineer. About this site.