{$cfg_webname}
主页 > 电子信息 > 电子 >

一氧化碳报警器的设计与制作

来源:56doc.com  资料编号:5D26851 资料等级:★★★★★ %E8%B5%84%E6%96%99%E7%BC%96%E5%8F%B7%EF%BC%9A5D26851
资料以网页介绍的为准,下载后不会有水印.资料仅供学习参考之用. 帮助
资料介绍

一氧化碳报警器的设计与制作(任务书,开题报告,论文11000字)
摘要
科技和生活水平的飞速发展使得人们对燃料能源如煤气或者天然气的需求越来越大。但是,层出不穷的CO中毒事件,极大的威胁着人们的安全。为了防止此类事件继续发生,制作出安全可靠的CO报警器就成了当务之急,本次设计就是制作出一个CO报警器。
本文使用MQ-7检测模拟CO含量,用数/模转换部件将模拟量变成数字量,单片机对数字量进行运算和处理,控制其他模块显示结果并决定是否报警,此报警器可设定上下限报警值。最终完成实物制作,满足设计要求:实时监测空气中CO浓度,并与报警阈值相比较,判读是否报警。报警时,红灯闪烁、黄灯亮、蜂鸣器响;不报警时:绿灯闪烁。
关键词:一氧化碳 单片机 传感器
 
The Design of Carbon Monoxide Alarm
Abstract
The rapid development of technology and standards of living makes it fuel energy sources such as coal or natural gas demand is growing. However, CO poisoning incident after another, the great threat to people's safety. In order to prevent such incidents continue to occur, making a safe and reliable CO alarm has become a priority, and we in this design is to produce a CO alarm.
Use MQ-7 CO detection simulation content, with digital / analog converter, the analog components into digital, single-chip digital computing and processing, control other components display the results and decide whether the alarm, the system can set upper and lower limits alarm. Finalize the physical production, to meet the design requirements: Real-time monitoring of CO concentration in the air, and compared with alarm thresholds, the interpretation of whether an alarm. Alarm, flashing red light, yellow light, buzzer; no alarm: flashing green.
Key words:Carbon Monoxide;SCM;Sensor
 

一氧化碳报警器的设计与制作


目录
摘要    I
Abstract    II
第一章 绪论    1
1.1 课题背景和意义    1
1.2 一氧化碳报警器的概述    1
1.3 本次设计的主要任务与论文结构    2
第二章 CO报警器的结构    3
2.1 报警器的工作原理    3
2.2报警器的基本结构    3
2.2.1硬件结构    3
2.2.2软件结构    4
2.3方案选择    4
第三章 硬件电路设计    5
3.1 单片机主控模块    5
3.1.1 主要性能    5
3.1.2 端口功能    6
3.1.3主控模块电路设计    9
3.2 一氧化碳传感器模块    10
3.2.1 传感器的结构和作用    10
3.2.2 常用传感器    11
3.2.3 一氧化碳气体传感器MQ-7介绍    12
3.2.4 传感器模块的电路设计    13
3.3 模数转换模块    14
3.3.1模数转换器ADC0809的工作原理    14
3.3.2 A/D转换电路设计    17
3.4液晶显示模块    17
3.4.1 LCD1602的具体参数    17
3.4.2 LCD1602的功能及引脚说明    18
3.4.3 LCD1602的指令说明及时序    19
3.4.4 液晶显示模块电路设计    21
3.5其他模块    21
3.5.1蜂鸣器模块    21
3.5.2 LED模块    22
3.6 完整电路图    22
第四章 软件的设计    24
4.1 软件设计要求及开发环境    24
4.1.1 设计要求    24
4.1.2 开发环境    24
4.2 CO报警器的流程图    25
4.3 各模块的程序设计    26
4.3.1 系统主程序    26
4.3.2 CO浓度显示子程序    28
4.3.3 按键模块子程序    30
4.3.4 中断函数    31
第五章 调试    33
5.1硬件调试    33
5.2 软件调试    33
5.3 各模块的调试    34
5.4 结果及分析    35
第六章 总结与展望    38
6.1  总结    38
6.2  展望    39
参考文献    40
致谢    41

推荐资料