A000047 Arduino, A000047 Datasheet - Page 289
A000047
Manufacturer Part Number
A000047
Description
MCU, MPU & DSP Development Tools Mega2560
Manufacturer
Arduino
Series
-r
Type
MCUr
Specifications of A000047
Processor To Be Evaluated
ATmega2560
Interface Type
USB, I2C, SPI
Dimensions
4 in x 2.1 in
Operating Supply Voltage
5 V
Contents
Board
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
For Use With/related Products
ATmega2560
- Current page: 289 of 444
- Download datasheet (10Mb)
25.8
25.8.1
2549M–AVR–09/10
Register Description
ADMUX – ADC Multiplexer Selection Register
Table 25-2.
Example:
ADMUX = 0xFB (ADC3 - ADC2, 10x gain, 2.56V reference, left adjusted result).
Voltage on ADC3 is 300 mV, voltage on ADC2 is 500 mV.
ADCR = 512 × 10 × (300 - 500) / 2560 = -400 = 0x270.
ADCL will thus read 0x00, and ADCH will read 0x9C. Writing zero to ADLAR right adjusts the
result: ADCL = 0x70, ADCH = 0x02.
• Bit 7:6 – REFS1:0: Reference Selection Bits
These bits select the voltage reference for the ADC, as shown in
changed during a conversion, the change will not go in effect until this conversion is complete
(ADIF in ADCSRA is set). The internal voltage reference options may not be used if an external
reference voltage is being applied to the AREF pin.
Table 25-3.
Note:
Bit
(0x7C)
Read/Write
Initial Value
V
V
V
...
V
V
V
...
V
V
V
ADCn
ADCm
ADCm
ADCm
ADCm
ADCm
ADCm
ADCm
REFS1
ADCm
0
0
1
1
+ 0.999 V
+ 0.998 V
+ 0.001 V
- 0.001 V
- 0.999 V
- V
+ V
1. If 10x or 200x gain is selected, only 2.56 V should be used as Internal Voltage Reference. For
REF
REF
differential conversion, only 1.1V cannot be used as internal voltage reference.
/ GAIN
/ GAIN
Correlation Between Input Voltage and Output Codes
Voltage Reference Selections for ADC
REFS0
REFS1
REF
REF
REF
REF
REF
R/W
7
0
0
1
0
1
/ GAIN
/ GAIN
/ GAIN
/ GAIN
/ GAIN
REFS0
R/W
Voltage Reference Selection
AREF, Internal V
AVCC with external capacitor at AREF pin
Internal 1.1V Voltage Reference with external capacitor at AREF pin
Internal 2.56V Voltage Reference with external capacitor at AREF pin
6
0
ATmega640/1280/1281/2560/2561
ADLAR
R/W
Read Code
0x1FF
0x1FF
0x1FE
...
0x001
0x000
0x3FF
...
0x201
0x200
5
0
REF
MUX4
R/W
turned off
4
0
MUX3
R/W
(1)
3
0
MUX2
R/W
Corresponding Decimal Value
2
0
Table
MUX1
R/W
1
0
25-3. If these bits are
-511
-512
511
511
510
...
-1
...
1
0
MUX0
R/W
0
0
ADMUX
289
Related parts for A000047
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO UNO PROTO PCB REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO SHIELD PROTO KIT REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO MEGA PROTO KIT REV 3
Manufacturer:
Arduino
Part Number:
Description:
Daughter Cards & OEM Boards ARDUINO MEGA PROTO PCB REV 3
Manufacturer:
Arduino
Part Number:
Description:
Development Boards & Kits - AVR ARDUINO STARTER KIT W/ UNO REV3
Manufacturer:
Arduino
Part Number:
Description:
RF Development Tools ARDUINO SHIELD WIRELESS PROTO
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
RF Development Tools ARDUINO SHIELD WIRELESS WITH SD
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Development Software Getting started w/Arduino
Manufacturer:
Arduino
Part Number:
Description:
Ethernet Modules & Development Tools Ethernet Shield for Arduino
Manufacturer:
Arduino
Part Number:
Description:
MCU, MPU & DSP Development Tools LilyPad Arduino Main Board
Manufacturer:
Arduino
Part Number:
Description:
ARDUINO NANO Board
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Ethernet Modules & Development Tools ETHERNET SHEILD PoE FOR ARDUINO
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
ATMEGA328 MCU IC W/ Arduino UNO Bootloader
Manufacturer:
Arduino
Datasheet:
Part Number:
Description:
Memory Cards MICRO SD CARD 1GB WITH SD ADAPTER
Manufacturer:
Arduino