Analogue reference Voltage.

Post Reply
keithsloan52
Posts: 30
Joined: Mon Dec 28, 2015 5:51 pm

Analogue reference Voltage.

Post by keithsloan52 » Tue Nov 08, 2016 12:59 pm

My understanding is that the Voltage references for Analogue ports are pin 2 and pin 3. If pin 2 is connected to LED1 does that not affect analogue voltage readings.

EmbeddedMan
Posts: 597
Joined: Tue May 24, 2011 9:24 pm
Location: Minneapolis, MN
Contact:

Re: Analogue reference Voltage.

Post by EmbeddedMan » Tue Nov 08, 2016 3:10 pm

I believe, by default, we have the ADC voltage references set to 3.3V and GND (internally). This frees up as many analog inputs as possible for users to use.

*Brian

User avatar
majenko
Site Admin
Posts: 2164
Joined: Wed Nov 09, 2011 7:51 pm
Location: UK
Contact:

Re: Analogue reference Voltage.

Post by majenko » Tue Nov 08, 2016 3:23 pm

Yes, by default the analog references are set to VCC and GND internally. The Vref+ and Vref- pins of the ADC are sometimes available on a board's headers, and sometimes not. For boards with an Arduino-like footprint there is a dedicated AREF pin which is connected to the Vref+ pin. This is never connected to anything else. The Vref- pin may be available or it may not - check the manual for your chosen board, since they are all different.
Why not visit my shop? http://majenko.co.uk/catalog
Universal IDE: http://uecide.org
"I was trying to find out if it was possible to only eat one Jaffa Cake. I had to abandon the experiment because I ran out of Jaffa Cakes".

Post Reply