Go Down

Topic: oscillating value for 5V on analog input (Read 640 times) previous topic - next topic

yan_g

hello,

when i plug the arduino 5V to an analog input i should get a steady reading of 1023, right? the thing is i get 1023 most of the time but the value randomly drops to 1022. what can i do to fix this? is it normal (never noticed it before)?

thanks

CrossRoads

Whenever the voltage varies by 0.00488V, the digital reading changes by 1.
Try putting a 0.1uF cap from the input pin to ground to steady the voltage.
Designing & building electrical circuits for over 25 years. Check out the ATMega1284P based Bobuino and other '328P & '1284P creations & offerings at  www.crossroadsfencing.com/BobuinoRev17.
Arduino for Teens available at Amazon.com.

Go Up