【正文】
安徽建筑大學(xué) 畢 業(yè) 設(shè) 計(jì) (論 文 ) 專(zhuān) 業(yè) 自動(dòng)化 班 級(jí) 2 班 學(xué)生姓名 林 祥 學(xué) 號(hào) XXXXXXXXX 課 題 基于單片機(jī)的火災(zāi)自動(dòng)報(bào)警系統(tǒng) 指導(dǎo)教師 汪方斌 20xx 年 6 月 18 日 目 錄 摘 要 ............................................................................................................................. 1 ABSTRACT ..................................................................................................................... 2 論 .......................................................................................................................... 3 .................................................................................................. 3 .................................................................................... 3 .............................................................................................. 4 ............................................................................................................ 5 ....................................................................................................................... 6 ........................................................................................... 6 ......................................................................................................... 7 .............................................................................................. 7 ...................................................................................................................... 8 ................................................................................................................ 8 單片機(jī)的選擇 .......................................................................................... 8 AT89C51結(jié)構(gòu)簡(jiǎn)介 .................................................................................... 9 A/D轉(zhuǎn)換器 ....................................................................................................... 10 A/D轉(zhuǎn)換器的選擇 ................................................................................ 10 ADC0809芯片的基本知識(shí) ...................................................................... 10 ....................................................................................................... 11 ....................................................................................................... 12 4 . 軟件設(shè)計(jì) ................................................................................................................. 14 系統(tǒng)軟件流程圖 ............................................................................................... 14 ADC0809流程圖 ................................................................................................ 15 DS18B20流程圖 ................................................................................................ 18 5 . 調(diào)試 ........................................................................................................................ 23 Keil環(huán)境介紹 ........................................................................................... 23 .................................................................... 25 6 . 結(jié)果 ........................................................................................................................ 27 總結(jié)與展望 .................................................................................................................... 29 致 謝 ............................................................................................................................. 31 參考文獻(xiàn) ........................................................................................................................ 32 附錄一 火災(zāi)自動(dòng)報(bào)警原理圖 .......................................................................................... 34 附錄二 文獻(xiàn)翻譯 ................................................................................................. 35 安徽建筑大學(xué) 畢業(yè)設(shè)計(jì)(論文) 1 摘 要 目前,隨著現(xiàn)代家 庭用火、用電量正在逐年增加,由此引起的火災(zāi)也越來(lái)越多,在我們生活得四周到處潛伏著火災(zāi)隱患。為了避免火災(zāi)以及減少火災(zāi)造成的損失,我們必須按照“隱患險(xiǎn)于明火,防患勝于救災(zāi),責(zé)任重于泰山”的概念設(shè)計(jì)和完善火災(zāi)自動(dòng)報(bào)警系統(tǒng),將火災(zāi)消滅在萌芽狀態(tài),最大限度地減少社會(huì)財(cái)富的損失。 本系統(tǒng)可安裝在各防火單位,它負(fù)責(zé)不斷地向所監(jiān)視的現(xiàn)場(chǎng)發(fā)出巡檢信號(hào),監(jiān)視現(xiàn)場(chǎng)的溫度、濃度等,并不斷反饋給報(bào)警控制器,控制器將接到的信號(hào)與內(nèi)存的正常整定值比較、判斷確定火災(zāi)。當(dāng)發(fā)生火災(zāi)時(shí),可實(shí)現(xiàn)聲光報(bào)警、報(bào)警限設(shè)置、延時(shí)報(bào)警及與上位機(jī)串口通信等, 是一種結(jié)構(gòu)簡(jiǎn)單、性能穩(wěn)定、使用方便、價(jià)格低廉、智能化的煙霧傳感器,具有一定的實(shí)用價(jià)值。 關(guān)鍵詞 : 單片機(jī),火災(zāi)報(bào)警,傳感器 安徽建筑大學(xué) 畢業(yè)設(shè)計(jì)(論文) 2 ABSTRACT Now, With the modern home with fire, electricity consumption increases, the resulting fire, more and more, we live in fire hazards lurking around everywhere. To avoid fires and reduce fire losses, we must follow the hidden dangers fire in prevention is better than disaster relief, the responsibility is extremely heavy, the concept design and improvement of automatic fire alarm system, fire nipped in the bud, the maximum reduce the loss of social wealth. The system can be installed in all fire units, which is responsible for continuously monitoring the site to start the inspection signal, monitor the site of temperature, concentration, and continuous feedback to the alarm controller, the controller will receive the signal and the normal memory setting value was determined by paring to determine the fire. When fire occurs, can achieve sound and light alarm,alarm limit settings, delay alarm and serial munication with the host puter is a simple structure, stable performance, easy to use, inexpensive, intelligent smoke sensor, has some practical value. Keywords : SCM, fire alarm, sensor 安徽建筑大學(xué) 畢業(yè)設(shè)計(jì)(論文) 3 論 選題背景及意義 火災(zāi)是可燃物在時(shí)間或空間上失去控制的燃燒所造成的災(zāi)害,是威脅公眾安全和社會(huì)發(fā)展的主要災(zāi)害之一?;穑诮o人類(lèi)帶 來(lái)文明進(jìn)步、光明和溫暖的同時(shí)也在其失去控制之時(shí)給人類(lèi)造成了巨大的災(zāi)難。據(jù)統(tǒng)計(jì),我國(guó) 70 年代火災(zāi)平均損失不到 億元, 80 年