mshh
Full Member level 6
I have problem with lm35 interface with atmega8. the temperature result is displayed on lcd and oscillates and it is n't constant i think it needs capacitor of Rc circuit. what is the best design.
Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
i connected capacitor of different values at output but it didn't diminish. oscillation range .1-0.8 degree.
it is mounted on air.I need high precision. 0.8 is significant to me.
int16 GetAverage ( int16 NewSample )
{
NewValue = NewSample;
Average = ( NewValue + Average - LastValue )/8;
LastValue = NewValue;
return ( Average );
}