Gps pos to SD card to file.txt

Hi .

I have my little GPS receiver connected to my arduino via NewSoftSerial. The gps only transmitt GLL data stirnge.

I wonder how to put the hole GLL_stinge of data to the text_file to the SD card of my arduino?

I.g. : $GPGLL,4916.45,N,12311.12,W,225444,A,*1D ======> file.txt ( on SD-card)?

Regards Murdock

Find the examples that come with the SD library you are using - they should show how to write to a file. You need to pass the NMEA sentence in question (that's what those GPS strings are called!) to the relevent write function.

You'll have to work out when to open / flush / close the file on the SDcard depending on your requirements.

hi and thx for the quick reply.

As i hear you say, i have to take the GLL str. char by char, correct?

rgd Murdock

i have to take the GLL str. char by char, correct?

Correct. You did say that it's attached via a serial connection, right?

From my Locosys GPS via arduino to the onboard SD-card.

Best regards Murdock.