ATTINY45-20PI Atmel, ATTINY45-20PI Datasheet - Page 127
![IC AVR MCU 4K 20MHZ 8DIP](/photos/6/50/65033/313-8-dip_sml.jpg)
ATTINY45-20PI
Manufacturer Part Number
ATTINY45-20PI
Description
IC AVR MCU 4K 20MHZ 8DIP
Manufacturer
Atmel
Series
AVR® ATtinyr
Specifications of ATTINY45-20PI
Core Processor
AVR
Core Size
8-Bit
Speed
20MHz
Connectivity
USI
Peripherals
Brown-out Detect/Reset, POR, PWM, WDT
Number Of I /o
6
Program Memory Size
4KB (2K x 16)
Program Memory Type
FLASH
Eeprom Size
256 x 8
Ram Size
256 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 4x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 85°C
Package / Case
8-DIP (0.300", 7.62mm)
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
- Current page: 127 of 236
- Download datasheet (5Mb)
17.3
2586M–AVR–07/10
Operation
Figure 17-1. Analog to Digital Converter Block Schematic
The ADC converts an analog input voltage to a 10-bit digital value through successive approxi-
mation. The minimum value represents GND and the maximum value represents the voltage on
V
The voltage reference for the ADC may be selected by writing to the REFS[2:0] bits in ADMUX.
The VCC supply, the AREF pin or an internal 1.1V / 2.56V voltage reference may be selected as
the ADC voltage reference. Optionally the internal 2.56V voltage reference may be decoupled
by an external capacitor at the AREF pin to improve noise immunity.
The analog input channel and differential gain are selected by writing to the MUX[3:0] bits in
ADMUX. Any of the four ADC input pins ADC[3:0] can be selected as single ended inputs to the
ADC. ADC2 or ADC0 can be selected as positive input and ADC0, ADC1, ADC2 or ADC3 can
be selected as negative input to the differential gain amplifier.
If differential channels are selected, the differential gain stage amplifies the voltage difference
between the selected input pair by the selected gain factor, 1x or 20x, according to the setting of
the MUX[3:0] bits in ADMUX. This amplified value then becomes the analog input to the ADC. If
single ended channels are used, the gain amplifier is bypassed altogether.
CC
ADC3
ADC2
ADC1
ADC0
AREF
V
CC
, the voltage on the AREF pin or an internal 1.1V / 2.56V voltage reference.
INTERNAL 1.1V/2.56V
TEMPERATURE
8-BIT DATA BUS
ADC CTRL. & STATUS B
REGISTER (ADCSRB)
SENSOR
REFERENCE
ADC4
INPUT
INPUT
MUX
NEG.
MUX
ADC MULTIPLEXER
SELECT (ADMUX)
MUX DECODER
+
-
GAIN
AMPLIFIER
SINGLE ENDED / DIFFERENTIAL SELECTION
10-BIT DAC
ADC CTRL. & STATUS A
REGISTER (ADCSRA)
ADC CONVERSION
COMPLETE IRQ
PRESCALER
CONVERSION LOGIC
ADTS[2:0]
INTERRUPT
TRIGGER
FLAGS
SELECT
SAMPLE & HOLD
COMPARATOR
15
+
-
ADC DATA REGISTER
(ADCH/ADCL)
ADC MULTIPLEXER
OUTPUT
0
127
Related parts for ATTINY45-20PI
Image
Part Number
Description
Manufacturer
Datasheet
Request
R
![ATtiny45](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATtiny45 Automotive](/images/manufacturer_photos/0/0/79/atmel_corporation_tmb.jpg)
Part Number:
Description:
Manufacturer:
Atmel Corporation
Datasheet:
![ATTINY45-20SU](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY45-20PU](/photos/6/50/65033/313-8-dip_tmb.jpg)
Part Number:
Description:
IC AVR MCU 4K 20MHZ 8DIP
Manufacturer:
Atmel
Datasheet:
![ATTINY45-15SZ](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
MCU AVR 4K FLASH 15MHZ 8-SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY45-20SUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 4KB FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY45-20XU](/photos/6/83/68331/453-8-tssop_tmb.jpg)
Part Number:
Description:
IC MCU AVR 4K FLASH 20MHZ 8TSSOP
Manufacturer:
Atmel
Datasheet:
![ATTINY45-20MU](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
IC AVR MCU FLASH 4K 20MHZ 20MLF
Manufacturer:
Atmel
Datasheet:
![ATTINY45-20XUR](/images/manufacturer_photos/0/0/78/atmel_tmb.jpg)
Part Number:
Description:
MCU AVR 4KB FLASH 20MHZ 8TSSOP
Manufacturer:
Atmel
Datasheet:
![ATTINY45-20SH](/photos/6/50/65032/453-8-soic_tmb.jpg)
Part Number:
Description:
IC MCU AVR 4KB FLASH 20MHZ 8SOIC
Manufacturer:
Atmel
Datasheet:
![ATTINY45-20MUR](/photos/6/87/68751/313-20-qfn_tmb.jpg)
Part Number:
Description:
MCU AVR 4KB FLASH 20MHZ 20QFN
Manufacturer:
Atmel
Datasheet: