You are on page 1of 1

Pseudocode is as follows in the description:

First: Amplify and adjust LM35 resolution to your ADC resolution (lm35
resolution is 10mV/C)

1 - Set system frequency of your microcontroller (using your PLL Module if


you have it)
2 - Set ADC to the channel that you want is really simple if you use it a
microcontroller with adc.
3 - Read samples every "n" msec
4 - Convert ADC value to temperature using its resolution, i.e. if my ADC and
sensor are amplified to couple the same resolution (i will use 20mV/C) then a
320mV are 16C if my adc is 5V max and i have my adc value is 0x10... my
equation would beT = ADCvalue
5 - You must use a Hex to dec routine to display on your LCD

You might also like