Open tiuksferve opened 1 year ago
This just looks like the raw NMEA data, so if this is what you want, we could stream the raw serial output of the module directly into a file. The complicated part would be the UI for enabling or disabling logging, as currently there are no menus or other user interactions.
It is possible to use a txt file as input parameters? We can have some fields there where we can say if the gps log is active and the period to record the entry on the file (appending new entries each X seconds). UI interface can be done in the future using the arrows to change the screen.
It would be nice to use the GPX file format, and with no change to the UI, the Down and Left buttons are unused, so one of those could be used, also, the color of the LED could be used as feedback to see if logging is enabled.
Store GPS info every X seconds into a log file on the SD card. I think there is a correct format to use it on google earth, for example.
Here is a sample on the log generated by one of my radios:
$GPGGA,164418.000,3840.5838,N,00919.2875,W,2,10,0.92,8.0,M,50.7,M,,73 $GPGSA,A,3,10,27,16,18,26,08,20,07,21,11,,,1.23,0.92,0.8100 $GPRMC,164418.000,A,3840.5838,N,00919.2875,W,0.55,140.65,250420,,,D70 $GPVTG,140.65,T,,M,0.55,N,1.02,K,D3D $GPGGA,164428.000,3840.5837,N,00919.2831,W,2,9,0.98,8.0,M,50.7,M,,4D $GPGSA,A,3,10,27,16,26,08,20,07,21,11,,,,1.29,0.98,0.840C $GPRMC,164428.000,A,3840.5837,N,00919.2831,W,1.34,93.06,250420,,,D40 $GPVTG,93.06,T,,M,1.34,N,2.49,K,D0D