Author Topic: GlobalSat nd-105C GPS  (Read 12564 times)

JCurtis

Re: GlobalSat nd-105C GPS
« Reply #15 on: May 16, 2017, 09:30:10 am »
Worth a try, with it connected up via PuTTY to the PC can you enter the following command, need to ensure PuTTY is setup to send CR/LF at the end.  Best to cut and paste the line in rather than type then hit enter at the end.

$PUBX,41,1,0003,0001,9600,0,*3A

Now, in theory this will disable the UBX protocol being sent from the unit.  If it doesn't work, try the two below, that set different ports with the same config.

$PUBX,41,0,0003,0001,9600,0,*3B
$PUBX,41,3,0003,0001,9600,0,*38

Does it make any difference?
Designer and maker of charge4.harkwood.co.uk, smart universal USB chargers designed for aviation.  USB Type-A and USB-C power without the RF interference. Approved for EASA installs under CS-STAN too.

Wadoadi

Re: GlobalSat nd-105C GPS
« Reply #16 on: May 16, 2017, 11:20:01 am »
Hi Jeremy, thanks for the codes, the first 2 seemed to make no difference the third one changed it all to binary (my assumption that it is binary), however it did not save the setting as unplugging it returned it to the original behavior.

I will ask on the Ublox forum and report back.


JCurtis

Re: GlobalSat nd-105C GPS
« Reply #17 on: May 16, 2017, 11:39:16 am »
Ah, I think the mask must be inverted then, try this one...

$PUBX,41,3,0003,0002,9600,0,*38*1A
Designer and maker of charge4.harkwood.co.uk, smart universal USB chargers designed for aviation.  USB Type-A and USB-C power without the RF interference. Approved for EASA installs under CS-STAN too.

Wadoadi

Re: GlobalSat nd-105C GPS
« Reply #18 on: May 16, 2017, 11:43:22 am »
thanks again...
this appears to have changed the issue!
$GPGBS,104149.00,11.4,7.7,14.3,,,,*4A
▒b0▒▒▒
b
Z
▒▒▒
*▒▒▒▒
 4C▒▒▒x▒
        |
▒▒▒▒▒▒▒4p▒b▒▒
▒E=▒▒L$GPRMC,104150.00,A,5244.47655,N,00033.00813,E,0.724,,160517,,,A*7C

Wadoadi

Re: GlobalSat nd-105C GPS
« Reply #19 on: May 16, 2017, 11:51:28 am »
Playing now in the Ulbox application i have  the Hex of the messages I don't want to see.
10:49:28  0000  B5 62 01 30 C8 00 F8 9C 9F 0C 10 03 00 00 09 06  µb.0È.ø.........
          0010  0D 04 1C 08 57 00 CA 01 00 00 07 0A 0D 04 14 0E  ....W.Ê.........
          0020  0A 01 64 FD FF FF 00 0C 0D 07 20 52 DC 00 D7 FF  ..dýÿÿ.... RÜ.×ÿ
          0030  FF FF 0D 0E 04 01 00 10 3E 01 00 00 00 00 06 0F  ÿÿ......>.......
          0040  0D 04 13 13 AF 00 68 00 00 00 05 11 0D 04 18 15  ....¯.h.........
          0050  28 00 E8 FE FF FF 0A 12 0C 01 00 05 F3 00 00 00  (.èþÿÿ......ó...
          0060  00 00 02 13 0D 04 19 24 3A 00 89 FC FF FF 01 18  .......$:..üÿÿ..
          0070  0D 04 1E 47 76 00 B5 FF FF FF 08 19 0D 04 17 23  ...Gv.µÿÿÿ.....#
          0080  F0 00 23 02 00 00 03 20 0D 04 18 22 32 01 B2 01  ð.#.... ..."2.².
          0090  00 00 04 78 10 01 00 1C C8 00 00 00 00 00 0B 7C  ...x....È......|
          00A0  10 01 00 1B 9A 00 00 00 00 00 0C 7E 10 01 00 1A  ...........~....
          00B0  96 00 00 00 00 00 0E C4 10 01 00 A5 00 00 00 00  .......Ä...¥....
          00C0  00 00 0F C5 10 01 00 A5 00 00 00 00 00 00 BB 7D  ...Å...¥......»}.
         
10:49:28  0000  B5 62 01 03 10 00 F8 9C 9F 0C 03 DD 00 00 5D 10  µb....ø....Ý..].
          0010  00 00 19 33 03 00 EF 5D                          ...3..ï].

JCurtis

Re: GlobalSat nd-105C GPS
« Reply #20 on: May 16, 2017, 11:56:10 am »
OK, how about...

$PUBX,41,3,0002,0002,9600,0,*38*1B

Basically this command sets the protocols and baud rate, sent in NEMA format.  If you have the UBLOX control app then you should be able to turn it off in that too.

The reference for this is

https://www.u-blox.com/sites/default/files/products/documents/u-blox6_ReceiverDescrProtSpec_%28GPS.G6-SW-10018%29_Public.pdf?utm_source=en%2Fimages%2Fdownloads%2FProduct_Docs%2Fu-blox6_ReceiverDescriptionProtocolSpec_%28GPS.G6-SW-10018%29.pdf

So you should be able to generate commands, just need to calculate the checksum for the command you are sending, as it will be different on every command.

That binary data is GPS info in binary form.
Designer and maker of charge4.harkwood.co.uk, smart universal USB chargers designed for aviation.  USB Type-A and USB-C power without the RF interference. Approved for EASA installs under CS-STAN too.

JCurtis

Re: GlobalSat nd-105C GPS
« Reply #21 on: May 16, 2017, 12:22:30 pm »
OK, digging out my GPS dev kit I can turn these binary messages off, but only by sending a UBX binary command to do it.  It's the UBX-CFG-PRT command.

It is just how to send it...

B5 62 06 00 14 00 03 00 00 00 00 00 00 00 00 00 00 00 03 00 02 00 00 00 00 00 22 A8

...then that should do the trick!

Does PuTTY support sending hex data?

*edited hex to leave UBX commands to unit working*
« Last Edit: May 16, 2017, 12:31:11 pm by JCurtis »
Designer and maker of charge4.harkwood.co.uk, smart universal USB chargers designed for aviation.  USB Type-A and USB-C power without the RF interference. Approved for EASA installs under CS-STAN too.

Admin

Re: GlobalSat nd-105C GPS
« Reply #22 on: May 16, 2017, 12:32:19 pm »
If not you can use realterm

I would have thought that in the ublox tool, you could configure the dongle to not provide binary.

Thx
Lee

JCurtis

Re: GlobalSat nd-105C GPS
« Reply #23 on: May 16, 2017, 12:48:59 pm »
If not you can use realterm

I would have thought that in the ublox tool, you could configure the dongle to not provide binary.

Thx
Lee

Yes, will the full uCentre you can set a config and in theory write that back to flash in the device, but it's handy to know the hex codes should it ever need to be incorporated into any kind of setup/init string in the future.....
Designer and maker of charge4.harkwood.co.uk, smart universal USB chargers designed for aviation.  USB Type-A and USB-C power without the RF interference. Approved for EASA installs under CS-STAN too.

Admin

Re: GlobalSat nd-105C GPS
« Reply #24 on: May 16, 2017, 02:11:26 pm »
I think more interesting, how did this mode get enabled in the first place ?
I am pretty sure the device does not ship with this mode enabled, otherwise we would have seen this issue many times before

Thx
Lee

Wadoadi

Re: GlobalSat nd-105C GPS
« Reply #25 on: May 16, 2017, 05:09:29 pm »
well send the hex didn't work or it did not send!

turning off the PUBX & UBX stops it switching to Putty confirmed this, however unplugging the GPS and re connecting it and it is back to the original issue.

Lee, I 'm not 100% sure that this is the issue, if i plug the Ublox into the PaW it gets a gps fix showing on the home screen
As can be seen from PaW log below.

The issue was why it was dropping the fix in flight and why it doesn't get a fix in the house when connected to the Pi but does when in does when plugged in to a PC? I'm thinking it may be EMF from the PI?

Log from Pi
(15:40:28) GPS-NMEA : GPS-USB: $GPGSV,3,2,12,21,53,164,22,23,09,304,18,25,16,123,22,26,69,287,39*77
(15:40:28) GPS-NMEA : GPS-USB: $GPGSV,3,1,12,05,16,047,29,09,07,335,,16,39,297,30,20,20,096,32*75
(15:40:28) GPS-NMEA : GPS-USB: $GPGSA,A,3,26,21,29,31,16,20,25,05,23,,,,1.68,0.93,1.40*0A
(15:40:28) GPS-NMEA : GPS-USB: $GPGGA,154030.00,5244.47620,N,00033.00795,E,1,09,0.93,12.8,M,45.8,M,,*65
(15:40:28) GPS-NMEA : GPS-USB: $GPVTG,,T,,M,0.060,N,0.111,K,A*24
(15:40:28) GPS-NMEA : GPS-USB: $GPRMC,154030.00,A,5244.47620,N,00033.00795,E,0.060,,160517,,,A*7A
(15:40:27) GPS-NMEA : GPS-USB: $GPGLL,5244.47619,N,00033.00784,E,154029.00,A,A*63
(15:40:27) GPS-NMEA : GPS-USB: $GPGSV,3,3,12,27,11,253,,29,46,068,34,31,38,204,28,39,26,150,30*77
(15:40:27) GPS-NMEA : GPS-USB: $GPGSV,3,2,12,21,53,164,22,23,09,304,18,25,16,123,22,26,69,287,39*77
(15:40:27) GPS-NMEA : GPS-USB: $GPGSV,3,1,12,05,16,047,28,09,07,335,,16,39,297,29,20,20,096,34*7A
(15:40:27) GPS-NMEA : GPS-USB: $GPGSA,A,3,26,21,29,31,16,20,25,05,23,,,,1.68,0.93,1.40*0A
(15:40:27) GPS-NMEA : GPS-USB: $GPGGA,154029.00,5244.47619,N,00033.00784,E,1,09,0.93,12.6,M,45.8,M,,*69
(15:40:27) GPS-NMEA : GPS-USB: $GPVTG,,T,,M,0.113,N,0.209,K,A*2B
(15:40:27) GPS-NMEA : GPS-USB: $GPRMC,154029.00,A,5244.47619,N,00033.00784,E,0.113,,160517,,,A*7D

Admin

Re: GlobalSat nd-105C GPS
« Reply #26 on: May 16, 2017, 05:38:03 pm »
Now I am confused

If you connected via PuTTY on your PC, and you saw binary data, this same binary data will be sent to the PI.
I cannot recall, but the messages you are seeing _may_ only be the ones which are successfully parsed.

If binary data is being sent to PilotAware - that will cause a problem, because it is unexpected by the parser.

Thx
Lee

Wadoadi

Re: GlobalSat nd-105C GPS
« Reply #27 on: May 16, 2017, 06:37:54 pm »
Me too! In fact I'm very confused!

Is PaW filtering it out?


Admin

Re: GlobalSat nd-105C GPS
« Reply #28 on: May 16, 2017, 07:11:50 pm »
I think the goal should be
- disable the binary output
- see the effect on Pilotaware

How about this ?
https://forum.u-blox.com/index.php?qa=1202&qa_1=it-possible-to-configure-the-gps-order-not-to-send-binary-data

Thx
Lee
« Last Edit: May 16, 2017, 07:15:55 pm by Admin »

Wadoadi

Re: GlobalSat nd-105C GPS
« Reply #29 on: May 17, 2017, 10:50:40 am »
Ok I can turn off these messages in CFG-CFG_revert or by disabling the messages however it is not saved when I unplug the GPS and plug it back in two messages are always returning which is UBX_Nav, staus and service info.

CFG-CFG-Save doesn't help either

I have asked on the uBlox forum.

could some one plug a VK-172 in to a laptop and run the uBlox software go to message view window and see if you have the UBX message in bold?