Piloting a temperature sensor LM335 with µc Pic16F877

Asked By 0 points N/A Posted on -
qa-featured

Hello

I am working on a project what include a µc Pic 16F877, a Temperature sensor LM335 and an 2×16 LCD displays, I have used some suggested code from internet but the values are not stable some time is displayed right and other no hi show a sequences with {27,81,65,26,81,66,27,….} and is still unstable, can anyone give me some example for a previous projects?

Here is my code is with pictures compiler.

SHARE
Best Answer by mskadur
Answered By 0 points N/A #161080

Piloting a temperature sensor LM335 with µc Pic16F877

qa-featured

Hallo ITpro,

Are you working on the project directly from the internet or you have installed an application on your system? If you are doing it online, then you will need to have a strong internet connection speed in order to avoid getting the delays as you are doing right now.

Regards,

Nicke

Best Answer
Best Answer
Answered By 0 points N/A #161081

Piloting a temperature sensor LM335 with µc Pic16F877

qa-featured

Hey ITPro,

The values are correct. Can you see the repetition there in the values {27,81,65,26,81,66,27,….} these are the samples at the given time. 

The solution is,

1. Average all the samples available [for given time] and you can display the value. with the above values you can display 58/57.66 

2. You can filter it out the output to get the DC voltage using circuits. This'll give more stable value.

BR-

Shreenivasa k m

 

 

 

Related Questions