To wire a solar panel to a battery, you must route the DC current through a charge controller—never connect them directly unless the panel is a sub-5W trickle charger. For a standard 200W 12V system, use 10 AWG PV wire from the panel to an MPPT charge controller, and 8 AWG stranded copper wire from the controller to the battery, terminating Red (+) to positive and Black (-) to negative terminals.

The Golden Rule: Battery First, Panels Second

The most common botch in DIY solar wiring is connecting the solar panels to the charge controller before the battery is connected. Symptom: The charge controller screen remains blank, throws a high-voltage error, or the internal logic board fries.

Charge controllers require a stable reference voltage from the battery to initialize their microprocessors and set the correct charging profile (e.g., 12V vs 24V). If you feed raw, unregulated solar voltage (which can spike to 22V+ on a '12V' panel) into an unpowered controller, you risk permanent damage. Always establish the battery-to-controller connection first, verify it powers on, and then connect the solar array.

Tools, Materials, and Sizing Decisions

Before cutting any wire, gather the correct components. Using undersized wire causes voltage drop, which starves your battery of power and melts insulation.

Required Tools & Materials

  • Charge Controller: Victron SmartSolar MPPT 75/15 (or equivalent 20A MPPT)
  • Wire (Panel to Controller): 10 AWG PV Wire (UV-rated, outdoor use)
  • Wire (Controller to Battery): 8 AWG Stranded Copper (THHN or battery cable)
  • Overcurrent Protection: 30A DC Breaker (Battery side), 15A Inline MC4 Fuse (Panel side)
  • Terminals: 8 AWG and 10 AWG ring terminals, heat shrink
  • Tools: Wire strippers, crimping tool, torque screwdriver (set to 0.5 Nm / 4.4 in-lbs), CAT III digital multimeter

Decision Path: Sizing Your Controller and Wire

Use this decision matrix to finalize your component picks based on your array size and run distance.

Decision Point Option A Option B Verdict / Default Pick
Controller Type PWM (Cheaper, drops panel voltage to battery voltage) MPPT (Converts excess voltage to amps, 20-30% more efficient) Pick MPPT. Default: Victron SmartSolar MPPT 75/15.
Panel-to-Controller Wire 12 AWG (Good for runs under 5 feet) 10 AWG (Handles up to 30A, minimal voltage drop up to 20 feet) Pick 10 AWG PV Wire. Never use standard THHN outdoors; UV will destroy the jacket.
Controller-to-Battery Wire 10 AWG (Acceptable for <20A loads under 3 feet) 8 AWG or 6 AWG (Required for low voltage drop on high-current DC) Pick 8 AWG Stranded. Default for 20A-30A controllers within 5 feet of the battery.

AC Mains Safety & Inverter Integration

WARNING: LETHAL VOLTAGE HAZARD. If your solar setup includes a hybrid inverter/charger (like a Victron MultiPlus or Growatt) connected to your home's AC electrical panel, you are dealing with lethal AC mains voltage. Before touching any AC terminals or busbars:

  1. Turn off the main AC breaker at the service panel.
  2. Lock out and tag out (LOTO) the main breaker.
  3. Verify the AC lines are dead using a tested CAT III/IV multimeter across Line-to-Line and Line-to-Ground (expect 0V).

NEC Articles 702 and 705 govern backup and interconnected power systems. Your local AHJ (Authority Having Jurisdiction) may require a licensed electrician to perform the final AC grid-tie or transfer switch connections. Do not bypass AC breakers or defeat ground fault protection.

Step-by-Step Wiring Procedure

With your DC components laid out and AC mains verified dead (if applicable), follow this exact termination sequence. In DC wiring, Red is always Positive (+) and Black is always Negative (-).

Phase 1: Battery to Charge Controller

  1. Install the DC Breaker: Mount a 30A DC breaker on the positive cable run, within 18 inches of the battery positive terminal. Leave the breaker in the OFF position.
  2. Terminate Battery Side: Crimp an 8 AWG ring terminal onto the Red 8 AWG wire and bolt it to the battery Positive (+) post. Crimp a ring terminal on the Black 8 AWG wire and bolt it to the battery Negative (-) post.
  3. Terminate Controller Side: Strip 1/2 inch of insulation from the opposite ends of the Red and Black 8 AWG wires. Insert the Red wire into the BAT+ terminal on the charge controller. Insert the Black wire into the BAT- terminal. Tighten both screws to 0.5 Nm (4.4 in-lbs) using a torque screwdriver.
  4. Power On: Flip the 30A DC breaker to ON. The charge controller screen or Bluetooth LED should immediately illuminate, confirming it has detected the battery voltage.

Phase 2: Solar Panel to Charge Controller

  1. Install the Inline Fuse: On the positive PV wire run, install a 15A MC4 inline fuse holder as close to the solar panel as possible. Do not insert the fuse yet.
  2. Terminate Panel Side: Connect the Red 10 AWG PV wire to the panel's positive MC4 connector. Connect the Black 10 AWG PV wire to the negative MC4 connector.
  3. Terminate Controller Side: Strip 1/2 inch of insulation from the controller ends. Insert the Red PV wire into the PV+ (or Solar+) terminal. Insert the Black PV wire into the PV- (or Solar-) terminal. Torque to 0.5 Nm.
  4. Power On: Insert the 15A fuse into the inline holder. If the sun is shining, the charge controller's solar icon or bulk-charging LED will activate.

Phase 3: Equipment Grounding

  1. Run a Bare Copper or Green 10 AWG grounding wire from the solar panel frame grounding lug to a dedicated DC grounding busbar or grounding rod, per NEC Article 690. Do not use the negative DC wire as a ground.

Verification and Testing

Do not pack up your tools until you have verified the system with a multimeter. Set your meter to DC Voltage (VDC).

Expected Meter Readings

  • Test 1 (Open Circuit Voltage): Before connecting the panel to the controller, probe the ends of the Red and Black PV wires in direct sunlight. Expected Reading: 19V to 22V DC (for a standard '12V' nominal panel). If you read 0V, check your MC4 crimps. If you read negative voltage, your polarity is reversed.
  • Test 2 (Battery Reference): Probe the BAT+ and BAT- screws on the charge controller. Expected Reading: 12.8V to 13.4V DC (for a resting LiFePO4 battery). This confirms no severe voltage drop across your 8 AWG wire and breaker.
  • Test 3 (Charging Voltage): With the PV array connected and the sun shining, probe the BAT+ and BAT- screws again. Expected Reading: 13.8V to 14.4V DC. This confirms the MPPT controller is actively in the Bulk or Absorption charging phase.

Troubleshooting the Most Common Botches

If your test readings fail, use this diagnostic table to isolate the fault.

Symptom Most Likely Cause The Fix
Controller screen is completely dead after connecting battery. Blown battery-side fuse/breaker, or reversed BAT+/BAT- polarity. Check 30A breaker. Verify Red is on BAT+ and Black is on BAT-. Check for blown Class T fuse.
Controller powers on, but reads 0V from PV / no charging. PV inline fuse is blown, or MC4 connectors are not fully seated. Push MC4 connectors together until they audibly click. Test 15A inline fuse with multimeter continuity mode.
Controller throws 'High PV Voltage' error. Wired panels in series when the controller's max Voc is exceeded (e.g., 2x 24V panels on a 75V controller). Rewire panels in parallel using MC4 Y-branch connectors to keep voltage low and increase amperage.
Wire insulation near controller terminals feels hot to the touch. Terminal screws under-torqued, causing high resistance and arcing. De-energize system. Re-strip wire if tinned/melted, re-insert, and torque exactly to 0.5 Nm.

By strictly following the battery-first sequence, using UV-rated 10 AWG PV wire for the array, and stepping up to 8 AWG for the battery run, your 12V solar system will operate safely and efficiently for years. For deeper architectural guidance on DC busbars and complex multi-stage systems, reference the Victron Energy Wiring Unlimited guide, and always consult the NFPA National Electrical Code (NEC) Article 690 for legal compliance in your jurisdiction. Further safety protocols for DIY solar can be reviewed via the U.S. Department of Energy's Homeowner's Guide to DIY Solar.