摘要CO是一种无色无有毒的常见气体,而且在我们的日常生活中有着重要的作用,由于其不易被人察觉,往往成为生活中的安全隐患,轻者发生中毒呕吐,重者直接威胁到人的生命安全。本设计针对这一问题作出了对生活环境中CO 浓度的检测、报警于一体的设计,本设计方案采用了以STC89C52单片机为控制电路,一氧化碳传感器MQ-7为信息采集模块的设计思路。该系统在总体上实现先由MQ-7传感器进行信号采集,再由A/D转换电路将模拟信号转换为数字信号,然后经过STC89C52对数字信号进行识别与处理,最后由LCD显示当前检测的CO浓度值。50686
文中详细的阐述了该设计的各个功能模块的设计方案以及各类元器件的选择,总体上在实现对一氧化碳浓度检测的功能同时,还具有加快通风和报警的功能,当采样地点CO的浓度超出允许浓度值时,控制电路启动报警电路的同时驱动排风装置的电路,以此来达到安全保障的作用。
该论文有图15幅,表6个,参考文献9篇。
毕业论文关键词:一氧化碳检测 单片机 数据采集处理系统
Design of CO Detection and Alarm System Based on the MCU
Abstract CO is a common gase which is colorless, odorless and poisonous , but it also plays an important role in our daily life.since it is not easy to be detected, it often becomes a safety hazard in life.Light creats poisoning vomiting.In serious cases,it is a direct threat to the people's lives. To solve this problem,this design makes the detection of CO in our living environment and alarm concentrated in one system.The design uses STC89C52 MCU to control the circuit and uses carbon monoxide sensor mq-7 as an information acquisition module. Generally the system uses mq-7 sensor to acquisite signal, then uses the A / D conversion circuit to convert the analog signal to digital signal,then digital signal will be recognized and processed by STC89C52.Finally, the LCD displays current detection of CO concentration.
This paper describes the design of each functional module and the choice of various components in detial.Generally it realizes the function of detecting the concentration of carbon monoxide, at the same time, it also has the function to speed up the ventilation and alarm.when CO concentration exceeds the allowable value, in order to achieve security,the exhaust device and alarm circuit will be driven by the control circuit.
Key words: carbon monoxide detection microcomputer data acquisition and processing system
目 录
摘 要...I
Abstract ....... II
目录................Ⅲ
图清单............Ⅳ
表清单....Ⅳ
1 绪论....1
1.1设计背景...1
1.2课题目的.......2
1.3课题的意义 .....2
2 系统总体设计 ...3
3硬件选择及各模块电路设计..4
3.1硬件结构设计....4
3.2硬件选择及电路设计....4
4软件设计..16
4.1软件设计总体结构...16
4.2主程序模块的设计.......16
4.3模数转换程序的设计...............17
4.4 LCD显示模块程序的设计......18
5设计结果及分析..19
5.1系统硬件电路调试...........19
5.2系软件调试...........19
5.3实验结果.......19
总 结 .....20
参考文献 .......21
致 谢 .........22
附录一 整体电路原理图 .....23
附录二 实物图 .............24
图清单
图序号 图名称 页码
图3-1 硬件结构设计框图