ATTINY85-20SU Atmel, ATTINY85-20SU Datasheet - Page 137

IC AVR MCU 8K 20MHZ 8SOIC

ATTINY85-20SU

Manufacturer Part Number
ATTINY85-20SU
Description
IC AVR MCU 8K 20MHZ 8SOIC
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheets

Specifications of ATTINY85-20SU

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
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
512 x 8
Ram Size
512 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-SOIC (5.3mm Width), 8-SOP, 8-SOEIAJ
Processor Series
ATTINY8x
Core
AVR8
Data Bus Width
8 bit
Data Ram Size
512 B
Interface Type
USI
Maximum Clock Frequency
20 MHz
Number Of Programmable I/os
6
Number Of Timers
2
Operating Supply Voltage
2.7 V to 5.5 V
Maximum Operating Temperature
+ 85 C
Mounting Style
SMD/SMT
3rd Party Development Tools
EWAVR, EWAVR-BL
Development Tools By Supplier
ATAVRDRAGON, ATSTK500, ATSTK600, ATAVRISP2, ATAVRONEKIT
Minimum Operating Temperature
- 40 C
On-chip Adc
4-ch x 10-bit
For Use With
ATSTK600-DIP40 - STK600 SOCKET/ADAPTER 40-PDIPATAVRBC100 - REF DESIGN KIT BATTERY CHARGER770-1007 - ISP 4PORT ATMEL AVR MCU SPI/JTAG770-1004 - ISP 4PORT FOR ATMEL AVR MCU SPIATAVRDRAGON - KIT DRAGON 32KB FLASH MEM AVRATAVRISP2 - PROGRAMMER AVR IN SYSTEM
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY85-20SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
17.11.2
17.11.3
17.12 Temperature Measurement
2586M–AVR–07/10
Unipolar Differential Conversion
Bipolar Differential Conversion
If differential channels and an unipolar input mode are used, the result is
where V
and V
139). The voltage on the positive pin must always be larger than the voltage on the negative pin
or otherwise the voltage difference is saturated to zero. The result is presented in one-sided
form, from 0x000 (0d) to 0x3FF (+1023d). The GAIN is either 1x or 20x.
As default the ADC converter operates in the unipolar input mode, but the bipolar input mode
can be selected by writting the BIN bit in the ADCSRB to one. In the bipolar input mode two-
sided voltage differences are allowed and thus the voltage on the negative input pin can also be
larger than the voltage on the positive input pin. If differential channels and a bipolar input mode
are used, the result is
where V
and V
0x200 (-512d) through 0x000 (+0d) to 0x1FF (+511d). The GAIN is either 1x or 20x.
However, if the signal is not bipolar by nature (9 bits + sign as the 10th bit), this scheme loses
one bit of the converter dynamic range. Then, if the user wants to perform the conversion with
the maximum dynamic range, the user can perform a quick polarity check of the result and use
the unipolar differential conversion with selectable differential input pairs (see the Input Polarity
Reversal mode ie. the IPR bit in the
141). When the polarity check is performed, it is sufficient to read the MSB of the result (ADC9 in
ADCH). If the bit is one, the result is negative, and if this bit is zero, the result is positive.
The temperature measurement is based on an on-chip temperature sensor that is coupled to a
single ended ADC4 channel. Selecting the ADC4 channel by writing the MUX[3:0] bits in
ADMUX register to “1111” enables the temperature sensor. The internal 1.1V reference must
also be selected for the ADC reference source in the temperature sensor measurement. When
the temperature sensor is enabled, the ADC converter can be used in single conversion mode to
measure the voltage over the temperature sensor.
The measured voltage has a linear relationship to the temperature as described in
The sensitivity is approximately 1 LSB / °C and the accuracy depends on the method of user cal-
ibration. Typically, the measurement accuracy after a single temperature calibration is ±
REF
REF
POS
POS
the selected voltage reference. The result is presented in two’s complement form, from
the selected voltage reference (see
is the voltage on the positive input pin, V
is the voltage on the positive input pin, V
ADC
ADC
=
=
(
------------------------------------------------------- - GAIN
“ADCSRB – ADC Control and Status Register B” on page
(
---------------------------------------------------- - GAIN
V
V
POS
POS
V
V
V
V
REF
Table 17-3 on page 138
REF
NEG
NEG
) 1024
) 512
NEG
NEG
the voltage on the negative input pin,
the voltage on the negative input pin,
and
Table 17-4 on page
Table 17-2
10°
137
C,

Related parts for ATTINY85-20SU