You are on page 1of 5

Department of Electronics and Communication

Engineering
2022– 2023
Project Based Learning (hobby Project)
DIGITAL TEMPERATURE SENSOR
IN
MICROPROCESSOR AND MICROCONTROLLER -LAB

NAME OF THE STUDENT: ROLL NO:

J JOSHUA 208R1A0416

K SANTHOSH 208R1A0420

K ATHEESH 208R1A0424

K SRAVAN KUMAR 208R1A0425


UNDER THE SUPERVISION OF

MRS.LATHA.D
ASST. PROFESSOR, DEPT. OF ECE

I
1. ABSTRACT
2. INTRODUCTION
3. COMPONENTS
4. CIRCUIT DIAGRAM/BLOCK DIAGRAM
5. DESCRIPTION
6. RESULT

Temperature sensors are widely used in electronic


equipment to display the temperature. You can see the
digital clock displaying the room temperature value. It is due
to the temperature sensor embedded in it. In this project, I
will show you how to design a Digital Temperature Sensor
Circuit. In the process, I will explain two circuits: one
using 8051 Microcontroller and the other using ATmega8
Microcontroller.

The main principle of this circuit is to take the analog


temperature values, convert them into digital values and
display the digital temperature value om LCD or 7-Segment
Display.

Here, 8051 and ATmega8 microcontrollers are used. The


ATmega8 has inbuilt analog to digital converter with six
multiplexed channels of 10-bit resolution. This reduces
interfacing of external analog to digital converter IC. The
analog temperature value is directly applied to input ADC
channels of microcontroller. Successive approximation
method is used for Analog to digital conversion internally.

After making all the connections and burning the


code onto the 8051 Microcontroller, turn ON the power
supply. The LM35 Temperature Sensor provides the Analog
Temperature Data to ADC0804, which it converts into Digital
Values and sends to 8051.

Upon receiving the digital values, the 8051 Microcontroller


performs a small calculation and then displays the
temperature on the LCD.
1. AT89C51 (8051 Microcontroller)
2. 11.0592 MHz Cystal
3. 2 X 33pF Capacitor
4. 10μF/16V Capacitor
5. 3 X 10KΩ Resistor
6. 1KΩ x 8 Resistor Pack
7. 10KΩ POT
8. 16X2 LCD Display
9. ADC0804
10. LM35
11. 150pF Capacitor
12. 330Ω Resistor
13. Power Supply
14. Connecting Wires
15. 8051 Programmer
Circuit diagram:-
Initially power the circuit. The micro controller continuously
checks for input at ADC channel. It converts the analog
temperature to digital value and is displayed on the seven
segments. Increment or decrement the temperature value
by clicking on the arrow marks below the display in
temperature sensor. Whenever there is a change, the ADC
channel converts the input and displays on the seven
segment. The temperature value displayed is twice the
original value .This is because of variations in the step size.
So, before displaying the value divide the value by 2 and
subtract 1 from it to display accurate value.

The Digital Temperature Sensors are used to measure and


monitor the temperature present in surrounding areas.

You might also like