Wiring solar panels to a battery bank isn't plug-and-play; it's a critical sequence. For solar installers, EPCs, and project developers, getting this connection right means a safe, efficient, NEC-compliant system. Getting it wrong risks damaged equipment, costly callbacks, and significant safety hazards.
This guide provides a field-tested, no-fluff framework for the entire process. The operational flow is always: Panels > Charge Controller > Batteries > Inverter > AC Loads. Mastering this sequence ensures the raw energy from the sun is captured safely, stored properly, and converted into clean, reliable power for your client's home or facility. We'll cover system sizing, component selection with real brands like Sungrow and FranklinWH, NEC-compliant wiring, and commissioning best practices to avoid common, costly mistakes.
Understanding Your Core Solar Components

Before a single wire is cut, a solid plan is essential. A reliable solar and battery setup depends on four main components functioning as a cohesive system. Knowing what each one does is crucial for sourcing the right equipment and avoiding mismatches that can kill a project budget and timeline.
This isn't a niche market anymore. The U.S. energy storage sector is seeing explosive growth, driven by grid instability and incentives like the IRA. This surge underscores how critical reliable, properly installed energy storage has become for residential and commercial projects alike.
The Four Pillars of Your System
Think of your system as a team with four key players. Sourcing a high-performing, compatible team is the first step to a successful installation.
- Solar Panels (The Generators): These are the workhorses turning sunlight into direct current (DC) electricity. The wattage, efficiency, and voltage (Voc) of your panels determine how fast you can charge your battery bank.
- Batteries (The Reservoir): This is the energy bank where power is stored until needed. For most residential systems, a 48V battery bank offers a balance of performance and safety. Tier-1 brands like BYD and FranklinWH are common specifications for their reliability and UL listing.
- Charge Controller (The Gatekeeper): This is the brains of the DC side, sitting between your panels and batteries to manage voltage and current. Its primary job is to prevent overcharging, which destroys expensive batteries and violates warranty conditions. MPPT controllers are the standard for efficiency.
- Inverter (The Translator): Panels generate DC, and batteries store DC, but buildings run on alternating current (AC). The inverter converts that stored DC energy into usable AC power. Smart, communicating pairings, like a Sungrow hybrid inverter with BYD batteries, optimize performance and simplify commissioning.
Essential Components and Their Functions
This table breaks down the role of each component for quick reference during the specification and procurement phases.
| Component | Primary Function | Key Specification to Check | Example Brands |
|---|---|---|---|
| Solar Panels | Convert sunlight into DC electricity. | Wattage (Wp), Efficiency (%), Voltage (Voc) | JA Solar, Jinko Solar |
| Charge Controller | Regulates power from panels to batteries to prevent overcharging. | Max Input Voltage (V), Amperage (A) | Victron Energy, EPEVER |
| Batteries | Store DC energy for later use. | Voltage (V), Capacity (Ah or kWh) | BYD, FranklinWH, Enphase |
| Inverter | Converts stored DC power from batteries into usable AC power for appliances. | Continuous Wattage (W), Voltage (V) | Sungrow, Sol-Ark, SMA |
Understanding each component's role is step one. While simple applications might use integrated solutions like internal solar light kits, any custom system requires deep knowledge of these individual parts to ensure performance and compliance.
Sizing Your System for Real-World Demands
Guesswork is the enemy of a reliable solar installation. Forget theoretical maximums. The first step that makes or breaks your system is sizing it based on the client's actual, real-world energy consumption.
This begins with a detailed load analysis—an inventory of every appliance, light, and piece of equipment, its wattage, and its daily run time. This calculation yields the total daily energy consumption in kilowatt-hours (kWh), the single most important number for every subsequent calculation.
Calculating Your Battery Needs
With the daily kWh figure, you can size the battery bank. Let's use a common residential scenario: a home that consumes 15 kWh per day, with peak usage in the evening. The goal is to store enough solar energy during the day to power the home through the night, with a buffer for cloudy days or grid outages.
- Depth of Discharge (DoD): Draining a battery to zero drastically shortens its lifespan. Modern lithium batteries from brands like FranklinWH offer a high DoD of 80-90%, allowing for safe use of most of their rated capacity.
- System Inefficiencies: Energy is lost during DC-to-AC conversion. A conservative 10-15% loss factor should be included in calculations.
For our 15 kWh daily need, the calculation is: 15 kWh / 0.90 DoD / 0.85 efficiency = ~19.6 kWh. A 20 kWh battery bank is the correct specification, providing the required energy with a healthy operational buffer. For a deeper dive into sizing for full autonomy, our guide on off-grid solar power solutions provides additional context.
Matching Solar Panels to Your Battery Bank
Next, the solar array must be large enough to fully charge the 20 kWh bank within a single day's "peak sun hours." This metric varies by location and season, but we'll use a conservative average of 5 hours. To charge a 20 kWh bank in 5 hours, the array must produce 20,000 watt-hours / 5 hours = 4,000 watts. This requires a 4 kW solar array.
Pro Tip: We advise oversizing the solar array to 4.5 kW or 5 kW. This provides a crucial charging edge on overcast days, accounts for panel degradation over time (per the manufacturer's spec sheet), and ensures the batteries receive a full, healthy charge cycle as often as possible to maximize their lifespan and ROI.
Properly sizing the system from the start is the best way to ensure a predictable solar panel payback period for your client.
Wiring Your Solar Panels and Charge Controller
With the system sized, it's time to connect the solar panels to the charge controller. This is where engineering becomes installation, and proper wiring is critical for safety, performance, and code compliance.
First, you must decide how to wire the panel strings. This choice directly impacts the voltage and amperage delivered to the charge controller and must align with the controller's specifications.
Series vs. Parallel Wiring Explained
- Series Connection: The positive terminal of one panel connects to the negative of the next. This configuration adds the voltages of each panel, while the amperage remains constant. Series strings are common for higher voltage systems (48V) and pair efficiently with MPPT charge controllers.
- Parallel Connection: All positive terminals are connected, and all negative terminals are connected. This method adds the amperages of the panels, while the voltage remains constant. This is used when higher current is needed without exceeding the charge controller's maximum input voltage limit.
Choosing the correct wire is as critical as the wiring method. For a full breakdown of NEC-compliant conductors, see our guide on solar PV wire options.
This visual outlines the essential workflow, from preparation to final safety checks.

A solid, safe connection is built on meticulous prep and strict adherence to electrical safety procedures.
An NEC-Compliant Checklist for Professionals
For professional installers and EPCs, adhering to the National Electrical Code (NEC) is non-negotiable. It ensures safety, reliability, and project insurability.
Compliance Watchout: A reversed polarity connection will instantly destroy a charge controller. Always use a multimeter to verify the polarity of the solar array leads before connecting them to the controller. This is a costly, irreversible mistake.
Here's a field-tested checklist for every installation:
- De-Energize the Panels. Before handling wires, cover the solar panels with an opaque material (like their shipping box) to prevent them from producing a live voltage.
- Confirm Wire Gauge. Verify that the wire gauge (AWG) is correctly sized for the array's maximum current (Isc) and voltage (Voc), accounting for voltage drop over the length of the run.
- Use Proper MC4 Connectors. Use a dedicated MC4 crimping tool to assemble connectors. A secure, weatherproof seal is essential to prevent high-resistance connections, which are a serious fire hazard.
- Verify Polarity and Voltage. After wiring the strings but before connecting to the controller, uncover the panels briefly. Use a multimeter to confirm the array's open-circuit voltage (Voc) matches your design calculations and to identify the positive and negative leads.
- Ground Everything. The solar panel frames and mounting rack must be properly grounded according to NEC Article 690. This is a critical safety measure to protect against electrical faults.
Connecting The Battery Bank and Inverter Safely

Wiring the battery bank is the highest-risk phase of any solar installation. You are dealing with high DC amperages where a mistake can cause a dangerous arc flash, destroy equipment, or start a fire. Meticulous attention to detail is mandatory.
The order of operations is non-negotiable for safety: always connect the charge controller to the battery bank first. This allows the controller to boot up and sense the battery's nominal voltage before solar power is introduced. Only then should the battery bank be connected to the inverter.
Cable Sizing and Overcurrent Protection
Using undersized cables is a common and dangerous shortcut. It creates resistance, heat, inefficiency, and a potential fire hazard. Cables between the battery and inverter must be sized to handle the inverter's maximum continuous current draw.
For example, a 5,000-watt inverter on a 48V battery bank will draw over 100 amps (5000W / 48V = 104A). This requires heavy-gauge copper, typically 2/0 AWG cable or larger, to manage the amperage and minimize voltage drop. Use a hydraulic crimper to ensure a solid, low-resistance connection on all lugs.
Equally critical is overcurrent protection. Every ungrounded conductor from the battery bank requires a correctly sized fuse or circuit breaker, located as close to the battery's positive terminal as possible. Different battery chemistries have specific protection requirements, which we detail in our guide comparing lithium-ion vs. lead-acid batteries.
Wire Gauge and Fuse Sizing Reference
This table provides a starting point for common system sizes. Always verify against manufacturer specifications and local codes.
| System Amperage (Amps) | Recommended Wire Gauge (AWG) | Required Fuse/Breaker Size (Amps) |
|---|---|---|
| Up to 30A | 10 AWG | 30A |
| Up to 50A | 6 AWG | 60A |
| Up to 100A | 2 AWG | 125A |
| Up to 150A | 1/0 AWG | 175A |
| Up to 200A | 2/0 AWG | 250A |
Note: For long cable runs, you may need to increase wire size to mitigate voltage drop.
Final Connections and Terminal Torque
When making final connections, precision is key. A loose terminal is a primary cause of overheating and catastrophic failure.
- Keep it Clean: Ensure battery terminals and cable lugs are free of corrosion and debris.
- Order of Parts: The cable lug connects directly to the battery terminal, followed by any washers, then the nut.
- Torque It Right: Use a calibrated torque wrench to tighten terminals to the battery manufacturer's exact specification. Do not guess or hand-tighten.
Compliance Watchout: NEC Article 480.7 mandates a readily accessible battery disconnect. This allows for safe shutdown during maintenance or emergencies. Failure to install a properly rated DC disconnect is a serious code violation and safety risk.
As the U.S. market rapidly expands its energy storage capacity—with an estimated 18.2 GW projected for 2025 according to industry analysis—mastering these installation details is more critical than ever. The physics remain constant: solar charges batteries, which feed an inverter. Adhering to best practices ensures system longevity and safety. Read more about this rapid growth in energy storage on cleanpower.org.
Commissioning Your System and Avoiding Common Pitfalls

With the wiring complete, the final step is commissioning. A proper power-up sequence is non-negotiable and separates a healthy, long-lasting system from a future service call.
The cardinal rule: power up the battery first, with the solar array disconnected. This allows the charge controller to boot up and correctly identify the system's nominal voltage. Only after the controller is stable should the solar array be connected. This sequence prevents high-voltage solar input from hitting an un-referenced controller, a mistake that can easily destroy the component.
Programming Your Charge Controller
Default settings are not sufficient. You must program the charge controller with the battery manufacturer's specific voltage parameters. Using incorrect settings will degrade battery performance and shorten its operational life.
Reference the battery's spec sheet and program these three critical values:
- Absorption Voltage: The target voltage during the primary charging phase.
- Float Voltage: A lower maintenance voltage to keep a full battery topped off.
Equalization Voltage (for lead-acid): This must be disabled for nearly all lithium (LFP, NMC) batteries to prevent cell damage.
Expert Tip: Advanced systems like a Tesla Powerwall integrated with platforms like Home Assistant allow for dynamic control. Installers can automate settings to cap the state of charge (SoC) from the grid, leaving capacity for morning solar production. This maximizes self-consumption and improves project economics for the client.
- Critical Mistakes and Troubleshooting
- Even experienced installers can make costly commissioning errors. One oversight can lead to poor performance, client dissatisfaction, or permanent equipment damage.
- Top 3 Commissioning Pitfalls
- Reversed Polarity: The most damaging mistake. Always verify solar array polarity with a multimeter before connecting to the charge controller. It is an instant, non-warrantable failure.
- Loose Connections: Every terminal must be torqued to the manufacturer's spec. A loose connection creates resistance and heat, posing a serious fire hazard.
-
Incorrect Battery Settings: Failing to program the charge controller for the specific battery chemistry (e.g., LFP, AGM) will actively damage the battery and void its warranty.
- If the system isn't performing as expected, use a multimeter to check voltages systematically: from the panels, into the controller, and out to the batteries. This diagnostic path will isolate the problem.
- Common Questions & Field Fixes
- On-site questions are inevitable. Here are field-level answers to the most common queries we get from installers.
- Can I Just Wire My Panels Straight to the Batteries?
- No. Never connect solar panels directly to a battery bank. The unregulated voltage from the panels will overcharge and destroy the batteries, creating a serious safety hazard. The charge controller is a non-negotiable safety and performance component.
- What Happens If I Mix Up the Positive and Negative Wires?
- Reversing polarity is one of the most destructive and immediate mistakes. On the solar input side, it will almost certainly destroy the charge controller. On the battery side, it can cause catastrophic failure. Many modern controllers have reverse polarity protection, but it is not a feature to be tested in the field. Double-check polarity with a multimeter before landing any wires.
- How Can I Tell If My Charge Controller Is Actually Working?
- The charge controller's display or indicator lights are your primary diagnostic tool.
- A quick field checklist:
- Battery Vitals: Confirm it is reading the correct battery voltage and state of charge (SoC).
- Solar Input: With sun on the panels, you should see both voltage (V) and current (A). Voltage with zero amps indicates an open circuit (e.g., bad connection, tripped breaker).
- Charging Stage: Observe the controller cycling through its charging stages—Bulk, Absorption, and Float—as the battery reaches full charge.
- In a healthy system, amps from the panels should be high in strong sun and taper off as the battery approaches 100% SoC.
- At PES Supply, we are more than a distributor. We are a project partner, providing the technical expertise, in-stock inventory, and bundled freight logistics to ensure your solar and storage projects are successful. From in-house design review to bulk container pricing, we support professional installers and developers nationwide.
- Request a Bulk Quote for Your Next Project
Related Resources:
- Best Solar Panels 2026 — Buyer's Guide
- EG4 vs Tesla Powerwall
- Qcells vs Trina vs JA
- Solar Inverter Buyer's Guide
- Solar Battery Buyer's Guide
- 5kW Solar Kit
- 10kW Solar + Battery Kit
- Off-Grid Cabin Kit
- EG4 Batteries
- Qcells Solar Panels
- Trina Solar
- JA Solar
- REC Solar
- Mission Solar
- Sol-Ark Inverters
- SolarEdge Inverters
- Generac PWRcell
Calculate how much storage you need with our battery sizing calculator.
Check solar incentives available in your state.
Use our free solar system calculator to size your array.
Check out our Solar Panel Comparison Tool. Check out our Inverter Sizing Calculator.
Calculate your solar payback and 25-year savings with our Solar ROI Calculator. Follow our complete DIY solar installation guide for step-by-step instructions. Keep your system running at peak performance with our Solar Maintenance Guide.
Related Resources
- Solar System Calculator
- Battery Sizing Calculator
- Solar Panel Comparison Tool
- Inverter Sizing Calculator
- Solar ROI Calculator
- Solar Installation Guide
- Solar Maintenance Guide
- Solar Permitting Guide
- Battery Installation Guide
- NEC Code Compliance Guide
- Solar Panel Mounting Guide
- Grounding & Bonding Guide
- Solar Incentives by State
- Pro Account — Wholesale Pricing
- PowerLink Network — Contractor Program


















































