Cruisers Forum
 


Reply
  This discussion is proudly sponsored by:
Please support our sponsors and let them know you heard about their products on Cruisers Forums. Advertise Here
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 15-07-2015, 07:01   #226
Registered User

Join Date: Aug 2014
Location: Argentina
Boat: H20
Posts: 62
Re: New rtlsdr Plugin

Quote:
I am tired of screwing around with things that don't work
I really understand you.
I think this is still in an early stage of development, and a lot of work must be done before be considered ready to use for any user, a good auto calibration routine is imperative.
How simple it would be if the dongle came with the ppm printed in it :-)
piluso is offline   Reply With Quote
Old 15-07-2015, 07:13   #227
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: New rtlsdr Plugin

That would be a very good idea!
If I got a good ppm value that is always repeatable i86.400 mhz auto calibrate with rtlsdr-scanner results -4.561 ppm always. Can I use that?

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 15-07-2015, 07:30   #228
Registered User

Join Date: Aug 2014
Location: Argentina
Boat: H20
Posts: 62
Re: New rtlsdr Plugin

Quote:
If I got a good ppm value that is always repeatable i86.400 mhz auto calibrate with rtlsdr-scanner results -4.561 ppm always. Can I use that?
Sure! The ppm error is a constant for a given dongle. Try -5, good luck !
piluso is offline   Reply With Quote
Old 15-07-2015, 09:24   #229
Registered User

Join Date: Jul 2015
Location: Barcelona, Catalonia.
Posts: 297
Re: New rtlsdr Plugin

To easy calibration on Linux:

Install https://github.com/steve-m/kalibrate-rtl

and follow the steps: Navigatrix.net - A Voyager's Companion • View topic - How to calibrate RTL-SDR AIS properly

works 100%

Sailoog is offline   Reply With Quote
Old 15-07-2015, 11:16   #230
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: New rtlsdr Plugin

Using Sdr# most recent version with vhf antenna connected and 161the.975 mhz with ppm set to -5ppm I get 40 db difference. When ppm set to -6 or -4 the db goes down to 36 db. There is a good signal at 161.975 mhz with a decent base. No engine on.

Now according to Sean there is no "connection" required in Opencpn. I just have to put -5 into the rtlsdr_pi preferences "error correction" field. Selecting AIS "enable" button. Then Ok.

No Ais targets seem to show up. Am I missing something here?
rgleason is offline   Reply With Quote
Old 15-07-2015, 11:54   #231
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: New rtlsdr Plugin

From MS visual studio command prompt
In the plugin/ftlsdr_pi/bin directory when I run
Rtl_fm -f 1619750000 -p -5 -s 48k (pipe vertical) aisdecoder -h 127.0.0.1 -p 10110 -a file -c mono -d -f /dev/stdin
Fp 75C99C08
Found one device
0: Realtek RTL 2838UHIDir Sn: 0000001
Using drvice 0 : Generic Rtl2838U oem
Found Rafael Micro R820T Tuner
Tuner gain set to automatic
Tuner error set to -5 ppm
Tuned to 162227000 hz
Oversampling input by 21x
Oversampling output by 1x
Buffer size 8.1 ms
Exact sample tate is 1008000.009613 hz
Sampling at 100800 S/s
Output at 48000 hz.

=========

When i try this command from the normal command prompt
The device is found as Generic RTL2832U oem

But it says usb open error -3
Please fix device permissions eg by installing udev rules file rtl-sdr.rules
Failed to open rtlsdr device #0

Please read above carefully. The commad runs and completes using the MS Visual Studio command prompt from the bin directory, but not using the normal run cmd prompt from the bin directory.

Is this a problem?

How do I get this working in windows 8.1 under opencpn v4.1.602?
rgleason is offline   Reply With Quote
Old 15-07-2015, 13:16   #232
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: New rtlsdr Plugin

Is it possible that the dam Norton firewall is trying control usb signal devices? Perhaps Norton Firewall should be turned off.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 15-07-2015, 13:58   #233
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: New rtlsdr Plugin

Quote:
Originally Posted by rgleason View Post
Is it possible that the dam Norton firewall is trying control usb signal devices? Perhaps Norton Firewall should be turned off.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
Norton or McAfee - should be uninstalled
petter5 is offline   Reply With Quote
Old 15-07-2015, 17:50   #234
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: New rtlsdr Plugin

Would dearly love to uninstall, but instead will turn it off. Quite frankly I don't think it is causing the problem but will check.

I believe the dongle is working properly and we are getting AIS signals and we are using the correct PPM (-5) for this dongle.

However the right connecttions or something are not in place to see AIS in OpenCPN.

Perhaps I should try running AISDecoder to see if this is right.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 16-07-2015, 03:28   #235
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: New rtlsdr Plugin

Having determined -5 ppm and checked thid in HDSR and rtlsdr-Scanner, I tried -5 ppm in Opencpn rtlsdr_pi from Piliso, with Norton firewal and antivirus off, connected to vhf antenna, Right clicking on Opencpn start ion and selecting Run as Admin even though I have Admin privleges as a user. There were no AIS signals with rtlsdr_pi open
1. With no special connections for Ais - as sean says it is not needed the plugin does the connection.
2. Using UDP 0.0.0.0. and port 10110
3. Using UDP 127.0.0.1
and there still was no ais signal.

So then I tried to calibrate with the plugin starting with -5. That ended with -98 so it failed.

The dongle is not working under Opencpn, or it is working but the nmea stream is not geting to opencpn.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 16-07-2015, 03:37   #236
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: New rtlsdr Plugin

This morning I tried the same routine with opencpn 4.0 and its rtlsdr_pi plugin. No AIS signal and cabilbrating results in -98.

Also aisdecoder is not recieving AIS signals when run as administrator in stanalone mode, But I do see the nmea GPS signals.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Old 16-07-2015, 09:05   #237
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: New rtlsdr Plugin

Can you tune to the NOAA weather channel that broadcasts in your area and hear it through your speakers with SDR#? If you can, put up a screenshot of SDR# tuned to the NOAA weather station
LeoA is offline   Reply With Quote
Old 18-07-2015, 12:56   #238
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: New rtlsdr Plugin

Ok LeoA. I hope this is what you would like.
I put the -5 ppm and this is what I get in SDRsharp. I also have another pic from another program HDSR in the same range using the same -5 ppm.

I can hear static sound but not the broadcast. What do you want me to hear.
Attached Thumbnails
Click image for larger version

Name:	SDRsharp-162.500-Capture-Small.jpg
Views:	226
Size:	231.3 KB
ID:	105573   Click image for larger version

Name:	Scan 162.0-163.0MHz-small.png
Views:	211
Size:	183.1 KB
ID:	105574  

rgleason is offline   Reply With Quote
Old 18-07-2015, 14:28   #239
Registered User

Join Date: Aug 2011
Location: Mississippi Gulf Coast
Boat: 37' TransPac Trawler, heavily modified
Posts: 88
Re: New rtlsdr Plugin

Right now, your radio stick is not receiving a signal. Make sure you are tuning to the NOAA weather frequency for your area, 162,475,000 for Boston, I think. Under the radio tab, you need to check the NFM (narrow fm) checkbox for vhf radio and ais reception. You also need to increase the number in the bandwidth box to 12500. In the rtl-sdr controller box, set the sample rate to 2.4 MSPS, offset tuning unchecked, rtl agc checked, tuner agc unchecked. Slide the rf gain control to around 40 and leave the ppm at 0 for now. When the sdr dongle is tuned to a signal that you can hear it should look similar to my screenshot. My reception is not real strong as I am not at my boat and am using the small antenna that came with the dongle.
Attached Thumbnails
Click image for larger version

Name:	Screenshot (2).jpg
Views:	157
Size:	418.8 KB
ID:	105575  
LeoA is offline   Reply With Quote
Old 18-07-2015, 16:47   #240
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,628
Images: 2
Re: New rtlsdr Plugin

We are in RI right now but using the Boston 162.475 mhz signal we get -38db at 162.475 mhz with the settings and i structions you provided. I will attach the photo separately. I can hear a hissing sound when I turn up the audible control in SDRsharp.

Sent from my SCH-I545 using Cruisers Sailing Forum mobile app
rgleason is offline   Reply With Quote
Reply


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 1128 15-05-2022 11:25
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

Advertise Here


All times are GMT -7. The time now is 13:31.


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

ShowCase vBulletin Plugins by Drive Thru Online, Inc.