Site icon Circuit Ideas for You

Solenoid Valve Control Circuit using Arduino

Solenoid valve is small device which controls water or air flow.

Arduino can operate this valve using relay.

Relay works like switch.

Arduino gives signal to relay.

Relay turns valve ON or OFF.

This project for Solenoid Valve Control Circuit using Arduino is simple and useful.

Arduino Coding:

void setup() {
pinMode(7, OUTPUT);
}

void loop() {
digitalWrite(7, HIGH);
delay(5000);
digitalWrite(7, LOW);
delay(5000);
}

Coding Explanation:

Circuit Working:

Solenoid Valve Control Circuit  Diagram using Arduino

Parts List:

ItemQuantity
Arduino UNO1
5V Single Channel Relay1
USB Cable1
12V DC Power Supply1
12V Connector1
12V DC Solenoid Valve1

12 volt solenoid valve needs high power.

Arduino cannot give this power.

So relay is used in middle.

Arduino sends low power signal to relay input pin.

Relay coil becomes active.

Relay connects 12 volt power to solenoid valve.

Valve opens.

When Arduino pin goes low then relay turns OFF.

Relay disconnects 12 volt supply.

Valve closes.

Arduino and relay share common ground.

Formula with Calculation:

Relay coil voltage = 5V from Arduino

Solenoid valve voltage = 12V from power adapter

Current of valve = around 300 mA typical

Arduino pin current = around 20 mA max safe

Relay isolates Arduino from high current load

Power of valve = Voltage x Current

Power = 12V x 0.3A = 3.6 Watt

How to Build:

To build a Solenoid Valve Control Circuit using Arduino follow the below steps:

Conclusion:

This Solenoid Valve Control Circuit using Arduino is easy for control system.

Arduino cannot drive solenoid directly.

Relay gives safe switching.

Circuit is simple and cheap.

Good for beginners.

Useful for water control, irrigation and automation.

References:

Solenoid Control using Arduino

Exit mobile version