ATtiny24 Atmel Corporation, ATtiny24 Datasheet - Page 143

no-image

ATtiny24

Manufacturer Part Number
ATtiny24
Description
Manufacturer
Atmel Corporation
Datasheets

Specifications of ATtiny24

Flash (kbytes)
2 Kbytes
Pin Count
14
Max. Operating Frequency
20 MHz
Cpu
8-bit AVR
# Of Touch Channels
4
Hardware Qtouch Acquisition
No
Max I/o Pins
12
Ext Interrupts
12
Usb Speed
No
Usb Interface
No
Spi
1
Twi (i2c)
1
Graphic Lcd
No
Video Decoder
No
Camera Interface
No
Adc Channels
8
Adc Resolution (bits)
10
Adc Speed (ksps)
15
Analog Comparators
1
Resistive Touch Screen
No
Temp. Sensor
Yes
Crypto Engine
No
Sram (kbytes)
0.12
Eeprom (bytes)
128
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
4
Input Capture Channels
1
Pwm Channels
4
32khz Rtc
No
Calibrated Rc Oscillator
Yes

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATtiny24-15SSZ
Manufacturer:
ATMEL
Quantity:
349
Part Number:
ATtiny24-15SSZ
Manufacturer:
ATTINY
Quantity:
20 000
Part Number:
ATtiny24-20MU
Manufacturer:
AVNET
Quantity:
20 000
Part Number:
ATtiny24-20SSU
Manufacturer:
ATMEL
Quantity:
5 000
Part Number:
ATtiny24-20SSU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATtiny24-20SSUR
Manufacturer:
ATMEL
Quantity:
6 000
Part Number:
ATtiny24A-CCU
Manufacturer:
ATMEL
Quantity:
1 001
Part Number:
ATtiny24A-CCU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny24A-CCUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATtiny24A-MU
Manufacturer:
ATMEL
Quantity:
2 710
Part Number:
ATtiny24A-MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Company:
Part Number:
ATtiny24A-SSFR
Quantity:
1 900
Part Number:
ATtiny24A-SSU
Manufacturer:
MICROCHIP/微芯
Quantity:
20 000
Company:
Part Number:
ATtiny24A-SSU
Quantity:
12 500
16.11 ADC Conversion Result
16.11.1
16.11.2
16.11.3
8006K–AVR–10/10
Single Ended Conversion
Unipolar Differential Conversion
Bipolar Differential Conversion
After the conversion is complete (ADIF is high), the conversion result can be found in the ADC
Result Registers (ADCL, ADCH). The form of the conversion result depends on the type of the
conversio as there are three types of conversions: single ended conversion, unipolar differential
conversion and bipolar differential conversion.
For single ended conversion, the result is
where V
Table 16-3 on page 145
0x3FF represents the selected reference voltage 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
than the voltage of the negative pin or otherwise the voltage difference is saturated to zero. The
result is presented in one-sided form, from 0x000 (0d) through 0x3FF (+1023d). The GAIN is
either 1x or 20x.
If differential channels and a bipolar input mode are used, the result is
where V
and V
0x200 (-512d) through 0x1FF (+511d). The GAIN is either 1x or 20x. Note that if the user wants
• 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.
REF
REF
IN
POS
POS
the selected voltage reference. The result is presented in two’s complement form, from
the selected voltage reference. The voltage of the positive pin must always be larger
is the voltage on the selected input pin and V
is the voltage on the positive input pin, V
is the voltage on the positive input pin, V
and
ADC
ADC
Table 16-4 on page
=
=
(
------------------------------------------------------- - GAIN
(
---------------------------------------------------- - GAIN
ADC
V
V
POS
POS
=
V
V
V
V
V
--------------------------
REF
REF
NEG
NEG
IN
V
REF
) 1024
1024
146). 0x000 represents analog ground, and
) 512
NEG
NEG
REF
the voltage on the negative input pin,
the voltage on the negative input pin,
the selected voltage reference (see
ATtiny24/44/84
143

Related parts for ATtiny24