基于GSM短信模块的家庭防盗报警系统设计.
- 格式:doc
- 大小:438.72 KB
- 文档页数:32
2015届 分类号:
单位代码 :13379
山东师范大学历山学院
毕业论文(设计)
家庭安防报警系统设计
姓 名
学 号
年 级
专 业 电子信息工程
系 (院) 电子信息与工程系
指导教师
2015年 5月 24日
I 摘 要
该设计是采用AT89C51单片机实现的基于GSM短信模块的家庭安防报警系统。该系统主要由单片机AT89C51、HRH GSM Modem短信模块、键盘显示电路、DS12887实时时钟芯片、315MHZ调幅遥控器、传感器和其它基本外围电路组成,借助GSM移动网络,以最直观的中文短消息,直接把报警地点的情况反映到所设定的手机屏幕上。
该系统采用AT89C51单片机作为主控制芯片,通过HRH GSM Modem来进行通信,采用红外传感器进行检测,配备烟雾传感器和燃气泄漏传感器,实现防火、防燃气泄漏的作用。同时附加电路通过键盘显示电路来预设安防报警系统的电话号码,DS12887实时时钟芯片对发生警情的时间进行记录和保证系统的可靠运行,315MHZ调幅遥控器来实现用户对系统的布、撤防状态进行改变。
硬件设计采用Proteus软件,完成了系统的键盘接口电路、时钟电路、电源电路、发射接收电路、传感器采集信号等模块的电路原理图的设计。软件设计采用Keil开发系统,完成了程序模块规划及各个模块的设计与编程,实现了对信号处理过程的编程和调试。
关键词:单片机;GSM模块;传感器
II ABSTRACT
This design is the use of AT89C51 MCU to achieve The Family guard against theft and
Alarm system Based on GSM Modem.It is made up of AT89C51 MCU、HRH GSM Modem、
keyboard display chip、DS12887 real-time clock chip、315MHZ remote control sensors and other
basic peripheral circuits. It will display the alarm content in Chinese directly at your mobile
screen, and it recurs to the GSM mobile network.
The System use AT89C51 MCU as the control core chip, through the HRH GSM Modem
for communications,it adopted initiative infrared sensor to detect, the system equipped the smog
sensor and leakiness sensor of gas and guarded against fire and gas leakiness.
Meanwhile,additional circuit to default the telephone number of guard against theft and Alarm
system by keyboard display chip, through DS12887 real-time clock chip to record the situation
occurred in time for police and to ensure reliable operation of the system,315MHZ remote
control to achieve the user to change the system’s position .
The hardware design using Proteus to achieve the circuit schematic diagram designs of the
system keyboard interface circuit ,clock circuits,power circuits,transceiver circuits and the sensor
signal acquisition module and so on. The software development system of Keil is used to design
the software. And the procedure of the processing of signal has been completed and debugged
successfully.
Keywords:MCU;GSM modem;Senor
1 目 录
第1章 绪论 ................................................................. 3
1.1 安防报警系统发展概况 .................................................. 3
1.2 设计背景目的 .......................................................... 3
第2章 整体设计方案 ......................................................... 4
2.1 方案选择论证 .......................................................... 4
2.2 主控芯片单片机的选择 .................................................. 4
2.2.1 AT89C51的主要性能 ................................................. 5
2.2.2 AT89C51的引脚结构 ................................................. 5
2.3 通信模块的选择 ........................................................ 6
2.3.1 GSM Modem的主要功能 ............................................... 6
2.3.2 GSM Modem 的硬件接口 .............................................. 6
2.4 传感器的选择 .......................................................... 6
2.4.1 红外传感器 ........................................................ 6
2.4.2 烟雾传感器 ........................................................ 6
2.4.3 气体泄漏传感器 .................................................... 6
2.5 键盘显示模块的选择 .................................................... 7
2.6 存储器的选择 .......................................................... 7
2.7 时钟芯片的选择 ........................................................ 7
2.7.1 DS12887功能 ....................................................... 8
2.7.2 DS12887引脚定义 ................................................... 8
第3章 系统硬件设计 ......................................................... 9
3.1 系统结构原理图 ........................................................ 9
3.2 电源部分 .............................................................. 9
3.3 时钟电路 ............................................................. 10
3.3.1 单片机时钟电路 ................................................... 10
3.3.2 系统的时钟电路 ................................................... 10
3.4 信号采集电路 ......................................................... 12
3.4.1 红外信号检测 ..................................................... 12
3.4.2 气体、烟雾检测 ................................................... 13
3.5 复位电路 ............................................................. 13