摘要
为实现GPS导航线路的数据记录和图片关联,设计并实现了基于ATMEGA644P单片机的GPS数据记录器。硬件上系统选用EB3631搭建GPS模块,通过串口与ATMEGA644P单片机通信采集GPS定位信息。软件上使用FatFs文件系统模块挂接SD卡,FatFs模块在ATMEGA644P单片机上的移植高效地写入GPGGA导航数据,通过PC机上的GPicSync软件,成功实现图片与导航线路中位置信息关联。经过实际测试,系统运行效果良好。
To record the data and associated with Images in the navigation,this paper designed and implemented GPS data logger based on ATMEGA644 P MCU.In the design of hardware,the system chose EB3631 to build a GPS module and communicated with ATMEGA644 P controller using a serial port to get GPS information.In the design of Software,SD card is articulated by using FatFs file system module,FatFs module that is transplanted on ATMEGA644 P MCU writes GPGGA Data efficiently in the navigation,Using GPicSync software on PC,implemented images associated with the location information successful in the navigation.Test shows that the system runs with good effect.
引文
[1]Atmel Company.Atmega164P/324P/644P Datasheet[EB/OL].http://www.atmel.com[2013-02].
[2]Ams Company.AMS1117 Datasheet[EB/OL].http://www.ams-semitech.com/attachments/File/AMS1117_20120314.pdf.[2012-03].
[3]SD Group and SD Association.SD Specification Part 1 Physical Layer Simplified Specification Version 3.01[EB/OL].[2011-07].http://www.sdcard.org/developers/tech/sdcard/pls/simplified_specs.
[4]何诚刚.便携式GPS接收机设计[J].电子设计工程,2009,17(6):7-7.
[5]潘方.RS232串口通信在PC机与单片机通信中的应用[J].现代电子技术,2012,35(13):69-71.
[6]求是科技.单片机典型模块设计实例导航[M].北京:人民邮电出版社,2008:195-196.
[7]刘伟.数据恢复技术深度揭秘[M].北京:电子工业出版社,2010:197-251.
[8]FatFs Generic FAT System Module[OL].[2014-01].http://elm-chan.org/fsw/ff/00index_e.html.
[9]张恒.基于AT89S52和FAT16的SD卡读写系统设计[J].单片机与嵌入式系统应用,2009(8):54-55.
[10]楼然苗,李光飞.单片机课程设计指导[M].北京:北京航空航天大学出社,2007:210-212.