ATtiny861 Atmel Corporation, ATtiny861 Datasheet - Page 154

no-image

ATtiny861

Manufacturer Part Number
ATtiny861
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny861

Flash (kbytes)
8 Kbytes
Pin Count
20
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
8
Hardware Qtouch Acquisition
No
Max I/o Pins
16
Ext Interrupts
16
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
11
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.5
Eeprom (bytes)
512
Self Program Memory
YES
Dram Memory
No
Nand Interface
No
Picopower
No
Temp. Range (deg C)
-40 to 85
I/o Supply Class
1.8 to 5.5
Operating Voltage (vcc)
1.8 to 5.5
Fpu
No
Mpu / Mmu
no / no
Timers
2
Output Compare Channels
6
Input Capture Channels
1
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny861-15MAZ
Manufacturer:
NEC
Quantity:
900
Part Number:
ATtiny861-15MZ
Manufacturer:
ATMEL
Quantity:
1 465
Part Number:
ATtiny861-20MU
Manufacturer:
LT
Quantity:
2 140
Part Number:
ATtiny861-20MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny861-20PU
Manufacturer:
Atmel
Quantity:
135
Part Number:
ATtiny861-20PU ES
Manufacturer:
ATMEL
Quantity:
215
Company:
Part Number:
ATtiny861-20SU
Quantity:
3 500
Part Number:
ATtiny861A-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny861V-10MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
15.11.2
15.11.3
15.12 Temperature Measurement
154
ATtiny261/461/861
Unipolar Differential Conversion
Bipolar Differential Conversion
0x3FF represents the selected voltage reference minus one LSB. The result is presented in one-
sided form, from 0x3FF to 0x000.
If differential channels and an unipolar input mode are used, the result is
where V
and V
157). 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, 8x, 20x or 32x.
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, 8x, 20x or 32x.
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 pair. 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 ADC11 channel. Selecting the ADC11 channel by writing the MUX5:0 bits in
ADMUX register to “111111” enables the temperature sensor. The internal 1.1V voltage refer-
ence must also be selected for the ADC voltage reference source in the temperature sensor
measurement. When the temperature sensor is enabled, the ADC converter can be used in sin-
gle 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 /
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
(
---------------------------------------------------- - GAIN
V
V
POS
POS
°
C and the accuracy depends on the method of user cal-
V
V
V
V
REF
Table 15-3 on page 155
REF
NEG
NEG
) 1024
) 512
NEG
NEG
the voltage on the negative input pin,
the voltage on the negative input pin,
and
Table 15-4 on page
2588E–AVR–08/10
Table 15-2
10°
C,

Related parts for ATtiny861