单片机的一氧化碳报警系统的设计与实现(附件)【字数:5892】
目录
一、绪论 1
(一) 课题的选题背景 1
(二) 课题研究现状 1
(三)本论文主要研究内容 1
二、 系统总体设计 2
(一)系统总框图 2
(二)系统功能设计 2
三、硬件设计 3
(一) 单片机的选取 3
(二)传感器模块 4
(三) 按键电路 5
(四)液晶显示模块 6
(五) LCD1602液晶显示电路 7
(六) 声光报警模块 8
(七) 排风扇驱动模块 9
(八) 设计的总原理图 10
四、 系统软件设计 13
(一)总体设计思路 13
(二) LCD1602液晶显示程序流程图 14
(三)键盘扫描子程序 15
17
五、系统调试 17
(一)系统软件 17
(二)系统测试 18
总 结 20
致 谢21
Abstract
As we all know, carbon monoxide is a harmful gas to the human body. In wi
*51今日免费论文网|www.jxszl.com +Q: @351916072@
nter, some households use a stove to keep the temperature, but when coal is burned, carbon monoxide gas is released. Carbon monoxide gas is harmful to the human body and can cause death by suffocation in severe cases. So the detection and early warning of carbon monoxide concentration is very necessary. Based on this, a kind of carbon monoxide alarm based on single chip microcomputer is designed in this paper to provide protection for peoples safety.
This design is a carbon monoxide alarm which can monitor and warn the concentration of carbon monoxide. The contents of this design are as follows: firstly, through surveying the literature and calculating different thresholds for carbon monoxide alarms; secondly, in the design, using the sensor to detect the concentration of carbon monoxide, and converting the concentration results to AD conversion; and then designing the code to compare the conversion results with the threshold values, and finally The comparison result is realized through the design of the external circuit.
The types of related equipment used in this design are as follows: STC89C51 microcontroller, MQ7 sensor, ADC0809, LCD1602 LCD screen. The specific function of this alarm is that when the carbon monoxide concentration is higher than the standard concentration, the exhaust fan can be activated to discharge carbon monoxide gas.
Keywords Carbon monoxide sensor; single chip microcomputer; intelligent control; LCD display
一、绪论
(一) 课题的选题背景
在日常生活中,一氧化碳的身影随处可见。在天气寒冷时如若采取炉子取暖,煤会经过燃烧放出一氧化碳,倘若浓度过高,将对人产生危害,严重可致使人死亡。科学家验证,倘若长期处于高浓度的一氧化碳环境中,对大脑皮层有严重危害。基于上述,本文设计一款能自动检测一氧化碳的浓度,一旦超出阈值,会进行报警并启动排气扇,将一氧化碳气体排除的一氧化碳报警系统。
本文是基于51单片机设计的一款一氧化碳报警系统,其主要功能是能对室内的一氧化碳浓度进行检测并显示,一旦超出标准浓度,会进行告警并启动装置排出,进而保障用户的生命安全。
(二) 课题研究现状
在当今,CO传感器常采取三点定电位的电化学原电池传感器。这种类型的传感器具有检测精准、性价比高等其他特点而得到较为广泛的应用。通常,此类传感器依据方式可分为:电化学法;电气法(热导式与半导式)、色谱层析法、光学吸收法。对我国出产的CO产品进行分析研究,发现其敏感元件设计及原材料不佳,导致产品质量欠佳等问题。
原文链接:http://www.jxszl.com/dzxx/dzdq/80056.html