1、 毕业设计(论文) 题 目 基于单片机的可燃气体监测 报警控制系统的设计 系 (院) 专 业 班 级 学生姓名 学 号 指导教师 职 称 讲师 二一二年六月十八日 I 基于单片机的可燃气体监测报警控制系统的设计 摘 要 本系统由 MQ-2 传感器、 单片机 AT89C51、 模数转换芯片 ADC0804、 LCD1602 液晶显示屏构成,其功能是监测环境中可燃气体的浓度,当浓 度达到设定的报警值时就会触发声光报警。本系统分为硬件设计和软件 设计两部分。 其中硬件设计部分包括气体浓度采集电路, A/D 转换电路、 单片机最小系统电路、显示电路、报警电路以及按键电路。当系统工作 时,信号采集电路将
2、气体浓度转换为模拟电压,通过 ADC 换器器转换 为数字信号送入单片机,单片机内部建立浓度与电压的关系,然后将结 果送入 LCD 进行显示。如果可燃气体的浓度达到报警值时会触发声光 报警,同时无线控制模块触动阀门打开排气扇。当发生未知危险时还可 手动进行报警以及手动取消报警。 软件部分通过 KEILC51 编程实现, 通 过 PROTEUS 仿真,系统实现了预期的功能。 关键词:MQ-2 传感器;AT89C51 单片机;ADC0804 芯片;LCD 液晶 显示; 无线发射接收模块 i Design of Ignitable Gas Alarm Detector and Controller B
3、ased on MCU Abstract The system consists of MQ-2 sensor, the single chip microcomputer AT89C51 analog to digital converter chip, the ADC0804, the LCD1602. Its function is to monitor the concentration of combustible gases in the environment, when the concentration reaches the alarm set value, the sys
4、tem 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 syst
5、em 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
6、is dispiayed by 1602LCD .If the combustible 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 fan.When 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