基于GSM的智能防盗系统设计与实现

 2022-09-13 02:09

论文总字数:27280字

摘 要

GSM全称全球移动通信系统,自90年代中期开始投入商用后现已被世界上大部分国家采用。近年来,防盗报警装置已成为银行、商店、办公楼等场所普遍采用的设备, 如何改进GSM防盗系统使其普及范围更广是十分重要的问题。本文通过查阅国内外相关资讯,在现有产品上加以改进,在原有的仅用红外模块感应室内是否遭人侵入的产品的基础上,添加了超声波传感器来判定门窗是否遭人打开,系统外加了AT24C02存储器使得用户能够自己设定超声波报警的临界值,并且采用了STC89C52单片机作为核心控制器,利用其内部的3个定时器来达到利用超声波传感器模块测距,人体红外模块测室内是否有人移动,最后再通过GSM模块发送消息的功能。经过硬件设计和软件程序编写后,实物可完成以预期的报警效果。可设置报警距离;可在超声波测距后,在液晶上显示距离并与报警距离值进行比较,若大于报警值则触发声光报警并发送短信;可用红外传感器检测是否有人移动,若在检测范围内测得有人,则在液晶上显示相关信息,触发声光报警并发送短信。

关键词:GSM;人体红外传感器;超声波传感器;STC89C52单片机;AT24C02存储器

Intelligent anti theft system based on GSM

Abstract

GSM is a global mobile communication system. It has been adopted by most countries in the world since it was put into commercial use in the mid-1990s. In recent years, anti-theft alarm device has been widely used in banks, shops, office buildings and other places. How to improve the GSM anti-theft system to make it more popular is a very important problem. In this paper, by referring to the relevant information at home and abroad, the existing products are improved. On the basis of the original products that only use infrared module to sense whether the indoor is invaded by people, the ultrasonic sensor is added to determine whether the doors and windows are opened by people. The system is added with AT24C02 memory to enable the user to set the critical value of ultrasonic alarm by himself, and STC89C52 single chip microcomputer is used as As the core controller, it uses three internal timers to achieve the function of using ultrasonic sensor module to measure the distance, human body infrared module to measure whether there are people moving in the room, and finally send messages through GSM module. After hardware design and software programming, the real object can achieve the expected alarm effect. The alarm distance can be set; after ultrasonic distance measurement, the distance can be displayed on the LCD and compared with the alarm distance value. If the distance is greater than the alarm value, the audible and visual alarm will be triggered and a short message will be sent; the infrared sensor can be used to detect whether someone moves, if someone is measured within the detection range, the relevant information will be displayed on the LCD, the audible and visual alarm will be triggered and a short message will be sent.

Keywords: GSM, Infrared sensor of human body, ultrasonic sensor, STC89C52 single chip microcomputer, AT24C02 memory

目录

摘要 I

Abstract II

第一章 引 言 1

1.1 研究目的与意义 1

1.2 国内外研究现状 1

第二章 GSM网络体系与短消息业务 2

2.1 GSM网络体系 2

2.2 短消息业务 3

2.3 本章小结 3

第三章 GSM智能防盗系统硬件选型 4

3.1 STC89C52单片机 4

3.2 LCD1602A液晶显示模块 4

2.1 HC-SR501人体红外传感器模块 4

3.4 GA6-B GSM模块 4

3.5 HC-SR04超声波模块 5

3.6 AT24C02存储器 5

3.7 四位数码管 5

3.8 本章小结 5

第四章 GSM智能防盗系统软件硬件设计 6

4.1 开发用软件介绍 6

4.2 GSM防盗系统原理图及PCB图设计 8

4.2.1 原理图设计 8

4.2.2 PCB图设计 9

4.3 GSM防盗系统设计 10

4.3.1 LCD1602A液晶显示模块设计 10

4.3.2 GSM模块设计 11

4.3.3 HC-SR04超声波传感器设计 11

4.3.4 HC-SR501人体红外传感器设计 12

4.3.5 四位数码管设计 12

4.3.6 辅助测距设计 12

4.3.7 主体控制设计 12

4.4 本章小结 13

第五章 设备调试结果及分析 14

5.1 系统硬件检测 14

5.2 GSM模块调试 15

5.3 HC-SR04超声波模块调试 16

5.4 HC-SR501人体红外传感器调试 17

5.5 按键功能调试 18

5.6 本章小结 18

第六章 总结与展望 19

6.1 论文总结 19

6.2 设计存在的问题及展望 19

致谢 20

参考文献 21

附录 22

第一章 引 言

1.1 研究目的与意义

近年来,人们的安防意识不断提高,虽然防盗报警装置在银行、商店等场所为保护财产已初有成效,普通人群仍需要一款价格亲民功能强大的报警装置为其服务。然而,现有的传统的防盗报警装置仍存在许多弊病,例如:由于线路老化或传感器失灵导致的误报率高;由于装置相对固定导致线路易被切断;由于装置的复杂性以及高成本使得防盗系统难以普及等等问题。伴随着电子计算机、手机通讯和现代控制技术的迅速发展,现今的防盗系统朝着网络化、智能化、低成本化、综合化等方面发展。利用现已在多个国家普及的GSM即全球移动通信技术,使得基于GSM的报警系统的实现成为了可能,GSM模块发送实时的报警信息也大大提高了防盗安全水平。由于人们对于防盗的意识不断提高,安防设备的需求不断增加,基于GSM实时报警的设备可以满足大部分人的安防需求。

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

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

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