Pages: [1]   Go Down
Author Topic: Does Aref and Avcc need voltage if ADC won't be used?  (Read 1704 times)
0 Members and 1 Guest are viewing this topic.
Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

This came up in another thread, but it's really a different topic and I didn't want the other thread to wander off topic.

In the standalone tutorial http://www.arduino.cc/en/Main/Standalone , it has the Aref pin hardwired to 5v.  However, in this tutorial about analog reference http://arduino.cc/en/Reference/AnalogReference, there is a warning against this.  

If the default reference of 5v is to be used for AD conversion, isn't the 5v reference already there with nothing connected to the Aref pin? If so, then you'd really never need external 5v on the Aref pin, correct?

« Last Edit: March 09, 2011, 06:42:44 pm by Loudhvx » Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8494
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

AREF should be decoupled to GND if not used as an external reference. Tying it to a hard voltage may cause a problem if the internal references are used (which is what 99% of people do).

Quote
In the standalone tutorial
I would say that's wrong, if you tie to 5v and then select 1.1v internal you have a short between 5 and 1.1v. Not good.

______
Rob
« Last Edit: March 09, 2011, 07:39:48 pm by Graynomad » Logged

Rob Gray aka the GRAYnomad www.robgray.com

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

AVCC should always be connected to the power supply.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Alright, thanks.

So Aref should be, at minimum, separated by a resistor (5k or higher).

If Avcc should always have power, should it always basically be connected to Vcc? Or is there ever a time it would want it's own power (different voltage or noise immunity)?
Logged

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 126
Posts: 8494
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
should it always basically be connected to Vcc?
That's the norm. If you're picky about noise you can connect through a coil to provide an LC network.

Using a resistor would drop a small amount of Vs (you'd have to know how much current the ADC draws), I doubt it would matter but I can't see much point.

Maybe you should tell us why you want to fly in the face of convention  smiley

Quote
Or is there ever a time it would want it's own power (different voltage or noise immunity)?
I've thought about doing that, using a precision regulator or even a voltage reference if the power required is small enough. However you have to be careful that VCC and AVCC are always within 300mV of each other. I'm not sure what happens if that aren't but I suspect it's not good.

______
Rob
 
Logged

Rob Gray aka the GRAYnomad www.robgray.com

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

Quote
is there ever a time it would want it's own power (different voltage or noise immunity)?
It is suggested (Section 23.6.2 "analog Noise Canceling Techniques") that there be an inductor between Avcc and digital Vcc to help filter out the digital noise.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
is there ever a time it would want it's own power (different voltage or noise immunity)?
It is suggested (Section 23.6.2 "analog Noise Canceling Techniques") that there be an inductor between Avcc and digital Vcc to help filter out the digital noise.
Ahh. Thank you.
Logged

Offline Offline
Jr. Member
**
Karma: 0
Posts: 85
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
should it always basically be connected to Vcc?
That's the norm. If you're picky about noise you can connect through a coil to provide an LC network.

Using a resistor would drop a small amount of Vs (you'd have to know how much current the ADC draws), I doubt it would matter but I can't see much point.

Maybe you should tell us why you want to fly in the face of convention  smiley
I mentioned the resistor for the Aref pin, not the Avcc pin.
Logged

Pages: [1]   Go Up
Jump to: