Solenoid Valve + Arduino

From ESE205 Wiki
Revision as of 20:27, 11 December 2017 by Fkazmi (talk | contribs) (Created page with "==How to Control a Solenoid Valve== 1. #Parts needed * Solenoid Valve * Diode * 1k Ohm Resistor * Transistor * Breadboard * Arduino UNO * 6 Jumper wires * Voltage source - var...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

How to Control a Solenoid Valve

1. #Parts needed

  • Solenoid Valve
  • Diode
  • 1k Ohm Resistor
  • Transistor
  • Breadboard
  • Arduino UNO
  • 6 Jumper wires
  • Voltage source - varies on how much voltage your valve will need
  • 2 Alligator clips

2. #Assembly

  • Connect one of the pins from GND to Negative side on the breadboard.
  • On the positive side next to your GND pin, a wire connection that should be connected to solenoid valve will be attached.
  • Put the transistor in the middle of the breadboard on the side of where your GND pin is.
  • Transistor has 3 pins Emitter, Base, and Collector. (left to right)
  • Attach 1k Ohm resistor to Emittor pin on a breadboard and connect to any pin on the Arduino.
  • Attach diode and wire connecting to the solenoid valve on the Base pin of the Transistor. One part of the diode is attached to the Base pin and other is on the positive side of the breadboard.
  • Attach a jumper cable on the Collector pin of the Transistor and then attach the other side of the jumper cable to the negative side of the breadboard.
  • On the same side, but opposite direction of where your GND pin and the wire for solneoid valve pin is, there is another (+) (-) area on the breadboard connect voltage source there.
  • YOUR CIRCUIT IS MADE!