摘要: 随着互联网技术的逐渐成熟,物联网正在悄悄进入人们的视线:手机、平板等智能终端,以及各种防盗报警系统、自动控制系统逐渐进入了千家万户。顺应时代的发展,本课题针对家庭防盗报警系统进行了设计和研究。在该课题中,需要用到摄像头模块、GPRS模块、红外模块、MP3模块以及一块带CPU的开发板。系统启动后,红外模块一旦检测到人物活动,立即向主控制器发出信号,主控制器收到红外发来的信号后,启动摄像头进行拍照,同时利用GPRS模块,发送短信到指定手机上,并发出报警声,以达到赶走小偷的目的。6101
关键词: 物联网;嵌入式;防盗报警系统;短信;摄像头
The Design of Home Anti-theft System
Abstract: With the evolution of the Internet technology, the Internet of Things are gradually coming into people's sights: mobile phone, tablet PC and other intelligent terminal devices, and a variety of anti-theft systems, automatic control systems are gradually into the tens of thousands of households. In order to comply with the development of the times, I made relevant design and research on the anti-theft system. In the subject, camera module, GPRS module, infrared module, MP3 module and a development board with CPU are needed. After the system starting up, the infrared module delivers signal to the main controller immediately while it has detected some human activities. When the main controller received the infrared signal, it will activate the camera to take pictures. Meanwhile the GPRS module will send SMS to the specified mobile phone number, and the alarming sound will ring so as to drive out the thief.
Keywords: the Internet of things; embedded system; anti-theft system; SMS; camera
目录
摘要 i
Abstract i
目录 ii
1 绪论 1
1.1 课题背景 1
1.2 国内外研究现状与水平 1
1.3 发展趋势 2
2 分析 3
2.1 功能分析 3
2.2 硬件选型 4
2.2.1 主控制器 4
2.2.2 开发板 6
2.2.3 红外模块 8
2.2.4 摄像头模块 8
2.2.5 MP3模块 10
2.2.6 GPRS模块 10
2.3 操作系统的选择 12
3 设计 14
3.1 总体设计方案 14
3.2 操作系统的移植 15
3.2.1 修改工程文件夹和工程文件设置 15
3.2.2 操作系统代码的移植 17
3.2.3 编写各用户文件中关于操作系统的部分 20
3.3 各任务模块设计 21
3.3.1 启动任务Task_START 21
3.3.2 LCD显示任务Task_LCD 21
3.3.3 红外检测任务Task_INFRARED 24
3.3.4 摄像头任务Task_CAMERA 24
3.3.5 MP3报警任务Task_MP3 25
3.3.6 短信发送任务Task_SMS 26
3.4 各函数设计 28
3.4.1 MP3播放函数void MP3_Play(void) 28 GPRS家庭防盗报警系统的设计+流程图:http://www.751com.cn/zidonghua/lunwen_3457.html