基于GSM的家用煤气智能监控系统的设计

 2023-03-08 03:03

论文总字数:25183字

摘 要

在如今的社会中,煤气已经成为生活中非常常见的能源了。虽然煤气的使用非常方便,但是随着使用频率的增加和使用范围的扩大煤气所造成的事故也越来有多,其中绝大部分的安全事故都是由煤气泄漏引起的。煤气是由多种可燃气体组成的,这些气体一般都有毒性,如果人体吸入过多就会导致煤气中毒,同时煤气爆炸也是十分危险的,所以为了防止煤气的泄漏和保证使用者的安全,设计开发可靠的煤气监控系统就显得尤为重要。

GSM移动通讯模块是目前比较成熟和完善的移动通讯技术,其使用领域非常广泛。GSM系统采用AT指令进行控制并能通过PDU编码的方式编写内容较为复杂的文本信息,其在本系统中主要用到的功能是接收和发送短信,负责与用户之间的远程通讯。

本次设计主要是针对煤气泄漏之后对其中两种特定气体的浓度进行检监控,以此来防止煤气泄漏造成安全事故。在本次设计中采用了增强型51单片机—STC89C52作为主控芯片,通过MQ-2,MQ-9检测甲烷和一氧化碳的浓度经过ADC0832进行模数转换后由1602液晶显示屏显示出数值,如果浓度超出设定值后由报警电路和GSM模块进行报警。本系统采用多种报警模式能及时的通知用户避免事故发生。

关键词:GSM模块;单片机; 传感器;煤气泄漏

Design of Household Gas Intelligent Monitoring System Based on GSM

Abstract

In today"s society, gas has become a very common source of energy in life.Although the use of gas is very convenient, but with the increase in the use of flat rate and the use of the scope of the expansion of the accident caused by the gas is also more and more, most of the safety accidents are caused by gas leakage.There is a variety of gas consisting of combustible gas, these gases are generally toxic if inhaled too much will lead to gas poisoning, and gas explosion is very dangerous, so in order to prevent gas leakage and ensure the safety of the user design and development of reliable gas monitoring system is particularly important.

GSM mobile communication module is a relatively mature and perfect mobile communication technology, which is widely used in the field.The GSM system uses AT commands control and write more complex content text information through the PDU encoding, which is mainly used in this system is the function of sending and receiving messages, and responsible for remote communication between users.

The design is mainly for the gas leak after the detection of the concentration of two kinds of specific gases, in order to prevent gas leakage caused by security incidents.In this design using enhanced 51 MCU STC89C52 as the main control chip, through the MQ-2, the concentration of methane and carbon monoxide MQ-9 detection by ADC0832 for analog-to-digital conversion by 1602 LCD display value, if the value of the alarm circuit and the GSM module for alarm beyond the concentration.The system uses a variety of alarm mode can promptly notify the user to avoid accidents.

Keywords:GSM Module; Single Chip; Sensor;Gas Leakage

目 录

摘 要 I

Abstract II

第一章 绪 论 1

1.1 研究背景及意义 1

1.2 系统的研究现状 1

1.3 设计任务 2

1.4 本文结构 2

第二章 智能煤气监控系统方案设计 3

2.1 系统方案设计 3

2.1.1 单片机方案设计 3

2.1.2 显示模块方案设计 3

2.1.3 气体传感器方案设计 4

2.1.4 GSM模块方案设计 4

2.2 本章小结 4

第三章 煤气智能监控系统的硬件部分 5

3.1 主控模块设计 5

3.1.1 STC89C52芯片的介绍 5

3.1.2 最小系统设计 5

3.2 GSM模块设计 6

3.2.1 GSM模块介绍 6

3.2.2 GSM模块电路设计 6

3.3 报警电路设计 6

3.3.1 蜂鸣器模块的介绍和设计 6

3.3.2 LED模块的介绍和设计 7

3.4 LCD模块的设计 7

3.4.1 LCD模块介绍 7

3.4.2 LCD模块电路设计 8

3.5 传感器及A/D模块设计 8

3.5.1 传感器介绍 8

3.5.2 ADC0832模块介绍 9

3.5.3 传感器及A/D模块电路设计 10

3.6 本章小结 10

第四章 系统软件设计 11

4.1 C语言介绍 11

4.2 系统总软件设计 11

4.3 1602液晶显示模块软件设计 12

4.4 报警模块软件设计 13

4.5 GSM短信发送软件设计 14

4.6 本章小结 15

第五章 系统调试 16

5.1 硬件的调试 16

5.2 软件的调试 16

5.3 本章小结 16

第六章 结束语 17

致 谢 18

参考文献 19

附 录 20

第一章 绪 论

1.1 研究背景及意义

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

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

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