Тёмный

Use RTL-SDR and AIS-catcher with OpenCPN; install and setup tutorial 

Mickey YT9TT
Подписаться 50
Просмотров 6 тыс.
50% 1

Attention! Does not work with newest OpenCPN 5.8.2
This is detailed (slightly different compared to the video clip) description how to install “one click” solution for decoding AIS signals with RTL-SDR on Windows PC and connect it with OpenCPN
For following this guide, it is necessary to have an RTL-SDR receiver (V3 would be preferable or any other with TCXO nooelec, Shipxplorer etc.), antenna tuned to 162Mhz and a computer with Windows 10, so, plug in receiver and let’s have some fun.
Installing drivers for RTL-SDR dongle and calibrating (if necessary)
Many of you do have it running already and I will not cover this section as that is more than enough explained in this blog page www.rtl-sdr.com/rtl-sdr-quick....
Instead, I will instruct you to check is your dongle accurate on frequency or not because these signals are narrow and will tolerate only slight frequency drift. Even if your dongle has TCXO it can initially also be slightly off but it will not drift overtime.
There is great program kalibrate or kal which will determine if SDR is spot on frequency. Follow this page to check PPM value of your dongle cognito.me.uk/computing/2015/... and once you finish, write it down as you will need that value later.
Installing OpenCPN
If you are not familiar with the OpenCPN program and do not have it installed, follow next steps, else you can skip it.
1.From website opencpn.org/OpenCPN/info/down... download latest version, currently it is 5.6.2.
2.Install it using default values for install location. At the end of install uncheck option Run OpenCPN so you don’t run It as we need to install plugins.
Installing plugin for OpenCPN to communicate with decoder/RTL-SDR receiver
3.OpenCPN has plenty of plug-ins and you can find them on their site, thanks to Rick Gleason there is one for our needs, location is github.com/rgleason/rtlsdr_pi...
4. Install it using default values.
5. If you were using default install values go to folder C:\Program Files (x86)\OpenCPN\plugins or if you have 32-bit Windows location is C:\Program Files\OpenCPN\plugins
6. Create folder rtlsdr_pi then open it, and create another folder bin. Windows might ask about rights, just confirm that you want to create those folders and leave bin folder open.
Installing AIS decoder
In previous years I was using rtl_ais as decoder because it works out-of-the-box but recently I discovered a fantastic piece of software called AIS-catcher that continues to evolve and add new features as new versions come out. It will need some tweaks for plugin to recognize it.
7.From Jasper’s github page github.com/jvde-github/AIS-ca... latest version is v0.44 and because my PC is x64 I will be downloading AIS-catcher.x64.zip
8.Unzip files and copy all 13 files + 1 folder to bin folder that you left open in step 6.
9.Rename AIS-catcher(.exe) to rtl_ais(.exe) this part is essential, because plugin only “see” rtl_ais
Now we must tweak everything to run smoothly. You can close all other folders and programs and run OpenCPN
10.When installed, plugin is disabled by default. Go to gearbox (if you don’t see it click hamburger button)
11.Go to Plugins find rtlsdr 1.3 click Enable then Apply and click on Preferences.
12.New window will pop up. For Program select rtl_ais in drop down list
13.In Error Correction field enter PPM value that we calculated in the beginning.
14.In extra_args field we can enter multiple values (see AIS-catcher readme). For basic operation we need to enter -gr RTLAGC on TUNER auto -o 2 -a 192K -u 127.0.0.1 10110 then click OK
15.Stay within Options window of OpenCPN and go to Connections
16.Next, we will Add connection. In Configure new connection check Network, protocol is UDP; Address is 127.0.0.1 and DataPort is 10110. Verify is Control checksum and Receive Input on this Port are checked and finally, hit Apply and OK to close options window.
17.From left menu side, you should see tower-like icon, click on it and check Enable. In Messages field we will see that decoder is successfully executed and soon !AIVDM messages will appear as well as vessels on map. You can close that window and next time you start OpenCPN, decoder will run automatically, but you need to plug in dongle first.
At the end, I will mention other options to explore. AIS-catcher has many options, and we can enter them in extra_args field in step 14. One of them offers activation of internal webserver so you can also monitor vessels on OpenStreetMap and show other advanced info, comprehensive statistics, plugins and other. Add -N 8100 at the end of other parameters, restart decoder like in step 17 (you might see firewall complaining, just allow operation of it). Open your browser and type 127.0.0.1:8100. You can also experiment with antennas, gain settings, and data feeding to sites like shipxplorer, vesselfinder, marinetraffic etc.

Наука

Опубликовано:

 

7 апр 2023

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 34   
@keimahane
@keimahane 3 месяца назад
Thank you so much, this is exactly what I needed, very easy tutorial to follow.
@oscarsierra9437
@oscarsierra9437 Год назад
Thanks a lot!!! I have been looking for a solution to the AIS-OpenCPN connection problem on my PC for a long time and I think that now thanks to you I have it! Now I am far from the sea, but as soon as I can I try it on the coast. Great job Mickey!
@oscarsierra9437
@oscarsierra9437 Год назад
It worked!! Thank you!!
@AlirezaSaraei
@AlirezaSaraei 6 месяцев назад
Great job!
@draganmihai4897
@draganmihai4897 5 месяцев назад
hvala mnogo cuscre
@JUSTME-wy8wl
@JUSTME-wy8wl 4 месяца назад
Hello sir . Thank you for this great presentation (Video). I just wonder is it possible to generate and send AIS messages. I mean this is a receiver, so what about a transceiver? Thank you in advance Sir
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt 4 месяца назад
You can try to build it. There is an open source project check it out. github.com/peterantypas/maiana
@MVLadyLiselot
@MVLadyLiselot 5 месяцев назад
What I miss in this presentation is the possibility to have the name of the vessel next to the AIS target. I often am in crowded area's like Port of Amsterdam and Port of Rotterdam, and I only see AIS targets, but never their (boat)names. So once I receive a call of a boat, I have no idea which of the 12 around me is calling me. Does OPENCPN have the possibility to show Boatname direct in the screen next to the AIS target (without any need to click)?
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt 5 месяцев назад
Only option that I know is in Options>Ships>AIS Targets go to Display section and check Show names with AIS targets at scale greater than 1: and enter value at right, default is 250000. So, whenever color of target is green (and you zoom in more than value entered before) there will be name next to target. I think that some transponders are not sending this value so there is up to you to test it.
@MVLadyLiselot
@MVLadyLiselot 5 месяцев назад
Allright, @@milijaspasojevicyt9tt thanks I will install OpenCPN and look into it. THNX!
@banellone
@banellone 4 месяца назад
Miki, hvatam avione od Inđije do Smedereva na 1090mhz iz sobe, na kojoj da potražim ais? Oko 160mhz? Prilagodićuću dipol, vertikalna polarizacija? Pozdrav!
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt 3 месяца назад
AIS radi na 2 kanala na 161.975 MHz i 162.025 MHz antena može da bude dipol, jedan krak 46cm drugi takođe vertikalna polarizacija
@banellone
@banellone 3 месяца назад
@@milijaspasojevicyt9tt Hvala!
@grumpydad56
@grumpydad56 Год назад
I followed everything, but I dont have the plug in showing up on the opencpn plugin page
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt Год назад
Make sure you have installed rtlsdr_pi-1.3.1-ov50-win32.exe from github.com/rgleason/rtlsdr_pi/releases/tag/v1.3.1-ov50beta then restart OpenCPN. Also you can check in install location eg C:\Program Files (x86)\OpenCPN\plugins does it contains rtlsdr_pi folder and rtlsdr_pi.dll file
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt Год назад
Yesterday I find out that is not working with new OpenCPN version 5.8.2 last working was 5.6.2, if you are using new OpenCPN, try to downgrade or to do parallel installation. I will create another video to do workaround if issue with new version is not solved
@afuxl
@afuxl Год назад
@@milijaspasojevicyt9tt what your solution without downgrade?
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt 11 месяцев назад
@@afuxlI asked developer of rtlsdr_pi plugin to upgrade it to work with latest version. As workaround you can create .bat file which you can start before OpenCPN. Content of file is same as parameter value eg AIS-catcher -gr RTLAGC on TUNER auto -o 2 -a 192K -u 127.0.0.1 10110 -N 8100 or if you renamed .exe file rtl_ais -gr RTLAGC on TUNER auto -o 2 -a 192K -u 127.0.0.1 10110 -N 8100
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt 8 месяцев назад
@@afuxlOpenCPN crew did update plugin, you can find it if you refresh plugin manager. I will soon upload new video how to setup 5.8.4 OpenCPN
@robertbannocks6750
@robertbannocks6750 10 месяцев назад
I cannot find the rtl sdr plug in in recent versions of OpenCPN despite updating the catalouge. Can any one assist
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt 10 месяцев назад
As I noted, from version 5.8 and up it is not working, we are waiting development team to re-build so it is compatible with newer OpenCPN versions. As a workaround you can create .bat file and run it before OpenCPN, file should be in the same bin folder and it can contain > AIS-catcher -gr RTLAGC on TUNER auto -o 2 -a 192K -u 127.0.0.1 10110 -N 8100 or if you renamed .exe file rtl_ais -gr RTLAGC on TUNER auto -o 2 -a 192K -u 127.0.0.1 10110 -N 8100
@robertbannocks6750
@robertbannocks6750 10 месяцев назад
Do we have a time line for this. @@milijaspasojevicyt9tt
@synopsys9767
@synopsys9767 19 дней назад
Please make a video more for thiss
@Baebon6259
@Baebon6259 2 месяца назад
Open CPN doesn't recognized rtl_ais program in preference. I changed the ais catcher exe file to rtl_ais but to no avail.
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt Месяц назад
Try with another (older) version of AIS_catcher, newer ones, just as you described, they are not visible to plugin.
@synopsys9767
@synopsys9767 19 дней назад
Did it solved ? I get sam problem heree please help me to connect rtl sdr 4 to open cpn and aos catcher
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt 19 дней назад
@@synopsys9767 use AIS-catcher versions 0.55-0.56 that will be recognized by plugin.
@synopsys9767
@synopsys9767 18 дней назад
@@milijaspasojevicyt9tt I have already tried the version like the one in your RU-vid video and the latest version, but it still doesn't connect to AIS Catcher and OpenCPN. Why is that? I've followed everything from installing the Zadig driver, AIS Catcher, and then OpenCPN, but they are not integrated. By the way, can I get your contact information?
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt 16 дней назад
@@synopsys9767 When I come back from vacation in 10 days, you can send me a message on yt9tt /@/ yahoo.com I can help you by teamviewer or anydesk
@martijnm4472
@martijnm4472 8 месяцев назад
I disapprove! You should install a transponder so others see you too! Those have nmea2000/nmea0183 outputs for reception too to 8ntegrate in opencpn
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt 8 месяцев назад
Of course they should use a transponder! it was not even in question, this guide is intended for those who would use this configuration as a backup or as ground station to monitor/track vessels. In the age of COVID-19, many people had to change their habits, work, and simply get out of their comfort zone. Many cruise ships stopped working and the crews dispersed to various other jobs and vessels. In order not to adapt to each new vessel systems, it would be convenient for them to have their own portable equipment that they would carry with them and in which they could rely as a BACKUP.
@hariantoputra70
@hariantoputra70 8 месяцев назад
Can Ais catcher be downloaded on PC?
@milijaspasojevicyt9tt
@milijaspasojevicyt9tt 8 месяцев назад
Yes, it can be used as standalone program, just unpack .zip file from step no. 7 (see in comment) and in that folder you will see start(.bat) file, right click and edit file, erase all and enter this command AIS-catcher -gr RTLAGC on TUNER auto -o 2 -a 192K -u 127.0.0.1 10110 -N 8100 save and run.
Далее
Недооцененный котел в Симс 4
00:37
What it feels like cleaning up after a toddler.
00:40
The CrowdStrike Problem Isn’t A Simple Fix…
13:04
Hacker's Guide to UART Root Shells
17:40
Просмотров 469 тыс.
5 Cool Things You Can Do With An RTL SDR Receiver
9:54
The EASIEST Way to Get OpenCPN AIS & NMEA Data
14:32
Просмотров 26 тыс.
How To Use:  SDRangel Version 7 Series (Part 1 of 3)
40:29
АЙФОН Г0ВН0
0:54
Просмотров 107 тыс.
Красиво, но телефон жаль
0:32
Просмотров 1,2 млн