【正文】
濱州學(xué)院本科畢業(yè)設(shè)計(論文) I 畢業(yè)設(shè)計(論文) 題 目 基于單片機的可燃?xì)怏w監(jiān)測 報警控制系統(tǒng)的設(shè)計 系 (院) 專 業(yè) 班 級 學(xué)生姓名 學(xué) 號 指導(dǎo)教師 職 稱 講師 二 〇 一 二 年六月十八日 濱州學(xué)院本科畢業(yè)設(shè)計(論文) II 基于單片機的可燃?xì)怏w監(jiān)測報警控制系統(tǒng)的設(shè)計 摘 要 本系統(tǒng)由 MQ2 傳感器、單片機 AT89C5模數(shù)轉(zhuǎn)換芯片 ADC080LCD1602 液晶顯示 屏構(gòu)成,其功能是監(jiān)測環(huán)境中可燃?xì)怏w的濃度,當(dāng)濃度達(dá)到設(shè)定的報警值時就會觸發(fā)聲光報警。本系統(tǒng)分為硬件設(shè)計和軟件設(shè)計兩部分。其中硬件設(shè)計部分包括氣體濃度采集電路, A/D 轉(zhuǎn)換電路、單片機最小系統(tǒng)電路、顯示電路、報警電路以及按鍵電路。當(dāng)系統(tǒng)工作時,信號采集電路將氣體濃度轉(zhuǎn)換為模擬電壓,通過 ADC 換器器轉(zhuǎn)換為數(shù)字信號送入單片機,單片機內(nèi)部建立濃度與電壓的關(guān)系,然后將結(jié)果送入 LCD 進(jìn)行顯示。如果可燃?xì)怏w的濃度達(dá)到報警值時會觸發(fā)聲光報警,同時無線控制模塊觸動閥門打開排氣扇。當(dāng)發(fā)生未知危險時還可手動進(jìn)行報警以及手動取消報警 。軟件部分通過 KEILC51 編程實現(xiàn),通過 PROTEUS 仿真,系統(tǒng)實現(xiàn)了預(yù)期的功能。 關(guān)鍵詞 : MQ2 傳感器; AT89C51 單片機; ADC0804 芯片; LCD 液晶 顯示; 無線發(fā)射接收模塊 濱州學(xué)院本科畢業(yè)設(shè)計(論文) i Design of Ignitable Gas Alarm Detector and Controller Based on MCU Abstract The system consists of MQ2 sensor, the single chip microputer AT89C51 analog to digital converter chip, the ADC0804, the LCD1602. Its function is to monitor the concentration of bustible gases in the environment, when the concentration reaches the alarm set value, the system will trigger sound and light alarm. The system is divided into hardware and software. Hardware consist of the acquisition circuit of the gas concentration, the A / D conversion circuit, the smallest system of AT89C51, circuit, display circuit, the alarm circuit and the key circuit. When the system is working, the signal acquisition circuit convert the gas concentration to analog voltage, then the analog voltage is converted by ADC converter device to digital signal and then send into the microcontroller, The cpu establish the relationship between concentration and voltage, then the result is dispiayed by 1602LCD .If the bustible gas concentration reaches the alarm set value, the system will trigger sound and light alarm, at the same time RF transceiver /receiver module touches the valve to open the exhaust an unknown risk happen, the system can also control to open the function of manually alarm and manually cancel the alarm. The programming is implemented by KEIL C51, and the system is simulated by PROTEUS. System achieved the desired function. Key word: MQ2 sensor; AT89C51; ADC0804; LCD; RF transceiver / receiver module 濱州學(xué)院本科畢業(yè)設(shè)計(論文) ii 目 錄 引言 1 第一章 報警器的概述 2 2 2 氣體傳感器的分類 2 3 第二章 主要元件介紹 3 AT89C51 單片機 5 概述 5 引腳及最小系統(tǒng) 5 時鐘電路 8 復(fù)位電路 9 ADC0804 10 概述 10 引腳介紹 10 A/D 性能參數(shù) 11 A/D 轉(zhuǎn)換的方法和原理 12 連接方式 18