0% found this document useful (0 votes)
19 views2 pages

Ex 7

The document outlines an experiment for collecting temperature data using an LM35 sensor and transmitting it to a desktop computer via an 8051 microcontroller. It details the necessary equipment, working principles including temperature sensing, ADC conversion, data processing, and serial communication. The document also includes assignment questions related to the experiment's concepts and procedures.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views2 pages

Ex 7

The document outlines an experiment for collecting temperature data using an LM35 sensor and transmitting it to a desktop computer via an 8051 microcontroller. It details the necessary equipment, working principles including temperature sensing, ADC conversion, data processing, and serial communication. The document also includes assignment questions related to the experiment's concepts and procedures.
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 2

K. K.

Wagh College of Engineering Education and Research Nashik


Department of Electronics and Telecommunication
Program: E&TC Engineering
Lab Work in Microcontrollers (2302215)
________________________________________________________________
TITLE: Experiment Write-up (EW)
Doc. No: MC/EW/AY 2024-25/7

EXPERIMENT NO. 7: Date:

OBJECTIVE: Collect a temperature data using sensor and transmit it serially to desktop
computer. Provide a schematic diagram and develop a C program.

EQUIPMENTS REQUIRED:

8051 Microcontroller Trainer Kit, Keil µvision Software, 8051 Program Loader (SST Flash
Flex) etc.

THEORY:

Monitoring temperature in real-time is crucial for various applications such as industrial


automation, weather stations, and medical devices. In this project, an 8051 microcontroller
is used to collect temperature data using an LM35 temperature sensor and transmit it
serially to a desktop computer. The data can then be displayed on a terminal software like
HyperTerminal or processed further using a Python-based GUI.

Working Principle

The system works as follows:

1. Temperature Sensing – The LM35 sensor measures the surrounding temperature


and converts it into an analog voltage.
2. Analog-to-Digital Conversion (ADC) – Since the 8051 microcontroller cannot
process analog signals, an ADC0804 converts the sensor's analog output into a digital
value.
3. Data Processing – The 8051 microcontroller reads the digital temperature data and
prepares it for transmission.
4. Serial Communication – The data is sent to a desktop computer via a UART
(Universal Asynchronous Receiver-Transmitter) interface using an RS-232 level
converter (MAX232 IC).
5. Data Display – The received temperature data is displayed on a computer screen
using a serial communication terminal or a graphical interface.

PROCEDURE:

For detail procedure, refer 8051 Development Board Brief Introduction.

ASSIGNMENT QUESTIONS:

1. Why is an ADC (Analog-to-Digital Converter) required when using an LM35


temperature sensor with the 8051 microcontroller? Explain its working in the system. 2.
Write the steps involved in transmitting temperature data from the 8051 microcontroller
to a desktop computer using serial communication.
K. K.Wagh College of Engineering Education and Research Nashik
Department of Electronics and Telecommunication
Program: E&TC Engineering
Lab Work in Microcontrollers (2302215)
________________________________________________________________
CONCLUSION:

You might also like