EAS 199B Lecture 8:     30,31 January 2013

Last updated at 05:03 PM on 24 Feb 2013

8. Calibration of the Salinity Sensor and fabrication of wiring harness for the LCD

Class meeting on 30,31 January 2013

Homework: Assignment 3 due 5,6 February 2013

Learning Objectives

  1. Be able to set up the electrical circuit to power the conductivity sensor
  2. Be able to demonstrate reading of the signal from your conductivity sensor
  3. Be able to compute the mean, median, and standard deviation of a data set
  4. Be able to perform the calibration procedure for the conductivity sensor
  5. Be able to fabricate the wiring harness for the LCD panel

Notes and Supplemental Files

  1. Notes on calibration curve fit with MATLAB Slides in PDF or 2-up slides in PDF
  2. Fabrication of the wiring harness for the LCD panel: PDF, and 3-up handout
  3. Web page for instructions on how to fabricate the wiring harness

Review of Least Squares Curve Fitting from EAS 199A

From EAS 199A, there are two sets of lecture slides on least squares curve fitting:

  1. Overview of least squares curve fitting
  2. Explanation of the R2 coefficient

The lecture slides on fitting the calibration curve with MATLAB refer to some MATLAB codes for line fitting and fitting of y=a*exp(b*x) and y=a*x^b. Here are links to those codes:

  1. MATLAB code for fitting lines linefit.m. This is equivalent to, but simpler than c = polyfit(xdata,ydata,1)
  2. expfit.m: MATLAB code for fitting y=a*exp(b*x)
  3. demoExpFit2.m: MATLAB code to demonstrate how to use expfit.m
  4. powfit.m: MATLAB code for fitting y=a*x^b
  5. demoPowFit.m: MATLAB code to demonstrate how to use powfit