Рет қаралды 242,968
How to use a solenoid valve with an Arduino
In this video we show how to do flow control with an Arduino. This is great for gardening, plumbing, and industrial applications. We look at some of the design issues when using a solenoid valve such as Back EMF and the need for a relay. We go over Ohm’s law for an inductor and show how to solve the Back EMF issue with a Flyback Diode (aka Freewheeling Diode or Snubber Diode). After reviewing the solenoid equation, we hook up and test the circuit - and successfully control water with the Arduino and solenoid valve.
Where you can buy the tools and materials:
[✓] Wire Nuts amzn.to/2z8hMHD
[✓] Diode Variety Pack amzn.to/2hIKeZz
[✓] 12V DC ¾” NPT Solenoid Valve (BE SURE TO SELECT THE RIGHT ONE!) amzn.to/2z9hpg3
[✓] Jumper wires amzn.to/2zpiT5E
[✓] 12V DC Power Supply amzn.to/2zbKp6O
[✓] Arduino Uno amzn.to/2zqDqXE
[✓] Relay Module - see this video’s description for all the pieces to use the relay module: • How to use an Arduino ...
Helpful Links
1. The video on how to use the Arduino relay module • How to use an Arduino ...
2. More about flyback diodes www.quora.com/...
3. Using a transistor instead of a relay www.bc-robotics...
4. More on solenoid valve circuits web.cecs.pdx.ed...