Skip to content
Free Delivery on Orders Above Rs 999/- Pan-India
Cash on Delivery Available for Orders above Rs.500/- and Upto Rs 3000/-
SAVE more when you BUY more. Upto 30% Off on BULK PURCHASE
GST Invoices for Your Business
Dedicated Technical Support Team
Safely Delivering Genuine Products PAN INDIA
Delivering to
Select Location ▾
Delivering to Select Location
▾

Solenoid Valve Working Principle, Types & Wiring Guide

Solenoid Valve Working Principle, Types & Wiring Guide
D
Written By Daniel D'Souza
📅 Updated on 16 Oct 2026
✨ Summarize with AI
✅ Prompt copied

Summary

Do you want to know the entire functioning of the Solenoid valve? If Yes, then this blog post is for you! this post covers all the essential information about Solenoid valves like How does a solenoid valve work? circuit functions, types, working principle and features, Ready to be amazed by knowing how this amazing prodct works

Introduction

solenoid valve is an electrically controlled valve. When current flows through its coil, a magnetic field lifts a plunger and opens or closes the flow path. Normally closed valves stay shut without power, making them the default choice for many water and irrigation systems.

Solenoid valves are used in automatic irrigation, water dispensers, pneumatic systems and other applications where a controller needs to regulate fluid flow. The correct valve depends on the fluid, pressure, pipe size, voltage and whether the valve should remain open or closed when power is removed.

Components and Supplies

12V 2W Solenoid Valve – Efficient solenoid valve for automated water flow control – Robocraze12V 2W Solenoid Valve – Efficient solenoid valve for automated water flow control – Robocraze

12V 2W Solenoid Valve

12V 2W Solenoid Valve The 12V solenoid valve is designed with a brass body which operates on 12v DC with a high-pressure Valve. The solenoid valve has various applications and is suitable for various kinds of gases and liquids. It provides high reliability and high sensitivity. Brass...
Rs 1,225/-
Rs 1,225/-
Rs 1,499/-
Save Rs 274/-
Solenoid Valve 12V 1/4 inch (Blue) - 12V solenoid valve for water, gas, and air flow. -Solenoid Valve -RobocrazeSolenoid Valve 12V 1/4 inch (Blue) - 12V solenoid valve for water, gas, and air flow. -Solenoid Valve -Robocraze

Solenoid Valve 12v 1/4 inch (Blue)

Solenoid Valve 12v 1/4 inch (Blue) 12V DC Solenoid Water Air Valve Switch (Normally Closed) – 1/4? controls the flow of fluid (liquid or air) and acts as a valve between high-pressure fluid. There are two ½” (Nominal NPT) outlets. Normally, the valve is...
Rs 215/-
Rs 215/-
Rs 399/-
Save Rs 184/-
Solenoid Valve 230V 1/2 inch - 230V solenoid valve for liquid or gas flow control. -Solenoid Valve -RobocrazeSolenoid Valve 230V 1/2 inch - 230V solenoid valve for liquid or gas flow control. -Solenoid Valve -Robocraze

    Solenoid Valve 230V 1/2 Inch AC Water Valve Normally Closed

    Solenoid Valve 230V 1/2 Inch AC Water Valve Normally Closed Looking for a reliable solenoid valve 230v 1/2 inch for your next automation project? This 230v ac solenoid valve is designed to precisely control the flow of fluids (liquid or air) and acts as...
    Rs 285/-
    Rs 285/-
    Rs 299/-
    Save Rs 14/-
    Solenoid Valve Switch 12V DC 1/2 Inch (Normally Closed) for Irrigation & Plumbing -RobocrazeSolenoid Valve Switch 12V DC 1/2 Inch (Normally Closed) for Irrigation & Plumbing -Robocraze

      Solenoid valve switch 12V DC 1/2 inch (Normally Closed)

      12V DC 1/2 inch Solenoid valve switch  12V DC 1/2 inch Solenoid Water Air Valve Switch (Normally Closed) –  controls the flow of fluid (liquid or air) and acts as a valve between high-pressure fluid! This liquid valve would make a great addition to your robotic...
      Rs 282/-
      Rs 282/-
      Rs 360/-
      Save Rs 78/-
      12V DC Solenoid for Electric Door Lock – Secure DC solenoid for electric door locking & automation – Robocraze12V DC Solenoid for Electric Door Lock – Secure DC solenoid for electric door locking & automation – Robocraze

        12V DC Solenoid for Electric Door Lock

        12V DC Solenoid for Electric Door Lock This DC 12V solenoid lock can be used for locking doors, iron luggage, file cabinets, and storage shelves. The electric solenoid door lock assembly is a great fit for several DIY Arduino-based projects. It is steady, durable,...
        Rs 369/-
        Rs 369/-
        Rs 449/-
        Save Rs 80/-
        Solenoid Valve 12v 1/2in Solar Water HeaterSolenoid Valve 12v 1/2in Solar Water Heater

          Solenoid Valve 12v 1/2in Solar Water Heater

          Solenoid Valve 12v 1/2in Solar Water Heater  12V Electric Pressure Solar Water Heater Solenoid Valve Normally Closed 1/2"  controls the flow of fluid plus air and acts as a valve between high-pressure water or any fluid! The valve works with a solenoid coil which...
          Rs 368/-
          Rs 368/-
          Rs 411/-
          Save Rs 43/-

          What Is a Solenoid Valve?

          A solenoid valve controls the flow of a liquid or gas using an electromagnetic coil. Unlike a manual valve, it can be switched electrically by a relay, timer, PLC or microcontroller-based control system.

          When the coil is energized, it creates a magnetic field that moves a plunger or armature. This movement operates the valve mechanism, allowing or stopping flow depending on the valve design.

          A solenoid valve is not the same as a motorized ball valve. A solenoid valve typically switches quickly between its designed states, while a motorized ball valve rotates a ball to open or close a passage.

          Parts of a Solenoid Valve

          Water Solenoid Valve: Working Principle, Types, Applications - XM Valve Actuator



          Direct-acting Solenoid Valve Anatomy  - Blog - Control Select



          Water Solenoid Valve: Working Principle, Types, Applications - XM Valve Actuator

          9

          The main components of a typical solenoid valve are:

          • Coil: Produces a magnetic field when electrical current flows through it.

          • Plunger or armature: Moves in response to the magnetic field.

          • Spring: Returns the plunger to its default position when the coil is de-energized.

          • Valve seat and seal: Control whether fluid can pass through the valve.

          • Body: Contains the fluid passage and connects to the pipe or tubing.

          • Diaphragm (in some designs): Opens or closes the main passage. Pilot-operated valves often use a diaphragm.

          The exact internal mechanism varies by valve type. A small direct-acting valve may move the sealing element directly, while a pilot-operated valve uses the solenoid to control a smaller passage that helps operate the main valve.

          How Does a Solenoid Valve Work?

          Solenoid Valve Specifications and Dimensions: 2T060 Series



          My Gray Tank Valve Failure — Barb Rocks



          What is a solenoid valve and how does it work? - XM Valve Actuator

          9

          A typical normally closed (NC) solenoid valve works in two states:

          1. Power OFF: The spring holds the plunger or sealing mechanism in its default position, blocking flow.

          2. Power ON: The coil creates a magnetic field that moves the plunger and opens the valve.

          3. Power removed: The magnetic field disappears, and the spring returns the valve to its normally closed position.

          A normally open (NO) valve behaves in the opposite way: it permits flow when de-energized and closes when energized.

          A valve's behaviour also depends on whether it is direct-acting or pilot-operated. Pilot-operated models may require a minimum pressure difference to open or close correctly, while direct-acting models can operate without the same pressure requirement.

          Types of Solenoid Valves

          Normally Closed (NC) vs Normally Open (NO)

          Feature

          Normally Closed (NC)

          Normally Open (NO)

          Power OFF

          Closed

          Open

          Power ON

          Open

          Closed

          Typical use

          Irrigation, water control, dispensers

          Applications that need flow by default

          Main consideration

          Stops flow when power is lost

          Allows flow when power is lost

          “Normally” describes the valve's state when the coil is not energized. It does not mean the valve is normally in that state during everyday operation.

          For systems where unintended water flow could cause damage, an NC valve is often a practical starting point. However, choose the default state based on the system's safety requirements.

          Direct-Acting vs Pilot-Operated

          Feature

          Direct-Acting

          Pilot-Operated

          Operating method

          Coil moves the valve mechanism directly

          Coil controls a pilot passage that operates the main valve

          Pressure requirement

          Can work at zero differential pressure, depending on design

          Usually requires a specified minimum pressure difference

          Typical applications

          Small valves and low-flow systems

          Higher-flow systems where pressure assists operation

          Selection check

          Flow capacity and coil rating

          Minimum pressure, flow and installation direction

          2-Way vs 3-Way Valves

          • 2-way valve: Has an inlet and an outlet. It starts or stops flow through a line.

          • 3-way valve: Has three ports and switches or redirects flow between paths, depending on its configuration.

          Do not assume a 3-way valve works like a simple on/off valve. Check the port markings and the manufacturer's flow diagram before connecting it.

          12V DC vs 230V AC Solenoid Valves

          The voltage printed on a valve's coil is the supply it is designed to use. A 12V DC coil must not be connected directly to 230V AC mains, and a 230V AC coil must not be powered from 12V DC unless its specifications explicitly support that supply.

          Feature

          12V DC solenoid valve

          230V AC solenoid valve

          Supply

          12V DC regulated supply or suitable DC source

          230V AC mains, where applicable

          Common use

          Arduino projects, low-voltage automation, irrigation controllers

          Mains-powered equipment and fixed installations

          Controller interface

          Usually switched through a suitable driver or relay

          Requires a correctly rated, mains-safe switching arrangement

          Main advantage

          Easier to integrate into low-voltage electronics

          Can operate directly from a compatible mains supply

          Main risk

          Excess current can overload the driver or supply

          Electric shock, fire and mains wiring hazards

          The supply must match the valve's specified voltage and AC/DC type. Also check coil power, current, pressure rating, fluid compatibility, port size and duty cycle.

          Choosing a valve for an Arduino project? A 12V DC valve is often simpler to integrate because the controller can remain on a low-voltage supply while a properly rated driver switches the valve. The Arduino pin itself must never power the valve coil directly.

          How to Control a Solenoid Valve with Arduino

          An Arduino can control a solenoid valve, but the valve must be powered by a suitable external supply and switched through a properly rated driver or relay. Arduino GPIO pins provide control signals; they are not designed to supply the current required by a valve coil.

          For a typical 12V DC solenoid valve, a relay module is one option. A logic-level MOSFET driver designed for the coil's current is another option. The correct choice depends on the valve's voltage, current, switching frequency and whether electrical isolation is required.

          Components Required

          For a basic relay-controlled setup, you need:

          • Arduino Uno or a compatible microcontroller

          • Solenoid valve with a coil voltage matching its supply

          • Relay module with a suitable control input and contact rating

          • External power supply matched to the valve

          • Connecting wires and appropriate protection

          • A suitable enclosure and wiring protection for the installation

          Wiring a 12V DC Solenoid Valve with a Relay Module

          Low-voltage control circuit

          Conceptual wiring for a compatible 12V DC valve and relay module. Follow the pin labels and ratings of your actual hardware.

          Arduino digital pin (e.g. D7)

          Control signal

          Relay module input (IN)

          VCC and GND connected as required by the module


          Valve power circuit

          12V supply (+)

          Relay COM



          Relay NO → Valve (+)



          Valve (−) → 12V supply (−)

          With COM and NO used, the valve receives power when the relay is activated. Use NC instead only if the required default state calls for it.

          Before powering the circuit, confirm that the relay contacts can switch the valve's DC voltage and inductive load current. A relay's AC rating does not automatically establish its safe DC switching capacity.

          Arduino Code

          This example assumes the relay module is active-HIGH: setting the input to HIGH activates the relay. Some modules are active-LOW, so check the module documentation and reverse the logic if needed.

          const int relayPin = 7;
          
          void setup() {
            pinMode(relayPin, OUTPUT);
            digitalWrite(relayPin, LOW);  // Relay off for active-HIGH modules
          }
          
          void loop() {
            digitalWrite(relayPin, HIGH); // Energize relay; valve receives power
            delay(3000);
          
            digitalWrite(relayPin, LOW);  // De-energize relay
            delay(3000);
          }

          The valve is switched on for three seconds and off for three seconds repeatedly. Test the logic with the valve disconnected first, and verify that the relay starts in the intended safe state after reset or power loss.

          What About a MOSFET Driver?

          For a DC valve that switches frequently, a suitably rated MOSFET driver can be quieter and more efficient than a mechanical relay. The design must account for the coil's current, voltage spikes and the MOSFET's voltage and thermal ratings. A suitable flyback diode or other specified suppression circuit is generally needed across a DC inductive coil.

          A relay module may simplify a beginner's build, but neither a relay nor a MOSFET makes unsafe wiring safe by itself.

          How to Choose the Right Solenoid Valve

          Check these specifications before buying:

          Specification

          What to check

          Coil voltage

          Exact voltage and AC/DC type

          Port size

          Match the valve connection to the pipe or fitting

          Fluid compatibility

          Confirm suitability for water, air, oil or the intended fluid

          Pressure range

          Ensure the operating pressure falls within the specified range

          Valve state

          NC or NO, based on what should happen when power is removed

          Operating principle

          Direct-acting or pilot-operated; check minimum pressure requirements

          Coil duty cycle

          Confirm whether continuous energization is permitted

          Flow capacity

          Match the valve to the required flow rate

          A valve that fits the pipe may still be unsuitable if its pressure range, fluid compatibility or coil rating does not match the application.

          Solenoid Valve Product Options

          1/2” 220V Elektrikli Solenoid Manyetik Vana Normalde Kapalı Fiyatı



          Solenoid Valve 230V, 1/2 Inch

          Suitable only for systems designed around its specified 230V AC coil and compatible plumbing requirements. Confirm pressure, fluid compatibility and connection details before installation.

          View product at Robocraze

          Moduł przekaźnika 1 kanał z optoizolacją - styki 10A/250VAC cewka 5V Sklep Botland



          1 Channel 5V Relay Module

          A potential switching interface for a compatible controller and load. Check its contact ratings for the valve's actual supply and inductive load; the module's 5V rating refers to its control or coil supply, not the valve's operating voltage.

          View relay module

          Safety note for 230V AC valves: Mains wiring can cause fatal electric shock or fire. Use an appropriately rated, enclosed switching arrangement with suitable insulation, strain relief, overcurrent protection and earthing where required. Disconnect power before wiring. If you are not qualified to work with mains voltage, have the installation completed by a qualified electrician. Never connect a mains-powered valve directly to an Arduino or breadboard.

          Common Applications of Solenoid Valves

          Válvula Solenóide Elétrica Baccara 3/4" 24VAC para Irrigação com Controle de Fluxo



          1. Automatic irrigation

          A controller switches water flow according to a timer or soil-moisture reading. An NC valve helps stop water flow when it is not energized.

          Related guide: Smart irrigation system using Arduino


          Water Dispenser Wiring Diagram » Wiring Diagram



          2. Water dispensers

          Solenoid valves control water delivery in dispensers and automated filling systems. Select a valve rated for the intended water quality and operating pressure.


          Integrated 10 Space Solenoid Valve 4V210-08 PT1/4 2 Position 5 Way



          3. Pneumatic systems

          Pneumatic solenoid valves direct compressed air to cylinders and other actuators. Port configuration and pressure ratings are especially important.


          Understanding 3-Way Solenoid Valves in Espresso Machines



          4. Coffee machines and appliances

          Compact valves regulate water flow in automated appliances. The valve must suit the temperature, pressure and fluid-contact requirements of the equipment.

           

          Conclusion:

          In this blog post, we have learnt that Solenoid valves are paramount elements in fluid control systems, leveraging electromagnetic energy to govern the progression of liquids or gases.

          Grasping the functioning of a solenoid valve is crucial for selecting the apt type for your precise application, guaranteeing proficiency and dependability in operation.

          These valves are pivotal in preserving fluid flow, hence investing in premium quality solenoid valves ensures optimal performance and durability in your system.

           

          If you appreciate our work don't forget to share this post and leave your opinion in the comment box.

           

          Please do check out other blog posts about Popular electronics

           

          Make sure you check out our wide range of products and collections (we offer some exciting deals!)

          Excerpt

          How a solenoid valve works, NC vs NO valves, 12V vs 230V AC, and how to control one with Arduino and a relay. Diagrams and FAQs.

          Frequently Asked Questions

          1. What is a normally closed solenoid valve?

          A normally closed (NC) solenoid valve blocks flow when its coil is not energized. Applying the specified electrical supply activates the coil and opens the valve, depending on its design. When power is removed, the valve returns to its closed state.

          2. Does a solenoid valve need minimum pressure?

          It depends on the valve design. A direct-acting solenoid valve can generally operate without a minimum differential pressure, subject to its specifications. A pilot-operated valve usually needs a minimum pressure difference to operate correctly. Always check the manufacturer's pressure range.

          3. Can I run a 230V valve from Arduino?

          No. An Arduino cannot power a 230V AC valve directly. A compatible, properly rated switching device must separate the low-voltage control circuit from the valve's power circuit. Mains-side wiring must use appropriate protection and insulation and should be handled by a qualified electrician.

          4. Why does my solenoid valve get hot?

          The coil generates heat while energized. Some warming is normal, but excessive temperature can indicate an incorrect supply voltage, an unsuitable duty cycle, poor ventilation or a faulty coil. Check the rated voltage and continuous-operation specifications, and disconnect power if the valve overheats or smells burnt.

          5. Is a brass solenoid valve safe for drinking water?

          Not automatically. Brass construction alone does not confirm that a valve is suitable for potable water. Verify that the complete valve—including its seals and internal materials—has the required drinking-water approvals and is rated for the intended temperature and pressure.

          Prev Post
          Next Post

          Leave a comment

          Please note, comments need to be approved before they are published.

          Thanks for subscribing!

          This email has been registered!

          Shop the look

          Choose Options

          Edit Option
          Back In Stock Notification

          Choose Options

          this is just a warning
          Login
          Shopping Cart
          0 items
          FREE SHIPPING!
          ₹100 OFF
          ₹200 OFF
          ₹999
          ₹2500
          ₹4900
          WhatsApp Chat Chat