基于单片机的简易GPS定位信息显示系统的设计
- 格式:doc
- 大小:807.00 KB
- 文档页数:55
毕业设计论文基于单片机的简易GPS定位信息显示系统设计摘要GPS是Global Positioning System的缩写,即全球定位系统。
其目的是在全球范围内对地面和空中目标进行准确定位和监测。
本设计是基于AT89C51单片机来实现的简易GPS定位信息显示系统。
本控制系统主要完成接受数据,时间显示、经度显示、纬度显示等常规功能。
单片机与OEM板采用串口通信,由单片机接受GPS信息,对其解码,再通过LED显示信息。
GPS的信息显示是轮流显示时间、经度、纬度的。
本文介绍使用GARMIN公司的GPS25-LVS系列OEM (Original Equipment Manufacturer)接收板及单片机实现实时时间、经纬度等综合信息显示的设计方法。
通过对GPS OEM板和LED显示模块的研究,设计了GPS定位信息的采集与显示系统。
重点介绍了利用单片机89C51对GPS OEM板的控制来实现定位数据的采集与传送,以及将定位数据传送至液晶模块进行显示的过程。
实践证明,该系统显示的时间非常精确、定位精度高,能满足一般应用项目的使用,具有一定的实用价值。
关键词:单片机;数据采集;定位信息;GPS OEM板;LED显示AbstractGPS is the acronym for Global Positioning System,the Global Positioning System.Its purpose is on a global scale aerial targets on the ground and accurate positioning and monitoring.The design is based on the AT89C51 microcontroller to achieve the simple GPS positioning information display system. The main control system completed accept data,show time, longitude, latitude and other conventional features.SCM and OEM board serial communication links used by the microcontroller to accept GPS information, decode it, and then through the LED display information.GPS information is displayed cycle time, longitude and latitude.This paper describes the use of GARMIN's GPS25-LVS series of OEM (Original Equipment Manufacturer) receiving board and SCM implementation the time,latitude and longitude of real-time, and other comprehensive information shows that the design method.Through studying on GPS OEM board and LED display module,the collection and display system of GPS’s inf ormation are designed.By using single chip computer 89C51,the GPS OEM board is controlled,thus the collection and transmission of the orientation data are realized.The orientation data are delivered to LED model for display. The practice proves that the time displayed by the system is very accurate,and the precision of orientation is high.The system satisfies the usage of the general application and certainly offers p ractical value.Keywords:Single-Chip;Data Acquiring;Orientation information;GPS OEM board; LED display目录基于单片机的简易GPS定位信息显示系统设计 (1)摘要 (2)ABSTRACT (3)目录 (4)插图清单 (5)插表清单 (6)引言 ............................................................................................................................... - 1 -第1章GPS简介及基本理论............................................................................................. - 3 -1.1 关于GPS的概述 ........................................................................................................................ - 3 -1.2 GPS的组成 .................................................................................................................................. - 4 -1.3 GPS信号结构 .............................................................................................................................. - 7 - 第2章硬件电路设计 ......................................................................................................... - 8 -2.1 单片机最小系统介绍.................................................................................................................. - 8 -2.1.1 AT89C51引脚介绍 ........................................................................................................... - 8 -2.1.2 复位电路......................................................................................................................... - 10 -2.1.3 时钟电路......................................................................................................................... - 11 -2.2显示电路 .................................................................................................................................... - 11 -2.2.1 LED显示器结构............................................................................................................. - 11 -2.2.2 LED显示器工作原理..................................................................................................... - 12 -2.2.3 LED显示器驱动电路..................................................................................................... - 12 -2.3 控制系统的硬件原理................................................................................................................ - 13 -2.3.1 GPS25-LVS系列OEM接收板硬件接口 ...................................................................... - 13 -2.3.2 单片机控制系统的硬件电路原理................................................................................. - 14 - 第3章软件部分设计 ....................................................................................................... - 14 -3.1 GPS25-LVS的信息输出格式.................................................................................................... - 14 -3.2 单片机的信息接收处理............................................................................................................ - 15 -3.3 主程序设计 ............................................................................................................................... - 16 - 第4章调试 ....................................................................................................................... - 21 -结论与展望 ......................................................................................................................... - 22 -致谢 ............................................................................................................................. - 23 -参考文献 ............................................................................................................................. - 24 -附录A:总图 ................................................................................................................................... - 25 - 附录B:外文文献及译文............................................................................................................... - 26 - 附录C:主要参考文献及摘要...................................................................................................... - 32 - 附录D:部分源程序..................................................................................................................... - 34 -插图清单图1-3 GPS信号的产生 (5)图1-2 GPS接收机基本结构 (6)图1-3 GPS信号的产生 (7)图1-4 GPS信号构成图 (7)图2-1 硬件电路框图 (8)图2-2 89C51引脚图 (9)图2-3 复位电路的设计 (11)图2-4 时钟电路的设计 (11)图2-5 LED显示器管脚图 (12)图2-6 LED驱动电路 (13)图2-7 GPS25—LVS板引脚接口功 (15)图3-1 串口中断程序流程图 (17)图3-2 主程序流程 (18)图3-3 时差修正部分程序流程图 (20)插表清单表2-1 复位后寄存器状态 (6)引言GPS卫星导航全球定位系统问世以来,在导航、定位领域发展势头迅猛,引起世界各界人士的关注。