OpenMarine
[OP2] AIS via RTL-SDR-Stick - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: [OP2] AIS via RTL-SDR-Stick (/showthread.php?tid=2302)



[OP2] AIS via RTL-SDR-Stick - harald99 - 2020-02-05

Hi!
First of all, thank you very much for the great work on OpenPlotter2.

I'm trying to use my RTL-SDR as an AIS Receiver, but nether the PlugIn for OpenCPN nor the SDR-AIS app in OP2 are available yet.

Is there a possibility to use the Stick and get the AIS-data to SignalK or OpenCPN?

Thank you very much for any help!

Yours Harald


RE: [OP2] AIS via RTL-SDR-Stick - plotter23523 - 2020-02-05

Hi Harald,

I'm a bit stuck as well with that in v2.0. The frustrating part is that it all used to work nicely in openplotter v1.2.
Unfortunately my SD card got corrupted and I cannot find a download for that version anymore.

I'm hoping someone could put back the v1.2 image as v2.0 is not officially out yet.
But I'm guessing it's not easy to maintain different versions.

The 'opencpn rtlsdr' plugin site states it can be installed using the 'sudo apt-get install' command. But it just doesn't work in v2.0.

You can install rtl-sdr and then it seems to work:

sudo apt-get install rtl-sdr
rtl_test -p
=> get the ppm
rtl_fm -f 161975000 -p [put ppm here] -s 48k | aisdecoder -h 127.0.0.1 -p 10110 -a file -c mono -d -f /dev/stdin

But I can't confirm it actually does.

Cheers!


RE: [OP2] AIS via RTL-SDR-Stick - harald99 - 2020-02-06

(2020-02-05, 11:26 PM)plotter23523 Wrote: You can install rtl-sdr and then it seems to work:

sudo apt-get install rtl-sdr
rtl_test -p
=> get the ppm
rtl_fm -f 161975000 -p [put ppm here] -s 48k | aisdecoder -h 127.0.0.1 -p 10110 -a file -c mono -d -f /dev/stdin

But I can't confirm it actually does.

Cheers!

OK, I will try. My second problem is that I am about 500 miles away from sea in the alps. [emoji846]

So it should work for the next sailing turn...

Can anyone tell me what timeline is planned for the AIS-SDR app and for the RTL-SDR plugin?

Thank you, Harald

Gesendet von meinem SM-A520F mit Tapatalk


RE: [OP2] AIS via RTL-SDR-Stick - SkipperEarly - 2020-02-06

maybe this link helps:
https://www.fontenay-ronan.fr/ais-receiver-on-a-raspberry-pi-with-rtl-sdr/#more-1498


RE: [OP2] AIS via RTL-SDR-Stick - MatsA - 2020-02-06

I did a similar post, works with OP V2, 

https://pysselilivet.blogspot.com/2018/06/ais-reciever-for-raspberry.html

Including a fix for RPi 4 and auto start with systemd.


RE: [OP2] AIS via RTL-SDR-Stick - Sailoog - 2020-02-06

Sorry guys, openplotter-sdr app is on the first place of the TODO list after the official release of OP2.

OP1 links: https://archive.org/details/@sailoog


RE: [OP2] AIS via RTL-SDR-Stick - philip g taylor - 2020-02-06

Can you confirm we're OK to use the above fix in the meantime please?

We'd obviously need to revert it when the official app arrives.


RE: [OP2] AIS via RTL-SDR-Stick - MatsA - 2020-02-07

(2020-02-06, 09:54 PM)philip g taylor Wrote: Can you confirm we're OK to use the above fix in the meantime please?

We'd obviously need to revert it when the official app arrives.

I know that I'm the wrong guy answering Wink , but Yes You can uninstall my interim solution before installing, the coming, OP one.


RE: [OP2] AIS via RTL-SDR-Stick - Sailoog - 2020-04-20

SDR AIS available in OpenPlotter 2
http://forum.openmarine.net/showthread.php?tid=2518