Free Shipping on Orders $500+ | Use Code: OFFGRID10 for 10% Off
TheLoadCalc Logo
TheLoadCalc
How-To Guides

How to Build a DIY Solar Generator

TheLoadCalc TeamNovember 4, 202612 min read
How to Build a DIY Solar Generator
Photo: SparkFunElectronics / CC BY 2.0, cropped

A DIY solar generator is a battery, inverter, charge controller and outlets in a box. Built well, it can cost less than a commercial power station of similar capacity, be repaired part by part and be expanded later. Built badly, it is a fire risk. Here is how to plan the parts, wire and fuse them, and decide whether DIY is right for you.

Key takeaways

  • Core parts: LiFePO4 battery, pure sine inverter, MPPT controller, fuses, bus bars, outlets and a sturdy enclosure.
  • Fuse every positive cable from the battery, and use a main Class T or MRBF fuse.
  • Keep heavy cables short; give the inverter airflow.
  • Commercial power stations win on convenience, warranty and certification; DIY wins on repairability and cost per Wh at larger sizes.

Parts list (1.2kWh example)

PartExample specNotes
Battery12V 100Ah LiFePO4 with BMSCheck BMS continuous current ≥ inverter draw
Inverter1,000W pure sine, 12VDraws ~95A at full load
MPPT controller30A, 100V max PVHandles ~400W of panels
Main fuse125-150A MRBF or Class TAt battery positive
Branch fusesFuse block for USB/12V socketsPer wire size
Battery monitorShunt-basedAccurate state of charge
Panel inputAnderson or MC4 panel-mountWith a breaker or fuse
EnclosureVentilated case with handlesSecure the battery
Cable2-4 AWG main, 10-16 AWG branchesShort runs

Wiring layout

Battery positive → main fuse → master switch → positive bus. Battery negative → shunt → negative bus. From the buses: inverter (heavy cables, own fuse), charge controller (fused), fuse block for DC outlets, and the monitor. The fuse block and bus bar diagram shows the DC distribution, and the battery monitor diagram shows the shunt. Size every fuse with our fuse and breaker guide.

Mount the battery so it cannot move, keep terminals covered, and never work on a live battery with uninsulated tools. A dropped wrench across terminals can weld itself in place.

Charging inputs

  • Solar: panels to the MPPT controller via a panel-mount connector and breaker. Connecting portable panels is covered in the panels to power station diagram.
  • AC charging: a LiFePO4 charger (10-20A) from a wall outlet, or an inverter-charger instead of a plain inverter.
  • Vehicle: a DC-DC charger for charging while driving.

DIY or buy?

DIYCommercial power station
Cost per Wh (1-2kWh)Often lowerHigher, falling
Weight and sizeHeavier, bulkierCompact, integrated
RepairSwap individual partsSend to manufacturer
CertificationNoneUL/CE-tested
UPS mode, appsDepends on partsUsually built in
Skill neededModerateNone

If you want plug-and-play, compare options in best portable power stations and best solar generators.

Frequently asked questions

Is it cheaper to build your own solar generator?

Often, especially at 1-2kWh and above, but the gap has narrowed. Factor in tools, fuses, cables and your time.

What battery should I use for a DIY solar generator?

A LiFePO4 battery with a built-in BMS whose continuous discharge rating covers your inverter's maximum draw.

Is a DIY solar generator safe?

It can be, with correct fusing, cable sizing, secure mounting and ventilation. Most failures come from missing fuses and poor connections.

Size your build

Match battery, inverter and panels for your needs.

Related guides and diagrams