Arduino Forum

Development => Suggestions for the Arduino Project => Topic started by: prairiemystic on Sep 23, 2012, 07:47 am

Title: Please add the AVcc filter
Post by: prairiemystic on Sep 23, 2012, 07:47 am
I never get 10-bit A/D performance with Arduino's - there's always too much noise. If I add the (Atmel datasheet) RC +AVcc filter, there is a huge improvement. Can you put these or at least provisions for these on Arduino designs? Even if there is a 0R resistor there, I can add it myself.
Title: Re: Please add the AVcc filter
Post by: 68tjs on Oct 08, 2012, 05:48 pm
I totally agree. This filter is mandatory by Atmel, you have just to add an smd inductor of 10mH to satisfy Atmel requirements..

Can you also provide for the implementation  of an on-board optional  voltage reference.
A dip8 socket will be the best.
Each user will be free  to choose the value.
This is not the place that is missing on the board.
Title: Re: Please add the AVcc filter
Post by: CrossRoads on Oct 08, 2012, 06:51 pm
Send your requests to The Arduino Team, they are listed on the home page.
Title: Re: Please add the AVcc filter
Post by: fat16lib on Oct 12, 2012, 06:30 pm
I agree, an AVcc filter would be great.

Without the filter, accuracy depends a great deal on how you power the Arduino.  I did some tests with a high quality 9V power supply http://arduino.cc/forum/index.php/topic,120004.0.html (http://arduino.cc/forum/index.php/topic,120004.0.html).

For a perfect ADC, the maximum error is 1/2 LSB and the mean error is 1/4 LSB.

For 5V Vref and a 10-bit perfect ADC the max error is 2.44 mv and the mean error is 1.22 mv.

My result for three Uno Arduinos with the high quality power supply was max error around 4 mv and mean error 1.4 mv.

So you can get very close to 10-bit accuracy with a good grounded 9V power supply and no modifications to a Uno.

The best solution would be a filter.  Good 9V supplies cost a lot and good small three prong supplies are hard to find.

ADC calibration is absolutely necessary to achieve good results.  The above link describes my calibration setup.
Title: Re: Please add the AVcc filter
Post by: westfw on Oct 13, 2012, 05:34 am
Quote
Good 9V supplies cost a lot and good small three prong supplies are hard to find.

I'm a little surprised that the onboard regulator and filters doesn't "improve" even "merely OK" external power supplies.  How bad *is* a generic 9V supply (and how bad is average USB power?)
Title: Re: Please add the AVcc filter
Post by: pico on Oct 13, 2012, 07:41 am
I've discovered the same thing, if doing analogReads, you need a decent PS, otherwise the noise puts the readings all over the place. Even then, I still have to do quite a bit of filtering/smoothing in sw to get stable and reliable readings.

An unscientific observation is that the old-style linear supplies may be quieter than the newer, more efficient switched-mode supplies. This is from just doing some trial and error with existing supplies I've had laying about. I wish I could identify a good, cheap supply for these applications. Perhaps the inductor is the next thing to try.
Title: Re: Please add the AVcc filter
Post by: funlw65 on Oct 13, 2012, 11:18 pm
A good hardware reference about how it should be a noise immune design is here (https://www.olimex.com/Products/Duino/AVR/OLIMEXINO-328/).

(https://www.olimex.com/Products/Duino/AVR/OLIMEXINO-328/images/OLIMEXINO-328-01.jpg)
Title: Re: Please add the AVcc filter
Post by: mbanzi on Oct 18, 2012, 11:00 am
Ok i've mentioned it to the manufacturer,  we'll be able to add it to a future batch of board.
I can't tell you when it will happen because it depends on how many are planned to be manufactured in the current batch.

@funlw65 thanks for the advertisement... I hope they are taking good care of you :)