chipKIT® Development Platform

Inspired by Arduino™

Analogue reference Voltage.

Created Tue, 08 Nov 2016 11:59:25 +0000 by keithsloan52


keithsloan52

Tue, 08 Nov 2016 11:59:25 +0000

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

Tue, 08 Nov 2016 14:10:34 +0000

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


majenko

Tue, 08 Nov 2016 14:23:56 +0000

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.