0% found this document useful (0 votes)
59 views

Assignment 5

This document provides instructions for an assignment to design a room temperature monitor using an LM35 temperature sensor, ADC0804 analog to digital converter, and DMC 20481 LCD display. Students are asked to interface the LM35 temperature sensor with an 8086 microprocessor using the ADC0804 to convert the analog temperature reading to digital. The converted digital reading will then be displayed on the LCD to show the current room air temperature. The LM35 sensor produces an output of 10mV for each degree Celsius change in temperature. Applying a reference voltage of 1.28V to the ADC0804 sets its step size to 10mV to match the output of the LM35 sensor.

Uploaded by

abdul basit
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
59 views

Assignment 5

This document provides instructions for an assignment to design a room temperature monitor using an LM35 temperature sensor, ADC0804 analog to digital converter, and DMC 20481 LCD display. Students are asked to interface the LM35 temperature sensor with an 8086 microprocessor using the ADC0804 to convert the analog temperature reading to digital. The converted digital reading will then be displayed on the LCD to show the current room air temperature. The LM35 sensor produces an output of 10mV for each degree Celsius change in temperature. Applying a reference voltage of 1.28V to the ADC0804 sets its step size to 10mV to match the output of the LM35 sensor.

Uploaded by

abdul basit
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 1

Microprocessor Systems and Interfacing (CPE342)

COMSATS UNIVERSITY ISLAMABAD, Lahore Campus

Department of Electrical and Computer Engineering

Subject: Microprocessor Systems and Interfacing Course Code: CPE342

Assignment No. 5 Total Marks: 20

Handed over on: August 10, 2020 Submission Date: August 13, 2020

Student’s Name:

Registration Number:

Instructions:
• Provide your solution on plan A4 size page only
• Submission after the deadline will not be graded
• Use only black ink for writing

Question 2 (CL03/PLO3-C5) (10+ 10) Marks

Design a room air temperature monitor by interfacing LM35 temperature sensor with 8086 microprocessor
using A2D converter (ADC0804). Display the air room temperature on DMC 20481 LCD.

LM35 gives linear analog output for temperature i.e., 10 mv per centigrade. It means that with increase in
output of 10 mv by the sensor Vout pin the temperature value increases by one. For example, if the sensor is
outputting 100 mills volt at Vout pin the temperature in centigrade will be 10-degree centigrade.
Apply 1.28 volts to Vref pin of ADC0804. This is the reference voltage for ADC0804. This is the voltage by
which the step size of the ADC0804 will be set to 10 mv. LM35 output voltage varies 10 mV per °C change
in temperature. Hence both the LM35 and ADC0804 are now working at 10 mv change. when there is 10
mv change in temperature the output Increments/decrements by 1.

Page 1 of 1

You might also like