PC and LM35 Temperature Sensor based Temperature Monitoring System with ATmega16 and 7 Segment Display
In this project, we will learn PC and LM35 Temperature Sensor based Temperature Monitoring System with AVR ATmega16 Microcontroller and 7 Segment Display. Here, we will display and monitor the temperature of the surrounding or any other material to which the LM35 temperature sensor is connected for its temperature measurement in degree centigrade from a PC/Laptop and 4 multiplexed Common Anode 7-Segment Displays.
Since the output of LM35 temperature sensor is analog in nature and ATmega16 microcontroller cannot process the analog signal directly. So, first it will convert the analog output of LM35 temperature sensor to digital values using its analog to digital converter and then it will process the digital value to convert the digital value in degree centigrade value. After converting the analog signal to digital, the ATmega16 microcontroller will send the digital value of LM35 Temperature Sensor to the PC/Laptop through its serial port using its USART communication protocol. But current generation PCs and Laptops do not have serial port in them, so we will use one USB to Serial converter cable which will create a virtual serial port in the PC /Laptop. Again, the output of USB to Serial cable can not be connected to ATmega16 microcontroller directly as the output voltage of USB to Serial Cable corresponds to RS-232 level. But the ATmega16 microcontroller needs TTL/CMOS voltage levels. For this, we will use MAX-232 voltage converter which will convert RS-232 voltage level to TTL one and vice-versa. The PC/Laptop receives the digital value of the LM35 Temperature Sensor and displays it in RealTerm Software for monitoring. Apart from PC/Laptop, ATmega16 microcontroller will display the LM35 Temperature Sensor value in 4 multiplexed Common Anode 7-Segment Displays. In this way, the temperature of the surrounding or temperature of the material to which the sensor is attached is monitored from both PC and 7-Segment Displays.
Now, lit a match stick or lighter near the LM35 temperature sensor or near the material to which sensor is attached and see the change in temperature in the PC/Laptop and 7-Segment Displays.
Softwares Required
- Atmel Studio 6 Software
- SinaProg Hex Downloader Software
- USBasp Driver
- USB to Serial Driver
- RealTerm Terminal Software
Post a Comment