Go Down

Topic: analogue input problems (Read 1 time) previous topic - next topic

spruce_m00se


One way to solve this is to do the reading twice (maybe with  slight delay) and then only use the last reading.
The reason is tht the ADC need some time to "recover"

Code: [Select]
tempC = analogRead(tempPin);          
delay(20);
tempC = analogRead(tempPin);
         


that seems to have improved it greatly.  now it is almost compeltely stable regardless of the pot variation ,
thanks

Go Up