
This circuit uses a Raspberry Pi 4B to control a solenoid valve via a 2-channel relay module. An IR sensor connected to the Raspberry Pi detects an event, which triggers the relay to activate the solenoid valve.

The 2/2 Solenoid Valve is an electromechanical device designed to control the flow of fluids in various systems. It features two ports and two positions, enabling it to either allow or block fluid flow based on its energized or de-energized state. This versatility makes it ideal for applications in automation, irrigation, HVAC systems, and fluid control in industrial processes.

This circuit uses a Raspberry Pi 4B to control a solenoid valve via a 2-channel relay module. An IR sensor connected to the Raspberry Pi detects an event, which triggers the relay to activate the solenoid valve.

This circuit controls a 12v pneumatic solenoid valve using an Arduino Pro Mini microcontroller. The Arduino toggles the solenoid valve on and off with a 1-second interval, as programmed in the embedded code. A TIP120 Darlington transistor is used to switch the higher current required by the solenoid, and a 1N4007 diode provides back EMF protection. Additionally, an RFM95 module is interfaced with the Arduino for potential wireless communication capabilities.

This circuit uses an ESP32 microcontroller to control a 12V relay, which in turn operates a plastic solenoid valve. The ESP32 toggles the relay on and off every second, allowing the solenoid valve to open and close accordingly.

This circuit is designed to control a plastic solenoid valve using an ESP32 microcontroller. The ESP32 uses a digital output to switch a relay module, which provides or cuts off power to the valve. The entire system is powered by a pair of 18650 batteries.
| Specification | Value |
|---|---|
| Manufacturer | Jectse |
| Manufacturer Part ID | jectseiogt8zvfgy-12 |
| Voltage Rating | 12V DC |
| Current Rating | 0.5A |
| Power Rating | 6W |
| Fluid Type | Air, Water, Oil |
| Maximum Pressure | 0-10 bar |
| Temperature Range | -10°C to 60°C |
| Pin Number | Description |
|---|---|
| 1 | Coil Positive (+) |
| 2 | Coil Negative (-) |
| 3 | Port A (Inlet) |
| 4 | Port B (Outlet) |
Wiring the Solenoid Valve:
Controlling the Valve:
Valve Not Opening:
Fluid Leaks:
Valve Sticking:
Here is a simple example of how to control the 2/2 solenoid valve using an Arduino UNO:
// Define pin for relay control
const int relayPin = 7;
void setup() {
// Set relay pin as output
pinMode(relayPin, OUTPUT);
}
void loop() {
// Activate the solenoid valve
digitalWrite(relayPin, HIGH); // Turn on
delay(5000); // Keep it on for 5 seconds
// Deactivate the solenoid valve
digitalWrite(relayPin, LOW); // Turn off
delay(5000); // Keep it off for 5 seconds
}
This code will turn the solenoid valve on for 5 seconds and then off for 5 seconds in a continuous loop. Adjust the delay() values as needed for your application.