【正文】
的 連接電路,程序設(shè)計方法和相應(yīng)的軟件 。 系統(tǒng)電源用 780 7809芯片輸出 5V、 9V電壓 , 通過穩(wěn)壓模塊給系統(tǒng)供電。 關(guān)鍵詞:傳感器 ; 單片機 ; 報警系統(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)的構(gòu)成 ................................................................... 2 防盜報警器的分類 ....................................................................... 2 防盜報警系統(tǒng)在國內(nèi)外的發(fā)展 ................................................... 3 防盜報警器的發(fā)展前景與趨勢 ................................................... 5 設(shè)計要求與研究內(nèi)容 ....................................................................... 5 設(shè)計要求 ....................................................................................... 5 研究內(nèi)容 ....................................................................................... 6 2 系統(tǒng)方案設(shè)計 ............................................................................................ 7 系統(tǒng) 的功能要求 ............................................................................... 7 總體的設(shè)計方案 ............................................................................... 7 系統(tǒng)的相關(guān)技術(shù) ............................................................................... 8 傳感器 技術(shù) ................................................................................... 8 單片機 技術(shù) ................................................................................. 10 3 報警器硬件設(shè)計 ...................................................................................... 15 電源電路設(shè)計 ................................................................................. 15 主機電路設(shè)計 ................................................................................. 15 時鐘電路 ..................................................................................... 16 復(fù)位及復(fù)位電路 ......................................................................... 17 鍵盤電路 ..................................................................................... 20 數(shù)碼顯示電路的設(shè)計 ..................................................................... 22 數(shù)碼管的工作原理 ..................................................................... 22 本系統(tǒng)的數(shù)碼管顯示電路 ......................................................... 24 蜂鳴器電路 ..................................................................................... 25 IV 用戶端探測器設(shè)計 ......................................................................... 26 熱釋電紅外探測器電路設(shè)計 ..................................................... 26 振動位移傳感器電路設(shè)計 ......................................................... 27 4 報警器軟件設(shè)計 ...................................................................................... 29 程序語言設(shè)計 ................................................................................. 29 程序語言 的分類 ......................................................................... 29 單片機匯編語言程序設(shè)計的基本步驟 ..................................... 31 匯編語言程序設(shè)計方法 ............................................................. 31 報警系統(tǒng)的程序 設(shè)計 ..................................................................... 31 主程序設(shè)計 ................................................................................. 31 掃鍵程序設(shè)計 ............................................................................. 33 5 總結(jié)與展望 .............................................................................................. 35 結(jié)論 ................................................................................................. 35 展望 ................................................................................................. 35 致謝 ................................................................................................................ 37 參考文獻 ........................................................................................................ 38 附錄Ⅰ:電路原理圖 .................................................................................... 39 附錄Ⅱ:匯編程序 ........................................................................................ 40 河南理工大學(xué)本科畢業(yè)設(shè)計(論文)說明書 1 1 緒論 序言 隨著社會經(jīng)濟的飛速發(fā)展和人民生活水平的不斷提高,人們對其住宅的要求也越來越高,表現(xiàn)在不僅希望擁有舒適、溫馨的住所,而且對安全性、智能性等方面也提出了更高的要求。于是有關(guān)家庭、辦公室和倉庫等處的安全防范和自動報警系統(tǒng)的開發(fā)研制日益被科研單位和生產(chǎn)廠家所重視,現(xiàn)在市場上也出現(xiàn)了各種名目繁多的報警裝置,但多由于可靠性較差、功能單一或造價高而難于普及。紅外報警器大多數(shù)采用國外的先進技術(shù) ,其功能也非常先進。防盜報警系統(tǒng)是預(yù)防搶劫、盜竊等意外事件的重要設(shè)施。 控制器實現(xiàn)對熱釋電紅外探測器和振動位移傳感器的循環(huán)掃描,并控制報警信號處理電路作出相應(yīng)狀態(tài)處理,如果有報警信號的話,延時 1~ 2秒對該端口 進行一次掃描確保真的有險情時立即發(fā)出報警信號,控制報警電路報警,同時通過數(shù)碼顯示單元顯示具體的事發(fā)位置。 ( 4) 防盜探測器 是否 采用電源分類可分為無源和有源兩種 。報警探測器作為傳感探測裝置,用來探測入侵者的入侵行為及各種