【正文】
成本設(shè)計(jì)的寫(xiě)作過(guò)程中,我十分感謝我的指導(dǎo)老師田豐老師。 但是也存在不少的不足。按鍵由于彈性作用的影響,在閉合及斷開(kāi) 17 均有抖動(dòng)過(guò)程,從而使電壓也出現(xiàn)抖動(dòng),所以在識(shí)別按鍵時(shí)要消除抖動(dòng)的影響。干擾通常只影響個(gè)別采樣點(diǎn)的數(shù)據(jù),此數(shù)據(jù)與其他采樣點(diǎn)的數(shù)據(jù)相差比較大。 圖 硬件總圖 13 第四章 系統(tǒng)的軟件設(shè)計(jì) 第一節(jié) 主程序設(shè)計(jì)與流程圖 一、 主程序設(shè)計(jì) 主程序初始化流程圖如下所示。 圖 指示燈連接圖 四、 報(bào)警器故障自診電路 (1)判斷傳感器電源連接情況 在傳感器的地端串聯(lián)一個(gè)電阻 R16。報(bào)警裝置采用 電磁式無(wú)源蜂鳴器 HC12075B其參數(shù)特點(diǎn)如下: 額定電壓: 額定電流: =10mA~ =70Ma 聲壓電平: =75~ =85 諧振頻率: 2048Hz 線圈電阻: 177。 ADC0809 的通道選擇地址由 MCS51的 ~ 經(jīng)地址鎖存器 74LS373 輸出提供。然后利用二極管的單向?qū)ㄐ?,將交流電壓變換為單方向的脈沖直流電壓,再利用電容儲(chǔ)能元件組成的濾波電路,將脈動(dòng)大的直流電壓處理成平滑的脈動(dòng)小的直流電壓,即將整流電路輸出的脈動(dòng)直流電壓中的交流成分濾掉,只留下比較平滑 的直流電壓,最后利用集成穩(wěn)壓器 W7805,讓電源電路的輸出電壓穩(wěn)定為 5V,以此作為系統(tǒng)各個(gè)部分電路的電源。為此,在 PO口的電路中有一個(gè)多路轉(zhuǎn)接電路 MUX。 根據(jù)報(bào)警器檢測(cè)復(fù)合(煙、光、熱)種類(lèi)的不同要求,很多場(chǎng)合都會(huì)選擇使用半 5 導(dǎo)體復(fù)合(煙、光、熱)傳感器。為了保證其可靠性,在輸出 5V的電壓的同時(shí),進(jìn)行 故障監(jiān)測(cè)。 設(shè)計(jì)中為了方便檢測(cè)與監(jiān)控,使儀器測(cè)試人員及用戶能夠間接知道環(huán)境中的復(fù)合(煙、光、熱)濃度,所以用數(shù)碼管顯示字符來(lái)指示報(bào)警狀態(tài)。( 3)光輻射探測(cè)器。智能化火災(zāi)報(bào)警系統(tǒng)已并非傳統(tǒng)意義上的簡(jiǎn)單的報(bào)警設(shè)備,而是融入了計(jì)算機(jī)技術(shù)、電子技術(shù)、自動(dòng)控制技術(shù)、傳感器的應(yīng)用等各領(lǐng)域知識(shí)。 Give us security at the same time, also masks a danger. Rich kinds of electronic products, also caused the production of various kinds of fire, we should in line with the attitude of nip in the bud, will be killed in the bud. Constant innovation, perfect the family fire alarm system, makes it a safe and reliable safety in our daily life. This article adopted at present more advanced gas sensor () smoke sensor, temperature sensor, MCS 51 single chip microputer and leds constitute a plete integrated system, not only can achieve a good sound and the lights of the integrated alarm prompt, also can be a good realtime data display to users, let people understand the current degree of accident, and adding co., LTD., delayed alarm, etc. Can give maximum speed alarm, the user and security. At the same time, also detailed introduction of the function and hardware circuit design of each part. KEY WORDS : Fire alarm MCS51microputer The sensor security circuit 目 錄 第一章 緒言 ......................................................................................................................... 1 第一節(jié) 傳感器的發(fā)展 .................................................................................................. 1 第二節(jié) 單片機(jī)的發(fā)展 .................................................................................................. 1 第三節(jié) 制作意義及背景 ............................................................................................ 1 第二章 系統(tǒng)總體方案的設(shè)計(jì) ........................................................................................... 3 第一節(jié) 系統(tǒng)總體框圖 .................................................................................................. 3 第二節(jié) 系統(tǒng)配件的選擇 .............................................................................................. 4 第三章 系統(tǒng)的硬件電路設(shè)計(jì) ........................................................................................... 7 第一節(jié) 電源電路 .................................................................