Pages: 1 [2]   Go Down
Author Topic: Please check my circuit for errors..  (Read 1274 times)
0 Members and 1 Guest are viewing this topic.
Left Coast, CA (USA)
Online Online
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

Quote
Don't connect AREF to Vcc, it'll may be damaged.  Just have a decoupling cap to ground from this pin.
Just curious, why do we connect a cap there?

Because that pin is connected internally to the reference voltage used for the A/D converter used for analogRead() statements. So the extra noise filtering from the cap will help improve the accuracy of the A/D measurements.

Lefty
Logged

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

The cap helps keep noise from the reference and therefore is often used to get cleaner analog readings.

When using one of the INTERNAL options AREF is actually connected to this internal reference, if it is also connected to say 5v you have 5v->1.1v (or whatever is selected) which is bad.

You can connect Vs to AREF but have to be very careful never to use an INTERNAL reference.

______
Rob



Logged

Rob Gray aka the GRAYnomad www.robgray.com

Left Coast, CA (USA)
Online Online
Brattain Member
*****
Karma: 361
Posts: 17294
Measurement changes behavior
View Profile
 Bigger Bigger  Smaller Smaller  Reset Reset

The cap helps keep noise from the reference and therefore is often used to get cleaner analog readings.

When using one of the INTERNAL options AREF is actually connected to this internal reference, if it is also connected to say 5v you have 5v->1.1v (or whatever is selected) which is bad.

You can connect Vs to AREF but have to be very careful never to use an INTERNAL reference.

______
Rob




Actually the Arduino reference has instructions on wiring a series resistor between the Aref pin and any external voltage reference being used. That would prevent damaging current level flows in case of misuse of the analog reference command. http://arduino.cc/en/Reference/AnalogReference

Lefty
Logged

Pages: 1 [2]   Go Up
Jump to: