Electronic Components Datasheet Search
  English  ▼

X  

ATtiny48 Datasheet(PDF) 170 Page - ATMEL Corporation

Part # ATtiny48
Description  8-bit Microcontroller with 4/8K Bytes In-System Programmable Flash
PDF  266 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  ATMEL [ATMEL Corporation]
Direct Link  http://www.atmel.com
Logo ATMEL - ATMEL Corporation

ATtiny48 Datasheet(HTML) 170 Page - ATMEL Corporation

Back Button ATtiny48 Datasheet HTML 166Page - ATMEL Corporation ATtiny48 Datasheet HTML 167Page - ATMEL Corporation ATtiny48 Datasheet HTML 168Page - ATMEL Corporation ATtiny48 Datasheet HTML 169Page - ATMEL Corporation ATtiny48 Datasheet HTML 170Page - ATMEL Corporation ATtiny48 Datasheet HTML 171Page - ATMEL Corporation ATtiny48 Datasheet HTML 172Page - ATMEL Corporation ATtiny48 Datasheet HTML 173Page - ATMEL Corporation ATtiny48 Datasheet HTML 174Page - ATMEL Corporation Next Button
Zoom Inzoom in Zoom Outzoom out
 170 / 266 page
background image
170
8008C–AVR–03/09
ATtiny48/88
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 Table 17-2
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 ±10
°C,
assuming calibration at room temperature. Better accuracies are achieved by using two
temperature points for calibration.
The values described in Table 17-2 are typical values. However, due to process variation the
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:
T = k * [(ADCH << 8) | ADCL] + T
OS
where ADCH and ADCL are the ADC data registers, k is the fixed slope coefficient and T
OS is the
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.
17.13 Register Description
17.13.1
ADMUX – ADC Multiplexer Selection Register
• Bits 7,4 – Res: Reserved Bits
These bits are reserved and will always read zero.
• Bit 6 – REFS0: Reference Selection Bits
This bit select the voltage reference for the ADC, as shown in Table 17-3. If this bit is changed
during a conversion, the change will not go in effect until this conversion is complete (ADIF in
ADCSRA is set).
Table 17-2.
Temperature vs. Sensor Output Voltage (Typical Case)
Temperature
-40
°C+25°C+85°C
ADC
230 LSB
300 LSB
370 LSB
Bit
765
4321
0
REFS0
ADLAR
MUX3
MUX2
MUX1
MUX0
ADMUX
Read/Write
R
R/W
R/W
R
R/W
R/W
R/W
R/W
Initial Value
000
0000
0
Table 17-3.
Voltage Reference Selections for ADC
REFS0
Voltage Reference Selection
0
Internal 1.1V Voltage Reference
1
AV
CC Reference



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100  ...More


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com