Go Down

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



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)?



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.  Screw Shield for Mega/Due/Uno,  Bobuino with ATMega1284P, & other '328P & '1284P creations & offerings at  my website.

Go Up

Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

via Egeo 16
Torino, 10131