【正文】
I 基于 GSM 短信的溫度智能檢測(cè)系統(tǒng)設(shè)計(jì) 摘 要 溫度是工業(yè)生產(chǎn)過(guò)程中測(cè)控的重要參數(shù)之一,在國(guó)防、軍事、科學(xué)試驗(yàn)及工農(nóng)業(yè)生產(chǎn)過(guò)程中,溫度的測(cè)量和控制具有十分重要的作用。尤其在航天、材料、能源、冶金、化工等領(lǐng)域中,溫度測(cè)量占有極重要的地位。在材料學(xué)領(lǐng)域里,由于溫度是影響材料的組織結(jié)構(gòu)和性能的一個(gè)十分重要的工藝參數(shù),精確有效地檢測(cè)和控制溫度,特別是在材料研究中,實(shí)現(xiàn)高精度測(cè)量,是十分有意義的。近年來(lái)溫度計(jì)量方面的發(fā)展大致集中于在溫度計(jì)量及儀表中采用高新技術(shù),尤其是信息技術(shù)以及在有特殊要求、傳統(tǒng)技術(shù)難以解決的測(cè)溫場(chǎng) 合進(jìn)行重點(diǎn)應(yīng)用研究和探索。 隨著手機(jī)應(yīng)用資費(fèi)的不斷下調(diào)及其通信網(wǎng)絡(luò)的不斷完善,應(yīng)用手機(jī)短消息來(lái)進(jìn)行遠(yuǎn)程監(jiān)控具有很廣闊的應(yīng)用前景,使用 GSM 短消息來(lái)傳遞數(shù)據(jù)信息也是近年來(lái)遙測(cè)遙控發(fā)展領(lǐng)域中的熱門技術(shù)。某些測(cè)溫設(shè)備位于環(huán)境惡劣的野外或是在無(wú)人值守的條件下,如果在數(shù)據(jù)的傳輸部分加裝 GSM 短消息模塊,便可利用 GSM公用網(wǎng)組成的傳輸系統(tǒng),使系統(tǒng)的可靠性、抗干擾性、穩(wěn)定性、可維護(hù)性、功能擴(kuò)展性等方面具有明顯的優(yōu)越性,并可降低運(yùn)營(yíng)成本和勞動(dòng)強(qiáng)度。 本系統(tǒng)是根據(jù)實(shí)際需要,利用手機(jī),通過(guò) GSM網(wǎng)絡(luò)對(duì)工業(yè)設(shè)備環(huán)境溫度實(shí)行遠(yuǎn)程無(wú) 線監(jiān)測(cè),以實(shí)現(xiàn)工業(yè)設(shè)備運(yùn)行的智能化,現(xiàn)代化。溫度信號(hào)的獲取由典型數(shù)字溫度傳感器 DS18B20 對(duì)工業(yè)設(shè)備或所監(jiān)測(cè)的環(huán)境溫度進(jìn)行監(jiān)測(cè)采集,并將采集到的數(shù)據(jù)傳輸給單片機(jī)進(jìn)行分析處理后,通過(guò)控制 GSM 通信模塊 TC35i,針對(duì)異常信號(hào)自動(dòng)發(fā)送報(bào)警信息給遠(yuǎn)程用戶, 從而實(shí)現(xiàn)準(zhǔn)確、實(shí)時(shí)的遠(yuǎn)程溫度監(jiān)測(cè)。 關(guān)鍵詞: 溫度; GSM;短消息 II Design of intelligent temperature detection system based on GSMshort message Abtraction Temperature is one of important parameters in industrial production processes, in the national defense, military, scientific experiments and industrial and agricultural production process, is very important to measure and control temperature. Particularly in the aerospace, materials, energy, metallurgy, chemical and other fields, temperature measurement occupies a very important position. In the field of material science, because the temperature is a very important process parameters affecting the structure and properties of materials, accurate and effective detection and control of temperature, especially in materials research, realize high precision measurement, is very meaningful. In recent years the development of temperature measurement and the focus on the use of advanced technologies in temperature measurement and instrumentation, especially in information technology and key applied research and exploration in the special requirement, it is difficult to solve the traditional technique of temperature measurement. With the development of mobile phone application rates continue to drop and the munication works of continuous improvement, application of mobile phone short message to the remote monitoring and has broad prospects for application, the use of GSM short message to transfer the data is a hot technology in the field of remote control development in recent years. Some measurement equipment in the wild environment or in the unattended condition, if the GSM short message module is installed in the transmission of data, can transfer system based on GSM public work, and the system reliability, antijamming, stability, maintainability, functional scalability advantages Obviously, and can reduce the operation cost and labor intensity. This system is according to the actual need, using mobile phone, wireless remote monitoring of the implementation of environmental temperature industrial equipment through the GSM work, to realize the intelligent operation of industrial equipment and modernization. Temperature signals acquired by the typical digital temperature sensor DS18B20 for monitoring of industrial equipment or the monitoring of the environmental temperature, and transmits the gathered data to MCU after analyzing and processing, by controlling the GSM munication module TC35i, to send alarm information to the remote user automatic abnormal signal, so as to realize the accurate, realtime remote temperature monitoring. Key Words: Temperature; GSM; Messaging III 目 錄 第一章 緒論 GSM 系統(tǒng)簡(jiǎn)介 ..................................................1 通信介紹 ......................................................1 通信概念 ...............................................2 通信目的和過(guò)程 .........................................3 通信種類 ...............................................3 通信信道 ...............................................3 課題背景及現(xiàn)實(shí)意義 .............................................4 第 二 章 整體方案設(shè)計(jì) ................................................6 系統(tǒng)方案設(shè)計(jì)論證 ..............................................6 處理器模塊 ..............................................6 傳感器模塊 ..............................................8 通訊模塊 ................................................9 第 三 章 硬件系統(tǒng)設(shè)計(jì) ................................................11 TC35i 模塊的介紹 ..............................................11 溫度傳感器電路 ................................................14 工作原理 ...............................................14 主要特性 ...............................................14 AT89S52 單片機(jī)介紹 ............................................14 存儲(chǔ)器結(jié)構(gòu) ..............................................15 定時(shí)器 /計(jì)數(shù)器 ...........................................16 串行接口 ................................................16 中斷 ....................................................16 顯示接口電路 ..................................................17 鍵盤報(bào)警電路 ..................................................18 蜂鳴器 ..................................................18 矩陣鍵盤 ................................................19 串行口 RS- 232與 TTL 電平轉(zhuǎn)換電路 ..............................19 電源輸入部分 ..................................................20 第 四 章 系統(tǒng) 軟件設(shè)計(jì) ...............................................21 軟件設(shè)計(jì)流程 ..................................................21 軟件模塊編寫 ..................................................22 溫度傳感器 ..............................................22 通信模塊 TC35i..........................................23 IV 顯示模塊 1602...........................................25 主程序 ....................................................。 ..25 第五章 編譯與調(diào)試 .................................................26 TC35模塊調(diào)試 .................................................26 單片機(jī)程序燒寫 ...............................................27 第六章 結(jié)論 ......................................................28 第七章 致謝 ......................................