Lab 8 - TempSensorAlarm_2011

Lab 8 - TempSensorAlarm_2011 - Display this value of the...

Info iconThis preview shows page 1. Sign up to view the full content.

View Full Document Right Arrow Icon
UNIVERSITY OF CONNECTICUT Fall 2011 ECE 3411: Microprocessor Application Laboratory Lab 7 Oct. 31, 2011, Due to Nov. 6, 2011 lab. 1 Lab 8: Temperature Monitoring/Alarm System (Combined ADC, LCD, and Sensor) 1. Objectives Further interface the embedded microcontroller resources with peripherals 2. Related lectures and labs Temperature Sensor Datasheet 3. Lab assignments: The goal of this lab is to design a system that can read a temperature and compare that reading to some preset value. If the preset value is exceeded, an alarm is sounded. This type of system has many applications in real world automated safety systems. Furthermore, many industrial processes use this type of configuration (usually with some type of additional P-I or P-I-D control built in) to control heating/cooling processes or manufacturing. 1) Configure your board to take analog to digital readings of the temperature sensor.
Background image of page 1
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: Display this value of the temperature on the first line of your LCD as follows: Reading: XX.XF You can use Fahrenheit or Celsius. 2) Create a set-point temperature using the push button GPIO on your microcontroller board. This is the threshold temperature above which an alarm will go off if the reading exceeds this value. Display this value on the second line of your LCD as follows: Setpoint: XX.XF Use any two of the external GPIO buttons to increment or decrement the tenths value of the setpoint value. Make the button increment/decrement upon a button push, but continuously increment/decrement when holding the button down. 3) Configure the buzzer to sound when the reading exceeds the setpoint value. You should use Timer1 PWM to do this so the buzzer sounds continuously in this condition. As soon as the temperature reading drops below the setpoint value, the buzzer should turn off again....
View Full Document

This note was uploaded on 11/21/2011 for the course ECE 3411 taught by Professor Park during the Fall '11 term at UConn.

Ask a homework question - tutors are online