ATMS 360 Homework and Course Deliverables (return to main page)
[How to write lab report]


 

Assignment 6 UNR weather station comparison, cloud base temperature, sensor height study (above head and on the ground) and thermistor response time in air.

Report on the measurements of April 4th and April 9th using our normal report format.

Time series graphs of the following (5 graphs total):

April 4th:
1. Pressure overlay with 'board temperature' to see if the pressure sensor seems temperature compensated. Compare pressure with UNR weather station pressure by overlaying the UNR weather station data.
2. Thermistor sensor air temperature. Compare temperature with UNR weather station temperature by overlaying the UNR weather station data.
3. Infrared temperature representing cloud base temperature. Overlay with the downwelling IR calculated using σT4 with temperature in Kelvin and compare with the downwelling IR from the UNR weather station.
4. Solar sensor (for those with a working solar sensor). Compare solar with UNR weather station solar by overlaying the UNR weather station data. Obtain a calibration to go from Lux to Watts/m2.

We want to investigate the instrument comparison (ours versus UNR weather station) as an instrument issue, and want to look at the science issues,
for a cloudy morning, what were the meteorological values, and for what effect did placing our sensors at ground level was observed, compared with being at the level of the UNR weather station?


April 9th:
5. Thermistor response time in air, for when we went from inside the building on the 4th floor to outside. Fit to our favorite equation to obtain the response time for cooling off and warming up and report it.

 

Assignment 5 Relationship between the Earth's surface temperature, surface albedo, and the air temperature as a function of time of day and meteorology.
This lab will evolve as we get into it, to add an additional sensor for solar radiation measurements.
This is a multi day lab, so we won't take the components off of the Arduinos as we have been doing at the end of class each time so far.

Goals:
1. Learn how to use the Arduino for atmospheric measurements outside.
2. Do measurements to study the variation of surface and air temperature for different locations and times of day (creatively choose your study).
3. Learn how to incorporate and combine use of multiple sensors.
4. Learn how to record time and date, and to write data to a microSD card.

Atmospheric radiation transfer of solar (0.25 microns to 5 microns) and terrestrial (5 microns to 100 microns) radiation changes the surface and atmospheric temperature continually throughout the day. The atmosphere responds to heating with air motions. We will explore the relationship between surface temperature and air temperature as a function of time of day during this lab.

We often use the notation 'shortwave radiation' to represent sunlight, and 'longwave radiation' to represent terrestrial radiation. At night the Earth's surface cools by emission of longwave radiation, and is heated by downwelling longwave radiation emitted by the atmsophere. During the day, shortwave radiation contributes as well. Air in contact with the Earth's surface has its temperature affected by conduction of heat to or from the Earth's surface. Heated or cooled air may rise or sink thereafter due to air density changes in the process of convection.

We will measure the surface temperature using the IR sensor, and will use our thermistor to measure air temperature with a relatively fast time constant. We will design this lab to measure the air temperature as a function of height above the Earth's surface. We will operate the Arduino from battery so that we can acquire data outside.

The outcome of this lab will be a presentation on the final day.

Components for this lab include:
Current sketch to use for acquiring data (stable version, 9 April 2019) Everyone should update to this version.
Example sketch to use for acquiring data.
Revised sketch that includes the solar sensor, and uses time and date for the file name for the data, and includes run time information on the compiled code.
IR sensor for surface temperature measurement (from Lab 4), using the I2C interface.
Thermistor temperature sensor (from Lab 4)
Chronodot for time measurement. Use the I2C interface. Chronodot set and read code for the Arduino.
Adafruit MicroSD card to save data using the SPI interface. Wiring set up.
Digital pressure sensor, the MS5637 GY37 sensor, using the I2C interface. Download and install the .zip library found here. Local Backup.


A photodiode sensor for solar radiation should be have the time to do so. (Calibrate the sensor with the Solar light pyranometer).

Assignment 5: Instrument description
Describe the sensors used for this project.
Discuss how data is acquired for each sensor; you can group all the I2C based detectors together.
Discuss how the I2C interface works.

Later assignments will be associated with use of the instrument for atmospheric measurements.

HELPFUL INFORMATION FOR THIS REPORT
Thermistor sensor
MS5637 pressure sensor data sheet and local backup
The I2C interface
Infrared sensor
Visible light sensor (and data sheet for the sensor)
Chronodot clock for keeping real time
MicroSD card reader/writer for saving data to a file.

 

 

 

Assignment 4 Arduino and Atmospheric Measurements:

Here is what is expected in report writing.

You will need to acquire data in class, write lab notes about your measurements, and write up each section of the lab
as homework as soon after the section is finished so you remember it in detail. It will be very difficult to write up the lab
after all the experiments are done.

Title: You can decide on the title based on your experience with this lab.

Goals:
a. Become familiar with the Arduino microcontroller as an example of a programmable device for acquiring measurements and controlling systems.
b. Demonstrate ability to modify Arduino sketches for solving problems.
c. Learn about and use sensors with atmospheric relevance.
d. Learn how to bring measurements from the Arduino into computers (interface the Arduino) to acquire data for later analysis and display.

If possible, install the Arduino software on your own laptop (if you have one), and use it in class.
Also download CoolTerm and place it somewhere that you can get to it for ease of use. This program allows us to transfer data from the Arduino to the computer.
The code for the projects in the book and kit is here: expand the file and put the folder in your Arduino examples folder.
Here is a link to the an online version of a manual that is similar to the one we use in class. (local backup).

In your report, describe and/or answer these questions
1. Introduction to describe the Arduino (why is everyone so crazy about this thing?).

Measurements and Analysis
2. Do Circuit 6, pg 40 in the book to learn about the photoresistor and how to measure its output.
Then create a circuit to drive the LED at different frequencies to see if the photoresistor resistance can accurately follow the LED output for low and high frequencies.
Point the LED output directly into the photoresistor input. You can use variable delay and the 'Blink' sketch to drive the LED.


Description of the circuit for the photoresistor test. Click on the image for a larger version.

If the LED is driven by a square wave, the photoresistance should show a crisp square wave too. Use the plot monitor on Arduino to view the photoresistor output,
and save some data with CoolTerm (including time) so that you can graph the photoresistor output from the LED drive as a function of time.
Can you estimate the time constant of the photoresistor as a sensor of light?
Here's an example sketch that may be helpful in measuring response time. You may find ways of speeding it up to get more time resolution on the LED response.

Calculate the light intensity using the equation LUX = 1.25*107*Rp-1.41 where Rpis the photoresistance in Ohms. (local backup of link).
Then work out the response time of the photoresistor for measuring light using the Solver within Excel.

Do one set of curves for room lights on, and another for lights off. Is there any difference in the time constant caused by spanning the photoresistor over such a large range of light intensity?



3. Do Circuit 7, pg 44 in the book to be become familiar with the TMP36 temperature sensor.

Answer these questions in your write up.
What is the principle of operation of the TMP36 temperature sensor? How was its signal obtained?

Obtain and discuss the time constant for the sensor as you are warming it up with your fingers, and the time constant as you are cooling it off by letting it sit in air.

Description of the analog to digital conversion for the TMP36 sensor. Click on image for a larger version.

Example sketch for response time measurement. Read it and follow instructions. Pinch the temperature sensor to warm it up when the LED comes on.
Record a time series with CoolTerm as you pinch the the sensor to warm it up to a steady temperature, and let it decay to a lower temperature.
Obtain and discuss the time constant for the sensor as you are warming it up with your fingers, and the time constant as you are cooling it off by letting it sit in air.

4. Create a voltage divider circuit to measure the resistance of the thermistor sensor using a fixed resistance of 1 MegOhm (1,000,000 ohms).

Answer these questions in your write up.
What is the principle of operation of the thermistor temperature sensor? How was its signal obtained?
Obtain the time constant for the sensor as you are warming it up with your fingers, and the time constant as you are cooling it off by letting it sit in air.


Measure the diameter of the TMP sensor and the diameter of the thermistor sensor, and estimate the ratio of the mass of each sensor assuming they have the same density.
Also determine the ratio of the surface area of each sensor.
Calculate the ratio of the response time of the TMP36 sensor to that of the thermistor sensor, one ratio each for heating and cooling.
Does the ratio of response times compare mosty closely with the surface area ratio, or the mass ratio?


Calculate the temperature that corresponds to your measured resistance using the equation given here (thanks Alex).
Record a time series using CoolTerm as you pinch the the sensor to warm it up to a steady temperature, and let it decay to a lower temperature.
Obtain the time constant for the sensor as you are warming it up with your fingers, and the time constant as you are cooling it off by letting it sit in air.
Here's an example sketch to use for the thermistor sensor evaluation. Read the sketch for instructions on what to do.
Pinch the thermistor carefully (without affecting the wires) when the LED is on.

Click on image for larger version.

5. Set up a circuit and sketch to acquire data from the pressure sensor.

Answer these questions in your write up:
How does the pressure sensor work?
Can you see measure the pressure difference between the lowest level you can get it, and the highest level? Is that pressure difference correct?


Do appropriate data averaging so that you can easily tell the pressure difference
between having the sensor on the desk, and having the sensor about 1 meter higher or lower. Record data with CoolTerm to demonstrate your results.
Here's an example sketch for the pressure sensor. You'll have to comment out some lines near the end to get only the pressure measurements to CoolTerm.
Do measurements with 1 second time average, holding the sensor down for 10 seconds, then up for 10 seconds.
Then modify the code to obtain 10 second time averages. Test by holding the sensor low for 100 seconds, and high for 100 seconds.
Comment on the effects of additionally time averaging the data.

Click on image for larger version.

Note: It seems the 10 bit analog to digital (a/d) converter of the Arduino would not be able to resolve a pressure difference of about 0.1 mb associated with
1 meter height difference. 1 bit change in the a/d counts corresponds to a voltage change of about 0.005 volts, and a pressure change of and about 1 mb pressure.
Dither helps: the voltage source for the Arduino is noisy enough to cause around 50 mv or so of noise so that the a/d counts fluctuate to a useful average.
The example sketch for pressure averages the measurements of the pressure sensor voltage and the voltage divider voltage about 1800 times for each measurement.
Use of the voltage divider for the power supply voltage measurement is necessary since the a/d range is 5 volts, and direct measurement might be over the measurement range.

If you are ahead, you may add the digital pressure sensor to the sketch and breadboard layout and compare the analog and digital sensors.

6. Implement the infrared sensor. Interface it with Labview using the indicated code.
Demonstrate a time series of temperature by moving your hand over the temperature sensor quickly, using Labview or cool term by doing a screen capture or other means.
Include a discussion of how the sensor works.
Those with laptops can take the IR sensor outside to get a time series of infrared brightness temperature of various targets.


Notes on the IR sensor: Click on image for larger version.


Additional Resources:
Description of the Arduino and some sensors we'll use.

TMP36 temperature sensor data sheet.

Very useful voltage divider circuit to use for measuring sensors that depend on resistance.

Click on image for larger view.

 

Assignment 3 Online (see webCampus) measurement of atmospheric temperature.

Purpose: Become familiar with atmospheric temperature measurements.

Assignment 2 Online (see webCampus) overview of Atmospheric Instrumentation.

Purpose: Broad overview of atmospheric instrumentation measurements.
This is an online homework assignment and is described on webCampus.

Assignment 1 Online (see webCampus) atmospheric radar measurements.

 


EXPECTATIONS IN LAB REPORTS

Lab reports will be written the same format we use for scientific papers and for student senior, MS, and PhD theses.
One goal of this class is to work on your ability as a science writer.
Let me emphasize one word here. SCIENCE SCIENCE SCIENCE SCIENCE SCIENCE SCIENCE!!!!
So often we are obsessed with the technical details of the measurements that we don't cover the science adequately.
The following elements are needed for your lab report to be complete.
Here is an example of some hints I found using a google search with the keyword "how to write a scientific paper".
Page length doesn't matter; it's all about the contents.
Make it as short as possible to get the message across in a clear manner.

Title: The title should cover the science objective and maybe mention the instrument(s) used for the measurement.

Abstract: The abstract is a brief discussion of the findings of your work. It should be well written because it is often what is read as someone makes a decision to read your work (or fund your research).
Hint on writing abstracts.

Introduction: Explain the scientific goal in more detail and maybe hint at the measurement methods used.

Methods: Discuss the measurement methods, including uncertainties.
Discuss the instrument(s) and the pertinent information needed to convey what you measured.

Observations: Display your observations and interpret them for your reader.
Make clear, legible graphs with large fonts, clear symbols, and clearly documented results.

Conclusions: The conclusion should summarize your observations and perhaps make suggestions for future work.

References: References refer to specific articles and/or books, etc, that you reference in your paper.

NOTE: Figure and equations should be placed where they are first needed and mentioned in the text.

Figures: Provide figures, each figure with a number and caption.
Figures must be in publication format -- high quality figures with 16 point (or greater) bold black font; tick marks inside.
All axes 1 point thick and black.
Each figure must be discussed in the text by number, describing the significance of the figure and its relationship to other figures as needed.

Equations: Equations should be offset, as in a textbook, and each equation should have a number.
Refer to equations by number in the text.

HERE IS AN EXAMPLE LAB REPORT

HERE IS ANOTHER EXAMPLE LAB REPORT


(Top of page) .