Solar Charging for Off-Grid Projects
A solar power system that keeps your equipment running when nothing else does is one of the most useful things you can build. When a storm takes out the grid, when you are camping or working somewhere with no power hookup, or when you need to run a gate opener, trail camera or weather station far from an outlet, solar energy is the solution. The calculations involved are not difficult, but they need to be done correctly — an undersized solar system will frustrate you, and an oversized one will waste money.
This lesson teaches you everything you need to size, wire, and operate a solar charging system for portable, backup and off-grid use. We start from how a solar panel converts sunlight to electricity, move through the two types of charge controllers and why the difference matters, and end with complete worked sizing examples for both a lightweight camping kit and an off-grid cabin or workshop.
Why Solar?
Campers and hikers need a power source that weighs almost nothing and keeps lights, phones and GPS units charged for days at a time. Households need backup power that works when the grid is down and keeps working for days. Remote equipment — gate openers, trail cameras, weather stations, livestock water pumps, monitoring sensors — needs power where running a cable would cost far more than the equipment itself. In all of these scenarios, solar energy combined with a well-chosen battery bank is the answer.
Solar panels have no moving parts, require no fuel, make no noise, and their output is entirely predictable once you understand the calculations. A 50-watt panel and a 20 Ah LiFePO4 battery pack fit in a backpack and will keep a small low-power system running indefinitely in most climates during summer. A 200-watt panel and a 100 Ah battery bank will run lighting, a router, a 12 V fridge and power tools in a small cabin or workshop through an extended outage.
Solar Panel Basics
A solar panel is made of photovoltaic (PV) cells — typically silicon. Each cell is a p-n junction, just like the diodes and transistors you have already studied. When a photon from sunlight strikes the silicon, it transfers its energy to an electron, knocking it free of its atom. The internal electric field of the p-n junction pushes this electron toward the n-side, creating a voltage across the cell and a current that flows through an external circuit. This is the photovoltaic effect, discovered by Edmund Becquerel in 1839.
A single silicon cell produces about 0.5–0.6 V in sunlight. To reach useful voltages, cells are connected in series. A standard "12 V nominal" solar panel typically contains 36 cells in series, producing an open-circuit voltage of about 21 V — high enough to charge a 12 V battery through a charge controller.
Key Solar Panel Specifications
Every solar panel has a specification sheet listing five key electrical parameters, all measured under Standard Test Conditions (STC): 1,000 W/m² irradiance, 25°C cell temperature, and AM1.5 spectral distribution.
| Parameter | Symbol | Typical Value (100 W panel) | What it means |
|---|---|---|---|
| Maximum power | Pmax | 100 W | Peak output at STC — the rated wattage |
| Open circuit voltage | Voc | 21.6 V | Voltage with no load connected. Never exceeded in normal operation. |
| Maximum power voltage | Vmp | 17.8 V | Voltage at which maximum power is produced. Always less than Voc. |
| Short circuit current | Isc | 6.2 A | Current with output short-circuited. Never much exceeded in practice. |
| Maximum power current | Imp | 5.6 A | Current at maximum power point. Imp = Pmax / Vmp. |
The maximum power point (MPP) is the single operating point on the panel's current-voltage (I-V) curve that produces the most power. At lower voltages (toward short circuit) the current is nearly constant but voltage is low, so power is low. At higher voltages (toward open circuit) the voltage is near maximum but current drops steeply, so power is again low. The MPP sits at the "knee" of the I-V curve — the sweet spot. An MPPT charge controller continuously finds and tracks this point.
Temperature Effects on Solar Panels
This is one of the most commonly misunderstood aspects of solar panels. The STC rating is at 25°C cell temperature — not air temperature. On a summer day with the panel lying flat in direct sun, the cell temperature easily reaches 60–75°C. At these temperatures, Voc decreases by approximately 0.5% per °C above STC.
A panel rated Voc = 21.6 V at 25°C is operating on a hot summer day with cell temperature of 65°C.
Temperature rise above STC: 65 − 25 = 40°C
Voltage reduction: 21.6 V × 0.5% × 40 = 21.6 × 0.005 × 40 = 4.32 V
Actual Voc at 65°C: 21.6 − 4.32 = 17.3 V
This matters for MPPT controllers because a hot panel's Vmp may barely exceed the battery voltage, reducing MPPT efficiency. In cold climates, the opposite is true — a cold panel in winter has higher Voc and higher Vmp, giving an MPPT controller more voltage to work with and extracting more power.
Real-world panel output is typically 75–80% of the STC rated wattage when you account for heat, soiling, wiring losses, and angle errors. Always build this derating into your calculations — do not expect to consistently get 100 W out of a 100 W panel.
A complete solar charging system: panel, MPPT charge controller, battery bank and fused distribution to the loads. Every connection point in a real system should be fused or protected.
View LargerPeak Sun Hours
Peak sun hours is one of the most important — and most misunderstood — concepts in solar system sizing. A peak sun hour is not an hour of daylight. It is one hour of sunlight at exactly 1,000 W/m², which is the STC irradiance level at which panels are rated. In reality, the sun's intensity varies throughout the day: it is low at dawn and dusk, peaks around solar noon, and varies with clouds, haze, and season.
The peak sun hour figure represents the total daily solar energy divided by 1,000 W/m² — the equivalent number of hours at full intensity that would produce the same energy as the real daily profile. For example, a location that receives 5,000 Wh/m² per day of solar energy has 5.0 peak sun hours, even if the sun is actually up for 14 hours.
| Location | Annual average peak sun hours/day | Summer peak sun hours | Winter peak sun hours |
|---|---|---|---|
| Phoenix, AZ | 6.5 | 7.5 | 5.5 |
| Dallas, TX | 5.5 | 6.5 | 4.5 |
| Miami, FL | 5.5 | 5.5 | 5.0 |
| Denver, CO | 5.5 | 6.5 | 4.5 |
| New York, NY | 4.5 | 5.5 | 3.5 |
| Portland, OR | 4.0 | 6.0 | 2.0 |
| Seattle, WA | 3.5 | 5.5 | 1.5 |
For portable operations where you may set up anywhere in the country, use 4.0–5.0 peak sun hours as a conservative planning figure. The NREL (National Renewable Energy Laboratory) provides a free online tool called PVWatts that gives precise values for any US location. For emergency planning, always use the winter figure or the lowest monthly figure for your region — the solar system must work in worst-case conditions, not just in August.
Charge Controller Types: PWM vs MPPT
The charge controller is the brains of the solar system. It sits between the solar panel and the battery, preventing overcharge, implementing the correct charging profile (bulk/absorb/float for lead-acid, CC/CV for lithium), and providing protection against reverse current at night. The two fundamental technologies are PWM and MPPT, and choosing between them affects both system efficiency and component selection.
PWM — Pulse Width Modulation Controllers
A PWM controller works by directly connecting the solar panel output to the battery through a switching transistor. To regulate charging, it rapidly switches the connection on and off — during "on" periods, panel current flows into the battery; during "off" periods, it is disconnected. The ratio of on-time to off-time (the duty cycle) is varied to control the average current and maintain the correct battery voltage.
The critical limitation of PWM is that it forces the panel to operate at the battery voltage, not at the panel's optimal Vmp. If the battery is at 12.5 V and the panel's Vmp is 17.8 V, the PWM controller throws away the voltage difference. The panel operates well below its maximum power point, and available power is wasted. A 100 W panel charging a 12 V battery at 12.5 V via PWM actually delivers only about 70 W — approximately 70% of its rated output.
PWM controllers are inexpensive (often $10–$30 for small systems) and perfectly adequate for simple, low-cost systems where the panel's Vmp is close to the battery voltage — for example, a 12 V nominal panel (Vmp ≈ 17–18 V) charging a 12 V lead-acid battery. The efficiency loss is significant but acceptable when the equipment cost savings matter.
MPPT — Maximum Power Point Tracking Controllers
An MPPT controller is fundamentally a DC-to-DC converter — it accepts the panel's full output voltage, uses a sophisticated algorithm (typically a "perturb and observe" or incremental conductance method) to find the panel's maximum power point, and converts that higher-voltage lower-current input to the lower-voltage higher-current output needed to charge the battery. The conversion efficiency of a good MPPT controller is 93–98%.
The practical benefit is significant. That same 100 W panel that delivers only 70 W via PWM can deliver 93–98 W via MPPT — a 30%+ improvement in harvested energy. The advantage is most pronounced in cold weather, where Voc (and Vmp) are elevated well above their STC values. A cold winter morning with Vmp at 22 V and a flat 12 V lead-acid battery can result in 50%+ more energy extraction with MPPT versus PWM.
PWM controllers operate the panel at battery voltage; MPPT controllers find the panel’s maximum power point and convert the surplus voltage into extra charging current.
View LargerThe rule of thumb: use MPPT for any 12 V system with panels larger than 100 W, for any system where the panel's Voc exceeds the battery voltage by more than 5–6 V, and for any system where efficiency matters (permanent installations, lightweight portable kits). Use PWM for simple, low-cost systems of 50 W or less where the panel is appropriately matched to the battery voltage.
MPPT controllers also have an important side benefit: they allow using a higher-voltage panel (such as a 24 V or 36 V nominal panel) to charge a 12 V battery bank. This is useful because higher-voltage panels can use thinner, lighter wiring over longer runs. The MPPT controller handles the voltage conversion. PWM controllers cannot do this — the panel and battery must be at similar nominal voltages.
Sizing the Solar Panel
The solar panel must be large enough to replenish the energy consumed each day during the available peak sun hours, accounting for system losses. The formula is straightforward:
Panel wattage = (Daily energy Wh) / (Peak sun hours × system efficiency)
Where system efficiency accounts for controller losses, wiring losses, and battery charge/discharge losses. A realistic overall system efficiency for a well-designed MPPT system is 75–85%. Use 0.80 (80%) as a good planning value.
Daily energy consumption: 200 Wh
Peak sun hours: 5.0 (mid-Atlantic USA, summer)
System efficiency: 80%
Panel wattage = 200 / (5.0 × 0.80) = 200 / 4.0 = 50 W
Add 20–25% margin for cloudy days, panel aging, and soiling:
Final panel choice: 50 × 1.25 = 62.5 W → use a 75 W or 100 W panel for comfortable margin.
Sizing the Battery Bank
The battery must store enough energy to power the loads through periods without sunshine — either overnight or during consecutive cloudy days. The number of days you want to operate without solar charging is called the "days of autonomy."
Battery Ah = (Daily energy Wh × Days of autonomy) / (System voltage × DoD fraction)
Where DoD fraction is the maximum depth of discharge you will use: 0.50 for lead-acid (50% DoD), 0.80 for LiFePO4 (80% DoD). System voltage is typically 12 V.
Daily energy: 200 Wh. 2 days autonomy. 12 V system.
Lead-acid at 50% DoD:
Ah = (200 × 2) / (12 × 0.50) = 400 / 6 = 66.7 Ah → use a 75 Ah AGM battery (weighs ~21 kg)
LiFePO4 at 80% DoD:
Ah = (200 × 2) / (12 × 0.80) = 400 / 9.6 = 41.7 Ah → use a 50 Ah LiFePO4 (weighs ~5 kg)
The LiFePO4 solution is 75% lighter while providing the same effective energy storage. For portable operations, this difference is decisive.
Solar Panel and Battery Sizing Calculator
Enter your daily energy consumption, location data, and battery preferences to calculate the minimum solar panel wattage and battery capacity needed for your system.
Worked Example: Lightweight Camping Kit
Let us size a complete solar system for a lightweight camping kit that runs LED lighting and charges phones, a GPS unit and a small laptop.
LED lighting and a small fan: 0.2 A at 13.8 V → 2.76 W
Laptop and phone charging: 2.0 A at 13.8 V → 27.6 W
Anticipated daily use: 4 hours of lighting, 1 hour of charging per day
Daily energy:
Lighting: 2.76 W × 4 h = 11.0 Wh
Charging: 27.6 W × 1 h = 27.6 Wh
Total: 38.6 Wh/day
Solar panel sizing (5 peak sun hours, 80% efficiency):
Panel = 38.6 / (5 × 0.80) = 9.65 W minimum
With 25% margin: 12 W. Use a 20 W panel for practical margin and weight tolerance.
Battery sizing (LiFePO4 at 80% DoD, 2 days autonomy):
Ah = (38.6 × 2) / (12 × 0.80) = 77.2 / 9.6 = 8.0 Ah → use a 10 Ah LiFePO4
Controller: Genasun GVB-8 MPPT (8 A, specifically designed for LiFePO4) or any quality 10 A MPPT with LiFePO4 setting
Complete system weight:
20 W panel (folding type): ~0.8 kg
10 Ah LiFePO4: ~0.9 kg
MPPT controller + wiring: ~0.2 kg
Total: ~1.9 kg (4.2 lb) — fits in a day pack.
This is a genuinely portable, self-contained solar power system weighing under 2 kg. Used in a sunny climate at 4–6 peak sun hours, the 20 W panel will produce 64–96 Wh per day — more than enough to replace the 38.6 Wh consumed, with surplus going into the battery for evenings and cloudy days. In most US locations during summer, this system will run indefinitely without ever depleting the battery.
Worked Example: Off-Grid Cabin or Workshop
Now let us size a system for a small off-grid cabin or workshop — a 12 V system running a compressor fridge, lighting and power tools through an inverter, used for an 8-hour working day where utility power is unavailable.
Base load (lighting, router, fridge electronics): 1.0 A at 13.8 V → 13.8 W
Heavy load (fridge compressor and tools through the inverter): 20 A at 13.8 V → 276 W
Realistic duty cycle: the heavy load runs about 30% of the time, the base load the other 70%
Average power: (276 × 0.30) + (13.8 × 0.70) = 82.8 + 9.66 = 92.5 W average
Daily energy at 8 hours: 92.5 W × 8 h = 740 Wh/day
Solar panel sizing (5 peak sun hours, 80% efficiency):
Panel = 740 / (5 × 0.80) = 185 W minimum
With 25% margin: 231 W → use a 200 W panel and accept slightly slower recovery, or use two 100 W panels for 200 W total.
Battery sizing for 1 day autonomy (LiFePO4 at 80% DoD):
Ah = 740 / (13.8 × 0.80) = 740 / 11.04 = 67 Ah → use a 100 Ah LiFePO4 for full-day coverage with margin
Controller: 20 A MPPT minimum (e.g., Victron SmartSolar 100/20, Renogy Rover 20A, or Epever 20A)
System summary:
200 W panel: ~8 kg (or two 100 W panels at 4 kg each)
100 Ah LiFePO4: ~10 kg
Controller + wiring + hardware: ~1.5 kg
Total: ~19.5 kg — transportable in a mid-size vehicle, installable in an afternoon.
This is a serious, practical off-grid power system. One 200 W panel and a 100 Ah LiFePO4 battery bank will sustain an 8-hour working day and recharge the battery for the next day, as long as the sun shines for at least 4–5 hours. In winter in a cloudy region such as the Pacific Northwest, where you might see only 2 peak sun hours, you would need a second panel or a backup generator for recharging.
Wiring and Safety
The wiring of a solar system handles significant DC currents at relatively low voltages. Unlike high-voltage AC wiring where small faults are obvious, a DC short circuit at low voltage can deliver enormous current silently and cause a fire. Every connection in a solar system must be protected by an appropriately sized fuse or circuit breaker.
Fusing
Place a fuse as close to the battery positive terminal as physically possible — within 12 inches (30 cm) is ideal. This protects the entire wiring system against a short circuit fault anywhere in the system. The fuse rating should be 125% of the maximum expected current, not more. For a 100 Ah battery powering a 20 A load, a 30 A fuse at the battery is appropriate. Between the solar panel and the charge controller, fuse at 1.25× Isc of the panel.
Wire Gauge
Use the 3% voltage drop rule: the total voltage drop in the wiring should not exceed 3% of the system voltage. At 12 V, that is 0.36 V maximum from battery to load and back. For a 20 A load over a 6-foot (1.8 m) one-way run (12-foot / 3.6 m round trip), calculate the required wire size using the AWG current capacity tables. 10 AWG copper wire has a resistance of approximately 1.0 mΩ/ft; over 12 ft, the drop at 20 A is 20 A × 0.012 Ω = 0.24 V — acceptable. For longer runs or higher currents, step up to 8 AWG or 6 AWG.
Connectors
Anderson Powerpole connectors are a popular standard for portable 12 V power wiring. They are genderless (both sides of the connector are identical), color-coded (red positive, black negative), available in 15 A, 30 A, and 45 A ratings, and impossible to connect backwards once the contacts are inserted correctly. Standardizing all of your 12 V equipment on one connector type means any device can plug into any battery or supply without adapter cables.
For solar-to-controller connections, many panels use MC4 connectors — weatherproof, locking connectors designed for outdoor permanent installations. Use a proper MC4 crimping tool for reliable connections. Do not substitute generic connectors that may arc under the panel's voltage and current.
Grounding
In a fixed installation, connect the battery negative to the equipment chassis and follow your local electrical code for system grounding and bonding — usually to the building's grounding electrode system or a ground rod. This provides a safety ground, helps control electrical noise from the controller and inverter, and helps protect against lightning damage. Keep the ground connection short and use heavy wire (8 AWG or thicker). For portable kits, make sure every metal equipment case connects back to the battery negative so the system has a single, well-defined reference.
Monitoring and Troubleshooting
Modern MPPT charge controllers provide real-time display of solar input power, battery voltage, battery current, and accumulated daily energy (kWh). This data is invaluable for verifying that the system is working correctly and for troubleshooting problems.
A controller showing "0 W" from the panel on a sunny day indicates either a wiring fault (check fuses and connections), a panel fault (check that Voc measures correctly with a voltmeter across the panel output), or a mismatched voltage (panel Voc too low for the controller's minimum input). A controller showing the expected panel voltage but much less current than expected suggests soiling or partial shading.
Common problems and their causes: dirty panels can lose 10–15% of output — clean monthly with water and a soft cloth. Partial shading causes disproportionate power loss because all cells in a series string must carry the same current — one shadowed cell can drop the output of the entire string by 50% or more. Most modern panels include bypass diodes that limit this effect, but shading should still be avoided if at all possible. Corroded connections cause resistance, which causes voltage drops and power loss — inspect and clean all terminals annually and whenever performance seems degraded.
Low battery cutoff protects lead-acid batteries from destructive over-discharge. Set the load disconnect voltage on your charge controller to 11.5 V for 12 V lead-acid systems. Most MPPT controllers have this as a programmable parameter. The low-voltage cutoff ensures the battery never drops below 50% DoD during normal operation, dramatically extending its useful life.
Frequently Asked Questions
Can I leave a solar panel permanently connected to a battery without a charge controller?
For very small panels relative to battery size — specifically, panels with Isc less than 1–2% of the battery's Ah rating — direct connection without a controller is technically possible without overcharging the battery, because the self-discharge rate of the battery approximately equals the panel's trickle charge current. In practice this is only safe for very small "maintenance" panels (1–5 W) on large batteries (100+ Ah). For any panel larger than a few watts, always use a charge controller. Without one, the panel will overcharge the battery once it reaches full charge, causing gassing, electrolyte loss (flooded), and potential thermal damage. For lithium batteries, operating without a charge controller is never acceptable — overcharging can cause permanent damage or fire.
What happens if I connect two solar panels in series?
Connecting two identical panels in series doubles the voltage while keeping the current the same. Two 21 V / 6 A panels in series give 42 V / 6 A. This is useful for longer wire runs (lower current means thinner wire) and for systems using a 24 V battery bank. You cannot use series-connected panels directly with a PWM controller for a 12 V battery — the 42 V input greatly exceeds the battery voltage and will damage the PWM controller. An MPPT controller with an input voltage range covering 42 V (most are rated for 100 V or more) handles this perfectly, converting the higher panel voltage down to the required battery voltage with excellent efficiency.
How do I know my panel is working correctly?
Measure the open-circuit voltage (Voc) with a voltmeter across the panel output terminals in direct sunlight — it should be close to the rated Voc from the specification sheet (within a few percent, adjusted for temperature). If Voc is correct, the panel's cells are intact. Next, check that the charge controller is displaying a panel voltage close to Vmp (17–18 V for a typical 12 V nominal panel with an MPPT controller at full sun) and a current close to Imp. If Voc is correct but the controller shows low or zero current, there may be a wiring fault between the panel and controller. If Voc is much lower than expected, one or more cells may be damaged.
Is MPPT always better than PWM?
Not always. For very small systems — for example a 20 W panel with a 12 V battery where the panel's Vmp (17–18 V) is close to the battery voltage — a PWM controller's efficiency loss is only 10–15%, and the lower cost and simplicity of PWM may be justified. For panels larger than 100 W, for systems using high-voltage panels (24 V or 48 V nominal) to charge a 12 V bank, and for systems in cold climates where high Voc provides significant headroom above battery voltage, MPPT pays for itself quickly through improved energy harvest. The payback period for the extra cost of MPPT is typically one to two seasons in a year-round system.
Test Your Knowledge
Answer the questions below to check your understanding of this lesson. Every answer can be found in the lesson above.