Re: XTreme EMS G2 GPS and Time problems
Posted: Sun Jun 23, 2024 5:29 am
by kabong
Here is a sample of a full set of NMEA data (static receiver)
maybe it'll help
I also have optional code that rebuilds the RMC, to include the magnetic declination
$GNZDA,052050.000,23,06,2024,00,00*49
$GNGGA,052051.000,3523.72382,S,14905.61291,E,1,12,1.6,647.9,M,19.1,M,,*52
$GPGSV,4,1,14,02,20,125,42,05,,,26,07,14,052,31,10,,,26,0*66
$GPGSV,4,2,14,13,,,27,14,54,137,40,17,82,044,30,19,61,343,28,0*5A
$GPGSV,4,3,14,21,11,136,26,22,66,189,31,28,,,24,30,,,32,0*68
$GPGSV,4,4,14,193,,,25,195,16,350,31,0*52
$BDGSV,1,1,02,23,54,100,32,28,50,018,36,0*75
$GLGSV,2,1,06,78,,,25,66,14,216,,79,,,25,65,26,266,,0*78
$GLGSV,2,2,06,84,43,122,31,85,45,036,29,0*75
$GNRMC,052051.000,A,3523.72382,S,14905.61291,E,0.00,0.00,230624,,,A,V*1A
$GNVTG,0.00,T,,M,0.00,N,0.00,K,A*23
$GNZDA,052051.000,23,06,2024,00,00*48
$GNGGA,052052.000,3523.72382,S,14905.61290,E,1,12,1.6,647.9,M,19.1,M,,*50
$GPGSV,4,1,14,02,20,125,42,05,,,26,07,14,052,31,10,,,26,0*66
$GPGSV,4,2,14,13,,,27,14,54,137,40,17,82,044,30,19,61,343,28,0*5A
$GPGSV,4,3,14,21,11,136,26,22,66,189,31,23,,,25,30,,,32,0*62
$GPGSV,4,4,14,193,,,25,195,16,350,31,0*52
$BDGSV,1,1,03,01,,,33,23,54,100,32,28,50,018,36,0*75
$GLGSV,2,1,06,78,,,25,66,14,216,,79,,,25,65,26,266,,0*78
$GLGSV,2,2,06,84,43,122,31,85,45,036,29,0*75
$GNRMC,052052.000,A,3523.72382,S,14905.61290,E,0.00,0.00,230624,,,A,V*18
$GNVTG,0.00,T,,M,0.00,N,0.00,K,A*23
$GNZDA,052052.000,23,06,2024,00,00*4B
$GNGGA,052053.000,3523.72383,S,14905.61289,E,1,12,1.6,647.9,M,19.1,M,,*58
$GPGSV,3,1,12,02,20,125,42,05,,,26,07,14,052,31,13,,,27,0*65
$GPGSV,3,2,12,14,54,137,40,17,82,044,30,19,61,343,28,21,11,136,26,0*6F
$GPGSV,3,3,12,22,66,189,31,23,,,25,30,,,32,195,16,350,31,0*5E
$BDGSV,1,1,03,01,,,33,23,54,100,32,28,50,018,36,0*75
$GLGSV,2,1,06,78,,,25,66,14,216,,79,,,27,65,26,266,,0*7A
$GLGSV,2,2,06,84,43,122,31,85,45,036,30,0*7D
$GNRMC,052053.000,A,3523.72383,S,14905.61289,E,0.00,0.00,230624,,,A,V*10
$GNVTG,0.00,T,,M,0.00,N,0.00,K,A*23
$GNZDA,052053.000,23,06,2024,00,00*4A
Re: XTreme EMS G2 GPS and Time problems
Posted: Sun Jul 14, 2024 1:49 am
by kabong
HI guys,
Thanks for the firmware update. It has greatly improved the system, but some minor issues.
The issue with the time/date and localtime are now all correct.
the continuing situation.
1) The Altitude is ONLY displayed if I include the GSA and GSV sentences, even though it is part of the GGA sentence
2) when I include the GSA and GSV, the screen flashes alternately between red and green for the satellites
As I'd prefer to only send GGA and RMC, neither of these are critical, but nice to haves
Example of preferred sentence transmission, only needing GGA and RMC
$GPGGA,014450.000,3523.72104,S,14905.62156,E,1,25,0.6,669.7,M,19.1,M,,*4B
$GPRMC,0144,A,3523.72104,S,14905.62156,E,0.0,119.3,140724,12.7,E,A,V*4F
$GPGGA,014451.000,3523.72103,S,14905.62156,E,1,25,0.6,669.7,M,19.1,M,,*4D
$GPRMC,0144,A,3523.72103,S,14905.62156,E,0.0,119.3,140724,12.7,E,A,V*48
$GPGGA,014452.000,3523.72103,S,14905.62156,E,1,25,0.6,669.7,M,19.1,M,,*4E
$GPRMC,0144,A,3523.72103,S,14905.62156,E,0.0,119.3,140724,12.7,E,A,V*48
$GPGGA,014453.000,3523.72102,S,14905.62155,E,1,25,0.6,669.7,M,19.1,M,,*4D
$GPRMC,0144,A,3523.72102,S,14905.62155,E,0.0,119.3,140724,12.7,E,A,V*4A
$GPGGA,014454.000,3523.72102,S,14905.62155,E,1,25,0.6,669.7,M,19.1,M,,*4A
$GPRMC,0144,A,3523.72102,S,14905.62155,E,0.0,119.3,140724,12.7,E,A,V*4A
$GPGGA,014455.000,3523.72102,S,14905.62155,E,1,25,0.6,669.6,M,19.1,M,,*4A
$GPRMC,0144,A,3523.72102,S,14905.62155,E,0.0,119.3,140724,12.7,E,A,V*4A
$GPGGA,014456.000,3523.72102,S,14905.62155,E,1,25,0.6,669.6,M,19.1,M,,*49
$GPRMC,0144,A,3523.72102,S,14905.62155,E,0.0,119.3,140724,12.7,E,A,V*4A
$GPGGA,014457.000,3523.72102,S,14905.62155,E,1,25,0.6,669.6,M,19.1,M,,*48
$GPRMC,0144,A,3523.72102,S,14905.62155,E,0.0,119.3,140724,12.7,E,A,V*4A
$GPGGA,014458.000,3523.72102,S,14905.62155,E,1,25,0.6,669.6,M,19.1,M,,*47
$GPRMC,0144,A,3523.72102,S,14905.62155,E,0.0,119.3,140724,12.7,E,A,V*4A
$GPGGA,014459.000,3523.72102,S,14905.62154,E,1,25,0.6,669.6,M,19.1,M,,*47
$GPRMC,0144,A,3523.72102,S,14905.62154,E,0.0,119.3,140724,12.7,E,A,V*4B
$GPGGA,014500.000,3523.72102,S,14905.62154,E,1,25,0.6,669.6,M,19.1,M,,*4A
$GPRMC,0145,A,3523.72102,S,14905.62154,E,0.0,119.3,140724,12.7,E,A,V*4A
$GPGGA,014501.000,3523.72101,S,14905.62153,E,1,25,0.6,669.6,M,19.1,M,,*4F
$GPRMC,0145,A,3523.72101,S,14905.62153,E,0.0,119.3,140724,12.7,E,A,V*4E
$GPGGA,014502.000,3523.72101,S,14905.62152,E,1,25,0.6,669.6,M,19.1,M,,*4D
$GPRMC,0145,A,3523.72101,S,14905.62152,E,0.0,119.3,140724,12.7,E,A,V*4F
$GPGGA,014503.000,3523.72101,S,14905.62151,E,1,26,0.5,669.6,M,19.1,M,,*4F
$GPRMC,0145,A,3523.72101,S,14905.62151,E,0.0,119.3,140724,12.7,E,A,V*4C
Example Including GSA and GSV sentences
$GPGGA,014333.000,3523.72088,S,14905.62170,E,1,26,0.5,670.3,M,19.1,M,,*44
$GPGSA,A,3,02,05,07,08,09,13,14,17,20,21,22,30,1.0,0.5,0.8,1*21
$GPGSA,A,3,11,12,23,39,40,43,,,,,,,1.0,0.5,0.8,4*2D
$GPGSA,A,3,78,79,69,88,68,,,,,,,,1.0,0.5,0.8,2*20
$GPGSV,4,1,15,02,05,068,21,05,15,252,27,07,55,110,37,08,28,129,37,0*60
$GPGSV,4,2,15,09,32,021,36,13,23,223,24,14,62,280,25,17,19,357,40,0*68
$GPGSV,4,3,15,20,11,281,08,21,07,083,19,22,37,297,27,30,67,191,31,0*64
$GPGSV,4,4,15,194,55,318,34,195,07,352,28,199,43,325,29,0*6D
$GPRMC,0143,A,3523.72088,S,14905.62170,E,0.0,119.3,140724,12.7,E,A,V*49
$GPGGA,014334.000,3523.72088,S,14905.62169,E,1,26,0.5,670.2,M,19.1,M,,*4A
$GPGSA,A,3,02,05,07,08,09,13,14,17,20,21,22,30,1.0,0.5,0.8,1*21
$GPGSA,A,3,11,12,23,39,40,43,,,,,,,1.0,0.5,0.8,4*2D
$GPGSA,A,3,78,79,69,88,68,,,,,,,,1.0,0.5,0.8,2*20
$GPGSV,4,1,15,02,05,068,19,05,15,252,27,07,55,110,37,08,28,129,37,0*6B
$GPGSV,4,2,15,09,32,021,36,13,23,223,24,14,62,280,27,17,19,357,40,0*6A
$GPGSV,4,3,15,20,11,281,08,21,07,083,19,22,37,297,27,30,67,191,31,0*64
$GPGSV,4,4,15,194,55,318,34,195,07,352,28,199,43,325,29,0*6D
$GPRMC,0143,A,3523.72088,S,14905.62169,E,0.0,119.3,140724,12.7,E,A,V*41
$GPGGA,014335.000,3523.72088,S,14905.62170,E,1,26,0.5,670.2,M,19.1,M,,*43
$GPGSA,A,3,02,05,07,08,09,13,14,17,20,21,22,30,1.0,0.5,0.8,1*21
$GPGSA,A,3,11,12,23,39,40,43,,,,,,,1.0,0.5,0.8,4*2D
$GPGSA,A,3,78,79,69,88,68,,,,,,,,1.0,0.5,0.8,2*20
$GPGSV,4,1,15,02,05,068,19,05,15,252,27,07,55,110,37,08,28,129,37,0*6B
$GPGSV,4,2,15,09,32,021,36,13,23,223,24,14,62,280,27,17,19,357,40,0*6A
$GPGSV,4,3,15,20,11,281,08,21,07,083,19,22,37,297,27,30,67,191,31,0*64
$GPGSV,4,4,15,194,55,318,34,195,07,352,28,199,43,325,29,0*6D
$GPRMC,0143,A,3523.72088,S,14905.62170,E,0.0,119.3,140724,12.7,E,A,V*49
$GPGGA,014336.000,3523.72088,S,14905.62169,E,1,26,0.5,670.2,M,19.1,M,,*48
$GPGSA,A,3,02,05,07,08,09,13,14,17,20,21,22,30,1.0,0.5,0.8,1*21
$GPGSA,A,3,11,12,23,39,40,43,,,,,,,1.0,0.5,0.8,4*2D
$GPGSA,A,3,78,79,69,88,68,,,,,,,,1.0,0.5,0.8,2*20
$GPGSV,4,1,15,02,05,068,19,05,15,252,27,07,55,110,37,08,28,129,37,0*6B
$GPGSV,4,2,15,09,32,021,36,13,23,223,24,14,62,280,28,17,19,357,40,0*65
$GPGSV,4,3,15,20,11,281,08,21,07,083,20,22,37,297,27,30,67,191,32,0*6D
$GPGSV,4,4,15,194,55,318,35,195,07,352,28,199,43,325,29,0*6C
$GPRMC,0143,A,3523.72088,S,14905.62169,E,0.0,119.3,140724,12.7,E,A,V*41
$GPGGA,014337.000,3523.72089,S,14905.62169,E,1,26,0.5,670.2,M,19.1,M,,*48
$GPGSA,A,3,02,05,07,08,09,13,14,17,20,21,22,30,1.0,0.5,0.8,1*21
$GPGSA,A,3,11,12,23,39,40,43,,,,,,,1.0,0.5,0.8,4*2D
$GPGSA,A,3,78,79,69,88,68,,,,,,,,1.0,0.5,0.8,2*20
$GPGSV,4,1,15,02,05,068,19,05,15,252,27,07,55,110,36,08,28,129,37,0*6A
$GPGSV,4,2,15,09,32,021,36,13,23,223,24,14,62,280,28,17,19,357,40,0*65
$GPGSV,4,3,15,20,11,281,08,21,07,083,20,22,37,297,28,30,67,191,32,0*62
$GPGSV,4,4,15,194,56,318,35,195,07,352,28,199,43,325,29,0*6F
$GPRMC,0143,A,3523.72089,S,14905.62169,E,0.0,119.3,140724,12.7,E,A,V*40
$GPGGA,014338.000,3523.72090,S,14905.62169,E,1,26,0.5,670.2,M,19.1,M,,*4F
$GPGSA,A,3,02,05,07,08,09,13,14,17,20,21,22,30,1.0,0.5,0.8,1*21
$GPGSA,A,3,11,12,23,39,40,43,,,,,,,1.0,0.5,0.8,4*2D
$GPGSA,A,3,78,79,69,88,68,,,,,,,,1.0,0.5,0.8,2*20
$GPGSV,4,1,15,02,05,068,19,05,15,252,27,07,55,110,36,08,28,129,37,0*6A
$GPGSV,4,2,15,09,32,021,36,13,23,223,24,14,62,280,28,17,19,357,40,0*65
$GPGSV,4,3,15,20,11,281,08,21,07,083,20,22,37,297,28,30,67,191,32,0*62
$GPGSV,4,4,15,194,56,318,35,195,07,352,28,199,43,325,29,0*6F
$GPRMC,0143,A,3523.72090,S,14905.62169,E,0.0,119.3,140724,12.7,E,A,V*48
NOTE: The previous NMEA sentences I had supplied were direct from the GPS chip. This version is from my device which filters and modifies then a little.
a) it changes the GN to GP, so that my old Autopilot recognizes them (as you had noticed similar)
b) adds the magnetic variation to the RMC (which the GPS chip was unaware of)
I had a bug where i was supplying the year as 2024, instead of 24, so it was incorrectly setting the year to 2020.
I have corrected this.