【正文】
的發(fā)生一般都是通過環(huán)境中產(chǎn)生的煙霧、熱量等變量識別然后傳送到控制器再由 控制器傳到各個模塊實現(xiàn)的。而目前有很多的高層建筑物、商業(yè)建筑、工廠、密集住宅區(qū),對消防報警系統(tǒng)的要求更加的嚴格核可。為了及早地發(fā)現(xiàn)和報警,把我們的人身財產(chǎn)安全損失減到最低。 theft。s private property continue to increase, the population continues to move closer to the aggregation increased fire hazards hidden everywhere. People in different social environments are growing each with the opposite sex, burglary led to frequent, so we need to build an antitheft system, fire alarm system. Although the market has a variety of intelligent room security alarm systems, but these systems due to the frequent occurrence of false positives and false negatives, etc., but the high cost, the average user is not universal use. So we very necessary to develop a cheap, practical, simple structure, high safety factor bedroom alarm system to meet current security needs of our people39。這樣設(shè)計的系統(tǒng)既元器件廉價,結(jié)構(gòu)簡潔也穩(wěn)定和使用方便,利于推廣和應用。 本次設(shè)計所做的是以單片機作為居室報警系統(tǒng)設(shè)計的核心器件,搭配傳感器作為環(huán)境變量的識別傳到單片機進行處理判斷,實現(xiàn)報警功能。 雖然目前市面上都有各種智能居室安全報警系統(tǒng),但是由于這些系統(tǒng)經(jīng)常發(fā)生誤報,漏報等情況,而且造價高昂,普通用戶不能普及使用。 吉林大學珠海學院 畢 業(yè) 設(shè) 計 基于單片機的居室報警系統(tǒng) 系 別: 電子信息系 專 業(yè) 名 稱: 通信工程 學 生 姓 名: 學 號: 指導教師姓名、職稱: 完成日期:年 月日 1 摘 要 雖然 中國一直在進行安居工程發(fā)展建設(shè)安全文明小區(qū),但是面對著當前復雜的社會治安環(huán)境和人們的私有財產(chǎn)不斷地增加,人口的不斷靠攏聚集增加,火災隱患處處暗藏。人們在不同的社會環(huán)境之下成長都各具向異性,導致了時常發(fā)生入室 盜竊,因此我們需要建設(shè)一個防盜防災報警系統(tǒng)體系。 所以我們非常有必要去研發(fā)一種廉價、實用、構(gòu)造簡單、安全系數(shù)高的居室報警系統(tǒng)用來滿足目前我們?nèi)藗兩畎踩男枰?。本設(shè)計的單片機是采用 STC89C51作為該系統(tǒng)的核心元器件,配上 DYPME003 人體紅外傳感器、 18B20 溫度傳感器和煙霧識別傳感器來辨別環(huán)境中的變量,轉(zhuǎn)換成數(shù)字信號之 后傳 送給單片機 處理 ,實現(xiàn)聲光報警。 關(guān)鍵詞:防火;防盜;報警 2 Abstract Although China has been engaged in the development and construction of housing projects safe and civilized munity, but the face of the current plex social security environment and people39。s lives. The design is done by the STC89C51 core device designed as a bedroom alarm system, with sensors as environment variables passed to the STC89C51 for processing recognition judgment, to achieve the alarm function. After the transfer of this design is the use of STC89C51 STC89C51 as the core ponents of the system, coupled with DYPME003 human infrared sensor, 18B20 temperature sensor and smoke sensor identification to identify environmental variables, converted into a digital signal to the STC89C51 processing, sound light alarm. Both ponents of such a system design cheap, simple structure is stable and easy to use, conducive to the promotion and application. Keywords: fire。 alarm 3 目 錄 1 緒 論 .................................................................... 1 社會背景和相關(guān)概述 .................................................... 1 2 系統(tǒng)總設(shè)計方案 ............................................................ 2 設(shè)計內(nèi)容和要求 ........................................................ 2 系統(tǒng)設(shè)計的總體思路 .................................................... 2 3 核心單片機電路 ............................................................ 4 STC89C51 系列單片機介紹 ................................................ 4 單片機最小系統(tǒng) ........................................................ 6 晶振電路 .............................................................. 6 復位電路 .............................................................. 6 4 溫 度傳感電路 .............................................................. 8 DS18B20 介紹 .......................................................... 8 工作電路 ............................................................... 8 5 煙霧傳感電路 .............................................................. 9 煙霧傳感器 MQ2.................................