基于单片机的防丢系统设计(附主程序,电路原理图)
无需注册登录,支付后按照提示操作即可获取该资料.
基于单片机的防丢系统设计(附主程序,电路原理图)(任务书,开题报告,外文翻译,论文13000字)
摘 要
处于二十一世纪,人口老龄化的比例逐渐上升,尽管国家开放了二胎政策,但是独生子女还是普遍存在的。中年人是社会中坚力量,但是面对日益活跃的工作竞争,社会生活、住房等压力,他们没办法满足小孩子的监护需求。另一方面,由于小孩的心里不成熟,社会安全意识不够,一些犯罪分子会利用其特点进行犯罪活动,这就对小孩子的生命安全构成了潜在威胁。因此,加强儿童的实时追踪,确保他们的安全尤为重要。该设计的主要用意在于对无安全意识的未成年小孩进行追踪和定位,让监护人能获取小孩所处的位置的信息。监护人可用手机向该装置传送命令,而设备经过短信息的形式将位置数据反馈给监护人。当儿童携带设备走出安全范围时,设备自动向家长手机发送报警信息。
本文章先是对防丢系统的背景、意义和发展状况简单做了介绍;接着对该系统的需要完成的功能做了分析之后得出整体方案,然后对硬件方案进行论证,其中硬件包括了GPS模块、无线传输模块、处理器模块和显示模块。软件部分重点是对各硬件模块进行实际电路实现;最后是对本设计的总体功能进行调试。
关键词:全球定位系统 无线传输 单片机
Design and Implementation of Anti - lost System Based on Single Chip Microcomputer
Abstract
In the twenty-first century, the proportion of the aging population has been gradually increasing. The government has already carried out the second-child policy, but it is prevalent that many family also have the only child. Middle-aged people are the backbone of society, but in the face of increasingly active work competition, social life, housing and other pressures, they can not meet the child's guardian needs. On the other hand, because the child's heart is not mature, social security awareness is not enough, some criminals will use its characteristics for criminal activities. It will threaten children’s life. Therefore, it is particularly important to strengthen the real-time tracking of children and ensure their safety. The main purpose of the design is to track and locate adolescent who without safety awareness, so that the guardian can obtain information about the location of their children. The guardian can use the phone to send commands to the device, then the device will return the location data to the guardian via the short message. When the child carries the device out of the safe range, the device will send the alarm information to the parents’ phone automatically.
Firstly, this paper will introduce the background, meaning and development of anti-lost system. Then it analyzes the function of the system and present the overall program. Finally, it demonstrates the hardware scheme, which includes the GPS module, wireless transmission module, processor module and display module. The software part focuses on the actual circuit implementation of each hardware module. The last part includes the debugging of the overall function of this design.
Key Words: GPS; Wireless transmission; MCU
目 录
摘 要 II
Abstract III
第一章 绪 论 1
1.1 课题研究的背景和意义 1
1.2 课题研究的发展 2
1.3 GPS定位技术 3
1.3.1 GPS组成 3
1.3.2 GPS测量原理 4
1.3.3 GPS定位特点 4
1.4课题研究任务及论文结构 5
第二章 硬件电路设计 6
2.1 整体方案设计及思路 6
2.2 GPS模块 7
2.2.1 GPS模块特性与选型 8
2.2.2 GPS模块供电电路 8
2.2.3 GPS模块外围电路 9
2.3 无线传输模块 9
2.3.1 GSM模块简介 10
2.3.2 GSM模块的供电 11
2.3.3 SIM卡连接电路 11
2.3.4 GSM通信状态指示电路 12
2.4 显示模块 13
2.4.1 LCD1602简介 13
2.4.2 显示模块电路 14
2.5 处理器模块 14
2.5.1 芯片选型 15
2.5.2 单片机控制电路 15
2.6 本章小结 16
第三章 软件部分设计 17
3.1 软件设计流程 17
3.2 GPS数据采集 18
3.2.1 GPS初始化 18
3.2.2 GSP数据格式 18
3.2.3 GPS数据的提取 19
3.3 GSM数据传输 20
3.3.1 AT指令简介 20
3.3.2 GSM初始化 21
3.3.3 GSM短信的发送 22
3.4 本章小结 22
第四章 实物调试 23
结 语 27
参考文献 28
致 谢 30
附录 源程序 31