GPS/AIS not working

 

To comment on questions or provide answers, please login first.
Register | Login

 

nicola.lunetti asked 8 months ago

Good morning,
i installed hat2 on pi4 with openplotter version 2 noobs. Everything works properly (gyroscope, pressure, temperature). It does not work gps and ais. I’m also outdoors. The green leds are on steady. No red led. Firmware and drives all updated.
On the forums I find no help.

1 Answers
Thomas Staff answered 8 months ago

Hello Nicola,
do you use the internal GPS antenna or have you connected an external antenna?
Do you have ships equipped with AIS next to your location?
Can you send me a picture of your setup?
Please execute the following command in a terminal and provide the output:
~/moitessier/app/moitessier_ctrl/moitessier_ctrl_$(uname -r) /dev/moitessier.ctrl 1
Regards,
Thomas

nicola.lunetti replied 8 months ago

1 external antenna
2 no ships

pi@openplotter:~ $ ~/moitessier/app/moitessier_ctrl/moitessier_ctrl_$(uname -r) /dev/moitessier.ctrl 1
opening device /dev/moitessier.ctrl
size – 172
mode – A
hardware ID – P770010
hardware version – E05
boot version –
app version – 1.3.0
functionality – 0xffffffff
system errors – 0x00000000
serial – 2d3630304752430700150015
receiver 1
channel frequency 1 [Hz]: 161975000
channel frequency 2 [Hz]: 162025000
tcxo frequency [Hz]: 13000000
meta data mask: 0x00
afc range [Hz]: 1000
default afc range [Hz]: 1000
rng: 0x08 0x08
receiver 2
channel frequency 1 [Hz]: 161975000
channel frequency 2 [Hz]: 162025000
tcxo frequency [Hz]: 13000000
meta data mask: 0x00
afc range [Hz]: 1000
default afc range [Hz]: 1000
rng: 0x08 0x08
simulator
enabled: 0
interval: 1000
mmsi: 807977831 807977832
misc
write protection ID EEPROM: 1
write button pressed: 0

Thomas Staff replied 8 months ago

Is this an external GPS or AIS antenna? Try to use the internal GPS antenna.
Does your GPS antenna have clear view to sky?
Is there other radio equipment next to your HAT? Especially equipment with high output power.
How long was your board powered on before you give up your testing?

If no ships are next to you, you won’t receive any AIS data.

Execute the following command an provide a few lines of the output:
cat /dev/moitessier.spi

nicola.lunetti replied 8 months ago

pi@openplotter:~ $ cat /dev/moitessier.spi
$GPRMC,001828.868,V,,,,,0.00,0.00,060180,,,N,V*3D
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,001828.868,,,,,0,0,,,M,,M,,*4D
$GPGSA,A,1,,,,,,,,,,,,,,,,1*03
$GPGSA,A,1,,,,,,,,,,,,,,,,2*00
$GPGSV,1,1,00,0*65
$GLGSV,1,1,00,1*78
$GPGLL,,,,,001828.868,V,N*7F
$GPTXT,01,01,02,ANTSTATUS=OPEN*2B
$GPRMC,001829.868,V,,,,,0.00,0.00,060180,,,N,V*3C
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,001829.868,,,,,0,0,,,M,,M,,*4C
$GPGSA,A,1,,,,,,,,,,,,,,,,1*03
$GPGSA,A,1,,,,,,,,,,,,,,,,2*00
$GPGSV,1,1,00,0*65
$GLGSV,1,1,00,1*78
$GPGLL,,,,,001829.868,V,N*7E
$GPTXT,01,01,02,ANTSTATUS=OPEN*2B
$GPRMC,001830.868,V,,,,,0.00,0.00,060180,,,N,V*34
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,001830.868,,,,,0,0,,,M,,M,,*44
$GPGSA,A,1,,,,,,,,,,,,,,,,1*03
$GPGSA,A,1,,,,,,,,,,,,,,,,2*00
$GPGSV,1,1,00,0*65
$GLGSV,1,1,00,1*78
$GPGLL,,,,,001830.868,V,N*76
$GPTXT,01,01,02,ANTSTATUS=OPEN*2B
$GPRMC,001831.868,V,,,,,0.00,0.00,060180,,,N,V*35
$GPVTG,0.00,T,,M,0.00,N,0.00,K,N*32
$GPGGA,001831.868,,,,,0,0,,,M,,M,,*45
$GPGSA,A,1,,,,,,,,,,,,,,,,1*03
$GPGSA,A,1,,,,,,,,,,,,,,,,2*00
$GPGSV,1,1,00,0*65
$GLGSV,1,1,00,1*78
$GPGLL,,,,,001831.868,V,N*77
$GPTXT,01,01,02,ANTSTATUS=OPEN*2B

Thomas Staff replied 8 months ago

I need more input from you. You need to answer my questions from the previous comments, otherwise it will be difficult to find a solution. I checked your serial number and I’ve tested the board personally before we shipped it to Sailoog. So it is for sure that GPS was okay.

nicola.lunetti replied 8 months ago

I solved the problem. Detached external GPS antenna and switched to the internal one. all right. Thanks a lot …. you are fantastic.

 

To comment on questions or provide answers, please login first.
Register | Login