室内CO含量测试仪设计

 2023-03-10 09:03

论文总字数:21632字

摘 要

CO在空气中含量相对较少,是没有任何味道的气体。属于易燃易爆,并且能使人中毒的气体。当CO浓度较高时,CO会伴随着空气被吸入肺中,造成慢性中毒,从而缺氧导致无法呼吸,危害性极大。CO伴随着空气一起进入了人体的肺部,与血红蛋白相结合。并且CO与血红蛋白相结合不容易被分离出来。从而导致人体的组织缺氧,就会窒息中毒了。CO造成的人体缺氧中毒的这种现象,我相信在大部分人身边都会有听到相似或相同的事件。所以在我们的生活中,是十分需要很好的带报警的CO监测仪器。保护生命与财产。我的这篇文章与设计就是针对现在的气体报警器。设计并且制作的室内CO监测仪,能够保障人们的生命与财产的安全。

我这次设计的室内CO含量测试仪,是利用模数转换原理,能够把被测的电压模拟量转换成数字量,再通过液晶数字显示出来。我的设计是采用了ADC0809对输入的电压模拟信号来进行转换的;以STC89C51单片机为控制核心。对转换的结果来进行后续的运算以及处理。最后驱动LCD1602显示数字信号,并将数值与设定值做比较控制声光报警和继电器是否吸合,能够检测CO浓度,如果检测值超过设定值仪器会进行报警。

关键词:STC89C51;ADC0809;LCD1602

Design of indoor CO content tester

Abstract

CO in the air content is relatively small, there is no taste of the gas. Belong to the flammable and explosive, and can make people poisonous gas. When the CO concentration is high, CO will be accompanied by the air was inhaled into the lungs, resulting in chronic poisoning, resulting in hypoxia can not breathe, great harm. CO along with the air into the body"s lungs, combined with hemoglobin. And CO and hemoglobin combination is not easy to be separated. Which led to the organization of the body hypoxia, will suffocate poisoning. CO caused by the human body hypoxia poisoning of this phenomenon, I believe that most people will have heard around the same or the same event. So in our lives, is very good with a good alarm with the CO monitoring equipment. Protect life and property. My article and design is for the current gas alarm. Design and production of indoor CO monitor, to protect people"s lives and property safety.

I designed the indoor CO content tester, is the use of analog-to-digital conversion principle, can be measured voltage analog quantity into digital, and then through the LCD digital display. My design is to use the ADC0809 input voltage analog signal to be converted to STC89C51 microcontroller as the control core. The results of the conversion to the subsequent operation and processing. Finally, drive the LCD1602 to display the digital signal, and compare the value with the set value to control the sound and light alarm and relay whether to pull, to detect the CO concentration, if the detection value exceeds the set value of the instrument will be alarm.

Keywords:STC89C51;ADC0809;LCD1602

目 录

摘 要 I

Abstract II

第一章 绪论 1

1.1选题背景与意义 1

1.2研究现状 1

1.3设计要求 2

第二章 总体设计方案 3

2.1系统的功能要求 3

2.2 系统的技术要求 3

2.3 系统的组成及方案设计 3

第三章 系统的硬件设计 4

3.1 主控电路 4

3.1.1单片机最小系统 5

3.2 CO气体检测电路的设计 7

3.2.1 MQ-7介绍 7

3.2.2 ADC0809介绍 8

3.3 液晶显示电路设计 9

3.4 声光报警提示电路 11

3.4.1 灯光提示电路 11

3.4.2 声音报警电路 12

3.5 负载控制电路 13

3.6 按键电路 13

第四章 系统的软件的设计 15

4.1 软件介绍 15

4.2 系统程序设计 16

4.2.1主程序软件设计 16

4.2.2初始化函数 17

4.2.3读取信息子程序设计 17

4.2.4按键控制子程序设计 17

4.2.5定时器函数子程序设计 18

第五章 系统调试 19

5.1硬件调试 19

5.2软件调试 19

第六章 总结 22

参考文献(References) 23

致谢 24

附录 25

附录Ⅰ:系统设计原理图 25

附录Ⅱ:室内CO含量测试仪功能代码 26

剩余内容已隐藏,请支付后下载全文,论文总字数:21632字

您需要先支付 80元 才能查看全部内容!立即支付

该课题毕业论文、开题报告、外文翻译、程序设计、图纸设计等资料可联系客服协助查找;