Go Down

Topic: analogue input problems (Read 3214 times) previous topic - next topic


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);          
tempC = analogRead(tempPin);

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

Go Up