接收 gps 衛星定位資訊

16
接收 GPS 衛星定位資訊 指導老師: Joseph 組  員:王守志、李育承 11/28/2012 101 年嵌入式 Linux 系統開發就業班

Upload: -

Post on 11-Jul-2015

481 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: 接收 GPS 衛星定位資訊

接收 GPS 衛星定位資訊

指導老師: Joseph組  員:王守志、李育承

11/28/2012

101年嵌入式 Linux系統開發就業班

Page 2: 接收 GPS 衛星定位資訊

Outline

專題目標硬體– 架構圖– 電路圖– 系統連接照片

系統展示 ( 一 )NMEA編碼原則程式關係圖系統展示 ( 二 )供「數位行車記錄器」程式介面參考資料

Page 3: 接收 GPS 衛星定位資訊

專題目標

接收 GPS 衛星定位資訊與「數位行車記錄器」結合提供程式介面

Page 4: 接收 GPS 衛星定位資訊

硬體

架構圖

Page 5: 接收 GPS 衛星定位資訊

硬體

電路圖

Page 6: 接收 GPS 衛星定位資訊

硬體

系統連接照片

Page 7: 接收 GPS 衛星定位資訊

系統展示 ( 一 )

銲接好的 GPS 模組,測試是否正常運作(使用 GPSFox 測試)

Page 8: 接收 GPS 衛星定位資訊

系統展示 ( 一 )

Page 9: 接收 GPS 衛星定位資訊

NMEA編碼原則

GPGGA :衛星定位資訊     (Global positioning system fixed data)GPGLL :地理位置 - 經度及緯度     (Geographic position - latitude/longitude)GPGSA :衛星定位訊號狀態     (GNSS DOP and active satellites)GPGSV :可視範圍天空衛星狀態     (GNSS satellites in view)GPRMC :建議使用最小 GPS 數據格式     (Recommended minimum specific GNSS data)GPVTG :對地方向及對地速度     (Course over ground and ground speed)

Page 10: 接收 GPS 衛星定位資訊
Page 11: 接收 GPS 衛星定位資訊

程式關係圖

Page 12: 接收 GPS 衛星定位資訊

系統展示

完成軟體,在 DMA-6410 上測試 GPS

Page 13: 接收 GPS 衛星定位資訊

系統展示

Page 14: 接收 GPS 衛星定位資訊

供「行車追踪器」程式介面

輸入程式執行範例: readNmea 6 10 8

【參數說明】裝置連接埠 :6  => SAC1緩衝處理筆數:10輸入修正時區:8  => 台北

Page 15: 接收 GPS 衛星定位資訊

供「行車追踪器」程式介面

輸出<Lat> N|S, <Lon> E|W, hh:mm:ss dd/MM/YYYY <direction> <speed>

說明緯度:目前緯度位置,南、北半球經度:目前經度位置,東、西經國際標準時間:時間、日期方位指向:移動方位對地速度:移動速度

Page 16: 接收 GPS 衛星定位資訊

參考資料

Locosyshttp://www.locosystech.com/

GPSFOX 測試程式網址http://www.pololu.com/file/download/GPSFox.zip?file_id=0J301

NMEA datahttp://www.gpsinformation.org/dale/nmea.htm