The system at a glance
Solar panels → charge controller → battery bank (+ BMS) → inverter → your AC devices. A busbar ties the DC side together, fuses/breakers protect every leg, and a shunt monitor tells you your true state of charge. Many people combine the controller + inverter into one "all-in-one" unit.
0. Pick your system voltage first
Before any parts, choose a nominal voltage — everything (inverter + batteries) must match it. Watts = volts × amps, so higher voltage means lower current for the same power, which means thinner, cheaper, safer cables.
| Voltage | Best for | Sweet spot |
|---|---|---|
| 12V | RVs, vans, boats, small builds | Under ~2,000W |
| 24V | Larger vans, cabins | 2,000–3,000W |
| 48V | Whole-home, large off-grid | 3,000W+ & best $/kWh |
1. The battery bank (the heart)
This stores your energy. For almost every modern build the answer is LiFePO4 (lithium iron phosphate): ~3,000–6,000 cycles, safe chemistry, and happy to sit partially charged. Two main routes:
- Drop-in / server-rack batteries (e.g. 12V 100Ah bricks, or 48V 100Ah ≈ 5kWh rack modules) — the easiest DIY. They include a built-in BMS and (on rack units) communicate with your inverter. Add another to expand.
- Raw cells you assemble (8× or 16× prismatic cells) — cheapest per kWh, but you build the pack, add a BMS, and top-balance the cells. More work, more knowledge.
Within one voltage you wire batteries in parallel to add capacity. (Wiring lower-voltage batteries in series to reach a higher bank voltage is possible but advanced — matched batteries and a BMS plan are a must.)
The BMS (battery management system)
The BMS is the brain that protects the cells: it cuts off on over-charge, over-discharge, over-current and over-temperature, and balances the cells so they age evenly. Drop-in and rack batteries have this built in; DIY cell packs need you to add one rated for your voltage and current. In cold climates, look for a model with a low-temperature cutoff or self-heating — charging LiFePO4 below freezing damages it.
2. The inverter (DC → AC)
Your battery stores DC; your appliances want 120V AC. The inverter converts it. Key choices:
- Pure sine wave — non-negotiable. Cheap "modified sine wave" units can damage electronics, CPAPs and motors.
- Continuous vs surge rating — size continuous watts above your biggest simultaneous load; surge (2–3× for a moment) must clear motor/compressor startups.
- Low-frequency vs high-frequency — low-frequency (transformer-based) inverters are heavier but handle big surges and run all day; high-frequency units are lighter, cheaper, but surge less.
- Inverter/charger combo — many include an AC charger so you can top up from shore power or a generator, plus an auto-transfer switch during an outage.
3. The solar charge controller (MPPT)
Panels output a variable, high voltage; the charge controller converts it to the right voltage/current to safely charge the battery. Use an MPPT (Maximum Power Point Tracking) controller, not PWM — MPPT harvests 20–30% more, especially in cold or cloudy conditions. Match it to:
- Your battery voltage (12/24/48V).
- Your array's max voltage (Voc, which rises in the cold) — stay under the controller's limit. See the MC4 & wiring guide.
- Your array's max current — the controller's amp rating sets how many panels you can feed it.
All-in-one units combine the MPPT + inverter + charger + transfer switch in one box (EG4, Growatt, Victron Multi + MPPT pairing). Simpler wiring, one thing to mount — at the cost of replacing everything if one part fails.
4. Busbars, wiring & connectors
A busbar is a common positive and negative bar where the battery, inverter and controller all connect — much cleaner than stacking rings on one terminal. Get the cable sizing right:
- Battery-to-inverter cables carry the most current — use thick, short cables (4/0 or 2/0 AWG for large 12/24V inverters; smaller at 48V) with properly crimped lugs.
- Solar wiring uses MC4 connectors and PV wire — see our MC4 connectors guide.
5. Fuses & breakers (do not skip)
Every source that can push current needs protection close to it:
- Class-T fuse or main DC breaker between the battery and busbar — the big one that protects against a dead short at the battery (which can deliver thousands of amps).
- Breaker/fuse between the charge controller and battery, and between the array and controller.
- Inverter fuse sized to the inverter's max input current.
Rule of thumb: size each fuse above the normal running current but below the wire's ampacity, so the fuse blows before the wire overheats.
6. Monitoring & the enclosure
A shunt-based battery monitor (e.g. Victron SmartShunt) measures exactly how many amp-hours go in and out, so you get a true "% remaining" instead of guessing from voltage. Mount everything in a ventilated enclosure, box or server rack — it keeps wiring tidy, protects terminals, and (for rack batteries) is literally the frame the modules slide into.
💰 Why DIY? The $/kWh math
A prebuilt 3.6 kWh unit often runs ~$1.00–1.30 per usable Wh. A 48V server-rack build (inverter + two 5 kWh batteries + wiring) frequently lands around $0.40–0.60/Wh — roughly half — and every extra battery you add only improves that ratio. The trade-off is that you handle the wiring and safety yourself.
Putting it together (wiring order)
- Mount battery, inverter, controller and busbars in the enclosure.
- Battery → main fuse/Class-T → DC busbar.
- Busbar → inverter (with inverter fuse) and → charge controller (with breaker).
- Solar array → DC disconnect → charge controller input.
- Install the shunt on the battery negative so all current passes through it.
- Double-check polarity everywhere, then energize in order: battery, then controller, then inverter.
Parts checklist
| Part | Job |
|---|---|
| LiFePO4 battery / rack module | Stores energy |
| BMS | Protects & balances cells (built-in on drop-in/rack) |
| Pure sine inverter (or inverter/charger) | DC → AC, plus grid/generator charging |
| MPPT charge controller | Solar → battery charging |
| Busbars + lugs + DC cable | Ties the DC side together |
| Class-T fuse + breakers | Short-circuit & overload protection |
| Shunt battery monitor | Accurate state-of-charge |
| Enclosure / box / server rack | Houses & protects everything |
| Solar panels + MC4 wiring | Generates power |
Ready to spec real parts and see the price?
Pick a voltage, inverter, batteries and panels and instantly see total capacity, output, $/kWh, recharge time and runtime.
Open the Build-Your-Own tool →Educational overview only. High-voltage DC and lithium batteries are dangerous — follow manufacturer instructions and local electrical code, and consult a licensed electrician for permanent or in-home installations.