kathy90000
New Member
Hello,
(reposted but modified "sorry")
I'm working on a project consisting in receiving a frame from a GPS via a RS232 port using a PIC 18F4580 microcontroller
The project consists in extracting (latitude, longitude, time) off a GGA frame and speed off the RMC one
I saw a previous example, posted in here "below" http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=24076, but in my project, I use the gps directly to receive frames without using the file.txt and the extracted parameters must be stored in tables, such as latitude: 48 ° 07,038 'N == > 48 (degrees) and 07 in a table in another table, the same for the other parameters (longitude, time etc).
In fact, referring to the previous program ,I'm not interested in converting to digital, I have to keep the frames in ASCII, my GPS speed is 4800 bauds.
I'd like to know if there is a code example in order to get inspired from or any piece of advice getting me in the correct way to get it right.
I would like to adapt the same program (proposed & corrected by a french user, in the previous link ) to an application of reading frames directly from the serial port of the GPS (especially frames GGA and RMC) via a PIC 18F4580. without going through the filename.txt as proposed in the link ! What should I replace by the lines (file.txt)?!
Thank you in advance for any possible help .
Yours sincerly.
(reposted but modified "sorry")
I'm working on a project consisting in receiving a frame from a GPS via a RS232 port using a PIC 18F4580 microcontroller
The project consists in extracting (latitude, longitude, time) off a GGA frame and speed off the RMC one
I saw a previous example, posted in here "below" http://www.gpspassion.com/forumsen/topic.asp?TOPIC_ID=24076, but in my project, I use the gps directly to receive frames without using the file.txt and the extracted parameters must be stored in tables, such as latitude: 48 ° 07,038 'N == > 48 (degrees) and 07 in a table in another table, the same for the other parameters (longitude, time etc).
In fact, referring to the previous program ,I'm not interested in converting to digital, I have to keep the frames in ASCII, my GPS speed is 4800 bauds.
I'd like to know if there is a code example in order to get inspired from or any piece of advice getting me in the correct way to get it right.
I would like to adapt the same program (proposed & corrected by a french user, in the previous link ) to an application of reading frames directly from the serial port of the GPS (especially frames GGA and RMC) via a PIC 18F4580. without going through the filename.txt as proposed in the link ! What should I replace by the lines (file.txt)?!
Thank you in advance for any possible help .
Yours sincerly.