temperature system wiring

Slides:



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

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.
Cascaded switching of a solenoid valve living with the lab transistor relay solenoid valve © 2012 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.
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.
Pump Fabrication Day Group A will draw their pump
Controlling Servos with the Arduino
Connecting Switches.
Series and Parallel Resistors
Introduction to the Arduino
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.
Schedule 8:00-11:00 Workshop: Arduino Fundamentals
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
Data Types.
analog and digital measurements
Using “if” statements.
Controlling the Heater
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.
Gearmotor Efficiency W table top gearmotor pulley string.
Presentation transcript:

temperature system wiring living with the lab temperature system wiring ENGR 121 transistor relay power resistor © 2013 David Hall

DISCLAIMER & USAGE living with the lab 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.

analog input 4 (measures voltage across thermistor) living with the lab thermistor circuit and program 5V analog input 4 (measures voltage across thermistor) 10kΩ thermistor If you have not done so already waterproof your thermistor create the voltage divider circuit shown enter the sketch below to make sure the thermistor is working if the soldering irons are busy, then go to the next slide and begin building control circuit int val = 0; // variable to store circuit output void setup() { Serial.begin(9600); // set up the serial display } void loop() { val = analogRead(4); // read the 0 to 1023 integer from analog pin 4 Serial.println(val); // print value to serial monitor

normally open contacts living with the lab temperature control circuit Build this circuit. Write a sketch that reads the analog input from the thermistor circuit and displays the 0 to 1023 value on your computer monitor. Then, modify the program to make the LED go off when you heat the thermistor up by holding it between your fingers; the LED should come on when the thermistor cools back toward room temperature. That is, include an “if” statement that makes the LED come on when the analog input is less than a number (such as 500, but you’ll need to pick a number that works). This will be very similar to the program that you use to turn on the heater when the temperature drops below the setpoint. This is also one of your homework problems for next time. 5V analog input thermistor 10kΩ 5V C B E Arduino digital pin 1kΩ + - 12VDC power supply 20W 470W solenoid valve normally open contacts heater to be added later coil SPST relay You can replace the LED and 470Ω resistor with the heather (the 20Ω waterproofed resistor provided by your instructor) after the LED is working well. NEVER have the heater plugged in (or turned on) unless your fishtank is full of water.