Extracting GPS NMEA data from a terminal

Hello!

I am currently working on an autonomous ground vehicle project for my university and am having some issues. I was planning on using TinyGPS++ to extract the NMEA data from my GPS, but this will not work because I have to have my GPS connected directly to a COM port in order to give it the command to log the NMEA data. I've used a program called Termite and can get the NMEA data to output continuously. Is there anyway I can pull this data from Terminal and into my Arduino program in order to make use of theTinyGPS++ library? Thanks!

Justinrmassie:
I have to have my GPS connected directly to a COM port in order to give it the command to log the NMEA data.

Doubtful.

Is there anyway I can pull this data from Terminal and into my Arduino program in order to make use of theTinyGPS++ library?

No. Just no.

Send the command with a print from the Arduino, then read the Arduino serial port and give the char to a GPS library.

Check out NeoGPS.

I am using the Novatel AG-STAR. It communicates with a RS232. I have to use a RS232 to TTL converter to connect it to the Arduino. When using the converter no data is output from my program. However, no errors are given. I can only assume my converter is bad. Thanks for the reply.

Justinrmassie:
I can only assume my converter is bad.

What about the possibility that you wired it incorrectly?

It is not wired incorrectly. I have switched the TX/RX and it still does not work. When I have it wired "incorrectly" I get errors. When it is correct I do not get errors. The data just does not display. I read about another person with the same issue I had and it was because he was not using a converter. Which leads me to believe that my converter is bad.

When I have it wired "incorrectly" I get errors.

What kind of errors? This may mean that it is wired correctly, but using the wrong baud rate.

It turns out it was a bad solder. I re-soldered it and it works. Is there a way to send commands to the GPS directly from Arduino?

Send commands via the TX pin using Serial.write()

Yeah, I tried that, but get "was not declared in this scope" error.

Post the code, using code tags ("</>" button). Also, please read the "How to use this forum" post.