【正文】
摘 要隨著GSN網(wǎng)絡的迅速普及移動通信技術的飛速發(fā)展,新技術和新業(yè)務的開發(fā)和應用已提到十分重要的位置。將GSM技術運用于實現(xiàn)家庭智能報警具有實際應用價值。該系統(tǒng)以單片機AT89S52為核心作為控制模塊,由GSM無線通信模塊、傳感器數(shù)據(jù)信息采集模塊、液晶顯示模塊和報警模塊組成。通過傳感器模塊中光電傳感器和溫度傳感器采集相關信號,經(jīng)A/D轉換模塊轉換成單片機可處理的數(shù)字信號,經(jīng)過語音報警模塊發(fā)出相關報警信號,將該信號通過GSM短信模塊,借助GSM移動網(wǎng)絡,以中文短消息,直接把報警地點的情況反映到您的手機屏幕上。該系統(tǒng)具有安全保密性高,又不需要組建專用網(wǎng)絡和維護網(wǎng)絡,網(wǎng)絡覆蓋面廣,因此與傳統(tǒng)的監(jiān)控系統(tǒng)相比有著其獨特的優(yōu)勢。關鍵詞:智能監(jiān)控。 AT89S52單片機;GSM網(wǎng)絡;傳感器;報警系統(tǒng);ABSTRACTWith the rapid popularization of GSM networks and the fast development of mobile munication technology, new technologies and services have been stepped up to anallimportant position . GSM technology will be applied to achieve practical application of intelligent alarm home value.The system is MCU AT89S52 the core as a control module, which is consist of the GSM wireless munication module, sensor data acquisition module, LCD module and alarm module. Photoelectric sensor module through the sensor and temperature sensoracquisitionrelated signals,through the A / D converter module into digital signals which a single chip can handle, after issuing the relevant alarm voice alarm module signals,the signal is through the GSM SMS module,with GSM mobile network, through Chinese short message, directly to the alarm location is reflected to your mobile phone screen.The theory is very simple and has high security, and there is no need to set up special networks and to maintain them, moreover the area of GSM networks covering is very wide, so this method has many particular advantages over conventional monitoring system.Key Words:Intelligent monitoring。 AT89S52 single chip microputer。GSM networks ;Sensor; Alarm system1 ................................................................................................................................ 引言1 2 ............................................................................................................ 方案選擇及論證3 ................................ 方案1——基于8031單片機的防盜報警監(jiān)控系統(tǒng)設計5 ....................... 核心控制單元AT89S52模塊——閃電存儲型器件AT89S52 6 AT89S52單片機概述 ........................................................................... 6 AT89S52單片機特性 ........................................................................... 7 AT89S52引腳功能與封裝 ................................................................... 8 ......................................................................... GSM無線通信模塊——TC35i 10 AT指令說明 ....................................................................................... 12 PDU編碼規(guī)則 .................................................................................... 13 ......................................... 13 RS232串行接口 ................................................................................ 14 ................................................................................. 傳感器數(shù)據(jù)信息采集模塊 17 ......................................................................................... 18 ......................................................................................... 22 ..................................................................................................... 液晶顯示模塊 24 方案1——采用LED液晶顯示屏.................................................... 24 方案2——采用點陣式數(shù)碼管顯示 ................................................. 24 方案3——采用1602液晶顯示器 ................................................... 24 3 ........................... 方案2——基于GSM網(wǎng)絡的遠程家庭智能監(jiān)控系統(tǒng)設計4 3 .................................................................................................... 系統(tǒng)硬件電路的設計第3/81頁 ............................................................................................................. 報警模塊 26 ..................................................................................... 27 ................................................................................. 274 ............................................................................................................ 系統(tǒng)程序的設計 29 ..................................................................................................... 主程序流程圖33 ............................................................................................................. 硬件測試 33 靜態(tài)調試 ............................................................................................ 33 聯(lián)機調試 ............................................................................................ 33 ............................................................................................................. 軟件測試35結 論 ...................................................................................................................... 36參考文獻 ...................................................................................................................... 37附錄一:電路原理圖 .................................................................................................. 38附錄二:控制源程序 .................................................................................................. 39致 謝 ...................................................................................................................... 7334 ............................................................................................................. 系統(tǒng)調試34 6 ........................................................................................................................ 測試結果29 ............................................................................................. 中斷子程序流程圖30 ................................................................................ 溫度傳感器子程序30 ...................................................................................... 液晶顯示子程序31 5 ........................................................................................................................ 系統(tǒng)調試1 引言隨著生活水平的提高,提別是物質生活水平的不斷提高,人們對自己的個人安全和家庭財產(chǎn)安全越來越重視,安全已成為一種市場需求;同時經(jīng)濟的飛速發(fā)展伴隨著城市流動人口的急劇增加,給家庭防控增加了新的難題和提出了新的課題,傳統(tǒng)的人防物防的形式已難以適應社會形式發(fā)展的需求??茖W技術的進步和普遍應用,進一步同動了智能化家庭的建設步伐,家庭安全技術防范系統(tǒng)已經(jīng)從本地向遠程監(jiān)控發(fā)展,從社會的周邊防范向家庭內部防控逐漸靠攏,家庭防盜報警系統(tǒng)在人們對美好生活