Calibration of Conductivity Sensors EAS 199B living with the lab.

Slides:



Advertisements
Similar presentations
Salt water mixtures living with the lab © 2011 David Hall the worlds oceans contain an average of about 3.5% salt by weight (35 grams of salt for every.
Advertisements

ARDUINO CLUB What we’re really doing. BASICS The setup() and loop() functions.
Electrical team Arduino tutorial I BY: JOSHUA arduini
Lab7: Introduction to Arduino
Anurag Dwivedi & Rudra Pratap Suman.  Open Source electronic prototyping platform based on flexible easy to use hardware and software.
temperature system wiring
Control of Salinity EAS 199B Modifications of ENGR 121 living with the lab.
Control of salinity living with the lab © 2012 David Hall.
Conductivity sensor implementation living with the lab © 2011 LWTL faculty team.
Panasonic EVE-KC2F2024B 24 pulses per revolution 6mm diameter flattened output shaft output type: quadrature (incremental) minimum life: 15,000 rotations.
Electrolytic Cell and Electroplating Chapter 19 Page Chem 12.
1 Boe-Bot Parts BOE-BOT Lecture #1b DE - Digital Electronics.
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.
Living with the Lab Using Your Arduino, Breadboard and Multimeter EAS 199A Fall 2011 Work in teams of two!
Calibration of conductivity sensors living with the lab.
Lesson 4: Breathing Monitors. Breathing Monitors In the past 3 classes, we’ve learned – How to write to a digital pin – How to read the value of a digital.
AccuMax Multi-Point Injection Mechanics
Basic Circuits – Lab 2 Arduino and Sensors Xmedia Spring 2011.
Calibration of Conductivity Sensors EAS 199B. living with the lab cal ∙ i ∙ brate [kal-uh-breyt] -verb (used with object), -brat ∙ ed, -brat ∙ ing. 1.
ARDUINO PROGRAMMING Working with the Arduino microcontroller.
Working with Arduino: Lesson #1: Getting Acquainted with the Kit EGN1007.
Basic Circuits – Lab 2 Arduino and Sensors
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.
Electrochemistry Electrons in Chemical Reactions.
MAE156A October 12, 2006 UCSD H. Ali Razavi.  Electric voltage is similar to height difference: - Electrons start moving under voltage difference - Unless.
Tips for fishtank programming living with the lab © 2013 David Hall.
Introduction to the Arduino
Khaled A. Al-Utaibi  The Push Button  Interfacing Push Buttons to Arduino  Programming Digital Inputs  Working with “Bouncy”
Cascade switching of an LED EAS 199B Winter 2013.
An Introduction to Electroanalytical Chemistry Electrochemistry: The study of the interchange of chemical and electrical energy Oxidation is the loss of.
Control of salinity living with the lab © 2012 David Hall.
Pulse Width Modulation (PWM). 100% Pulse Width Modulation (PWM) 0% On the chipKIT there are 490 periods per second. Use analogWrite(pin, value) to control.
Good LED Circuit 5V0 GND. What Voltage Does Meter See? Answer: 5 V.
Conductivity sensor implementation living with the lab © 2011 LWTL faculty team.
Living with the lab Assume that your fishtank system has a setpoint of 0.09% NaCl. Your instructor comes by your table and upsets your system by adding.
Microcontroller Hands-on Workshop #2 Ahmad Manshad New Mexico State University Institute of Electrical and Electronics Engineers October 31, 2009.
Line following tips photoresistors positioned near floor photoresistor circuits © 2011 LWTL faculty team living with the lab.
Arduino libraries Datatekniker Udvidet hardware/software.
Photoresistor resistance changes dramatically with light level living with the lab Using Photoresistors with an Arduino © 2011 LWTL faculty team.
1 Introduction to Haptics Introduction to the Hapkit board Allison M. Okamura Stanford University.
Fish Tank Project Introduction ME 121Portland State University Mechanical and Materials Engineering.
Control of salinity living with the lab © 2012 David Hall.
Voltaic Cells Notes A.) Spontaneous reaction 1.) In Voltaic Cells (Batteries), when the circuit is closed (turned on) electrons will move from anode.
Arduino Programming Part 7: Flow charts and Top-down design ME 121 Gerald Recktenwald Portland State University
The Electrolytic Cell. In the electrolytic cell, a nonspontaneous redox reaction is forced to occur by the use of a source of electricity. In the electrolytic.
Environmental Monitoring with Arduino and Compatibles
Redox in Action: Voltaic cells
More on LED’s with Arduino
UTA010 : Engineering Design – II
calibration of conductivity sensors
Cascade switching of an LED
UCD ElecSoc Robotics Club 2017/2018
Introduction to Transistors
ARDUINO     What is an Arduino? Features 14 Digital I/O pins 6 Analogue inputs 6 PWM pins USB serial 16MHz Clock speed 32KB Flash memory 2KB SRAM.
Conductivity Sensor.
Introduction to Transistors
using the Arduino to make LEDs flash
Using Photoresistors with an Arduino
Working with Arduino: Lesson #1: Getting Acquainted with the Kit
Make sure you revise the following:
An electrolytic cell uses electricity to do a chemical reaction.
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Calibration of Conductivity Sensors
CTY SAR FCPS Shawn Lupoli, Elliot Tan
Arduino 7 Segment Display Lab
Electrochemical Cells (Batteries)
Arduino Uno circuit basics
Physics 4 – Jan 24, 2019 P3 Challenge - none Objective: Agenda: EMF
Physics 4 – Feb 9, 2018 P3 Challenge –
Presentation transcript:

Calibration of Conductivity Sensors EAS 199B living with the lab

cal ∙ i ∙ brate [kal-uh-breyt] -verb (used with object), -brat ∙ ed, -brat ∙ ing. 1. to determine, check, or rectify the graduation of (any instrument giving quantitative measurements). Calibration Associate sensor output with salt concentration Relate sensor output and salt concentration using an equation (linear regression) The goal is to be able to compute the salt concentration based on sensor output

living with the lab The Basic Idea Adding salt to the water will increase the availability of Cl - ions at the anode More ions at the anode will increase the rate at which chemical reactions can occur The “electrical resistance” of the salt water will decrease as more salt is added to the water The analog voltage on the + side of the 10kΩ resistor will increase as more salt is added Correlating this voltage with the salt concentration will allow us to “calibrate” the conductivity sensor e-e- 5V e-e- 10 kΩ e-e- Cl - Cl Cl 2 Cl - e-e- e-e- e-e- OH - H2OH2O H2OH2O H H e-e- e-e- anode – oxidation (loss of electrons) cathode – reduction (gain of electrons) Cl - Na + Cl - Na + Cl - ion migration Na + Na + is a spectator ion

living with the lab The Circuit and Sketch int salinity_power_pin = 4; // Digital I/O pin, Global variable void setup() { Serial.begin(9600); pinMode(power_pin, OUTPUT); } void loop() { int salinity_input_pin = 2; // Analog input pin int salinity; salinity = salinity_reading( salinity_power_pin, salinity_input_pin ); Serial.println(salinity); } // int salinity_reading( int power_pin, int input_pin ) { int reading; digitalWrite( power_pin, HIGH ); // Turn on the sensor delay(10); // Wait to settle reading = analogRead( input_pin ); // Read voltage digitalWrite( power_pin, LOW ); // Turn off the sensor return reading; }

living with the lab Salt Concentrations Each group of students should put about 1.5 inches of water in four bottles The four bottles should contain... DI water 0.05% weight NaCl 0.10% weight NaCl 0.15% weight NaCl Please take ONLY the amount that you will need to use TODAY Be sure to label your water bottles Swish a small amount of DI water around in your bottle to wash out impurities before filling with calibration water

living with the lab Capture data during calibration

living with the lab Calibration steps in the lab 1.Configure your flow loop as required for homework 2.Implement the conductivity sensor circuit on your breadboard 3.Flush tank with DI water. a.Pour enough DI water into your fishtank to fill the flow loop b.Turn on the pump to run the flow loop for about a minute to “wash out” the impurities. c.Turn the three-way valve toward the drain to flush the system d.Repeat to completely clean the system 4.Fill the system with DI water 5.Collect calibration data a.Wait for the system to come into equilibrium b.Copy a large (50 to 100) readings from the Serial Monitor to a text file or Excel c.Save the file with a name that allows you to identify it later 6.Fill the system with 0.05 wt% salt water. Flush once, and refill with 0.05 wt% salt water 7.Repeat steps 5a through 5c 8.Repeat steps 5 through 7 for 0.10 wt% salt water and 0.15 wt% salt water

living with the lab Analysis of calibration data 1.Use MATLAB to create a histogram of your data 2.Compute the mean, standard deviation and median of the data 3.Record the data in the following table

living with the lab Steps 1.Configure your flow loop as required for homework 2.Implement the conductivity sensor circuit on your breadboard 3.Flush tank with DI water. a.Pour enough DI water into your fishtank to fill the flow loop b.Turn on the pump to run the flow loop for about a minute to “wash out” the impurities. c.Turn the three-way valve toward the drain to flush the system d.Repeat to completely clean the system 4.Fill the system with DI water 5.Collect calibration data for DI water 6.Fill the system with 0.05 wt% salt water. Flush once, and refill with 0.05 wt% salt water 7.Collect calibration data for 0.05wt% salt water 8.Repeat steps 6 and 7 for 0.10 wt% salt water and 0.15 wt% salt water salt concentration (%wt)output to LCD collect this data

living with the lab Fit Output of Sensor to Salt Concentration