家居环境可燃气体监测系统设计摘要:本设计提出了一个基于MQ-2传感器和STC12C5604AD单片机的家居环境可燃气体监测系统的设计方案
本设计主要包括七个组成部分:电源模块、传感器电路模块、MCU控制模块、LCD显示模块、报警电路模块、串口通信模块和上位机模块
本系统的MCU采用自带ADC功能的增强型51单片机STC12C5604AD
传感器MQ-2将可燃气体浓度信息转换成电压信号,由MCU的ADC采集电压,将电压值通过换算转换成对应的浓度值用于LCD显示,并通过串口将浓度值发送给上位机
上位机部分实现对可燃气体浓度曲线的动态显示,报警浓度门限设置以及对报警装置的控制等功能
关键词:可燃气体监测系统,MQ-2,STC12C5604AD,上位机Abstract:ThisdesignputsforwardaschemeofcombustiblegasmonitorbasedonsensorofMQ-2andSTC12C5604ADmicrocontroller
Thisdesignmainlyincludessevenparts:powersupplymodule,sensormodule,MCUcontrolmodule,LCDmodule,alarmcircuitmodule,serialportcommunicationmoduleandaPCmodule
ThesystemUSEStheMCUofSTC12C5604ADwhichincludeADCfunction
SensorMQ-2willconvertflammablegasconcentrationinformationintovoltagesignal,UsingtheADCtocollectthevoltage,TheMCUconvertthevoltagevalueintothecorrespondin