Hello, I am trying to connect a standard GPS receiver, (using Nmea0138 prot.) to a Cortex micro controller. I want it to return information and print it out on the screen. That information will be everything that a standard GPS receiver collects, ie. geo coordinates. I have done A LOT of research. I can't find anything anywhere?! I am wondering if this is possible with the Cortex or the PIC,(preferebly the Cortex)? Worst case scenario, I can do some bitbanging, as I have the Sirf 'bit-manual.' I don't really know how to bit bang with the Cortex either. Any ideas, does anyone have any ideas?

Wed Feb 27, 2013 12:15 pm

LumbaG

Rookie

Joined: Mon Feb 25, 2013 12:52 pmPosts: 2

Re: GPS Receiver - Problem

I still need some help with this. Does anyone have any sample source code? One that perhaps can take in raw data from the Cortex via the NMEA 0138 protocol?

Wed Mar 27, 2013 11:08 am

JohnWatson

Site Admin

Joined: Thu May 24, 2012 12:15 pmPosts: 663

Re: GPS Receiver - Problem

This particular project can be a bit complex and is very much dependent upon the specific module being used; however, there are some users who have attempted this already and have documented the process. For instance, there is a thread on the VEX forums that has several great resources you may want to look through. Also, you will need to use the datasheet from the specific GPS sensor (such as this one) to determine which pins control the sensor itself, and connect it to the Cortex accordingly. The best thing I can suggest to do is to read through the links in the VEX forum thread and to check out the UARTPortTest sample program (under the 'Advanced' folder in Cortex's section of the ROBOTC sample programs).

Once you have done that, try to modify the sample code to look for the values used in the NMEA standard (I believe the $ symbol denotes the start of the gps data) and post the modified code using the [code] tags for us to take a look at.

Who is online

Users browsing this forum: No registered users and 2 guests

You cannot post new topics in this forumYou cannot reply to topics in this forumYou cannot edit your posts in this forumYou cannot delete your posts in this forumYou cannot post attachments in this forum