CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to CCS Technical Support

help about GPS

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
ROBOTICAR



Joined: 28 Aug 2007
Posts: 45

View user's profile Send private message

help about GPS
PostPosted: Tue Apr 15, 2008 8:31 am     Reply with quote

I want to begin a project with gps. but I don't have any information and experience . I want to know:

what's the data out put form GPS module ?
I want to show the special place in color glcd.
how can I do that?

thanks
jma_1



Joined: 08 Feb 2005
Posts: 147
Location: Wisconsin

View user's profile Send private message

PostPosted: Tue Apr 15, 2008 10:50 am     Reply with quote

Howdy ROBOTICAR,

Many of the GPS receivers on the market use RS232 and/or bluetooth. The protocol usually follows the NMEA 0183 spec. If you like CAN, there is even NMEA 2000. The NMEA 2000 receivers are harder to find and not as prevelent.

The simplest approach might be the RS232 interface from a GPS receiver to the PIC. The protocol is simple and comma delminated. Separate messages are sent for speed of ground, course over ground, lattitude, longitude, time, etc. A few companies even make PC simulator software.

I do not have a suggestion for the color lcd. I have seen ads for earth lcd products and the seem interesting, but expensive. The last one I looked at had an Atmel uP and might elminate the need for the pic ;) I personally think it would be more fun to build your own board and LCD interface, but that is just me.

Cheers,
JMA
jma_1



Joined: 08 Feb 2005
Posts: 147
Location: Wisconsin

View user's profile Send private message

PostPosted: Tue Apr 15, 2008 4:22 pm     Reply with quote

Greetings ROBOTICAR,

I forgot to post RS232 characteristics.

4800 baud, 8, N, 1
variable length sentences (82 between start and end deliminators?)
comma deliminated
checksum optional -> indicated after '*' in protocol
start character '$'
ends with <CR><LF>

example:
$GPVTG,291.6,T,295.0,M,000.2,N,0000.3,K,A*10<CR><LR>
VTG - sentence type
GP - two code device for who sent the data (ex. CP = chart plotter)

Other baud rates are available -> High speed 38400

The exact message protocol for each sentence type is defined in the NMEA 0183 specification(s). I have come across a few nice individuals who have posted most of the sentences on the internet.

Cheers,
JMA
KU5D



Joined: 10 Feb 2008
Posts: 46
Location: Asheville, North Carolina

View user's profile Send private message

PostPosted: Tue Apr 15, 2008 5:23 pm     Reply with quote

www.google.com is a great thing. Search for NMEA0183.

http://www.kh-gps.de/nmea-faq.htm

Here's a link that should get you started. Keep in mind that some of the sentences from the receivers have redundant information, and most receivers do not by default send all the sentences described in this text. Your mileage may vary, but this is a good place to start.
_________________
Confidence is the feeling you have right before you fully understand the situation...
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group