基于单片机的家庭智能防盗系统研究
无需注册登录,支付后按照提示操作即可获取该资料.
基于单片机的家庭智能防盗系统研究(任务书,论文10000字)
摘 要
进入21世纪,社会经济发展迅速,人们的生活越来越好,社会上居民对家庭安全的关注度日益增加,特别是高档的住宅区居民。因为更易引起小偷的兴趣,居民一般都会安装智能现代化的防盗报警设备。智能报警装备能够安全防止偷盗违法行为的发生,极大保证家庭安全。现代科学技术的发展为家庭智能防盗提供了可靠的技术方面的帮助,技术的发展带动了整个家庭智能防盗的研究。
本文设计了一个基于单片机的家庭智能防盗报警系统。该系统使STC15L2K60S2当控制核心,无线通信模块我使用了常见的SIM900A模块。系统使用干簧管传感器作为检测器,检测设定区域情况,SIM900A进行无线通信,预定的家庭防盗和远程无线电话报警的功能得以实现。整个过程大致介绍为,用户离开家后启动系统,若干簧管监测到门或者窗户被开启,则视为有盗窃者进入,单片机将控制SIM900A拨打用户号码,同时我们设定的报警灯长亮,采用的蜂鸣器也会一直鸣叫。用户看到有指定号码的拨号后就知道家里出事了,再及时采取进一步动作。这套系统能有效的让用户知道家中是否有盗窃情况,极大的保证了财产安全。
本系统实行了设计的功能并进行了实验应用,报警成本低,可靠性高,可以广泛用于家庭智能防盗,具有一定的实际运用意义。
关键词:STC15L2K60S2;智能家庭报警;防盗
Research of intelligent home security system based on single chip microcomputer
Abstract
Entered in twenty-first Century, the rapid development of social economy, people's life is getting better and better, the residents of the community's concern about family security is increasing, especially high-grade residential area residents. Because it is more likely to cause the interest of thieves, residents will be installed in the modern intelligent anti-theft alarm equipment. Intelligent anti-theft devices can be safe to prevent the occurrence of theft, greatly to ensure family safety. The development of modern science and technology provides a reliable technical assistance for the family intelligent security, and the development of technology has led to the whole family intelligent security research.
In this paper, a family intelligent alarm system based on single chip computer is designed. The system takes STC15L2K60S2 as the control core, and the wireless communication module uses the common SIM900A module. System uses a dry reed sensor as the detector, detection set regional and sim900a wireless communication, predetermined family anti-theft and remote wireless telephone alarm function can achieve. The whole process in general as the user left home after it starts, several reed monitoring to door or window is opened, is regarded as the theft to enter, single - chip microcomputer control sim900a user dials the number, at the same time, we set the alarm lamp, the buzzer will a tweet. Users see a designated number after the dial to know the home accident, and then take further action. The system can effectively let the user know whether there is theft in the home, which greatly guarantees the safety of property.
This system has implemented the function of the design and has carried on the experimental application, the alarm cost is low, the reliability is high, may be widely used in the family intelligent guard against theft, has the certain practical application significance.
Keywords:STC15L2K60S2; intelligent alarm; guard against theft
目 录
摘 要 I
ABSTRACT II
第一章 绪论 1
1.1 选题的目的和意义 1
1.2 国内外研究现状 1
1.3 论文主要研究内容 2
第二章 系统总体设计方案 4
2.1 设计总体构成 4
2.2 GSM无线通信讲解及元件选择 4
2.2.1 GSM简介 4
2.2.2 拨号原理 5
2.2.3 SIM900A简介及优点 6
2.2.4 通信AT指令 8
2.3 干簧管传感器 9
2.3.1 干簧管传感器简介 10
2.3.2 干簧管传感器工作原理 10
2.4 本章小结 12
第三章 控制核心的硬件设计 13
3.1 单片机选型 13
3.2 STC15L2K60S2单片机介绍 13
3.3 STC15L2K60S2单片机电路设计 15
3.3.1 电源模块 15
3.3.2 主体原理图 15
3.3.3 LED显示部分 16
3.3.4 蜂鸣器部分 16
3.4 本章小结 18
第四章 程序设计 19
4.1 开发环境及工具 19
4.2 各模块的程序设计 20
4.2.1 干簧管传感器程序设计 21
4.2.2 蜂鸣器程序设计 22
4.2.3 LED程序设计 23
4.2.4 SIM900A模块中程序设计 23
4.3 本章小结 28
第五章 结论 29
参考文献 30
致谢 32