Camper van connected by cable to a portable solar panel set up on the grass for a DIY off-grid power system

A DIY solar power setup for a small cabin or van uses the same building blocks: panels, a charge controller, a battery, an inverter and properly sized wire and fuses. Get the math right and the system runs quietly for years. Get it wrong and you end up with dead batteries or hot cables. This guide walks through the sizing chain step by step, with worked examples you can redo with your own numbers.

Quick answer

How do you plan a DIY solar power setup? List your daily loads in watt-hours, size a battery to cover them for one to two days, size the solar array to refill the battery in your worst-season sun hours, then pick an MPPT controller, inverter, wire and fuses to match. For most small cabins and vans, that lands at 400 to 800 W of solar and a 12 V or 24 V lithium battery bank.

Table of contents

The parts of a small off-grid solar system

  • Solar panels make DC power. Key datasheet values: Voc (open-circuit voltage, the highest voltage a panel produces), Vmp and Imp (voltage and current at maximum power) and Isc (short-circuit current).
  • Charge controller safely charges the battery from the panels. An MPPT (maximum power point tracking) controller converts higher panel voltage into charging current and is the usual choice; see our MPPT vs PWM comparison.
  • Battery bank stores energy. Lithium iron phosphate (LiFePO4) is the common pick today; our lithium vs AGM guide explains why.
  • Inverter turns battery DC into 120 V AC for standard outlets.
  • Protection: fuses or breakers, a battery disconnect, busbars and correctly sized cable.

The US Department of Energy’s guide to off-grid systems is a good plain-language overview of how these pieces fit together.

Step 1: Add up your daily loads

Everything starts with watt-hours per day: watts × hours of use = Wh. Use the nameplate or, better, measure with a plug-in meter. The table below is an example only; replace every number with your own.

Load (example) Watts Hours/day Wh/day
LED lights 20 5 100
12 V compressor fridge (average draw) 20 24 480
Laptop 60 4 240
Phone and devices 15 4 60
Water pump 60 0.5 30
Vent fan 25 6 150
Inverter idle draw 10 14 140
Total 1,200 Wh

Note the fridge “average draw”: a compressor cycles on and off, so its average is far below its running watts. Also note the inverter idle line. Technicians often see it forgotten, and on a small system it can eat a surprising share of the budget. If you only run AC loads occasionally, switch the inverter off when you don’t need it.

Heating and cooking are the loads that break small systems. Electric space heaters, kettles and air conditioners draw hundreds or thousands of watts. Most small cabins and vans run those on propane, wood or shore power instead.

Step 2: Size the battery bank

Battery Wh = daily Wh × days of autonomy ÷ usable depth of discharge

Worked example (assumptions): 1,200 Wh/day, 1.5 days of autonomy for cloudy weather, and 90% usable depth of discharge for LiFePO4 (check your battery’s spec sheet).

  • 1,200 × 1.5 ÷ 0.90 = 2,000 Wh
  • At 12.8 V nominal: 2,000 ÷ 12.8 ≈ 156 Ah → two 100 Ah 12.8 V batteries (2,560 Wh) gives margin
  • At 25.6 V nominal: 2,000 ÷ 25.6 ≈ 78 Ah → one 100 Ah 25.6 V battery

Depth of discharge is how much of the battery’s capacity you actually use. Lead-acid batteries last longer when you use only about half, which is why lithium banks can be smaller for the same usable energy.

Step 3: Size the solar array

Array watts = daily Wh ÷ (peak sun hours × system derate)

Peak sun hours vary by location and season; get yours from NREL PVWatts. Size for the season you actually use the cabin or van most.

Worked example (assumptions): 1,200 Wh/day, 0.75 derate (controller, wiring, battery losses and dirt).

  • Summer, 5 peak sun hours: 1,200 ÷ (5 × 0.75) = 320 W
  • Winter cabin, 2.5 peak sun hours: 1,200 ÷ (2.5 × 0.75) = 640 W

Vans are limited by roof space, so many builders combine roof panels with alternator charging (a DC-DC charger) or shore power. For RV-specific sizing, see how much solar you need for an RV.

Step 4: Choose the charge controller

An MPPT controller has two key ratings: maximum charging current (amps) and maximum PV input voltage (volts).

Current rating

Controller amps ≈ array watts ÷ battery voltage. Example: 640 W ÷ 12 V ≈ 53 A, so a 60 A controller. On a 24 V battery, the same array needs only about 27 A, so a 30 A controller works.

Voltage rating and cold weather

Panel voltage rises in the cold. If the string’s cold Voc exceeds the controller’s PV input limit, you can damage the controller. NEC (NFPA 70) 690.7 requires this cold-temperature calculation for permanent PV systems, and it is good practice in a van too.

Worked example (example panel values; use your datasheet):

  • Panel Voc: 24 V; Voc temperature coefficient: −0.30%/°C
  • Coldest expected temperature: −10°F (−23.3°C)
  • Correction: 1 + (25 − (−23.3)) × 0.0030 = 1 + 48.3 × 0.003 ≈ 1.145
  • Cold Voc per panel: 24 × 1.145 ≈ 27.5 V
  • 3 panels in series: 82.5 V, safe on a 100 V controller
  • 4 panels in series: 110 V, too high for a 100 V controller → use 2 strings of 2, or a 150 V controller

Step 5: 12 V, 24 V or 48 V?

Higher system voltage means lower current for the same power, which means thinner cable and less heat. Compare a 2,000 W inverter at full load (assuming about 90% inverter efficiency):

Battery voltage DC current at 2,000 W Practical notes
12 V 2,000 ÷ 12 ÷ 0.9 ≈ 185 A Simplest for 12 V appliances; very heavy cables
24 V 2,000 ÷ 24 ÷ 0.9 ≈ 93 A Good middle ground; may need a 24-to-12 V converter
48 V 2,000 ÷ 48 ÷ 0.9 ≈ 46 A Best for larger cabins; fewer 48 V appliances

A common rule of thumb: 12 V for small van builds with inverters under roughly 1,500 to 2,000 W, 24 V for larger vans and small cabins, 48 V for cabins with bigger AC loads.

Step 6: Wire size, voltage drop and fuses

Two checks decide wire size: ampacity (the wire must carry the current without overheating) and voltage drop (the wire must not waste too much voltage). Check ampacity with the cable manufacturer’s ratings and the applicable code; then check voltage drop.

Voltage drop (V) = 2 × one-way length (ft) × current (A) × resistance (Ω per 1,000 ft) ÷ 1,000

Resistance values for stranded copper from NEC Chapter 9, Table 8 (at 75°C): 10 AWG 1.24, 8 AWG 0.778, 6 AWG 0.491, 4 AWG 0.308, 2 AWG 0.194, 2/0 0.0967 Ω per 1,000 ft.

Example 1, PV to controller: 2 panels in series at about 10 A, 15 ft one-way, 10 AWG: 2 × 15 × 10 × 1.24 ÷ 1,000 ≈ 0.37 V. On a roughly 40 V string, that is under 1%.

Example 2, battery to 2,000 W inverter at 12 V: 185 A, 6 ft one-way, 2/0 AWG: 2 × 6 × 185 × 0.0967 ÷ 1,000 ≈ 0.21 V, about 1.8% at 12 V. Many builders aim for about 3% or less on DC runs.

Fuses and disconnects

  • Put a fuse or breaker as close to the battery positive terminal as practical, sized to protect the cable.
  • Lithium batteries can deliver very high fault current; use a fuse type rated for that interrupting current (many builders use Class T at the battery).
  • Add a battery disconnect switch you can reach quickly.
  • Fuse PV strings when you have three or more strings in parallel, per the panel maker’s maximum series fuse rating.
  • Use one common negative busbar and keep a clear, single bonding/grounding scheme.

Codes, permits and when to call an electrician

Cabins: a permanently installed system on a building generally falls under the NEC, including Article 690 (PV), Article 706 (energy storage) and Article 710 (stand-alone systems). Many counties require an electrical permit even for off-grid cabins. Call your local building department before you buy parts.

RVs and vans: RV electrical systems are covered by NFPA 1192, and many van builders also follow the marine DC wiring standard ABYC E-11 for cable and fuse practice. Insurance companies may ask who did the wiring.

What a DIYer can reasonably do: plan loads, mount panels, assemble low-voltage DC components following the manufacturer’s manuals, and test with a multimeter. Call a licensed electrician for any connection to a building’s AC wiring, a generator transfer switch, shore-power inlets, or anything tied to the utility grid. Grid-tied work also needs permits and utility approval.

Not ready to wire a system? An all-in-one portable power station with solar input is a simpler path; see our guide to the best solar generator for RVs.

Pros and cons of a DIY solar setup

Pros Cons
Lower cost than a turnkey install Mistakes in fusing or cable size are a fire risk
You understand and can maintain your system Permits and inspections may still be required for cabins
Easy to expand panels or batteries later Component warranties may require correct installation
Quiet, fuel-free power off-grid Winter output may need a backup charging source

Common DIY mistakes and an installer checklist

Technicians often see these problems in DIY systems:

  • No fuse at the battery, or a fuse sized for the load instead of the cable.
  • Undersized inverter cables on 12 V systems, leading to heat and low-voltage shutdowns.
  • Ignoring cold Voc and frying a controller on the first freezing sunny morning.
  • Charging lithium below freezing. Many LiFePO4 batteries must not be charged below about 32°F unless they have built-in heating; check the spec sheet.
  • Loose or poorly crimped lugs. Use the right crimper and heat-shrink, then torque terminals to spec.
  • Mixing old and new batteries or different chemistries in one bank.

Before you power up:

  1. Confirm every positive cable is fused near its source
  2. Check polarity with a multimeter before closing any breaker
  3. Verify string Voc in the shade/sun against the controller limit
  4. Set the controller’s battery profile to match your battery maker’s charge voltages
  5. Label cables and keep a simple wiring diagram with the system
  6. Mount the battery securely and ventilate per the manufacturer

FAQ

How much solar do I need for a small cabin?

It depends on your daily watt-hours and sun hours. In our example, 1,200 Wh/day needed about 320 W in summer and 640 W in winter with a 0.75 derate.

Can I run a refrigerator on a small solar setup?

Yes. Efficient 12 V compressor fridges are a common load in van and cabin systems. Check the fridge’s measured daily Wh, not just its running watts.

Is 12 V or 24 V better for a van solar setup?

12 V is simpler for small systems with 12 V appliances. 24 V halves the current, which helps with larger inverters and long cable runs.

Do I need a permit for off-grid cabin solar?

Often, yes. Requirements vary by county and state, so check with your local building department before installing.

Can I add more panels later?

Yes, if your controller has spare current and voltage capacity, or you add a second controller. Recheck cold Voc and wire sizing whenever you change the array.

Conclusion

A reliable DIY solar power setup for a small cabin or van comes down to honest load numbers and a few formulas: watt-hours for the battery, sun hours for the array, amps and cold Voc for the controller, and voltage drop for the wire. Fuse every positive conductor, respect the battery’s temperature limits, and bring in a licensed electrician for anything that connects to building AC wiring or the grid.

Similar Posts