防止儿童私自外出无线报警系统设计
防止儿童私自外出无线报警系统设计(论文11000字)
摘要:很多儿童因为缺乏安全意识及自我约束能力经常发生意外走失的情况,虽然现在监控设备已经普及,但通常不能实时报警,所以在儿童走出安全区域的瞬间将报警信息通即刻发送给相关人员以便及时查看显得尤为重要。考虑到人工实时监控的高成本以及出错的不可避免性,本文探讨了利用STC89C52系列单片机、红外对射传感器模块与GSM模块组成低成本的无线报警系统的方法并制作了实物模型进行验证。其中,单片机用来接受和处理数据、红外对射传感器模块用来进行身高感应和区分、GSM模块则实现报警信息的即刻发送。通过对制作的实物的测试表明,系统实现了设计任务所提出的各项技术要求。
关键词:单片机;红外对射传感器;GSM
Wireless alarm system to prevent children from going out alone
School of Information and Control, Nanjing University of Information Science and Technology, Nanjing 210044
Abstract:Many children always get lost because of the lack of safety consciousness and self-discipline. Although monitoring equipment has been popular, it can not offer real-time alarm, so it is very important to send alerts via telephone text messages to the relevant person to check in time when children get out of the safety area. Considering the high cost and the inevitable errors of artificial monitoring,this design which combing STC89C52 series microcontroller, infrared correlation sensor module and GSM module into low price wireless alarm system to prevent children from going out alone, then we create a mock-up and carry out experiments to test the effect.In this system, single-chip microcomputer is used to receive and process the data.Infrared correlation sensor module is used to induct and distinguish the height.GSM module is used to send the alarm messages. The test verifies that it realizes all the specifications required by the design purpose. [来源:http://www.doc163.com]
Keywords:MCU; Infrared correlation sensors ;GSM
[来源:http://Doc163.com]
目 录
1绪论 3
1.1设计背景 3
2方案介绍与系统结构 3
2.1方案介绍 3
2.2主要功能实现 3
2.3系统结构简介 4
3硬件阐述与模块搭建 4
3.1单片机模块 4
3.1.1单片机说明 4
3.1.2单片机种类与特性 5
3.1.3特殊功能寄存器 7
3.2 GSM模块 10
3.2.1GSM说明 10
3.2.1TC35简介和GSM引脚结构 10
3.3红外对射传感模块 13 [版权所有:http://DOC163.com]
4 GSM模块调试 13
4.1 GSM模块功能调试 13
5程序设计与各功能实现 16
5.1程序编译Keil uVision4 16
5.2系统主程序结构 16
5.3主函数设计 18
5.4串口程序 18
5.5 GSM短消息发送 19
5.6红外感应模块程序 22
6硬件实物演示操作 23
7总结 26
参考文献 27
致谢 28 [资料来源:http://Doc163.com]