參數(shù)資料
型號: TMP06BRT-REEL
廠商: ANALOG DEVICES INC
元件分類: 溫度/濕度傳感器
英文描述: 【0.5∑C Accurate PWM Temperature Sensor in 5-Lead SC-70
中文描述: DIGITAL TEMP SENSOR-SERIAL, 12BIT(s), 1Cel, RECTANGULAR, SURFACE MOUNT
封裝: MO-178AA, SOT-23, 5 PIN
文件頁數(shù): 23/28頁
文件大?。?/td> 706K
代理商: TMP06BRT-REEL
TMP05/TMP06
CONTINUOUSLY CONVERTING APPLICATION
This section provides an example of how to connect one
TMP05 in continuously converting mode to a microchip
PIC16F876 microcontroller. Figure 37 shows how to interface to
the PIC16F876.
Rev. 0 | Page 23 of 28
0
3.3V
GND
FUNC
CONV/IN
OUT
TMP05
PIC16F876
V
DD
0.1
μ
F
PA.0
FIRST TEMP
MEASUREMENT
T
0
TIME
SECOND TEMP
MEASUREMENT
TMP05 Program Code Example 2 shows how to communicate
from the microchip device to the TMP05. This code can also be
used with other PICs by simply changing the include file for the
part.
Figure 37. Typical Daisy-Chain Application Circuit
TMP05 Program Code Example 2
//=============================================================================================
//
// Description : This program reads the temperature from a TMP05 part set up in continuously
// converting mode.
// This code was written for a PIC16F876, but can be easily configured to function with other
// PICs by simply changing the include file for the part.
//
//
Fosc = 4MHz
//
Compiled under CCS C compiler IDE version 3.4
//
PWM output from TMP05 connected to PortA.0 of PIC16F876
//
//============================================================================================
#include <16F876.h>
// Insert header file for the particular PIC being used
#device adc=8
#use delay(clock=4000000)
#fuses NOWDT,XT, PUT, NOPROTECT, BROWNOUT, LVP
//_______________________________Wait for high function_____________________________________
void wait_for_high() {
while(input(PIN_A0)) ; /* while high, wait for low */
while(!input(PIN_A0)); /* wait for high */
}
//______________________________Wait for low function_______________________________________
void wait_for_low() {
while(input(PIN_A0)); /* wait for high */
}
//_______________________________Main begins here____________________________________________
void main(){
long int high_time,low_time,temp;
setup_adc_ports(NO_ANALOGS);
setup_adc(ADC_OFF);
setup_spi(FALSE);
setup_timer_1 ( T1_INTERNAL | T1_DIV_BY_2);
//Sets up timer to overflow after 131.07ms
相關(guān)PDF資料
PDF描述
TMP05BKS-REEL 【0.5∑C Accurate PWM Temperature Sensor in 5-Lead SC-70
TMP05BKS-REEL7 【0.5∑C Accurate PWM Temperature Sensor in 5-Lead SC-70
TMP05BKSZ-REEL 【0.5∑C Accurate PWM Temperature Sensor in 5-Lead SC-70
TMP05BKSZ-REEL7 【0.5∑C Accurate PWM Temperature Sensor in 5-Lead SC-70
TMP05 【0.5∑C Accurate PWM Temperature Sensor in 5-Lead SC-70
相關(guān)代理商/技術(shù)參數(shù)
參數(shù)描述
TMP06BRT-REEL7 制造商:AD 制造商全稱:Analog Devices 功能描述:【0.5∑C Accurate PWM Temperature Sensor in 5-Lead SC-70
TMP06BRTZ-500RL7 功能描述:IC PWM TEMP SNSR OPN-DRN SOT23-5 RoHS:是 類別:集成電路 (IC) >> PMIC - 熱管理 系列:- 標(biāo)準(zhǔn)包裝:3,000 系列:- 功能:溫度開關(guān) 傳感器類型:內(nèi)部 感應(yīng)溫度:85°C 分界點 精確度:±6°C(最小值) 拓?fù)?ADC(三角積分型),比較器,寄存器庫 輸出類型:開路漏極 輸出警報:是 輸出風(fēng)扇:是 電源電壓:2.7 V ~ 5.5 V 工作溫度:-55°C ~ 125°C 安裝類型:表面貼裝 封裝/外殼:SC-74A,SOT-753 供應(yīng)商設(shè)備封裝:SOT-23-5 包裝:帶卷 (TR) 其它名稱:ADT6501SRJZP085RL7-ND
TMP06BRTZ-REEL 制造商:AD 制造商全稱:Analog Devices 功能描述:【0.5∑C Accurate PWM Temperature Sensor in 5-Lead SC-70
TMP06BRTZ-REEL7 制造商:AD 制造商全稱:Analog Devices 功能描述:【0.5∑C Accurate PWM Temperature Sensor in 5-Lead SC-70
TMP07103 制造商:TRACOPOWER 制造商全稱:TRACO Electronic AG 功能描述:AC/DC Power Modules