Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 02-06-2013, 06:43   #31
Registered User

Join Date: Sep 2010
Posts: 119
Re: New rtlsdr Plugin

Hi,

I do a RTL-SDR_VB-cable_AISMon - on Windows, but what I need to run this plugin on Windows, I already installed GNU Radio - but I cannot find gr-ais.py compiled for Windows.
Maybe I miss something important.....

Kubek
__________________

__________________
kubek is offline   Reply With Quote
Old 03-06-2013, 03:51   #32
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,015
Re: New rtlsdr Plugin

Perhaps Sean can help. He may notice this thread. He had doubts it would work under windows, but would like to get it working. What is happening, or not happening? What is missing? I think I need to order one of these devices now.
__________________

__________________
rgleason is online now   Reply With Quote
Old 05-06-2013, 22:32   #33
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,642
Re: New rtlsdr Plugin

Quote:
Originally Posted by kubek View Post
Hi,

I do a RTL-SDR_VB-cable_AISMon - on Windows, but what I need to run this plugin on Windows, I already installed GNU Radio - but I cannot find gr-ais.py compiled for Windows.
Maybe I miss something important.....

Kubek
gr-ais.py is in the apps directory in gr-ais which is a separate repository (in git) which you must clone and build. It depends on gnu radio.
__________________
boat_alexandra is offline   Reply With Quote
Old 06-06-2013, 03:28   #34
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,015
Re: New rtlsdr Plugin

Sean, Is this something I should do when I build the Windows version of the plugin?
Thus the drivers get wrapped into to plugin.dll that is distributed for windows, and the users don't need to do anything?
__________________
rgleason is online now   Reply With Quote
Old 06-06-2013, 05:56   #35
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,642
Re: New rtlsdr Plugin

If you can build gr-ais on windows, then run the script and get ais messages.. let me know. Try also gr-ais.grc script.

Perhaps you should wrap it all together to make a single package for windows users so they would not be required to build anything.

Finally a howto would be needed so that just about anyone can make this work with minimal effort.

I'm not really going to be able to help with any windows specific stuff.. I wrote this with linux users intended, but I believe it should be possible to make it all work on windows too.
__________________
boat_alexandra is offline   Reply With Quote
Old 07-06-2013, 06:40   #36
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,015
Re: New rtlsdr Plugin

Trying to get a handle on compiling gr-ais on Windows. I assume I use MSVC. Should I just try to git this https://github.com/bistromath/gr-ais
and compile it? Searched on 'gr-ais windows compile' not much available.

From Need help on how to use a Realtek DVB-t dongle to detect and decode AIS signals : RTLSDR

Quote:
Important: I found out the following. If you want to use Shipplotter - a Windows software - with gr-ais you have to patch line 175 of ais_rx.py from conn.send(sentence + "\n") to conn.send(sentence + "\r\n"). Windows AIS decoders like Shipplotter or AIS Decoder need CR LF!!! Not LF only!
__________________
rgleason is online now   Reply With Quote
Old 09-06-2013, 15:00   #37
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,015
Re: New rtlsdr Plugin

Here are some of the Windows screenshots that Sean has developed. I'll get this dll revised dll up on file thing soon. Looks pretty darn good, but we need to test it with USB SDR dongles. Does anyone know if we can compile gr-ais in Windows? We need that software to enable that feature set. I will try to do this when I have more time, but perhaps someone else is more familiar....?
Attached Thumbnails
Click image for larger version

Name:	rtlsdr-plugin-win7-2.png
Views:	265
Size:	122.6 KB
ID:	62211   Click image for larger version

Name:	rtlsdr-plugin-win7.png
Views:	240
Size:	115.3 KB
ID:	62212  

__________________
rgleason is online now   Reply With Quote
Old 12-06-2013, 15:08   #38
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,015
Re: New rtlsdr Plugin

Windows - Trying to understand what is needed

kubek [linux & windows]: I do a RTL-SDR_VB-cable_AISMon - on Windows, but what I need to run this plugin on Windows, I already installed GNU Radio - but I cannot find gr-ais.py compiled for Windows.

sean [linux]: gr-ais.py is in the apps directory in gr-ais which is a separate repository (in git) which you must clone and build. It depends on gnu radio.

Gnuradio Companion Requirements [Linux, generally]
GNU Radio - GNURadioCompanion - gnuradio.org
[Python 2.5 (or above) http://www.python.org/download/]
[Python-LXML 2.0 (or above) http://codespeak.net/lxml/installation.html]
[Cheetah Template Engine 2.0 (or above) http://www.cheetahtemplate.org/download.html]
[Python-GTK 2.10 (or above) http://www.pygtk.org/downloads.html]

Installing GnuRadio
GNU Radio - InstallingGR - gnuradio.org

Windows users: If you want to install from pre-compiled binaries see above Using pre-compiled binaries from Ettus Research. GNURadio Windows - uhd - Ettus Research LLC This page presents a guide for installing GNU Radio and the UHD package on Windows from pre-built installers. Dependencies: Python, Numpy, PyQt, setuptooks, PyGTK, wxPython, PyQWT, lxml, VisualC++2010, Cheetah, PyOpenGL then GnuRadio. http://code.ettus.com/redmine/ettus/...URadio_Windows


If you need to install GNU Radio from source refer to the windows install guide. GNU Radio - WindowsInstall - gnuradio.org

New: You can build gnuradio with the MSVC compiler using the cmake branch: CMakeWork GNU Radio - CMakeWork - gnuradio.org
__________________
rgleason is online now   Reply With Quote
Old 01-07-2013, 19:39   #39
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,015
Re: New rtlsdr Plugin

rtlsdr plugin (win & linux) updated and new compile and some changes by Sean.
See Plugins Thread Post #80
__________________
rgleason is online now   Reply With Quote
Old 09-09-2013, 18:43   #40
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,015
Re: New rtlsdr Plugin

Tracker VOTING for Plugins has been enabled by Serge. Please VOTE in Tracker for all Plugin projects (upper right dropdown) for the Feature requests you'd like. Also please do make comments and add Feature Requests and Bug Reports. You'll need to register or log in to Vote, add items and make comments.

Tracker VOTING.
Rtlsdr
__________________
rgleason is online now   Reply With Quote
Old 15-01-2014, 20:28   #41
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 8,015
Re: New rtlsdr Plugin

Sean has made changes to the plugin. The lastest is attached.
Take off the doc and test please if you have dongle or are attached to a radio.
Attached Files
File Type: doc rtlsdr_pi18_v08_ov331303_pi.dll.doc (111.5 KB, 117 views)
__________________
rgleason is online now   Reply With Quote
Old 17-01-2014, 20:13   #42
Registered User

Join Date: Feb 2011
Location: Swansboro, NC
Boat: Looking for that next boat...
Posts: 338
Re: New rtlsdr Plugin

Quote:
Originally Posted by rgleason View Post
Sean has made changes to the plugin. The lastest is attached.
Take off the doc and test please if you have dongle or are attached to a radio.
Does this version only work with OpenCPN beta? I tried installing it with the stable version of OpenCPN and the plugin didn't appear.

I don't have an RTL SDR dongle but would like to get one and give this a try. Which one(s) are known to work with OpenCPN and Windows (I'm using Windows 8).

Thanks!
__________________
prof_mariner is offline   Reply With Quote
Old 17-01-2014, 20:37   #43
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,642
Re: New rtlsdr Plugin

This plugin requires beta opencpn.

afaik you need gr-ais.py script to work from the command line. If you can achieve this then it can work, but so far no-one has reported this on an operating system other than linux.

The latest gnuradio and gr-osmosdr do not seem to be compatible with gr-ais and after 3 hours I gave up trying to fix gr-ais, so must use older versions of the dependencies.
__________________
boat_alexandra is offline   Reply With Quote
Old 18-01-2014, 00:19   #44
Registered User

Join Date: Feb 2011
Location: Swansboro, NC
Boat: Looking for that next boat...
Posts: 338
Re: New rtlsdr Plugin

Quote:
afaik you need gr-ais.py script to work from the command line. If you can achieve this then it can work, but so far no-one has reported this on an operating system other than linux.
Any particular version of Python need to be installed?

I plan on buying a R820T - based RTL-SDR in the next few days. After I have that in hand and functional I'll be happy to try it on a couple of my machines.
__________________
prof_mariner is offline   Reply With Quote
Old 21-05-2014, 00:37   #45
Registered User
 
boat_alexandra's Avatar

Join Date: Aug 2009
Location: BVI
Boat: bristol 27
Posts: 2,642
Re: New rtlsdr Plugin

I have updated the plugin to use aisdecoder. It is a much lower cpu decoder for ais. Currently uses 3% cpu, I estimate 15% cpu use on a raspberry pi.

It currently only does one channel at a time, but this could eventually be fixed. Otherwise using gnuradio is still supported which receives both channels together. I also added an autocalibration routine. I"m picking up over 60 ais targets all less than 3 miles away.

I compiled the rtl_fm and aisdecoder programs to run on windows, but I have no way of testing/verifying them. Maybe for example you have to create the right inf file and install it using a tool for libusb? Not sure.

Someone who has windows and one of the supported usb dongles should try running rtl_fm program: https://sourceforge.net/projects/ope...s.zip/download And at least figure out if the card is detected and should be able to record fm radio to a file using only the stock antenna. If this works and you can verify it, then I can package things up to make the installer for the plugin do everything to make this work very easily for windows users. Otherwise I need to know how to make it work. The same should also work for macosx, if someone can verify success.

The idea is, you get an r820t dongle, splice in a vhf antenna, plug into usb port, install rtlsdr plugin, and run opencpn, and you have ais data without any additional work.
__________________

__________________
boat_alexandra is offline   Reply With Quote
Reply

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Logbook Konni for OpenCPN konni OpenCPN 822 14-02-2017 19:01
OpenCPN Release Candidate Version 3.1.1411 Released bdbcat OpenCPN 48 24-02-2013 06:59
GRIB Weather Mark Ward OpenCPN 26 12-02-2012 21:33
Route Properties, Missing Functions James Baines OpenCPN 13 13-07-2011 04:31


Our Communities

Our communities encompass many different hobbies and interests, but each one is built on friendly, intelligent membership.

» More about our Communities

Automotive Communities

Our Automotive communities encompass many different makes and models. From U.S. domestics to European Saloons.

» More about our Automotive Communities

Marine Communities

Our Marine websites focus on Cruising and Sailing Vessels, including forums and the largest cruising Wiki project on the web today.

» More about our Marine Communities


Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 05:48.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.