基于单片机的可燃气体探测报警控制系统
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
科技学院新科学院
2014届本科毕业论文(设计)
基于单片机的可燃气体探测报警控制系统
学生:侯青青
所在院系:新科学院电气工程系
所学专业:电子信息工程
导师:***
完成时间:2015年4月10日
基于单片机的可燃气体探测报警控制系统
摘要
随着电子科学技术的进步和发展,电子技术逐渐成为安全方面的有力手段,许多安全方面的电子产品,是人们在生活中的得力助手。本设计利用单片机技术结合A/D转换芯片构建了一个可燃气体探测报警系统。当环境中可燃气体泄露并达到一定浓度时,可燃气体报警报警系统将会检测到并发出报警信号,以提醒工作人员采取安全措施。本文首先简要介绍了可燃气体探测报警控制系统的主要方式以及单片机系统的优势,后又详细地介绍了可燃气体探测报警控制系统的设计流程,以及硬件系统和软件系统的设计,给出了硬件电路的设计细节,包括各个部分电路、芯片的选择、方案的可行性分析等。
本系统主要由传感器MQ-2、单片机AT89C52、模数转换芯片ADC0808、液晶显示屏LCD1602构成,其功能是对环境中可燃气体的浓度进行监测,当浓度达到原本设定的报警值时,就会触发声光报警。其主要工作流程为:首先由传感器MQ-2对环境中有害气体的浓度进行采集,然后将其转化为相应的电压值,将模拟信号采集处理后传送给模数转换芯片ADC0808,再将转换后的数字信号传送给单片机AT89C52,单片机部建立浓度与电压的关系,将结果送入LCD进行显示,若可燃气体浓度达到报警值时会触发声光报警,从而能够降低日常生活中可燃气体泄漏所引起的事故的发生。
关键词:单片机,可燃气体,MQ-2传感器
Design of Ignitable Gas Alarm Detector and Controller Based
on MCU
Abstract
With the progress and development of electronic science and technology, electronic technology has become the powerful tools for the security, many security electronic products, is people in life's right-hand man. This design using the single chip microcomputer technology combined with the A/D conversion chip built A combustible gas detection alarm system. When the combustible gas leakage in the environment and achieve a certain concentration, combustible gas alarm alarm system will be detected and signal alarm, to remind staff to take safety precautions. This paper first briefly introduces the main way of combustible gas detection alarm control system and the advantage of single chip microcomputer system, and introduces in detail the design process of the control system of flammable gas detection alarm, and the design of hardware system and software system, details the design of hardware circuit are given, including the selection of each part of the circuit, chip, project feasibility analysis, etc.
MQ - 2 this system is mainly composed of sensor, microcontroller AT89C52, modulus conversion chip ADC0808, LCD display LCD1602, its function is to the concentration of the combustible gas in environment monitoring, when the concentration reaches originally set alarm value, will trigger a sound and light alarm. Its main working process is: first by the sensor MQ - 2 to acquisition of the concentration of harmful gas in the environment, and then translate them into corresponding voltage value, the analog signal collection and processing will be sent to ADC0808 modulus conversion chip, then the converted digital signal transmitted to the single chip microcomputer AT89C52, MCU internal build relations between the concentration and voltage, the results into the LCD display, if combustible gas concentration reaches the alarm value, will trigger the acousto-optic alarm so that they can reduce daily life caused by combustible gas leakage accidents.