Controlling A Solenoid Valve With Arduino
In this tutorial we will be controlling a solenoid with an Arduino and a transistor. The solenoid we have picked for this tutorial is our Plastic Water Solenoid Valve (perfect for controlling flow to a drip irrigation system) but this tutorial can be applied to most inductive loads including relays, solenoids, and basic DC motors.
A Few Considerations:
Before choosing this solenoid valve for a project there are a few things that should be considered:
• Water can only flow in one direction through this valve.
• There is a 3 PSI minimum pressure requirement on the inlet otherwise the valve will not shut off.
• This solenoid valve is not rated for food safety or use with anything but water.
How It Works:
This valve is very similar to those found in a lawn irrigation system – the only real difference being the size. The inlet water pressure actually holds the valve closed so if you do not have any inlet water pressure (3psi minimum) the valve will never close!
If you have any questions, or need further clarification please post in the comments section below; this way future users of this tutorial can see the questions and answers!