Analog input reference voltage
Option to set reference voltage used to measure inputs to the ANALOG IN pins
Model Configuration Pane: Hardware Implementation / Hardware board settings / Target hardware resources / Analog input channel properties
Description
Set the reference voltage used to measure inputs to the ANALOG IN pins.
Warning
Only connect an external power source to AREF while this parameter is set to External. Connecting an external power source to AREF while this parameter is set to any other option exposes the internal voltage references to the external voltage. This voltage difference can damage your hardware.
Do not connect Arduino® Uno and Arduino Mega 2560 to voltages greater than 5 Volts.
Do not connect Arduino Due to voltages greater than 3.3 Volts.
Voltages greater than the specified limits can damage your Arduino hardware.
Dependencies
This parameter appears when the Target hardware parameter is set to Arduino Mega 2560 or Arduino Uno.
Settings
Default (default) | Internal (1.1 V) | Internal (2.56 V) | ExternalDefaultUse the default operating voltage of the board. For Arduino Uno and Arduino Mega 2560 the operating voltage is 5 Volts.
Internal (1.1 V)Valid for Arduino Mega 2560 only: Use the internal 1.1 Volt reference.
Internal (2.56 V)Valid for Arduino Mega 2560 only: Use the internal 2.56 Volt reference.
ExternalOn the Arduino Uno, Arduino Nano and Arduino Mega 2560, use an external 0-5 volt power supply connected to the AREF pin. This voltage should match the voltage of the power supply connected to the Arduino hardware. If your application requires low-noise measurements, use this option with a filtered power supply.
Programmatic Use
| No programmatic use is available. |
Version History
Introduced in R2013a