【正文】
I 摘 要 本論文 從硬件和軟件兩方面對 系統(tǒng)進行了詳細的設計 。 介紹了核心芯片的選型,外圍電路的連接,芯片與芯片之間的 連接電路,程序設計方法和相應的軟件 。 系統(tǒng)電源用 780 7809芯片輸出 5V、 9V電壓 , 通過穩(wěn)壓模塊給系統(tǒng)供電。整個設計 采用模塊化思想,主機 采用 AT89C51實現(xiàn) 控制 ,由熱釋電傳感器和振動位移傳感器 對住宅的 模 擬信號(人體發(fā)出的紅外信號、 引起的振動信號等 )進行自動監(jiān)測, 當 檢測到異常情況,產(chǎn)生 數(shù)字信號輸入 單片機,單片機根據(jù)輸入 信號 ,輸出給蜂鳴器報警, 做出 反應 處理。復位電路采用低功耗,四引腳的 IMP812監(jiān)控芯片。 系統(tǒng)硬件電路簡單、安裝方便、操作簡單, 并且具有成本低的優(yōu)點, 可適用于各種類型的住宅和人群。 關鍵詞:傳感器 ; 單片機 ; 報警系統(tǒng) II ABSTRACT This paper from both hardware and software on the system carried out a detailed design. It introduced the Selection of the core chip, the external circuit connections, chip and the connection between the circuit chip, program design methods and the corresponding software. 7805,7809 chip system power output by 5 V, 9V voltage regulator module to the system through the power supply. The whole design is modular thinking, host AT89C51 used to achieve control, by the pyroelectric sensor and vibration displacement sensors for residential analog signal (the human issued by the infrared signal from the vibration signals, and so on) for automatic monitoring, When detected abnormal circumstances, producing a digital signal input SCM, the MCU according to the input signal and output to the buzzer alarm, to respond to treatment. Reset circuit using lowpower, fourpin IMP812 monitoring chip. System hardware circuit simple, easy to install, simple operation, and has the advantage of low cost, applicable to all types of residential and the crowd. Key words: sensor; MCU; alarm system III 目 錄 摘要 ................................................................................................................... I ABSTRACT .....................................................................................................II 1 緒論 ............................................................................................................ 1 序言 ................................................................................................... 1 防盜報警系統(tǒng)的構成 ................................................................... 2 防盜報警器的分類 ....................................................................... 2 防盜報警系統(tǒng)在國內外的發(fā)展 ................................................... 3 防盜報警器的發(fā)展前景與趨勢 ................................................... 5 設計要求與研究內容 ....................................................................... 5 設計要求 ....................................................................................... 5 研究內容 ....................................................................................... 6 2 系統(tǒng)方案設計 ............................................................................................ 7 系統(tǒng) 的功能要求 ............................................................................... 7 總體的設計方案 ............................................................................... 7 系統(tǒng)的相關技術 ............................................................................... 8 傳感器 技術 ................................................................................... 8 單片機 技術 ................................................................................. 10 3 報警器硬件設計 ...................................................................................... 15 電源電路設計 ................................................................................. 15 主機電路設計 ................................................................................. 15 時鐘電路 ..................................................................................... 16 復位及復位電路 ......................................................................... 17 鍵盤電路 ..................................................................................... 20 數(shù)碼顯示電路的設計 ..................................................................... 22 數(shù)碼管的工作原理 ..................................................................... 22 本系統(tǒng)的數(shù)碼管顯示電路 ......................................................... 24 蜂鳴器電路 ..................................................................................... 25 IV 用戶端探測器設計 ......................................................................... 26 熱釋電紅外探測器電路設計 ..................................................... 26 振動位移傳感器電路設計 ......................................................... 27 4 報警器軟件設計 ...................................................................................... 29 程序語言設計 ................................................................................. 29 程序語言 的分類 ......................................................................... 29 單片機匯編語言程序設計的基本步驟 ..................................... 31 匯編語言程序設計方法 ............................................................. 31 報警系統(tǒng)的程序 設計 ..................................................................... 31 主程序設計 ................................................................................. 31 掃鍵程序設計 ............................................................................. 33 5 總結與展望 .............................................................................................. 35 結論 ................................................................................................. 35 展望 ................................................................................................. 35 致謝 ................................................................................................................ 37 參考文獻 ........................................................................................................ 38 附錄Ⅰ:電路原理圖 .................................................................................... 39 附錄Ⅱ:匯編程序 ........................................................................................ 40 河南理工大學本科畢業(yè)設計(論文)說明書 1 1 緒論 序言 隨著社會經(jīng)濟的飛速發(fā)展和人民生活水平的不斷提高,人們對其住宅的要求也越來越高,表現(xiàn)在不僅希望擁有舒適、溫馨的住所,而且對安全性、智能性等方面也提出了更高的要求。相反地,經(jīng)濟的快速增長也帶來了相當大的負面社會效應 ,城鄉(xiāng)、區(qū)域收入差距進一步拉大,流動人口也開始迅速增加,盜竊、入室搶劫等刑事案件也呈現(xiàn)出了增長趨勢,人們越