编辑: 丑伊 | 2013-04-12 |
随着GPS的民用化与成本的降低,已经走入了人们的日常生活中,很多手机、PDA 等手持设备都配备了GPS功能.就功能而言,GPS就是在地球经纬座标系下对被测对象的方位进行测定,同时可以提供较高精度与实时的测定数据.对于基于单片机的便携式设备,如果要获取持有者的位置信息,则GPS是最好的解决方案. 本文主要研究GPS 的定位原理与技术,单片机的编程及其应用,液晶屏的功能及其实现方法,语音系统及其功能应用.制作了一套设计方案,以软、硬件相结合的方式完成整个GPS数据接收和显示以及播音的过程.本课题采用GPS模块GR-
87、单片机AT89S
52、液晶显示屏LCD
1602、语音芯片ISD1730设计一款可以实时显示当前所在位置的纬度、经度等信息,并且可以语音报告当前经纬度,并且设定了至少5个地点地址,在这5个地址的范围内可以语音报告所在地址,并且显示相应的代码,通过设计,编程,调试,该定位语音系统工作正常,可以满足基本的课题要求. 关键字:单片机;
语音芯片;
GPS定位 Abstract The use of GPS now very popular, aviation and navigation system, small to personal mobile equipment, all has the figure of it. With GPS and cost reduce the , has come into People'
s Daily life, a lot of cell phones, PDA, etc hand-held devices are equipped with GPS function. Say simply, GPS will function is the earth coordinate of the longitude of the orientation of the tested object were, at the same time can provide a high quality and real-time data measured. Based on the single chip for portable devices, if you want to get the holder'
s location information, the GPS is the best solution. This paper studies the principle and technology of GPS positioning, microcontroller programming and its application, the function of the LCD panel and its realization methods, voice system and its function applications. Produced a design scheme of software and hardware in the way of the combination of the complete the whole GPS data receiving and display, and the process of the broadcast. This subject adopts GPS module GR-87, monolithic integrated circuit AT89S52, LCD display screen LCD1602, voice chip ISD1730 design a can real-time display current location of latitude, longitude and other information, and can report the speech coordinates, and set at least five site address, in the five address within the scope of the speech in address can report, and to show the corresponding code, through the design, programming, commissioning, the positioning phonetic system working properly, can satisfy the basic subject requirements. Key word: Single chip microcomputer;
Voice chip;
GPS positioning 目录1. 引言
1 2. 方案选择
2 2.1. 方案一
2 2.2. 方案二
2 3. 硬件设计
4 3.1. 系统总体结构图
4 3.2. 单片机引脚连接电路
4 3.3. LCD显示电路
6 3.4. ISD语音电路
7 3.5. LM7805稳压电路
8 4. 软件设计
10 4.1. 程序流程图
10 4.2. 单片机串行通信
10 4.3. GPS接收语句设计
11 4.4. LCD1602流程图
13 4.5. ISD1730流程图
15 5. 系统调试
16 5.1. 单片机下载口调试
16 5.2. LCD1602调试
16 5.3. GPS定位坐标调试
17 5.4. ISD1730语音录入调试
18 5.5. LM7805供电部分调试
20 谢辞21 参考文献
22 附录23 附录1-原理图
23 附录2-PCB图24 附录3-程序及注释