Cascaded switching of a solenoid valve living with the lab transistor relay solenoid valve © 2012 David Hall.

Slides:



Advertisements
Similar presentations
Why won’t my Arduino work???? living with the lab © 2012 David Hall.
Advertisements

temperature system wiring
College of Engineering & Science living with the lab Ohm’s Law © 2012 David Hall 1.5V.
Using the servo library living with the lab Libraries are computer programs written to add functionality to Arduino programs. A library to control hobby.
Conductivity sensor implementation living with the lab © 2011 LWTL faculty team.
Analog and Digital Measurements living with the lab 14 digital input / output pins 6 analog input pins © 2012 David Hall.
Waterproofing a thermistor ENGR 121 living with the lab © 2013 David Hall.
Using the Arduino to Make an LED Flash Work in teams of two! living with the lab digital I/O pins (I/O = input / output) USB cable plug power pins.
User-defined functions in Arduino sketches living with the lab © 2012 David Hall.
Calibration of conductivity sensors living with the lab.
Using Your Arduino, Breadboard and Multimeter Work in teams of two! living with the lab 1 © 2012 David Hall.
Living with the lab Attaching Arduino to Boe-Bot Chassis © 2012 David Hall.
Thermistor calibration living with the lab © 2013 David Hall.
Assembly of conductivity flow loop living with the lab (in preparation for calibrating conductivity sensor)
Switches & whiskers on the Arduino living with the lab lever arm switches mounted to Arduino © 2012 David Hall.
College of Engineering & Science living with the lab Introduction to Electricity What is electricity? electricity is the flow of electric charge... for.
Cascade switching of an LED EAS 199B Winter 2013.
Using fixed-cell references and built-in functions in Excel living with the lab © 2012 David Hall.
220  470  Gnd5V Currents Through Parallel Resistors 1 living with the lab © 2012 David Hall.
Using Hobby Servos with the Arduino living with the lab © 2012 David Hall.
Introduction to Microsoft Excel living with the lab © 2012 David Hall.
Voltage Drops Around Closed Loops 470  220  5V   220  living with the lab © 2012 David Hall.
Navigating the engineering disciplines robot challenge living with the lab © 2012 David Hall.
Kirchoff’s Current Law (KCL) living with the lab University of Pennsylvania Library and Wikipedia Gustav Kirchoff (left) and Robert Bunsen (right) Bunsen.
Adding a Barrel Jack to a Battery Pack living with the lab © 2012 David Hall.
Using for loops to control LEDs living with the lab 1 1 arduino.cc the for statement allows us to repeat a block of commands a limited number of times.
Building Circuits.
Pump Fabrication Day Group A will draw their pump
Controlling Servos with the Arduino
Connecting Switches.
Series and Parallel Resistors
Troubleshooting Your Multimeter
Using servos.
calibration of conductivity sensors
Servo Library and Functions
Line Following Tips photoresistor circuits
Robot Assembly.
How to Use Dial Calipers
Controlling a Motor with Cascading Switches
Introduction to Transistors
Introduction to the Fishtank
RGB LEDs.
Conservation of Mass Problem
Maxbotix Ultrasonic Distance Sensor
Conductivity Sensor.
Introduction to Transistors
Servo Library and Functions
Troubleshooting Your Multimeter
a few of my favorite sensors
Relays.
using for loops to control LEDs
using the Arduino to make LEDs flash
Using Photoresistors with an Arduino
Line Following Tips photoresistor circuit
Conservation of Mass Problem
analog and digital measurements
Using “if” statements.
Design Project Forecast
Digital Input from Switches
Implementing Switches Using Interrupts
Arduino: For Loops.
Non-Concurrent Force Systems
IR Object Detection IR detector IR LED IR light reflected off object
Radio Frequency Transmitter and Receiver
Interfacing a Rotary Encoder with an Arduino
Conservation of Mass Problem
Evaluating Design Alternatives
Counting Servo Gear Teeth (FS90R Servos)
Static Equilibrium Problem
Reservoir Loop.
Presentation transcript:

cascaded switching of a solenoid valve living with the lab transistor relay solenoid valve © 2012 David Hall

living with the lab 2 The content of this presentation is for informational purposes only and is intended only for students attending Louisiana Tech University. The author of this information does not make any claims as to the validity or accuracy of the information or methods presented. Any procedures demonstrated here are potentially dangerous and could result in injury or damage. Louisiana Tech University and the State of Louisiana, their officers, employees, agents or volunteers, are not liable or responsible for any injuries, illness, damage or losses which may result from your using the materials or ideas, or from your performing the experiments or procedures depicted in this presentation. If you do not agree, then do not view this content. The copyright label, the Louisiana Tech logo, and the “living with the lab” identifier should not be removed from this presentation. You may modify this work for your own purposes as long as attribution is clearly provided. DISCLAIMER & USAGE

wiring living with the lab setting digital output on Arduino HIGH switches the transistor the transistor allows current to flow through the relay coil, closing the relay contacts power from the 12VDC supply actuates the solenoid valve, allowing water to flow 3 5V C B E Arduino digital pin 1kΩ coil normally open contacts SPST relay solenoid valve VDC power supply diodes

C B E 5V Arduino digital pin 1k  C B E 5V Arduino digital pin 1k  good and bad wiring: using a flyback diode living with the lab 4

5V C B E Arduino digital pin 1k  why do we need a flyback diode living with the lab 5 when digital pin 8 on the Arduino goes LOW, the decay of the magnetic field induces a current that can be harmful to our electronics (can arc across contacts or send a surge through the system) the diode allows a circular current to be set up in the coil / diode loop so that the magnetic energy stored in the coil can be safely dissipated void setup() { pinMode(8,OUTPUT); } void loop() { digitalWrite(8, HIGH); delay(500); digitalWrite(8, LOW); delay(2000); } 5V C B E C B E Arduino digital pin 1k  current path broken when digital pin 8 on the Arduino goes HIGH, electricity is conducted through the coil of the relay, inducing a magnetic field in the coil energy is stored in the coil as a magnetic field

living with the lab power considerations 1.Power to switch transistor source: max current per digital I/O pin: 2.Power to switch relay source: max current from the voltage regulator: coil current for relay: 3.Power to switch solenoid valve source: max current of power supply: requirements of solenoid valve: Arduino digital I/O pin 40 mA 5V from Arduino (from the on-board voltage regulator) 800 mA 40 mA 12VDC wall power supply (converts AC to DC) 1.5A (depends on power supply purchased) 0.29A 6

living with the lab void setup() { pinMode(8,OUTPUT); } void loop() { digitalWrite(8, HIGH); delay(500); digitalWrite(8, LOW); delay(2000); } wire to digital pin 8 silver stripe toward positive side implementation solenoid valve 7 5V 12V

living with the lab more compact wiring you will need three relays, two for the solenoid valves and one for the heater 8 transistors turned with round side toward relays

living with the lab view from other side of relays 9 stripes on diodes must point toward positive voltage

living with the lab another view 10

living with the lab complete assembly of conductivity control system (in class or for homework, as time permits) 11