{$cfg_webname}
主页 > 电子信息 > 单片机 >

基于单片机的气体检测系统设计

来源:wenku163.com  资料编号:WK16314480 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9AWK16314480
资料介绍

基于单片机的气体检测系统设计(论文11600字)
摘要:现如今,人们的生活水平提高,大家对住房的要求也越来越高,装修的多样化导致室内空气污染物也越来越多,尤其像甲醛、一氧化碳、氨气等气体超标严重,影响着人们的身体健康。当前市面上关于检测室内空气质量的仪器,虽然精度高,但成本过高,设备复杂。人们急需一种方便简单,性价比高的测量工具。
     鉴于此,本文旨在研究基于单片机的空气质量检测设计,通过了解有害气体传感器的工作原理,完成硬件与软件系统的设计。本设计以51单片机为系统控制核心,采用甲醛气体传感器、一氧化碳气体传感器和氨气传感器,把传感器技术和单片机控制技术相结合,实现对空气中有害气体浓度的检测;利用LCD显示器显示三种气体浓度的事实值;通过按键设置系统设置三种气体浓度的合格预定值;外接蜂鸣报警器,当三种有害气体中任意气体浓度超过预定值,都会实现自动报警。设计的软件方面,本研究以keil4为编程环境,利用C语言进行编程。
关键词:单片机;有害气体检测;自动报警;气体传感器。

Design of air quality detection based on MCU
Abstract: Nowadays, people's living standard improved, everyone on the housing requirements are increasingly high, decoration diversification leads to indoor air pollutants are more and more, such as formaldehyde, carbon monoxide and ammonia gas exceed the standard seriously affects people's health. At present, the market on the detection of indoor air quality instruments, although high accuracy, but the cost is too high, complex equipment. People need a convenient, simple and cost-effective measuring tool.
In view of this, the purpose of this paper is to design the air quality detection system based on single chip microcomputer. Through understanding the working principle of the harmful gas sensor, the design of hardware and software system is completed. This design is based on 51 single-chip microcomputer as the core of the control system, the formaldehyde gas sensor, carbon monoxide and ammonia gas sensor sensor, the sensor technology and single chip microcomputer control technology, realize the harmful gas concentration detection in air; using LCD to display three kinds of gas concentration in value; set qualified predetermined value system set up three kinds of gas concentration using buttons; external buzzer alarm, when any three kinds of harmful gases in the gas concentration exceeds a predetermined value, will automatically alarm. For the design of software, this research takes keil4 as programming environment and uses C language to program.
Key words: single chip microcomputer; harmful gas detection; automatic alarm; gas sensor.
 

基于单片机的气体检测系统设计
基于单片机的气体检测系统设计


目 录
第一章 绪论    1
1.1研究背景及意义    1
1.2国内外研究现状    1
1.3主要研究内容与论文结构    2
第二章 系统的总体设计    4
2.1单片机选择方案与论述    4
2.2甲醛检测模块选择方案与论述    4
2.3氨气检测模块选择方案与论述    4
2.4一氧化碳检测模块选择方案与论述    5
2.5功能需求分析    5
2.6研究的总体设计    5
第三章 系统的硬件设计与连接    7
3.1甲醛气体检测设计    7
3.2氨气气体检测设计    10
3.3一氧化碳气体检测设计    12
3.4单片机的选择    14
3.5报警模块设计    17
3.6显示电路部分设计    18
第四章 系统的软件设计    21
4.1软件编程环境    21
4.2主模块的程序设计    21
4.3A/D 采集程序    22
4.4按键子程序    23
第五章 系统的测试与运行    25
5.1测试的内容    25
5.2测试的结果与分析    27
第六章 总结与展望    27
参考文献    28
致谢    30

推荐资料