You can post your problem related to 8051 Microcontroller Projects here. We will try our best to help you out.
2 posts •Page 1 of 1
The LM35 produces an analog dc voltage in proportion to the device temperature. Your code did make it to your post so we cannot help you very well. At a guess I would assume you are reading the voltage with the A/d and what you get does not correspond to what you expect? Or are you having trouble understanding how to convert the A/D reading to displayable characters? Or maybe there is an offset in the voltage/temp equation that you are not taking into consideration? As I said, just guessing at this point.......
INTERFACING OF LM35 WITH PIC MICROCONTROLLER