This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
U-blox 7 G-mouse issues on RPi4
#11
(2024-07-01, 08:12 AM)Windhoos Wrote: Someone on the Openplotter Facebook group reported the same issue with an Rpi 5. I’ve asked him to report his issue here as well, but just in case I’ve copied his message.

I have exactly the same issue. I have tried no less than five different makes of UPS GPS dongles. They all work perfectly on my laptop running OpenCPN 5.8.4 however when I plug any of them  into my Pi 5 running OpenCPN 5.8.4 I don’t get a position. if I configure in OpenCPN options/connections. I get NMEA data in the debug window on the PI5 and the dashboard shows over 10 satellites and a strong signal with three bars in the top right but the position does not update.  If I set up signal k in open plotter 4 then I still get the 3 bars but no NMEA debug data and no satellites in the dashboard. If I connect wirelessly to my boats gps it all works perfectly but I can’t get USP gps to work on the pi no matter what I do or how I configure it. I am using the official up rated 27 watt Pi5 power supply on the pi.”

Looking at your data it's not the software, the GPS isn't outputting position data, signalk seems to being just putting out what is coming in. You could try deleting the connection in signalk then having a look at "at /dev/ttyACM0" in the terminal & see if what is coming in is any different. This is mine>>


pi@openplotter:~ $ cat /dev/ttyACM0
$GPRMC,095826.00,A,3700.01410,N,00756.24622,W,0.112,,010724,,,A*64
$GPVTG,,T,,M,0.112,N,0.207,K,A*24
$GPGGA,095826.00,3700.01410,N,00756.24622,W,1,10,0.85,8.1,M,47.0,M,,*4C
$GPGSA,A,3,23,07,02,16,21,27,32,03,08,10,,,1.36,0.85,1.05*01
$GPGSV,3,1,12,02,43,273,36,03,05,203,29,07,08,269,41,08,75,006,42*7F
$GPGSV,3,2,12,10,41,053,32,14,03,324,32,16,29,167,30,21,59,290,46*73
$GPGSV,3,3,12,23,10,038,34,27,54,094,40,30,04,298,33,32,14,100,47*79
$GPGLL,3700.01410,N,00756.24622,W,095826.00,A,A*7F
$GPRMC,095827.00,A,3700.01412,N,00756.24620,W,0.085,,010724,,,A*6A
$GPVTG,,T,,M,0.085,N,0.157,K,A*2D
$GPGGA,095827.00,3700.01412,N,00756.24620,W,1,10,0.85,8.0,M,47.0,M,,*4C
$GPGSA,A,3,23,07,02,16,21,27,32,03,08,10,,,1.36,0.85,1.05*01
$GPGSV,3,1,12,02,43,273,37,03,05,203,30,07,08,269,41,08,75,006,41*75
$GPGSV,3,2,12,10,41,053,37,14,03,324,33,16,29,167,31,21,59,290,46*76
$GPGSV,3,3,12,23,10,038,33,27,54,094,41,30,04,298,32,32,14,099,47*7F
$GPGLL,3700.01412,N,00756.24620,W,095827.00,A,A*7E
$GPRMC,095828.00,A,3700.01415,N,00756.24617,W,0.080,,010724,,,A*63
Reply
#12
(2024-07-01, 11:00 AM)PaddyB Wrote:
(2024-07-01, 08:12 AM)Windhoos Wrote: Someone on the Openplotter Facebook group reported the same issue with an Rpi 5. I’ve asked him to report his issue here as well, but just in case I’ve copied his message.

I have exactly the same issue. I have tried no less than five different makes of UPS GPS dongles. They all work perfectly on my laptop running OpenCPN 5.8.4 however when I plug any of them  into my Pi 5 running OpenCPN 5.8.4 I don’t get a position. if I configure in OpenCPN options/connections. I get NMEA data in the debug window on the PI5 and the dashboard shows over 10 satellites and a strong signal with three bars in the top right but the position does not update.  If I set up signal k in open plotter 4 then I still get the 3 bars but no NMEA debug data and no satellites in the dashboard. If I connect wirelessly to my boats gps it all works perfectly but I can’t get USP gps to work on the pi no matter what I do or how I configure it. I am using the official up rated 27 watt Pi5 power supply on the pi.”

Looking at your data it's not the software, the GPS isn't outputting position data, signalk seems to being just putting out what is coming in. You could try deleting the connection in signalk then having a look at "at /dev/ttyACM0" in the terminal & see if what is coming in is any different. This is mine>>


pi@openplotter:~ $ cat /dev/ttyACM0
$GPRMC,095826.00,A,3700.01410,N,00756.24622,W,0.112,,010724,,,A*64
$GPVTG,,T,,M,0.112,N,0.207,K,A*24
$GPGGA,095826.00,3700.01410,N,00756.24622,W,1,10,0.85,8.1,M,47.0,M,,*4C
$GPGSA,A,3,23,07,02,16,21,27,32,03,08,10,,,1.36,0.85,1.05*01
$GPGSV,3,1,12,02,43,273,36,03,05,203,29,07,08,269,41,08,75,006,42*7F
$GPGSV,3,2,12,10,41,053,32,14,03,324,32,16,29,167,30,21,59,290,46*73
$GPGSV,3,3,12,23,10,038,34,27,54,094,40,30,04,298,33,32,14,100,47*79
$GPGLL,3700.01410,N,00756.24622,W,095826.00,A,A*7F
$GPRMC,095827.00,A,3700.01412,N,00756.24620,W,0.085,,010724,,,A*6A
$GPVTG,,T,,M,0.085,N,0.157,K,A*2D
$GPGGA,095827.00,3700.01412,N,00756.24620,W,1,10,0.85,8.0,M,47.0,M,,*4C
$GPGSA,A,3,23,07,02,16,21,27,32,03,08,10,,,1.36,0.85,1.05*01
$GPGSV,3,1,12,02,43,273,37,03,05,203,30,07,08,269,41,08,75,006,41*75
$GPGSV,3,2,12,10,41,053,37,14,03,324,33,16,29,167,31,21,59,290,46*76
$GPGSV,3,3,12,23,10,038,33,27,54,094,41,30,04,298,32,32,14,099,47*7F
$GPGLL,3700.01412,N,00756.24620,W,095827.00,A,A*7E
$GPRMC,095828.00,A,3700.01415,N,00756.24617,W,0.080,,010724,,,A*63

As I said earlier, there is no position because the GPS can't see enough satellites. Looking at your messages, $GPGSV shows you have 12 satellites in view so you will get a position. In the OP's output the $GPGSV message shows there is only one in view and hence no position. I agree it's not the software though.

Here's a line from my output.
$GPGSV,3,2,11,16,05,175,,21,61,258,23,22,05,331,,23,22,045,*77

The 11 in position 3 after the $GPGSV header says my U-blox can see 11 satellites, that corresponds with what is shown in Signal K: The lack of satellite visibility is the core of the issue here.


Attached Files Image(s)
   
Reply
#13
I had the gps outside on the balcony

(2024-07-01, 10:35 AM)baltika_no_9 Wrote:
(2024-07-01, 04:40 AM)Windhoos Wrote: No I meant the month difference between navigation.gnss.satellitesinview and the other navigation elements.

OK, I see that discrepancy too when I just have my U-blox 7 inside where it can see no satellites. If I just dangle it out of the window the U-blox can see a dozen or so satellites and it gives me a position. Also the timestamps are correct. I don't think that is a worry, they will update correctly once you have a fix but that's of course the basis of your issue!

My setup is OPv3 on a Pi4
Reply
#14
(2024-07-01, 11:16 AM)Windhoos Wrote: I had the gps outside on the balcony

The Ublox then is remote from the Pi rather than plugged directly into it I assume. It's odd but I'd still be inclined to try it on a powered hub if only to eliminate power being an issue.
Reply
#15
I remember reading an article about GPS signal interference caused by Raspberry USB plugs that could be solved with better sheathed cables. I can not find this article now...
Reply
#16
(2024-07-01, 12:08 PM)Sailoog Wrote: I remember reading an article about GPS signal interference caused by Raspberry USB plugs that could be solved with better sheathed cables. I can not find this article now...

That's why I suggested mounting the GPS at a distance from the Pi to try to eliminate this as the issue.
Reply
#17
https://forum.openmarine.net/showthread.php?tid=3062
Reply
#18
(2024-07-01, 12:12 PM)Sailoog Wrote: https://forum.openmarine.net/showthread.php?tid=3062
Interesting I have an Argon M2 case, but the gps is plugged in a USB2 port. The cable is roughly 1,5m long.
I’ll try an extension cable when I’m back on the boat next week and try wrapping the USB3 bridge in tinfoil. Also will switch off wifi.
Reply
#19
Ha. When I disable wifi the GPS is working. So this confirms that it is wifi interference. So that also impacts USB 2 ports.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)