Revised version of LM35 based digital temperature meter


Posted on Feb 7, 2014

This is a revised version of my LM35 based digital thermometer project that I posted last year. Although it is one of the simplest projects, it is very popular among newbies who are just starting to learn microcontrollers. There was a little flaw in the original project as pointed by some readers. I was using a 1. 2 V reference for A/D conversion w


Revised version of LM35 based digital temperature meter
Click here to download the full size of the above Circuit.

ith PIC16F688 microcontroller. However, the PIC16F688 datasheet says Vref should be equal to or higher than 2. 2 V to ensure 1 LSB accuracy of A/D conversion. Here, I am rewriting the same project but this time I am using a MCP1525 IC to generate a precise 2. 5 V reference for A/D conversion. This will improve the accuracy of temperature measurements. The LM35 series of analog temperature sensors are produced by National Semiconductor Corporation and are rated to operate over a -55 °C to 150 °C temperature range. These sensors do not require any external calibration. The output voltage is proportional to the temperature, and the temperature-to-voltage conversion factor is 10 mV per °C. The sensor does not have any DC offset output voltage (which means the output is 0V at 0 °C temperature) and therefore, a negative voltage source is required in order to measure temperatures below 0 °C. For simplicity, the setup shown here is made to measure temperatures above 0 °C only. The PIC16F688 microcontroller reads the analog output voltage from the sensor through one of its ADC channel and derives the temperature information out of it. For the maximum temperature value of 150 °C, the output voltage of the sensor would be 150 x 10 mV = 1. 5 V. If we use Vref = 5. 0 V (power supply voltage) for A/D conversion, the resolution would be poor as the input signal goes only up to 1. 5 V. Besides, if the supply voltage is not stable, it won`t...




Leave Comment

characters left:

Related Circuits

  • New Circuits

    .

     


    Popular Circuits

    Low-distortion 1.6-30mhz ssb driver
    Solar Charger for 6V 4.5Ah Battery
    light sensor circuit
    Direction Sensitive Light Barrier
    Flyback converter circuit Clamp



    Top