ATtiny85 Atmel Corporation, ATtiny85 Datasheet - Page 138

no-image

ATtiny85

Manufacturer Part Number
ATtiny85
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny85

Flash (kbytes)
8 Kbytes
Pin Count
8
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
3
Hardware Qtouch Acquisition
No
Max I/o Pins
6
Ext Interrupts
6
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
4
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
5
Pwm Channels
6
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny85-15SZ
Manufacturer:
ATMEL
Quantity:
30
Part Number:
ATtiny85-20PU
Manufacturer:
CUI
Quantity:
1 000
Part Number:
ATtiny85-20SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny85V-10SH
Manufacturer:
Intel
Quantity:
62
Part Number:
ATtiny85V-10SU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
17.13 Register Description
17.13.1
138
ATtiny25/45/85
ADMUX – ADC Multiplexer Selection Register
assuming calibration at room temperature. Better accuracies are achieved by using two
temperature points for calibration.
Table 17-2.
The values described in
temperature sensor output voltage varies from one chip to another. To be capable of achieving
more accurate results the temperature measurement can be calibrated in the application soft-
ware. The sofware calibration can be done using the formula:
where ADCH and ADCL are the ADC data registers, k is the fixed slope coefficient and T
temperature sensor offset. Typically, k is very close to 1.0 and in single-point calibration the
coefficient may be omitted. Where higher accuracy is required the slope coefficient should be
evaluated based on measurements at two temperatures.
• Bits 7:6, 4 – REFS[2:0]: Voltage Reference Selection Bits
These bits select the voltage reference (V
are changed during a conversion, the change will not go in effect until this conversion is
complete (ADIF in ADCSR is set). Whenever these bits are changed, the next conversion will
take 25 ADC clock cycles. When differential channels and gain are used, using V
external AREF higher than (V
affect the ADC accuracy.
Table 17-3.
Note:
Bit
0x07
Read/Write
Initial Value
Temperature
ADC
REFS2
T = k * [(ADCH << 8) | ADCL] + T
X
X
0
0
1
1
1. The device requries a supply voltage of 3V in order to generate 2.56V reference voltage.
REFS1
Temperature vs. Sensor Output Voltage (Typical Case)
Voltage Reference Selections for ADC
REFS1
0
0
1
1
1
1
R/W
7
0
REFS0
REFS0
Table 17-2
R/W
6
0
0
1
0
1
0
1
CC
230 LSB
-40
ADLAR
- 1V) as a voltage reference is not recommended as this will
R/W
Voltage Reference (V
V
External Voltage Reference at PB0 (AREF) pin, Internal Voltage
Reference turned off.
Internal 1.1V Voltage Reference.
Reserved
Internal 2.56V Voltage Reference without external bypass
capacitor, disconnected from PB0 (AREF)
Internal 2.56V Voltage Reference with external bypass capacitor at
PB0 (AREF) pin
5
0
°
CC
C
are typical values. However, due to process variation the
used as Voltage Reference, disconnected from PB0 (AREF).
REF
REFS2
OS
R/W
4
0
) for the ADC, as shown in
(1)
.
MUX3
R/W
3
0
REF
300 LSB
+25
) Selection
MUX2
°
R/W
C
2
0
MUX1
R/W
1
0
Table
(1)
.
17-3. If these bits
MUX0
R/W
0
0
370 LSB
+85
2586N–AVR–04/11
°
C
CC
OS
ADMUX
or an
is the

Related parts for ATtiny85