ATTINY88-15MZ Atmel, ATTINY88-15MZ Datasheet - Page 176

no-image

ATTINY88-15MZ

Manufacturer Part Number
ATTINY88-15MZ
Description
IC MCU AVR 8B 8KB FLASH 32QFN
Manufacturer
Atmel
Series
AVR® ATtinyr
Datasheet

Specifications of ATTINY88-15MZ

Core Processor
AVR
Core Size
8-Bit
Speed
16MHz
Connectivity
I²C, SPI
Peripherals
Brown-out Detect/Reset, POR, WDT
Number Of I /o
28
Program Memory Size
8KB (4K x 16)
Program Memory Type
FLASH
Eeprom Size
64 x 8
Ram Size
512 x 8
Voltage - Supply (vcc/vdd)
2.7 V ~ 5.5 V
Data Converters
A/D 8x10b
Oscillator Type
Internal
Operating Temperature
-40°C ~ 125°C
Package / Case
*
Lead Free Status / RoHS Status
Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATTINY88-15MZ
Manufacturer:
ATMEL
Quantity:
3 500
Part Number:
ATTINY88-15MZ
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
17.11 ADC Conversion Result
17.12 Temperature Measurement
176
ATtiny88 Automotive
After the conversion is complete (ADIF is high), the conversion result can be found in the ADC
Result Registers (ADCL, ADCH).
For single ended conversion, the result is
where V
Table 17-3 on page 177
0x3FF represents the selected reference voltage minus one LSB.
The temperature measurement is based on an on-chip temperature sensor that is coupled to a
single-ended ADC8 channel. Selecting the ADC8 channel by writing the MUX3..0 bits in ADMUX
register to “1000” enables the temperature sensor. The internal 1.1V voltage reference 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 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
calibration. Typically, the measurement accuracy after a single temperature calibration is ±
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.
Temperature
ADC
• Quantization Error: Due to the quantization of the input voltage into a finite number of codes,
• Absolute accuracy: The maximum deviation of an actual (unadjusted) transition compared to
a range of input voltages (1 LSB wide) will code to the same value. Always ±0.5 LSB.
an ideal transition for any code. This is the compound effect of offset, gain error, differential
error, non-linearity, and quantization error. Ideal value: ±0.5 LSB.
T = k * [(ADCH << 8) | ADCL] + T
IN
is the voltage on the selected input pin and V
Temperature vs. Sensor Output Voltage (Typical Case)
Table 17-2
and
Table 17-4 on page
230 LSB
-40 C
ADC
are typical values. However, due to process variation the
=
OS
V
---------------------------- -
IN
V
REF
177). 0x000 represents analog ground, and
1024
REF
300 LSB
+25 C
the selected voltage reference (see
370 LSB
+125 C
9157B–AVR–01/10
Table 17-2
OS
10
is the
C,

Related parts for ATTINY88-15MZ