Interfacing of LM35 with PIC18F4550. Need Help.

You can post your problem related to 8051 Microcontroller Projects here. We will try our best to help you out.
Post Reply
Josephine
Posts:10
Joined:Sat Feb 25, 2017 8:24 am
Interfacing of LM35 with PIC18F4550. Need Help.

Post by Josephine » Wed Mar 01, 2017 10:00 am

Plz, Help me. Not able to get correct values on LCD.
I am interfacing LM35 temperature sensor with PIC18F4550 with 20Mhz frequency.
I tried a lot. But, not getting right output.

Junaid_Shahid
Posts:110
Joined:Tue Feb 14, 2017 9:00 am

Re: Interfacing of LM35 with PIC18F4550. Need Help.

Post by Junaid_Shahid » Wed Mar 01, 2017 10:01 am

Josephine wrote:
Wed Mar 01, 2017 10:00 am
Plz, Help me. Not able to get correct values on LCD.
I am interfacing LM35 temperature sensor with PIC18F4550 with 20Mhz frequency.
I tried a lot. But, not getting right output.
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.......
Read Also:
INTERFACING OF LM35 WITH PIC MICROCONTROLLER

Post Reply