Skip to content
How-to

Charge RV Batteries While Driving & with Solar

On this page
  1. How Solar and Alternator Charging Work Together
  2. Separate Chargers or a Combined Unit?
  3. What the 7-Pin Connection Can Deliver
  4. How Much a Drive Puts Back
  5. Size the Alternator Side
  6. What You’ll Need
  7. Plan and Connect the Two Charging Paths
  8. Test the System and Find Missing Charge
  9. Safety Checks
  10. FAQs
  11. Conclusion
Sprinter-based camper with low-profile solar on the roof, driving down a sunny country road
The roof panels keep working on the road. A DC-to-DC charger adds alternator power while the engine runs.

Roof-mounted solar panels can charge your RV’s house batteries while you drive, and a DC-to-DC charger can add power from the alternator at the same time. What counts is the current that reaches the battery after the fridge, lights and other running loads have taken their share.

The catch is that the two chargers don’t know about each other. Each one caps only its own current, so together they can push more into the battery than its maker allows.

TL;DR

  • Both at once: a DC-to-DC charger handles the alternator side and a solar charge controller handles the panels, and both can feed the same house bank.
  • Mind the total: each charger limits only its own output, so cap them so the sum stays inside the battery’s allowed charge current, even with every load switched off.
  • Count net current: charger output minus running loads is what the battery actually gains; in our example, 35 A of net current replaces 60 Ah in about 1.7 hours.
  • Don’t rely on the 7-pin line: the factory charge circuit seldom moves much current into a big bank, so measure it, or give the DC-to-DC charger a dedicated, fused cable.
  • Wire both ends: fuse each new cable near the battery that can feed it, give it a proper return, and make sure no old relay or charge line bypasses the DC-to-DC charger.

How Solar and Alternator Charging Work Together

A DC-to-DC charger and a solar charge controller are two independent chargers on the same battery. Each measures the battery voltage at its own output and delivers current, up to its own limit, until the battery reaches the voltage it’s set to hold. For voltage, that’s all the coordination they need. Current is where the catch comes in.

While the bank is low, both deliver all they can and their currents simply add: 30 A from the DC-to-DC charger and 15 A from the panels make 45 A, less whatever the RV is using at that moment.

As the battery fills and its voltage rises, the chargers start to hold back. The one set to the higher absorption voltage keeps going longest, while the other tapers early. That’s why solar current can drop once the DC-to-DC charger starts: it has lifted the battery voltage to the solar controller’s setpoint, and the controller backs off. Nothing is wrong; the battery is simply taking its current from the other charger.

Give both chargers the battery maker’s voltages, so neither ends the charge too early or holds the battery too high.

Keep the Combined Current Within the Battery’s Limit

Correct voltages keep the battery from being overcharged, but they don’t decide how much current it receives. That part is up to you: set the chargers so their combined output stays within the battery bank’s allowed charge current, even when the RV’s loads switch off.

Take a 100 Ah lithium bank whose maker recommends 50 A of charge current. A 40 A DC-to-DC charger plus a solar controller that can deliver 30 A could push 70 A into it on a sunny drive, 20 A over that figure. Turning the DC-to-DC charger down to 30 A and capping the solar controller at 20 A brings the total to 50 A. Don’t count on the fridge to absorb the difference: when its compressor cycles off, the current it was using goes into the battery.

Example charger limits: 30 A from DC-to-DC plus 20 A from solar equals the battery bank's 50 A charging limit
For a bank with a 50 A charge limit, a 30 A DC-to-DC setting plus a 20 A solar limit keeps the combined maximum at 50 A, even with the RV’s loads off.

The battery won’t sort this out on its own. In a typical drop-in lithium battery, the BMS is a protective cutoff, not a current regulator. Battle Born states that its BMS doesn’t limit charging current and recommends 50 A for its 100 Ah battery. So plan around the maker’s recommended and maximum charge current, not the point at which the BMS disconnects.

Networking the chargers doesn’t automatically create a shared limit either. In Victron’s synchronised charging, the chargers follow the same charging stages, but each still limits its own current. A GX device with DVCC adds a shared limit for compatible chargers connected to it, but not for chargers outside that control.

Count every charger that can run at the same moment. In a motorhome, a generator powering the converter while you drive makes three.

Separate Chargers or a Combined Unit?

You can feed one bank from both sources in two ways: a DC-to-DC charger next to a separate solar controller, or one unit with an alternator input and a solar input.

Scroll sideways to see every column.

Point Separate DC-to-DC Charger and Solar Controller Combined DC-to-DC/MPPT Unit
Suits Adding alternator charging to an RV that already has solar, or sizing and upgrading each source on its own A new build where one box, one set of battery settings and less wiring appeal
Current limit One per charger; add them up against the battery’s limit One output limit shared by both inputs
Where the panels connect The solar controller’s own PV input The unit’s solar input, within its voltage, current and power limits
Check before buying Both charge profiles suit the battery, and their combined maximum output fits its charge limit How the unit shares its output between solar and alternator

Renogy’s 12V/24V 50A dual-input charger with MPPT is rated 50 A on a 12V house bank or 25 A on a 24V bank, uses solar first and tops up from the alternator. That’s 50 A in total, not 50 A from the alternator plus whatever the panels add.

Either way, panels connect only to an input designed for them. A separate solar controller’s output is already regulated to battery voltage, not raw panel voltage, so it doesn’t go into another unit’s MPPT input.

What the 7-Pin Connection Can Deliver

Most towable RVs get a charge feed through the 7-pin plug, where one pin carries 12V from the tow vehicle to the trailer battery. It helps keep a battery topped up on the road, but don’t count on the factory 7-pin charge line to refill a large battery bank. Measure what it delivers before planning around it.

Trailer electrical plug fully seated in the seven-pin socket on a pickup's rear bumper
A connected 7-pin plug does not tell you how much charge reaches the house battery. Measure the charge feed with other charging sources off.

The limits are physical. The current travels the length of the truck and trailer through modest wire, a fuse and the plug’s contacts, and only the difference between the alternator’s voltage and the battery’s pushes it through all that resistance. A lithium bank that sits above 13 V for most of its charge leaves little difference to work with, and a smart alternator that lowers its voltage to save fuel can leave none.

To measure it fairly, start with the trailer battery partly discharged, since a battery near full accepts little current whatever the wiring. Switch off the trailer’s other charge sources: open the solar disconnect and unplug shore power. Then run the engine, close a DC clamp meter’s jaws around just the charge wire at the battery, and read the voltage across the battery terminals. The clamp reading is what the charge line supplies, including whatever the trailer is using; subtract the running loads, or read the shunt’s net current, to see what reaches the battery.

If you need more, there are two routes. A DC-to-DC charger made for the trailer plug limits its draw to what that circuit can carry: REDARC’s BCDC1212T caps its input at 12 A and lists a maximum output of 11 A from a 12V vehicle. For more charging power than that, run a dedicated, fused cable through a high-current connector sized for it.

How Much a Drive Puts Back

Only currents at the house battery count: what the chargers deliver to the bank, minus what the RV’s loads take from it. Panel current and the DC-to-DC charger’s input current flow at other voltages, so they stay out of the sum.

Net battery charge current = DC-to-DC output + solar controller output − running house loads

For the charging time, divide the amp-hours to replace by the net current. For what a drive puts back, multiply the net current by the hours driven.

A simplified example, before charging slows near full: the same 100 Ah lithium bank needs 60 Ah back. The DC-to-DC charger delivers 30 A. The solar controller is capped at 20 A but averages 10 A over this drive, and the fridge and other loads average 5 A.

Scroll sideways to see every column.

Item Alternator Only Alternator + Solar
DC-to-DC charger output 30 A 30 A
Solar controller output 0 A 10 A (trip average)
Running loads −5 A −5 A
Net charge current 25 A 35 A
Time to replace 60 Ah 60 ÷ 25 = 2.4 hours 60 ÷ 35 ≈ 1.7 hours
Put back by one hour of driving About 25 Ah About 35 Ah

The final stretch to full takes longer than the table suggests, because the chargers cut their current as the battery nears full, and a lead-acid bank’s absorption stage adds the most time. Don’t read the charger’s display as the battery’s gain, either. It reports that charger’s output; the shunt shows the net current entering or leaving the battery after all chargers and loads are included. Victron’s Orion XS manual makes the same point.

30 A DC-to-DC output plus 10 A solar output minus 5 A of running loads leaves 35 A charging the battery
In the driving example, the chargers supply 40 A but the battery gains 35 A. At that rate, replacing 60 Ah takes about 1.7 hours before charging tapers.

Where does the 60 Ah come from? It’s the shortfall in the battery, not everything the RV has used. A correctly configured battery monitor tracks that shortfall even while solar is charging, and energy the panels have already supplied doesn’t need replacing again. For trip planning, the RV energy audit guide (opens in a new tab) covers appliance use, including inverter losses and no-load draw. Subtract the charging over the same period to see how much of that use comes out of the battery.

Size the Alternator Side

Two numbers decide the alternator side: the current the charger pulls from the vehicle and the voltage the input cable loses on the way.

What the Charger Draws From the Alternator

A DC-to-DC charger’s rating is its output. When it raises the voltage, it draws more current from the vehicle than it delivers to the house bank:

Input current ≈ output volts × output amps ÷ (input volts × efficiency)

For the charger set to 30 A above, charging at 14.4 V from an input that has sagged to 12.0 V, at 90 percent efficiency: 14.4 × 30 ÷ (12.0 × 0.90) = 40 A. So it pulls about 40 A from the vehicle, a third more than its setting. For sizing, use the charger’s documented maximum input current or the input limit you set. On chargers with separate input and output current settings, like Victron’s Orion XS, the input limit is the one that protects the alternator from overload.

How much the alternator can spare depends on engine speed, heat and the vehicle’s own loads, so no fixed share of its rating suits every vehicle. A clamp meter on the alternator cable shows what it’s delivering at that moment, not the most it can supply. Our DC-DC charger sizing guide (opens in a new tab) covers how to work it out.

The Input Cable and Voltage Drop

That 40 A runs through the longest cable in the system, the run from the starter battery up to the charger. Estimate the drop with:

Cable voltage drop = 2 × run length one way (ft) × amps × ohms per foot

The 2 assumes the negative runs as far as the positive. Aim to lose no more than 3 percent. Over a 25-foot one-way run at 40 A, 4 AWG copper at about 0.00025 Ω per foot loses 2 × 25 × 40 × 0.00025 = 0.50 V, about 4 percent of 12 V, which is too much. Moving up to 2 AWG, at about 0.00016 Ω per foot, cuts that to 0.32 V, or 2.7 percent. If the return takes another route, such as the chassis, use that route’s real length and resistance, and remember that fuses, breakers and connectors add drop of their own.

At 40 A over a 25-foot run each way, 4 AWG copper loses 0.50 V and 2 AWG copper loses 0.32 V
For the example’s 25-foot run each way at 40 A, cable-only drop falls from 0.50 V with 4 AWG copper to 0.32 V with 2 AWG. Fuses and connections add their own losses.

Voltage drop costs you twice here: the lost voltage turns into heat in the cable, and a low enough input can trip the charger’s engine detection or input cutoff, so it switches off and back on. Read the gauge from the cable jacket or its data sheet rather than estimating it from the outside diameter. And size the cable for both jobs: Blue Sea takes the larger of the sizes needed for current rating and for voltage drop, and the fuse has to protect that cable.

What You’ll Need

  • Battery data: the maker’s charge voltages, recommended and maximum charge current, and charging temperature range.
  • The chargers: a DC-to-DC charger, or a combined DC-to-DC/MPPT unit, plus the solar controller if it’s separate, each with its manual.
  • Cable and protection: positive and negative cable for each run, a DC-rated fuse or breaker with its holder for each battery end, lugs and heat-shrink, and a high-current connector rated for the current if the cable crosses a trailer hitch.
  • Measuring tools: a battery monitor with a shunt, a DC clamp meter and a multimeter.
  • Hand tools: a crimper for large lugs, a torque wrench or driver, and grommets, loom and clamps for the cable route.
  • Engine detection: a charger whose engine-running detection suits your alternator, plus a signal wire if it needs one.
Heavy red and black battery cable, covered fuse holders, copper lugs, heat-shrink tubing and a lug crimper laid out on an RV workbench
Plan cable size, fuse protection and the tools for proper terminations before routing either charging path.

Plan and Connect the Two Charging Paths

Do all cable work with the engine off and the relevant circuits isolated from both batteries, solar and shore or generator power. If a charger needs power for setup, isolate it again before changing any wiring.

Step 1: Map the Charging Paths Already There

Before adding anything, find every route the vehicle already uses to charge the house bank: a factory charge relay or battery isolator, a 7-pin charge line wired straight to the battery, or a lithium package’s own alternator system. A direct connection left in place runs alongside the new DC-to-DC charger and bypasses its current limit, so disconnect or reroute it. If your RV came with an alternator-charging setup its maker approves for lithium, check how it works before replacing it. Battle Born’s BIM225Li isolation manager, for instance, connects the house bank on a timed cycle with voltage checks; it switches the connection rather than regulating the current.

Step 2: Choose the Charger and Plan the Limits

  • Base the DC-to-DC charger’s rating on the battery’s charge limit, the time you usually drive and the current the alternator can spare.
  • Add up the maximum output of all chargers that may run together. Choose ratings or adjustable limits that keep the total within the battery’s charge limit.
  • For a typical lithium retrofit, use a DC-to-DC charger to control the alternator load and apply the battery’s charging profile. Wired straight to the alternator, a lithium bank takes whatever current the wiring allows, which can overwork the alternator. A smart alternator causes the opposite problem: running at a low voltage, it leaves the bank far from full.

Step 3: Run and Fuse the Alternator Side

Mount the DC-to-DC charger close to the house bank, in a location approved for that model. Follow its mounting orientation and cooling clearances, use a suitable heat-resistant surface, and keep it out of the space directly above the batteries.

  • Input side: starter battery positive → fuse or breaker near that battery → DC-to-DC charger input.
  • Output side: DC-to-DC charger output → fuse or breaker near the house battery → house battery positive. The house bank can feed a fault in this cable too, so it needs its own fuse; Victron’s Orion XS installation diagram shows protection at both batteries.
  • Fuse sizes: use the charger maker’s fuse rating, with cable and connectors that can carry that fuse’s current. Victron specifies 60 to 70 A for the Orion XS 12/12-50A. If either side lands on a bus bar, protect the bus bar’s battery feed and give the charger’s branch its own fuse at the bus bar.
  • Return path: give the charger a negative connection as heavy as its positive: a cable, or on a motorhome a solid, low-resistance chassis connection where the charger maker allows it. On a trailer the negative runs through the high-current connector, never through the hitch ball. With a shunt in the bank’s negative, the charger’s negative lands on the shunt’s system side with the other chargers and loads; our battery monitor guide (opens in a new tab) shows that layout.
  • Routing: fit grommets where the cable passes through metal, loom where it can rub, and strain relief at the hitch, where the cable flexes on every turn.
Positive-side DC-to-DC cable layout with one fuse near the starter battery and a second fuse near the house battery
Both batteries can feed a cable fault. Protect the input cable near the starter battery and the output cable near the house battery; follow the charger’s manual for fuse ratings and return wiring.

Step 4: Set Up Engine Detection

The charger has to know when the engine is running, and how it finds out depends on the vehicle and the charger. An ignition-switched wire only reports that the key is on. Victron advises against using the ignition switch to enable the Orion XS, because the charger could then drain the starter battery with the key on and the engine off.

Smart alternators need compatible detection, but not every compatible charger needs an extra wire. The Orion XS, for example, detects a running engine from its input voltage, has settings for smart alternators and accepts an external engine-running signal where one is needed. Follow the charger’s instructions for engine detection, then verify automatic shutdown during the alternator-only test below.

Step 5: Connect the Solar Side

The panels connect to the solar controller’s PV input, and the controller’s output reaches the house bank through a fuse of its own close to the battery. Our MPPT controller wiring guide (opens in a new tab) covers the connection order, the cold-weather voltage check and the first solar test. With a combined unit, the panels go to its solar input instead, within that input’s voltage, current and power limits.

Step 6: Match Every Charger’s Settings

  • Voltages and current: use a charge profile that meets the battery maker’s voltage and timing requirements on every charger, and apply the current limits planned above. For lithium, disable equalization and lead-acid voltage temperature compensation, while keeping cold-charge protection active.
  • Cold protection for every charger: any of them can push current into a frozen battery. Go by the battery’s own charging temperature range and the temperature inside the battery, not the cab. A charger’s cold cutoff works only when it knows the battery temperature; the Orion XS applies its low-temperature cutoff only when another device shares that temperature with it. Batteries with built-in heating warm their cells first and accept charge once they’re warm enough.
  • Model limits: cold limits differ between batteries. Victron’s Lithium NG accepts charge from 5°C (41°F) and must be held to 30 A per 100 Ah (0.3C) below 15°C (59°F), so check your own battery’s figures rather than assuming freezing is the line.

Complete each charger’s setup and power-up in the order its manual specifies. Leave the solar disconnect open for the alternator-only test below, with shore and generator charging off.

Test the System and Find Missing Charge

Test with a battery that needs charge, so neither charger is tapering, and check one source at a time:

  1. Alternator only. Keep the solar disconnect open and run the engine. Read the DC-to-DC charger’s output current and the shunt’s net current, and measure the voltage at the starter battery and at the charger’s input while it runs at full current; the difference is the drop in that cable. Then turn the engine off: charging should stop within the charger’s stated delay.
  2. Solar only. Engine off, panels in sun: close the solar disconnect and read the controller’s output and the shunt.
  3. Both together. Start the engine with sun still on the panels. The chargers’ outputs minus the loads should roughly match the shunt’s net current, and the total must stay within the battery’s limit.
  4. Heat check. After 15 to 30 minutes at full current, look for any connection that runs noticeably warmer than the cable around it. A hot spot can come from a loose or badly crimped joint, corrosion, an undersized cable or the component itself, so isolate the circuit before you inspect, tighten or re-crimp anything, and torque terminals to the component maker’s figure.
Clamp meter held steady on one insulated charge cable, display showing 30.0 A
Support the meter with one conductor centered inside the closed jaws. This reads the charge cable’s current; running appliances reduce what the battery keeps.

If the numbers don’t add up, this table points to the usual causes:

Scroll sideways to see every column.

What You See What to Check
Low current, and the battery is nearly full The charge stage. Chargers cut their current near full by design, so check absorption and float before hunting for a fault.
The chargers show plenty of output, but the bank fills slowly What’s running at the same time. Compare the chargers’ output with the shunt’s net current; the gap is your loads.
The DC-to-DC charger cuts out or delivers less than its rating The voltage at its input under load, the engine-detection settings, the input current limit and the charger’s temperature.
Solar current falls once alternator charging begins Battery voltage against the solar controller’s setpoint, the charge stage and any solar-priority setting. Usually this is normal.
One connection is hotter than the rest Stop, isolate the circuit and inspect that joint before running current through it again.

Safety Checks

  • Isolate before you touch a connection. Disconnect every source feeding the circuit and verify that the wiring you’re working on is de-energized. Removing a fuse does not make the battery terminals or the cable between the battery and fuse safe to short. Keep exposed terminals covered; panel leads also remain live in daylight.
  • Respect short-circuit current. A tool across battery terminals or a chafed cable can carry hundreds of amps. Use insulated tools, take off rings and watches, and keep every new positive cable fused close to its battery.
  • Vent flooded lead-acid batteries. They release hydrogen while charging, so keep their compartment ventilated and sparks away from it.
  • Protect the starting battery. Confirm the DC-to-DC charger stops after the engine shuts off, and keep its input current within what the alternator can spare on hot days and long climbs.
  • Secure the cable run. A cable that rubs through on the frame becomes a dead short, so clamp it, protect it at every edge and leave a service loop at the hitch.

A shorted 12V cable can start a fire, so have an RV electrician do or check any step you’re not sure of.

FAQs

  • Can I charge RV batteries while driving and with solar at the same time? Yes. The two chargers work side by side on the same bank, each regulating its own output. Set both to the battery’s profile and keep their combined maximum current within the battery’s limit.
  • Does the 7-pin trailer connector charge my house batteries while towing? It can, but don’t count on it to refill a large bank on a day’s drive, because the factory line has a long run of modest wire and only a small voltage difference to work with. Measure it with the battery partly discharged. For more, fit a DC-to-DC charger designed for the plug circuit, which is still limited to modest current, or run a dedicated fused cable.
  • Do solar panels charge while the RV is moving? Yes. Roof-mounted panels produce power whenever light reaches them, parked or on the highway, with output rising and falling as shade and cloud pass. Portable panels only help once they’re set up at camp.
  • Can two chargers overcharge my batteries? Not if both use the battery maker’s voltages; those settings are what prevent overcharging. Current is a separate question: the outputs add, and a typical BMS doesn’t trim them, so the chargers’ combined maximum, fixed or set, has to fit the battery’s charge current limit.
  • Do I need a DC-to-DC charger for lithium batteries? For a typical retrofit, yes. It limits what the alternator has to supply and charges with the battery’s own profile. If your RV came with alternator charging approved for lithium, check that system before replacing it.
  • How long does it take to charge RV batteries while driving? Work out the net current first: charger output plus solar, minus running loads. With 30 A from the charger, 10 A of solar and 5 A of loads, 60 Ah comes back in roughly 1.7 hours, against 2.4 hours on the alternator alone, and the last part toward full takes longer.

Conclusion

Solar and alternator charging work well together on one bank, as long as their combined current fits the battery and the alternator side is wired, fused and switched properly. Choose the DC-to-DC charger’s current from how long you usually drive and how much the alternator can spare, and size the solar for the days the RV sits still. Then test each source alone and both together, so you know what normal looks like before the first long trip.

Spot an error or an outdated detail in this guide?

Report it