jvde-github / AIS-catcher-for-Android

Android AIS receiver for RTL SDR dongles, Airspy R2, Airspy Mini, Airspy HF+ and TCP (RTL-TCP and SpyServer). Output is send via UDP and visualized on the built-in map
GNU General Public License v3.0
96 stars 7 forks source link

getting messages but can't see a thing on opencpn #3

Closed j2l closed 2 years ago

j2l commented 2 years ago

Hi, Your project seems great! I have a RTL-SDR receiver and live near the sea, I successfully got 11 messages (type: other) and set up a connection (UDP, 127.0.0.1:10110) on opencpn free (android) but I don't see any boat on the map.

Would you please share the full process to link your catcher and opencpn?

Thank you

jvde-github commented 2 years ago

Hi, I will add something to the github page early next week. You should be able to easily set this up in the settings menu. You mention that you received messages of type "other". It might be that OpenCPN receives and processes these but does not result in ships on the map (typically comes from msg 1-3 and 5). You can confirm that OpenCPN receives messages from AIS-catcher by selecting the Debug NMEA window in the Connections menu. This then adds a window that should show the same messages as send by AIS-catcher.

Nevertheless, I will add a step-by-step guide next week for OpenCPN and BoatBeacon.

Thanks for your interest, Jasper

j2l commented 2 years ago

Thank you very much @jvde-github! Can't wait to read your guide.

I'll check in OpenCPN ASAP and let you know.

j2l commented 2 years ago

OK, I see messages in openCPN, but I get nothing but other messages. Weird. Receiving ADS-B works with the same setup (1090Mhz).

Maybe it's my antenna, which frequency is your AIS? 161.975Mhz and 162.025Mhz?

jvde-github commented 2 years ago

We are indeed looking at frequency: 161.975Mhz and 162.025Mhz.

I think your connection with OpenCPN is set up properly then.

While ADS-B works nearly everywhere, AIS is a bit different. Ships are on sea level (and not at high altitude) and for this reason AIS travels much shorter distances (think 20 - 100km without major obstacles). So, this might be the cause?

You could use a site like marinetraffic.com or vesselfinder.com to check if there are vessels close to you that you should be receiving. Alternative is to test the mobile set up in an area like a port with some commercial vessels.

Kind regards, Jasper

j2l commented 2 years ago

Thank you @jvde-github,

I tested it at the airplane club, near the sea (the final approach is on the sea).

There are no big commercial ships here, but there are at least 5 ships in the nearby port visible on marinetraffic. Most important, I noticed that my antenna is subpar when I compare it with the handheld receiver from the club when listening to the airport control tower.

162Mhz means a 1.85 m antenna. I need to find a way to get or build a good antenna I guess. If you have tips, I'm all ears :smile:

By any chance did you also try receiving marine weather? I asked on hackrf but it's stuck for now: https://github.com/greatscottgadgets/hackrf/issues/1088#issuecomment-1165747872

Maybe there's another way to get weather information without (expensive) satellite fees.

jvde-github commented 2 years ago

In all honesty I usually use the antenna that came with the NOELEC SDR dongle and I think in general a simple antenna should suffice if you are close enough to the sea and there is sufficient traffic. I liked that antenna as it is portable :-)

I looked at weather data in the past (using websdr: http://websdr.ewi.utwente.nl:8901/) to understand how it works but did not do anything further with it as broadcasting is so infrequent.

Jeremy Clark had a recent video on this topic I think: https://jeremyclark.ca/wp/telecom/rtl-sdr-for-marine-weather-on-hf-sitor/ He seems to be using an upconverter in combination with a simple rtl-sdr dongle.

j2l commented 2 years ago

Thank you @jvde-github

I though of StarLink, but it's not working while moving and will get expensive sooner or later.

I tried something weird but it's working with FLdigi:

It's fun, but I'd like to get weather forecast (fax or else) while on sea (my receiver and antenna are from RTL-SDR.com, NOELEC is the same I think, but not the antenna). Do you know where I could get a good but inexpensive antenna?

j2l commented 2 years ago

It (almost fully) works now, closing this one