Jump to content
JakeSaxman

Reading GPS Values through Serial Interface.

Recommended Posts

I'm currently trying to get a GPS to output values with an f28069m board. The GPS is this model: https://cdn.sparkfun.com/datasheets/GPS/EM506_um.pdf. I'm currently getting values from the GPS Module through a serial connection, but it seems I need to decode it into an NMEA (http://aprs.gids.nl/nmea/) sequence, as the current values make no sense to me, however I know they are values from the GPS, because they change when the module is on VS off. Attached are the values I've been able to receive as well as the code I've been using to get those value. The only values I really need are Longitude, Latitude, and height.

Thank you,

Jake

GPS Serial Comm Test.vsm

GPS TEST 2.txt

Share this post


Link to post
Share on other sites

Jake, the diagram you have attached only has a target interface block. My understanding is that you have correctly used this block to read the save the data from the microcontroller to a text file. Can you please also share the diagram which you used to create the .out file?

 

Share this post


Link to post
Share on other sites

My understanding is that you want to read the values from the Serial port of you microcontroller (MCU) and then save them to a local text file. Practically the data goes from the GPS to your MCU and then to your PC. In order to do this you need to take advantage the Hardware in the Loop capabilities of Embed so that through the JTAG you can communicate data to and from your PC. Please take a look at the video here on how to create a basic HIL diagram. You can also check the video on encoders to get a better idea of how to read data using HIL.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×