第一范文网 - 专业文章范例文档资料分享平台

基于单片机的家用煤气泄漏监控系统的设计与实现 - 图文

来源:用户分享 时间:2025/5/16 22:17:30 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

目 录

摘 要 .................................................. 1 ABSTRACT ................................................ 2 第1章 绪论 ............................................. 3 1.1 课题来源及研究意义 ................................ 3 1.2 煤气泄漏监控系统的研究现状 ........................ 4 1.3 系统设计内容 ...................................... 4 第2章 煤气泄漏监控系统的方案设计 ........................ 5 2.1 设计思想 .......................................... 5 2.2 煤气泄漏检测监控系统的整体设计 .................... 5 2.3 气体传感器的选型 .................................. 6 2.3.1 气体传感器的介绍 ............................. 6 2.3.2 气体传感器的选定 ............................. 7 第3章 煤气泄漏监控系统的硬件部分设计 .................... 8 3.1 单片机系统的设计 .................................. 8 3.1.1 AT89C51单片机概述 ............................ 8 3.1.2 引脚和最小系统 ............................... 8 3.1.3 时钟电路 .................................... 10 3.1.4 复位电路 .................................... 11 3.2 按键电路设计 ..................................... 12 3.3 信号采集电路设计 ................................. 13 3.3.1 气体信号采集电路的设计 ...................... 13

3.3.2 温度信号采集电路的设计 ...................... 16 3.4 A/D转换部分电路设计 .............................. 17 3.4.1 模数转换芯片ADC0809 ......................... 17 3.4.2 A/D转换电路 ................................. 19 3.5 显示部分电路的设计 ............................... 20 3.5.1 LCD1602显示屏 ............................... 20 3.5.2 显示部分电路 ................................ 21 3.6 报警排风的电路设计 ............................... 21 第4章 煤气泄漏监控系统的软件部分设计 ................... 23 4.1 主程序流程图 ..................................... 23 4.2 温度采集流程图 ................................... 24 第5章 系统仿真 ........................................ 25 5.1 编程软件简介 ..................................... 25 5.2 仿真软件简介 ..................................... 26 5.3 仿真测试 ......................................... 27 5.4 实物制作 ......................................... 30 第6章 总结 ............................................ 32 附录 程序清单 .......................................... 34 致 谢 ................................................. 44

新乡学院本科毕业论文(设计)

摘 要

随着生活水平的提高,罐装煤气和煤气管道已经进入千家万户。在人们享受它带来的方便的同时,也受到了由于设备使用不当或者设备老化而导致的煤气泄漏的巨大威胁。煤气泄漏可以使人煤气中毒,煤气在和空气混合到一定比例形成的混合物还会发生爆炸,严重威胁到了人们的生命财产安全。针对这种情况设计了一种煤气泄漏监控系统,该系统可以很好的在家用煤气发生泄漏的时候发出警报,使危急情况得到处理。

本系统以AT89C51单片机为核心,由MQ-2传感器、单片机AT89C51、模数转换芯片ADC0809、LCD1602液晶显示屏、DS18B20构成,它的用途是测量空气中煤气的浓度及温度,在煤气浓度或者温度大于或者等于预设值定将发出声、光报警。该系统有硬件与软件设计两部分。硬件部分的设计包括煤气浓度采集电路的设计、温度采集电路的设计、模/数转换电路的设计、单片机最小系统电路和按键电路的设计、显示电路的设计、报警电路的设计。软件部分由KEILC51编程PROTEUS仿真。该设计主要完成了系统原理图的绘制,软件仿真,并利用单片机开发板实现了具体的功能,经验证该系统工作稳定可靠。

关键词:MQ-2传感器;报警;监控;AT89C51单片机

1

新乡学院本科毕业论文(设计)

ABSTRACT

With the improvement of living standards, canned gas and gas has entered innumberable families. While people enjoy it bring convenience, has been due to improper use or equipment aging of huge threat to gas leakage. Leaking gas can make the person the gas poisoning, the gas and air mixture to a certain proportion to form the mixture will be an explosion, a serious threat to people's life and property safety. For this situation is to design a kind of gas leak monitoring system, the system can be very good at the time of household gas leak alarm, for emergency treatment.

This system USES AT89C51 microcontroller as the core, by MQ - 2 sensor, single chip microcomputer AT89C51, modulus conversion chip ADC0809, LCD1602 LCD screen and DS18B20, its purpose is to measure the concentration of the gas in the air and the temperature, the gas concentration or temperature is equal to or greater than the preset value will send out sound and light alarm. The system hardware and software design of two parts. The design of the hardware part includes the gas concentration of acquisition circuit design, the design of the temperature acquisition circuit, d/a conversion circuit design, single chip microcomputer minimum system circuit and the design of key circuit, display circuit design, the design of the alarm circuit. Part of the software is KEILC51 programming PROTEUS simulation. This design is mainly completed the system schematic drawing, software simulation, and the use of microcontroller development board to achieve a specific function, verified the system work stable and reliable.

Key words: MQ - 2 sensors; alarm; monitoring; AT89C51

2

基于单片机的家用煤气泄漏监控系统的设计与实现 - 图文.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c2awpb4pcsu9ersb9r11q_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top