【正文】
何其他個(gè)人或集體已經(jīng)發(fā)表或撰寫的成果作品。本人授權(quán) 大學(xué)可以將本學(xué)位論文的全部或部分內(nèi)容編入有關(guān)數(shù)據(jù)庫(kù)進(jìn)行檢索,可以采用影印、縮印或掃描等復(fù)制手段保存和匯編本學(xué)位論文。顯示部分采用數(shù) 碼管,亮度大,更適合遠(yuǎn)距離觀察。 關(guān)鍵詞 單片機(jī) /DS18B20/紅外遙控 /數(shù)碼管 /多點(diǎn)采集 III THE SYSTEM OF MULTIPOINT TEMPERATURE ACQUISITION BASED ON INFRARED REMOTE CONTROL ABSTRACT The measure and alarm of temperature is used more and more in modern production , life and industrial process control field. We use one digital thermometer called DS18B20 produced by Dallas Semiconductor Corporation in America. According to the 1Wire protocol and some operation mands we can read the serial number of any DS18B20 then confirm the relation of the DS18B20 and its location . Controlled by microcontroller the value of temperature and its location will be displayed in a cycle. The module of display use LED , the number is bigger and lighter than LCD so it is more suitable for a longdistance observation .Adopt the technology of Remote Infrared Control which applied extensively currently to achieve the display of temperature in random way .The microcontroller will decode the keypress and finish an operation according to the keypress. The fulfillment proved that the system works stably ,the cost is cheap , the operation is convenience ,so it will have a farranging application in the reality. KEY WORDS MCU,DS18B20 ,Remote Control, Multipoint Temperature Acquisition IV 目 錄 摘要 ...................................................................................................................................... II ABSTRACT ......................................................................................................................III 1 緒論 ............................................................................................................................... 1 紅外遙控溫度采集系統(tǒng)的應(yīng)用價(jià)值 ............................................................... 1 系統(tǒng)設(shè)計(jì)的必要性分析 ...................................................................................... 1 2 系統(tǒng)單元模塊介紹 ................................................................................................... 2 溫度采集模塊 ......................................................................................................... 2 溫度傳感器的選擇 ..................................................................................... 2 DS18B20 溫度傳感器 ............................................................................................ 2 DS18B20 的特點(diǎn) ......................................................................................... 2 DS18B20 內(nèi)部結(jié)構(gòu) ..................................................................................... 3 DS18B20 的操作流程 ................................................................................. 4 DS18B20 ROM 命令 ...................................................................................... 4 DS18B20 存儲(chǔ)器操作命令 ......................................................................... 4 DS18B20 的操作時(shí)序 ................................................................................. 5 運(yùn)算控制模塊 ......................................................................................................... 6 AT89S52 單片機(jī)的主要參數(shù)及性能 .......................................................... 6 AT89S52 單片機(jī)引腳功能介紹 .................................................................. 6 紅外遙控通信模塊 ............................................................................................... 8 紅外通信簡(jiǎn)介 ............................................................................................. 8 紅外編解碼原理 ......................................................................................... 8 顯示模塊 .................................................................................................................10 顯示元件介紹 ............................................................................................10 數(shù)碼管顯示方式 ........................................................................................10 報(bào)警模塊 .................................................................................................................11 IV 蜂鳴器介紹 ................................................................................................ 11 3 系統(tǒng)實(shí)現(xiàn)的總體方案 .............................................................................................12 系統(tǒng)設(shè)計(jì)總體方案 ..............................................................................................12 系統(tǒng)實(shí)現(xiàn)的具體方法 ..........................................................................................13 DS18B20 序列號(hào)的讀取 .............................................................................13 紅外 遙控多點(diǎn)溫度采集的實(shí)現(xiàn) ................................................................13 4 硬件電路設(shè)計(jì)介 ......................................................................................................16 單片機(jī)電路 ............................................................................................................16 單片機(jī)復(fù)位電路 ........................................................................................16 晶振電路 ....................................................................................................16 單片機(jī)串口電路 ........................................................................................17 顯示單元電路 ........................................................................................................17 鎖存器連接電路 ...................................................................................................18 報(bào)警單元電路 ........................................................................................................1