Ok, forget all the math and displaying for the moment...
What is the output on the LCD if you only read the A/D converter with the LM35DZ connected... no averaging, no multiple samples, no nothing, just one saple, one display...pause, one sample, one display, and so on...
Get a good reading that seems to make sense, then we can work on displaying it correctly...
The output on the LCD is 44-46 (Vin = 44~46)
The temperature is about 22C in room
Bookmarks