内容发布更新时间 : 2024/6/7 7:27:39星期一 下面是文章的全部内容请认真阅读。
目录
摘要......................................................................................................................... I ABSTRACT .......................................................................................................... II 1 绪论.................................................................................................................... 1
1.1国内外研究现状 .................................................................................... 1 2 系统分析............................................................................................................ 2
2.1 整个控制系统的设计要求 ................................................................... 2 2.2 总体设计方案 ....................................................................................... 2 3 系统硬件电路设计............................................................................................ 3
3.1 硬件电路介绍 ....................................................................................... 3 3.2 控制电路分析 ....................................................................................... 3
3.2.1 复位电路...................................................................................... 3 3.2.2基本的复位方式........................................................................... 3 3.2.3 时钟电路...................................................................................... 4 3.2.4热释电红外传感器简介 .............................................................. 5 3.2.5被动式热释电红外探头的工作原理及特性 .............................. 6 3.2.6 ADC0832模块 ............................................................................... 6
3.2.7 DHT11温湿度检测模块 .............................................................................. 8
3.2.8 LCD液晶显示电路 ..................................................................... 10 3.2.9 1602LCD的基本参数及引脚功能 ............................................. 11 3.3.0 GSM模块 .................................................................................... 12
4 器件介绍.......................................................................................................... 15
4.1
AT89S52单片机简介 ................................................................. 15 4.1.1 AT89S52单片机主要特性 ......................................................... 15 4.1.2管脚说明..................................................................................... 15 4.1.3 振荡器特性................................................................................ 17 4.1.4芯片擦除..................................................................................... 17 4.1.5定时器/计数器 ........................................................................... 17
4.1.5.1主要特性 .............................................................................................. 17
4.1.5.2定时/计数器0和1的控制和状态寄存器 ......................................... 18 4.1.5.3T0和T1的4种工作方式 ................................................................... 19
4.2烟雾传感器 ......................................................................................... 20 5软件设计........................................................................................................... 21 6 Keil 软件简介 ................................................................................................... 22 7 电路板制作 ..................................................................................................... 23
7.1Altium designer简介 .............................................................................. 23 7.2硬件电路的布线与焊接........................................................................ 23 7.3 程序下载................................................................................................ 24 结束语.................................................................................................................. 25 致谢...................................................................................................................... 26 参考文献.............................................................................................................. 27 .附录..................................................................................................................... 28
附录1:原理图................................................................................... 28 附录2 附录3 附录4
:pcb图 .............................................................................. 29 :程序 ................................................................................. 30 :实物图 ............................................................................. 49
基于单片机的GSM防盗防火报警器设计
摘要
随着当今社会电子技术更新的日益加快,GSM防盗报警系统越来越普遍,GSM防盗报警系统利用全球GSM短信息数据传输模式及语音功能平台完成智能数据远程传输及控制报警,该主机集家庭、商店、办公场所安全电器控制、私家车远方监控等智能家居功能为一体,由于GSM全球无线移动通讯网络信号覆盖面积广,真正实现了低价优质的超远距离方便、灵活的智能无线控制及报警,解决了固定电话或有线宽带网络有线报警的局限性。
GSM全球无线移动通讯网络已在全世界普及,因此多功能GSM报警器可广泛应用于单一家庭、小区物业、电力、交通、石油、煤炭、铁道、市政、公安等部门行业的安防装置、数据监测以及远程监控系统。触发报警后本系统将通过GSM移动网络拨打电话远程报警,适用于没有安装固定电话的场所,具有探测灵敏,抗干扰强,报警准确可靠,安装、操作简便等优点。设计基于GSM短信模块的家庭无线防盗报警系统。此系统可解决这些隐患,让家庭防盗更及时、使用更方便。它不再依赖有线电话执行报警,而是借助最可靠、最成熟的GSM移动网络,以最直观的中文短消息或电话形式,直接把报警地点的情况反映到您的手机屏幕上。它采用主动式红外传感器进行检测,变有形的传统防盗网防盗窗为无形,给火灾时的逃生提供方便。并配备烟雾传感器和燃气泄漏传感器,实现防火、防燃气泄漏的作用。
本文介绍了用AT89S52单片机实现的基于GSM短信模块的家庭防盗报警系统,以及AT89S52单片机的功能特点、GSM短信模块工作原理、传感器工作原理。
关键词GSM模块;单片机;报警系统
I
基于单片机的GSM防盗防火报警器设计
The Family guard against theft and alarm system
Based on GSM Modem
ABSTRACT
With the newer electronic technology in today's society is accelerating, GSM burglar alarm systems are becoming increasingly common, GSM burglar alarm system using the global GSM short message data transmission mode and voice platform to complete intelligent data transmission and remote control alarm, set the host family, shops, office space safe electrical control, private cars and other smart home remote monitoring functions into one, due to the wide GSM global wireless mobile communication network coverage area, the real high-quality low-cost long distance convenient and flexible intelligent wireless control and alarm to solve the limitations of fixed wired telephone or cable broadband network alarms.
GSM global wireless mobile communication network has spread throughout the world, so versatile GSM alarm system can be widely applied to a single family, community property, power, transportation, petroleum, coal, railway, municipal, public security departments of industry security devices, data monitoring and remote monitoring systems. After the system will trigger an alarm call remote alarm via GSM mobile network, there is no suitable place to install a fixed telephone, with probing sensitive, strong anti-interference, accurate and reliable alarm installation, easy operation. Design home wireless burglar alarm system based on GSM SMS module. This system can solve these problems, so that home security is more timely, more convenient to use. It is no longer dependent on the implementation of the wired telephone the police, but with the most reliable and proven GSM mobile network, with the most intuitive form of Chinese short message or phone directly to the case of the alarm location to reflect on your phone screen. It uses active infrared sensor to
II
基于单片机的GSM防盗防火报警器设计
detect security windows traditional network security becomes tangible for the intangible, to escape when the fire with ease. And equipped with smoke sensors and gas leakage sensor, achieving fire, gas leak effect.
This article describes the SMS module based on GSM home burglar alarm system with AT89S52 MCU and AT89S52 microcontroller features, GSM SMS module works, the sensor works.
KEY WORDSGSM module; SCM; alarm system
III