arduino analog input instability with etape

For other supported Arduino products from Adafruit: Shields, accessories, etc.

Moderators: adafruit_support_bill, adafruit

Please be positive and constructive with your questions and comments.
Locked
User avatar
jimbarstow
 
Posts: 25
Joined: Wed Jan 29, 2014 3:28 am

arduino analog input instability with etape

Post by jimbarstow »

I'm using etape to monitor the depth in a water tank. The sensor output is absolutely stable out to a millivolt on
my meter. The arduino analog values drift from +/- 10 units out of the 1023.

I saw a post with a similar problem and they used a capacitor on the analog input. I tried that (.33uF capacitor) and it helped but
the value still drifts +/- 3 units.

Any idea how to get completely stable arduino readings when the input is stable?

User avatar
haroldl
 
Posts: 16
Joined: Sun May 12, 2013 4:11 pm

Re: arduino analog input instability with etape

Post by haroldl »


User avatar
adafruit_support_bill
 
Posts: 88093
Joined: Sat Feb 07, 2009 10:11 am

Re: arduino analog input instability with etape

Post by adafruit_support_bill »

Most multimeters will display an average of many readings sampled over a fairly long time (typically about 500ms). This functions as a low-pass filter to eliminate much of the sample-to-sample noise that you are seeing.

The code in the link posted by haroldl is doing much the same thing.

Locked
Please be positive and constructive with your questions and comments.

Return to “Other Arduino products from Adafruit”