Digital Thermometer using PIC Microcontroller and LM35 Temperature Sensor
This is a simple project showing you how to read LM35 analog temperature sensor using a PIC microcontroller and six seven segment (common cathod).In this tutorial we will make a practical use of multiplexed seven segment displays. We will use them to show current temperature usinga LM35 temperature sensor.
The temperature sensors are connected to the ADC ports of the microcontroller, which takes in the analog signal and gives out digital values across specified ports.
Across the defined output port of the microcontroller, seven segments are connected with takes the values of the temperature sensor and displays it
LM35 Temperature Sensor :
LM35 is a Three-Pins (Vcc,Output,GND) high precision temperature sensor having a resolution of 10mV/C starting at 0V (i.e. an output of 0V represents a temperature of 0C).
10mV —> 1C
20mV —> 2C
500mV —> 50C and so on
PIC16F877A microcontroller built in ADC (analog to digital converter) isused to measure analog voltage. The analog to digital conversion is done by the PIC ADC module. In the code, I’ve used the mikro C libraryfunction for ADC. You can view the library file here: http://www.mikroe.com/download/eng/documents/compilers/mikroc/pro/pic/help/adc_library.htm
You can download the MikroC Source Code and Proteus files etc from here :
This Our Group (thanks to join and participate) : https://www.facebook.com/groups/816450708460518/
Facebook page : https://www.facebook.com/Lets-Think-Binary-1728910547340654/