Off-grid water systems often use 12V DC power from a battery bank to run pumps and safety valves, alongside a 120V AC inverter running a UV sterilizer. Combining these two systems creates an important safety protection: an automatic shutoff solenoid valve that cuts the water supply if the UV controller alarms or loses power. Because a 120V AC ballast auxiliary port or dry contact cannot connect directly to a 12V DC circuit without destroying hardware, an isolation relay must bridge the systems.
Quick Answer
To wire a 12V solenoid to a 120V UV controller, use an intermediate single-pole double-throw (SPDT) relay to isolate voltages. The 120V UV controller ballast triggers the relay coil (or uses its internal dry contacts), while the relay’s switched contacts complete the separate 12V DC battery circuit to open the normally closed solenoid valve.
System Snapshot
- Affected Component: 120V UV controller/ballast, 12V DC normally closed (NC) solenoid, intermediate relay, DC fuse block.
- Operational Risk: Severe controller board damage if DC voltage contacts the 120V AC circuit; untreated water bypass if wiring logic is inverted.
- Primary First Check: Determine whether your UV controller outputs 120V AC line power during alarms or provides an unpowered “dry contact” relay port.
Controller Output Types: The Critical Distinction
Before stripping any wire, examine your UV controller’s terminal block or accessory port. UV ballasts signal faults using one of two methods:
TYPE A: Powered Line Output (120V AC Active)
[UV Controller] --- (120V AC on Run/Alarm) ---> [120V AC Relay Coil]
|
(Switches isolated 12V DC)
TYPE B: Dry Contact (Zero Voltage Relay Internal to Ballast)
[UV Controller Internal Switch] -------------> (Breaks 12V DC Line Directly)
- Dry Contacts (No Voltage Present): Higher-end controllers (like Viqua or Luminor) often supply a dry terminal block with Common (C), Normally Open (NO), and Normally Closed (NC) terminals. If these contacts are rated for low-voltage DC amperage, you do not need an external 120V relay. The controller acts as a mechanical switch on your existing 12V circuit.
- Powered Auxiliary Ports (120V AC Switched): Many commercial controllers output 120V AC power to drive an OEM solenoid directly. To run a 12V DC solenoid from this port, you must wire that 120V output to an external relay coil that switches an isolated 12V DC circuit.
To verify your controller’s signaling, see Testing the “Alarm Output” on Professional UV Ballasts.
- Solenoid Valve: 12V DC, Normally Closed (NC), continuous-duty rated coil.
- Isolation Relay: SPDT or DPDT relay with a 120V AC coil and contact pins rated for at least 10A at 12V DC (e.g., standard industrial cube relay with socket base).
- Protection Fuse: In-line ATC/ATO fuse holder with a 3A to 5A fuse placed on the positive 12V battery lead.
- Flyback Diode: 1N4007 diode installed across the 12V DC solenoid terminals to suppress inductive voltage spikes when the coil shuts off.
- Multimeter: Capable of reading AC voltage, DC voltage, and continuity.
Step-by-Step Wiring: 120V Powered Port to 12V Solenoid
Follow this procedure when your UV controller supplies 120V AC power to its safety terminal during normal operation and drops that power during an alarm or system blackout:
Step 1: Isolate All Power Sources
Disconnect the UV controller from the 120V AC inverter or wall outlet. Disconnect the positive connection on the 12V DC distribution block. Verify with a multimeter that zero voltage is present on all working terminals.
Step 2: Wire the 120V AC Control Side (Relay Coil)
- Run a 14 AWG or 16 AWG 2-conductor cable from the UV controller’s auxiliary solenoid output terminal to the relay base.
- Connect the 120V AC Hot (Line) from the UV terminal to Terminal 7 (or A1) of the relay coil.
- Connect the 120V AC Neutral from the UV terminal to Terminal 8 (or A2) of the relay coil.
- Verification: When the UV system powers up normally with no alarms, it energizes the 120V relay coil, pulling the contacts closed. When an alarm trips or AC power drops, the relay coil drops out.
Step 3: Wire the 12V DC Load Side (Solenoid Circuit)
- Route a fused positive wire from your 12V DC battery bus to the Common (COM) terminal of the relay switch (typically Terminal 9 or 11 on an 8-pin cube relay).
- Connect a wire from the Normally Open (NO) terminal of the relay switch (typically Terminal 5 or 3) to the positive lead of your 12V solenoid valve.
- Route the negative lead of the 12V solenoid valve directly back to the negative ground bus of your 12V battery system.
- Important: Install a 1N4007 flyback diode across the solenoid coil leads. Orient the silver stripe (cathode) toward the positive wire. This prevents inductive kickback from arcing across the relay contacts when the magnetic field collapses.
120V AC CONTROL CIRCUIT ISOLATED 12V DC LOAD CIRCUIT
[UV Controller 120V Out] [12V Battery Positive (+)]
| | |
(120V Hot) (120V Neutral) [Fuse: 5A]
| | |
+-------+------+ v
| [Relay Pin: COM]
[120V Relay Coil] |
| +-----------+-----------+
| | |
[Armature] [Pin: NC] [Pin: NO]
| (Unused) |
+================================================+
|
(Switched 12V +)
|
v
[12V Solenoid (+)]
|
[COIL]
|
[12V Solenoid (-)]
|
v
[12V Ground Bus (-)]
Step 4: Validate Fail-Safe Operation
- Plug in the 120V UV system. Allow it to finish its startup countdown.
- Listen for the relay click. Check that the 12V solenoid energizes and opens to allow water flow.
- Simulate an alarm or unplug the UV controller from its AC supply.
- The relay must immediately disengage, breaking the 12V circuit and snapping the solenoid shut.
- If the solenoid stays open when the controller turns off, you accidentally wired to the Normally Closed (NC) pin instead of Normally Open (NO). Invert the terminal connection immediately.
What Makes It Worse
- Omitting the Flyback Diode: Direct current solenoids create high reverse-voltage spikes when turned off. Without a diode, arcing will weld the relay contacts together, keeping the water valve open during a UV failure.
- Shared Ground Paths: Never tie 12V DC negative leads to 120V AC neutral wires. Keep ground and neutral architectures completely separate to avoid equipment failure and ground-fault errors. For inverter tripping issues, see Why Your UV System Triggers the GFCI Every Time it Starts.
- Using Non-Continuous Duty Solenoids: Standard automotive solenoids overheat when held open for long periods. Use an industrial valve rated for 100% continuous duty. If your valve runs hot, review Diagnostic: Solenoid Valve Overheating on 100% Duty Cycle.
Closing
Bridging a 120V UV ballast to a 12V off-grid solenoid requires keeping the two voltages physically and electrically separated. Using an intermediate relay triggered by the UV controller to switch an isolated 12V DC fused circuit protects your electronics while guaranteeing that water flow shuts down the moment your disinfection system loses power or triggers an alarm.