DC 12V 3/8″ Quick Connect N/C Water Solenoid Valve Guide

0
DC 12V 3/8" Quick Connect N/C Water Solenoid Valve

DC 12V 3/8″ Quick Connect Normally Closed Water Solenoid Valve Guide

The DC 12V 3/8″ Quick Connect N/C Water Solenoid Valve is an electrically controlled valve designed to automatically start and stop water flow through compatible 3/8-inch tubing. Its quick-connect fittings make installation simple and convenient for water filtration, irrigation, dispensing, tank filling, and DIY automation projects.

This valve is normally closed (N/C), meaning water flow remains shut off while the solenoid is unpowered. When 12V DC is applied, the solenoid activates and opens the valve, allowing water to flow. Removing power causes the valve to return to its normally closed state.

The valve can be controlled using an Arduino, ESP32, relay module, MOSFET circuit, timer, float switch, liquid level sensor, or other automation controller, making it a useful component for automatic water management systems.

Important: Do Not Connect the Valve Directly to an Arduino

A 12V solenoid valve requires a higher voltage and considerably more current than an Arduino GPIO pin can provide. The valve should be powered from a suitable 12V DC power supply and controlled using a relay or appropriately rated MOSFET.

Arduino + Relay Example Code

const int valveRelay = 7;

void setup() {
  pinMode(valveRelay, OUTPUT);

  // Start with valve switched off
  digitalWrite(valveRelay, LOW);
}

void loop() {

  // Open valve
  digitalWrite(valveRelay, HIGH);
  delay(5000);

  // Close valve
  digitalWrite(valveRelay, LOW);
  delay(5000);
}

Typical Arduino Relay Wiring

Arduino 5V     -> Relay VCC
Arduino GND    -> Relay GND
Arduino Pin 7  -> Relay IN

12V Supply +   -> Relay COM
Relay NO       -> Solenoid Valve +
Solenoid -     -> 12V Supply -

With the valve connected through the relay's normally open (NO) contact, the solenoid remains unpowered and the valve stays closed until the relay is activated.

Some relay modules use an active-low input. If your relay operates in reverse, swap the HIGH and LOW states used in the example code.

How the Normally Closed Valve Works

12V OFF -> Valve CLOSED -> Water Stopped

12V ON  -> Valve OPEN   -> Water Flowing

Normally closed operation is particularly useful for water control systems because the valve automatically returns to its closed state when electrical power is removed.

Automatic Water Level Control Example

A 12V solenoid valve can be combined with a suitable water level sensor to automatically fill a tank or reservoir. The controller can open the valve when a low water level is detected and close it again when the required level has been reached.

const int levelSensor = 2;
const int valveRelay = 7;

void setup() {
  pinMode(levelSensor, INPUT);
  pinMode(valveRelay, OUTPUT);

  digitalWrite(valveRelay, LOW);
}

void loop() {

  int waterLevel = digitalRead(levelSensor);

  if (waterLevel == LOW) {
    // Low water level - open valve
    digitalWrite(valveRelay, HIGH);
  } else {
    // Water detected - close valve
    digitalWrite(valveRelay, LOW);
  }

  delay(250);
}

The exact HIGH or LOW state produced by a water level sensor will depend on the sensor being used. Always test its output before relying on it to control an unattended filling system.

3/8″ Quick Connect Fittings

The integrated quick-connect fittings are designed to accept compatible 3/8-inch tubing, allowing tubing to be installed without conventional threaded plumbing connections.

Cut the tubing cleanly and square before installation, then push it firmly into the fitting until it is fully seated. Gently pull backwards on the tubing afterwards to confirm that the internal locking mechanism has secured it correctly.

Common Applications

  • Automatic water dispensing systems
  • Water filtration systems
  • Automatic tank and reservoir filling
  • Garden and irrigation systems
  • Hydroponics projects
  • Water level control systems
  • Arduino and ESP32 automation projects
  • DIY liquid dispensing systems
  • STEM and electronics projects

Using a MOSFET Instead of a Relay

For projects where the valve will be switched frequently, an appropriately rated logic-level MOSFET can provide quieter and faster electronic switching than a mechanical relay.

When controlling the solenoid with a transistor or MOSFET, install a flyback diode across the solenoid coil. The diode helps protect the control electronics from the voltage spike produced when power to the solenoid is switched off.

Important Usage Tips

Always use a 12V power supply capable of supplying the current required by the valve. Never attempt to power the solenoid directly from an Arduino, ESP32, Raspberry Pi GPIO pin, or other microcontroller output.

Before permanently installing the valve, confirm that the tubing size, operating pressure, flow direction, supply voltage, and intended liquid are suitable for your application.

For unattended tank-filling applications, consider adding a secondary high-level sensor or mechanical float valve as an additional safeguard against overflow if the primary sensor or controller fails.

Leave a Reply

Your email address will not be published. Required fields are marked *