易燃气体智能监测系统设计
摘要:随着生活水平的提高,易燃气体的危险性和对危害性对人们的生活有着很深的影响,因此易燃气体的监测和报警是一项必要的工作。本论文设计的可燃气体智能监测系统由电源模块、检测部分、中央处理器、信号传送四部分组成。电源部分采用了220V交流电压,并通过降压电路转换成芯片所需的5V电压,检测部分选择了对大多数的可燃气体都比较敏感而且驱动电路简单的MQ-2传感器,中央处理器部分采用了ATMEGA328P单片机作为控制整个系统的CPU,通过传感器MQ-2将采集到的模拟信号数字化并传送给CPU,由CPU内部进行进一步处理,当气体浓度高于临界值时驱动报警装置进行报警,实现对可燃性气体进行报警控制装置。
关键词:易燃气体智能监测;模拟信号数字化;ATMEGA328P;MQ-2传感器;报警装置
Design of Intelligent Monitoring System for Flammable Gases
Abstract:With the improvement of living standards, the risk of flammable gas and deep harm to people’s life with the influence, so monitoring and alarm of flammable gas is a necessary work. The intelligent monitoring system of combustible gas in this paper by the power supply module, detection part, central processor, signal transmission of four parts power part adopts 220V AC voltage, and through step-down circuit converts the 5V voltage chip is required, the choice of the combustible gas detection part of most of the sensitive and simple MQ-2 drive circuit of the sensor, the central processor part adopts ATMEGA328P microcontroller as the control of the whole system of CPU, MQ-2 will be collected through the sensor simulation the digital signal and transmitted to CPU for further processing by the CPU, when the gas concentration is higher than the critical value driven alarm device alarm, the combustible Alarm control device for gas.
Keywords: Intelligent monitoring of flammable gases; Analog signal digitization ; ATMEGA328P; MQ-2 sensor; Alarm device
1.3 课题研究的主要内容………………………………….. 4
2.1.系统硬件结构图的建立……………………………….. 5
2.2 系统整体方案及硬件设计………………………………. 5
3.1 ATMEGA328P单片机…………………………………… 7
3.2 MQ-2传感器及放大电路设计…………………………….. 8
3.3 LM7805电源转换电路…………………………………. 10
3.5 12864液晶模块……………………………………… 13
3.6控制器的选择及电路设计………………………………. 14
4.5 IRQ2中端程序………………………………………. 22