The MP3car.com Store The MP3car.com Blog    

Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > GPS

Reply
 
LinkBack Thread Tools Display Modes
Old 06-11-2006, 08:57 PM   #1
Newbie
 
rvk2's Avatar
 
Join Date: Nov 2004
Posts: 9
Extracting GPS coordinates

Hi everyone,

My team recently ordered a BU-303 GPS unit for a class project. Is there a way to extract the GPS coordinates in Windows? We want to extract the coordinates, save it in a text file and send it to a server.
__________________
~~~ReBeCCa~~~~
rvk2 is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 06-11-2006, 09:25 PM   #2
Maximum Bitrate
 
DJiK's Avatar
 
Join Date: Apr 2005
Location: Los Angeles (Winnetka), CA
Posts: 863
Yeah, use Hyper Terminal at first.
[+R, "hypertrm", OK]
Set up the correct port, baud rate, etc.

Since it's constantly updating, you'd eventually want to write a program that reads it line by line and saves to a TXT file after a certain number of lines or seconds.

If you just need a one time example, save/export the text from Hyperterminal to a TXT file and use that for your project.

The sting that you're looking to parse begins with $GPRMC.
And this is what it means:
Code:
$GPRMC Recommended minimum specific GPS/Transit data eg1. $GPRMC,081836,A,3751.65,S,14507.36,E,000.0,360.0,130998,011.3,E*62 eg2. $GPRMC,225446,A,4916.45,N,12311.12,W,000.5,054.7,191194,020.3,E*68 225446 Time of fix 22:54:46 UTC A Navigation receiver warning A = Valid position, V = Warning 4916.45,N Latitude 49 deg. 16.45 min. North 12311.12,W Longitude 123 deg. 11.12 min. West 000.5 Speed over ground, Knots 054.7 Course Made Good, degrees true 191194 UTC Date of fix, 19 November 1994 020.3,E Magnetic variation, 20.3 deg. East *68 mandatory checksum eg3. $GPRMC,220516,A,5133.82,N,00042.24,W,173.8,231.8,130694,004.2,W*70 1 2 3 4 5 6 7 8 9 10 11 12 1 220516 Time Stamp 2 A validity - A-ok, V-invalid 3 5133.82 current Latitude 4 N North/South 5 00042.24 current Longitude 6 W East/West 7 173.8 Speed in knots 8 231.8 True course 9 130694 Date Stamp 10 004.2 Variation 11 W East/West 12 *70 checksum eg4. for NMEA 0183 version 3.00 active the Mode indicator field is added $GPRMC,hhmmss.ss,A,llll.ll,a,yyyyy.yy,a,x.x,x.x,ddmmyy,x.x,a,m*hh Field # 1 = UTC time of fix 2 = Data status (A=Valid position, V=navigation receiver warning) 3 = Latitude of fix 4 = N or S of longitude 5 = Longitude of fix 6 = E or W of longitude 7 = Speed over ground in knots 8 = Track made good in degrees True 9 = UTC date of fix 10 = Magnetic variation degrees (Easterly var. subtracts from true course) 11 = E or W of magnetic variation 12 = Mode indicator, (A=Autonomous, D=Differential, E=Estimated, N=Data not valid) 13 = Checksum

--Courtesy of http://www.werple.net.au/~gnb/gps/nmea.html
__________________
For Sale: Carputer (CarPC) & RCA Y-Adapter
Newsflash: Take a look at my unsold stuff above, thanks!
Up Next: Make an OBD to Serial cable & Redo the "MMI buttons"
DJiK is offline   Reply With Quote
Old 06-12-2006, 01:03 PM   #3
Newbie
 
rvk2's Avatar
 
Join Date: Nov 2004
Posts: 9
Thank you so much...that was just what I was looking for.
__________________
~~~ReBeCCa~~~~
rvk2 is offline   Reply With Quote
Old 10-24-2006, 08:06 PM   #4
Newbie
 
Join Date: Oct 2006
Posts: 1
Question

forgive me for this newbie question. But does this mean the BU-353 and BU-303 can both calculate magnetic variation?
dejacky is offline   Reply With Quote
Old 10-24-2006, 09:28 PM   #5
Maximum Bitrate
 
Dragonknell911's Avatar
 
Join Date: Aug 2004
Posts: 519
Well not exactly sure if this is what you are looking for, but it came to mind:
http://msdn.microsoft.com/coding4fun...i/default.aspx
__________________
REBUILDING!!
Dragonknell911 is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
PPC Car GPS and MP3 mini How To hotrod_nut General Hardware Discussion 1 02-25-2008 02:24 PM
My GPS scenario & Bluetooth quest. gizak GPS 13 04-12-2005 01:11 PM
Delou Routis GPS USB install issues, please help... jedi7001 GPS 8 03-26-2005 11:29 AM
few gps questions fuctup GPS 2 03-02-2005 02:40 AM
Finished Building my GPS, now some ?s for the GPS gurus Dominik GPS 9 10-25-2004 02:34 AM


All times are GMT -5. The time now is 03:38 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.2.0
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics