TMP05 Analog Devices, TMP05 Datasheet - Page 20

no-image

TMP05

Manufacturer Part Number
TMP05
Description
0.5C Accurate PWM Temperature Sensor in 5-Lead SC-70
Manufacturer
Analog Devices
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
TMP057-059-32-36
Manufacturer:
TRIQUINT
Quantity:
5 000
Part Number:
TMP05AKSZ-500RL7
Manufacturer:
Analog Devices Inc
Quantity:
1 930
Company:
Part Number:
TMP05ARTZ
Quantity:
6 000
Part Number:
TMP05BKSZ-500RL7
Manufacturer:
AD
Quantity:
210
Part Number:
TMP05BKSZ-REEL7
Manufacturer:
����
Quantity:
710
Part Number:
TMP05BKSZ-REEL7
Manufacturer:
ADI/亚德诺
Quantity:
20 000
Part Number:
TMP05BRTZ-500RL7
Manufacturer:
Analog Devices Inc
Quantity:
1 993
TMP05/TMP06
TMP05 Program Code Example 1
//=============================================================================================
// Description : This program reads the temperature from 2 daisy-chained TMP05 parts.
//
// This code runs on any standard 8052 part running at 11.0592MHz.
// If an alternative core frequency is used, the only change required is an
// adjustment of the baud rate timings.
//
// P3.2 = Daisy-chain output connected to INT0.
// P3.7 = Conversion control.
// Timer0 is used in gate mode to measure the high time.
// Timer1 is triggered on a high-to-low transition of INT0 and is used to measure
// the low time.
//=============================================================================================
IS TEMPSEGMENT
START TIMER 1
RESET TIMER 0
TEMP_HIGH0
CALCULATE
TO ZERO
= 1
YE S
NO
NO
COPY TIMER 1 VALUES
CHECK IF TIMER 1
IS TEMPSEGMENT
ENTER INTERRUPT
INTO A REGISTER
RESET TIMER 0
USING TIMER 1
USING TIMER 0
RESET TIMER 1
TEMP_HIGH1
CALCULATE
TEMP_LOW0
CALCULATE
IS RUNNING
TO ZERO
VALUES
VALUES
ROUTINE
Figure 36. ADuC812 Interrupt Routine Flowchart
= 2
YES
YES
Rev. 0 | Page 20 of 28
NO
IS TEMPSEGMENT
USING TIMER 0
TEMP_HIGH2
TEMP_LOW1
CALCULATE
CALCULATE
VALUES
= 3
YE S
NO
EXIT INTERRUPT
TEMPSEGMENT
INCREMENT
ROUTINE

Related parts for TMP05