登录

  • 登录
  • 忘记密码?点击找回

注册

  • 获取手机验证码 60
  • 注册

找回密码

  • 获取手机验证码60
  • 找回
毕业论文网 > 毕业论文 > 电子信息类 > 电子信息工程 > 正文

基于GSM的智能家居报警系统

 2022-12-09 12:01:11  

论文总字数:24330字

摘 要

本文设计了基于GSM的智能家居报警系统,具有检测家中的温度、可燃气体浓度以及防盗的功能。本系统采用了STC89C54RD 单片机为核心控制器,由GSM模块、传感器模块和报警模块组成。当温度传感器DS18B20采集到室内的温度超过设定阈值时、气体传感器MQ-2检测到天然气时、红外传感器模块DYP-ME003检测到人员异常闯入时,系统启动蜂鸣器报警,报警信号通过GSM短信模块发送到主人手机终端,从而实现对家中状况的实时反馈。该系统具有安全保密性高,又不需要组建专用网络和维护网络,网络覆盖面广,因此与传统的监控系统相比有着其独特的优势。

关键词:STC89C54RD 单片机;GSM模块;温度传感器;气体传感器;红外传感器

Intelligent home alarm system based on GSM

Abstract

This paper designs a smart home alarm system based on GSM, which has the functions of detecting the temperature, combustible gas concentration and anti-theft. The system uses STC89C54RD MCU as the core controller, which is composed of GSM module, sensor module and alarm module. When the temperature sensor DS18B20 collects that the indoor temperature exceeds the set threshold, the gas sensor MQ-2 detects the natural gas, and the infrared sensor module DYP-ME003 detects the abnormal intrusion of personnel, the system starts the buzzer alarm, and the alarm signal is sent to the owner's mobile terminal through the GSM short message module, so as to realize the real-time feedback of the home situation. The system has high security, and does not need to set up a dedicated network and maintenance network, network coverage, so compared with the traditional monitoring system has its unique advantages.

Keywords: STC89C54RD MCU;GSM module;Temperature sensor;Gas sensor;Infrared sensor

目 录

摘要..............................................................................................................................................................Ⅰ

Abstract........................................................................................................................................................Ⅱ

第一章 引 言........................................................................................................................................................1

1.1选题背景...........................................................................................................................................................1

1.2智能家居发展现状...........................................................................................................................................1

1.2.1国外智能家居发展概述........................................................................................................................2

1.2.2中国智能家居发展概述........................................................................................................................2

1.3课题的研究内容...............................................................................................................................................2

  1. 系统方案设计..........................................................................................................................................4

2.1设计思路...........................................................................................................................................................4

2.2工作原理...........................................................................................................................................................4

  1. 硬件设计..................................................................................................................................................6

3.1总体电路图.......................................................................................................................................................6

3.2STC89C54RD 芯片.........................................................................................................................................6

3.2.1STC89C54RD 引脚..............................................................................................................................7

3.3电源电路...........................................................................................................................................................8

3.4按键控制电路...................................................................................................................................................9

3.5报警电路...........................................................................................................................................................9

3.6LCD1602液晶显示电路.................................................................................................................................10

3.7SIM800模块电路............................................................................................................................................10

3.8温度传感器模块电路.....................................................................................................................................11

3.9人体红外传感器模块电路.............................................................................................................................11

3.9.1红外线传感器......................................................................................................................................12

3.9.2信号处理电路......................................................................................................................................12

3.10气体检测模块...............................................................................................................................................13

3.11单片机最小系统...........................................................................................................................................14

3.11.1复位电路............................................................................................................................................15

第四章 软件设计................................................................................................................................................17

4.1系统开发环境介绍.........................................................................................................................................17

4.2软件主程序架构.............................................................................................................................................18

4.3LCD1602显示流程图.....................................................................................................................................19

4.4串口GSM函数流程图....................................................................................................................................20

4.5温度检测流程图.............................................................................................................................................21

4.6按键子程序.....................................................................................................................................................22

4.7报警流程图.....................................................................................................................................................23

4.8气体浓度程序流程图.....................................................................................................................................23

第五章 实验与验证............................................................................................................................................25

5.1焊接.................................................................................................................................................................25

5.2功能测试.........................................................................................................................................................25

第六章 总结与展望............................................................................................................................................27

6.1总结.................................................................................................................................................................27

6.2展望.................................................................................................................................................................27

致 谢....................................................................................................................................................................28

参考文献(References)....................................................................................................................................29

附 录....................................................................................................................................................................30

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

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

企业微信

Copyright © 2010-2022 毕业论文网 站点地图