1、编号: 毕业设计说明书 题 目: 便携式可燃气体检测仪 院 (系) : 电子工程与自动化学院 专 业: 智能科学与技术 学生姓名: 学 号: 指导教师: 职 称: 题目类型:题目类型: 理论研究 实验研究 工程设计 工程技术研究 软件开发 2013 年 5 月 20 日 摘 要 本设计利用三个 MQ-X 系列可燃气体传感器,分别为检测一氧化碳的 MQ-7,检测甲 烷的 MQ-9,和检测乙炔的 2M004,再使用这些传感器之前先预热十分钟左右,预热完之 后将这些传感器放置于待测的环境中,这些传感器可以根据可燃气体的浓度分别转换为 电压,然后再将转换得的电压经过 TLC549 进行模数转换最后送入
2、 AT89S52 单片机处理。 为了方便用户对可燃气体浓度的实时了解,在 AT89S52 单片机外围链接了用于显示的 LCD1602 液晶显示屏,把经过单片机处理过的浓度值显示在液晶屏上,以防止事故的发 生;为了更好的设置可燃气体的报警浓度,还在单片机周围链接了按键以便于设置报警 浓度,当所测得的浓度超过设置的浓度时,单片机控制发光二极管和蜂鸣器发光发声; 通过串口把实时采集到的浓度传给上位机,并在上位机上显示出来,从而实现在上位机 上的监测。 本次设计便携式可燃气体检测仪所用的 AT89S52 单片机价格便宜, 性能稳定。 以 MQ-X 系列的可燃气体传感器和以 AT89S52 单片机为核心
3、设计的可燃气体检测仪,设计方法简 单易行,使用效果良好。下面给出了便携式可燃气体监测仪的总体设计原理,硬件电路 和所有的软件设计。 关键词:关键词: 气体传感器,气体传感器,AT89S52AT89S52 单片机,上位机,模数转换单片机,上位机,模数转换 Abstract This design USES three MQ - X series of combustible gas sensor, respectively for the detection of carbon monoxide MQ - 7, mq-9 to detect methane, and detection of a
4、cetylene 2 m004, then use these sensors to preheat before ten minutes or so, preheating after placing the sensors in the test environment, these sensors can be according to the concentration of combustible gas is converted to a voltage respectively, and then will be converted to voltage after eight
5、bits, modulus conversion finally into the single chip microcomputer AT89S52. For the convenience of users of real-time understanding of the combustible gas concentration, the AT89S52 microcontroller peripheral link is used to display LCD1602 LCD display screen, the treated by single chip microcomput
6、er was displayed in the LCD screen, in order to prevent the happening of the accident; In order to set the concentration of combustible gas alarm, also around the microcontroller link the button to set the alarm concentration, when measured by the concentration of more than one set of concentration, single-chip microcomputer control light-emitting light-emitting diodes (leds) and a buzzer sound; Via a serial port to the PC