Pages: [1]   Go Down
Author Topic: Please add the AVcc filter  (Read 3725 times)
0 Members and 1 Guest are viewing this topic.
Canada
Offline Offline
Newbie
*
Karma: 1
Posts: 39
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

France S-O
Offline Offline
Edison Member
*
Karma: 41
Posts: 2180
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
Logged

Global Moderator
Boston area, metrowest
Offline Offline
Brattain Member
*****
Karma: 524
Posts: 26421
Author of "Arduino for Teens". Available for Design & Build services. Now with Unlimited Eagle board sizes!
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Send your requests to The Arduino Team, they are listed on the home page.
Logged

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.

0
Online Online
Edison Member
*
Karma: 63
Posts: 1604
Arduino rocks
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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.

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.
« Last Edit: October 12, 2012, 01:56:42 pm by fat16lib » Logged

SF Bay Area (USA)
Offline Offline
Tesla Member
***
Karma: 124
Posts: 6645
Strongly opinionated, but not official!
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

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

Offline Offline
God Member
*****
Karma: 32
Posts: 828
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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.
« Last Edit: October 14, 2012, 11:38:15 am by pico » Logged

WiFi shields/Yun too expensive? Embeddedcoolness.com is now selling the RFXduino nRF24L01+ <-> TCP/IP Linux gateway: Simpler, more affordable, and even more powerful wireless Internet connectivity for *all* your Arduino projects! (nRF24L01+ shield and dev board kits available too.)

Pistestii din Deal
Offline Offline
Newbie
*
Karma: 0
Posts: 36
Arduino project collection rocks
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

A good hardware reference about how it should be a noise immune design is here.

Logged

Forum Administrator
Offline Offline
God Member
*****
Karma: 52
Posts: 639
I find plain exciting
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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 smiley

Logged

Pages: [1]   Go Up
Jump to: