Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Engineering & Systems > Marine Electronics
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

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 19-11-2016, 16:35   #31
Registered User

Join Date: Nov 2015
Location: Redmond, WA
Posts: 23
Re: dAISy Open Source AIS Receiver

With the help of muttnik, I came up with the following udev rule that starts or restarts Kplex when dAISy is plugged into USB:
Code:
SUBSYSTEM=="usb", ATTRS{idVendor}=="16d0", ATTRS{idProduct}=="0b03", SYMLINK+="ais%n", RUN+="/etc/init.d/kplex restart"
Put this rule into a file in the /etc/udev/rules.d folder. For example by using
Code:
sudo nano /etc/udev/rules.d/kplex-daisy.rules
You may need to reboot the Raspberry Pi after creating or editing this file.
astuder is offline   Reply With Quote
Old 23-11-2016, 08:39   #32
Registered User
 
pcmm's Avatar

Join Date: May 2014
Location: Whitby, Canada
Boat: Morgan Out Island 41
Posts: 2,267
Images: 2
Re: dAISy Open Source AIS Receiver

Might be a stupid question, but can you access the NMEA data and USB data at the same time? I see on the picture of the NMEA add-on that it states to not plug in the USB while connected to external power. I assume this is because the unit can take power from either source. If so can you "clip" the power connections on the USB side and still get the data?
pcmm is offline   Reply With Quote
Old 23-11-2016, 09:54   #33
Registered User

Join Date: Nov 2015
Location: Redmond, WA
Posts: 23
Re: dAISy Open Source AIS Receiver

Not a stupid question at all.

There are two reasons for the warning:
  1. USB and NMEA side are not isolated. Powering from both sides at the same time may work but could cause ground loops and other fun stuff.
  2. Because the NMEA add-on came much later, the dAISy main board has no measures to prevent back-powering the USB host. If the USB voltage drops below approx. 4.8V, current will flow from dAISy to the USB host which may or may not cause bad things to happen.
The preferred approach when requiring USB data and NMEA output is to only power dAISy from the USB side.

Using a USB cable with cut 5V wire could work. My main concern would be whether the USB enumeration sequence works in that setup. If the USB device is detected you're fine.

An alternative approach is to disconnect the 5V wire (red) between dAISy and the NMEA adapter. That way NMEA output and dAISy are powered independently. Of course that's only viable if the USB side is always powered.
astuder is offline   Reply With Quote
Old 20-01-2017, 15:53   #34
Registered User

Join Date: Nov 2016
Posts: 33
Re: dAISy Open Source AIS Receiver

I don't know much about RF... I just got the dASIy unit and I'm dying to try it out. Will a small VHF rubber ducky antenna work for testing. I'm guessing it would be low gain and thus short range... But it should work I think?
Any comments...
Thanks for any information!
solosail is offline   Reply With Quote
Old 20-01-2017, 17:30   #35
Registered User

Join Date: Nov 2015
Location: Redmond, WA
Posts: 23
Re: dAISy Open Source AIS Receiver

A VHF rubber ducky will work fine if there are any ships nearby.
astuder is offline   Reply With Quote
Old 20-01-2017, 18:20   #36
Registered User

Join Date: Feb 2011
Location: Virginia
Boat: Shopping for a 30-ish cat
Posts: 418
Re: dAISy Open Source AIS Receiver

Wow, this project is very impressive! I'll be watching this thread...
prof_mariner is offline   Reply With Quote
Old 20-01-2017, 22:12   #37
Wanderer
 
Tenedos's Avatar

Cruisers Forum Supporter

Join Date: Nov 2012
Location: Used to be San Francisco Bay, now PNW, soon to be the Caribbean
Boat: Jeanneau 43 DS and soon Leopard 45
Posts: 510
Re: dAISy Open Source AIS Receiver

Probably time to jump in to share my experiences with dAISy. Adrian was kind enough to get a dAISy HAT to me for some testing and experimentation. I have been playing with it and it is pretty slick!

Note that there are two dAISy'ies. One is a standalone version that plugins in using a USB connector. The other is a HAT for Raspberry Pi, that you insert onto the Raspberry Pi GPIO pins. Obviously, HAT is designed only for the Pi (even though there are instructions on how to power it separately). If you intend to use it with a Raspberry Pi, the HAT version is convenient. That is the one I played with.

All in all, as I said, I think it is a pretty slick amazing little device. It took less than 10 minutes to get it running (you may need to do some configuration changes to disable console and re-configure Bluetooth (Raspberry Pi 3 only) but it is very straight-forward and takes a few minutes at the most).

Connecting it to my masthead VHF antenna, it simply worked and I started receiving vessel locations in San Francisco Bay. If you want to see the results yourself, you can check the AISHub San Francisco station 2404 Map, this is running on the dAISy HAT right now.

Since it conveniently sits on a Raspberry Pi, it is very easy to turn into a wireless AIS as well, to access from your phone, tablet etc using iNavX, the Signal K app I had developed earlier or any other app. You can integrate into an NMEA and/or Signal K network fairly easily. I had written a how-to guide to create a wireless AIS and dAISy simply works neatly on a Raspberry Pi, serving as a 'wireless AIS'.

We were discussing if the range could be further extended, which sounds possible. But for a $60 device, what comes is pretty amazing. From where I sit, it covers a 15nm radius with a mast head antenna. Combining it with a Raspberry Pi, you can have a fully functioning onboard computer, wireless AIS receiver, multiplexer (with kplex) etc for about $100, something hard to beat. And on top of everything, it is open source. Hats off.
__________________
SV Renaissance
Tenedos is offline   Reply With Quote
Old 27-04-2017, 20:50   #38
Registered User

Join Date: Nov 2015
Location: Redmond, WA
Posts: 23
Re: dAISy Open Source AIS Receiver

I'm not sure if Mattkab is still active on this forum, but I wanted to point out his latest blog post. It's an easy to follow recipe to setup an inexpensive chartplotter with OpenCPN, a Raspberry Pi 3 and the dAISy HAT AIS Receiver.

https://mvcesc.wordpress.com/2017/04...aspberry-pi-3/
astuder is offline   Reply With Quote
Old 23-12-2017, 19:07   #39
Registered User

Join Date: Nov 2015
Location: Redmond, WA
Posts: 23
Re: dAISy Open Source AIS Receiver

I released a new firmware update for the single-channel dAISy:
https://github.com/astuder/dAISy/tree/master/Firmware

This update is of special interest because it overcomes some of the handicap that is inherent to single-channel AIS receivers. Traditionally, single-channel receivers periodically alternate between the two AIS channels and therefore miss about 50% of the available AIS messages. For this reason, single-channel receivers take longer to pick up new AIS targets and are slower at updating positions of known targets.

With the new firmware, dAISy is able to capture a significant number of previously missed messages by predicting on which channel to expect the next message. This works best in areas with less AIS traffic due to statistics (lower probability of messages sent on both channels at the same time). In the worst case scenario of fully saturated channels (2250 messages per channel per minute), it will still miss 50% of the available messages. In my real world tests around Seattle (~300 AIS messages per channel per minute), the new smart hopping algorithm receives about 40-60% more messages than traditional channel hopping.

The firmware update is available for all single-channel dAISy AIS receivers produced since June 2015. Send me a private message if you have any trouble with the upgrade or would prefer if I perform the upgrade for you.
astuder is offline   Reply With Quote
Old 16-03-2018, 06:45   #40
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,633
Images: 2
Re: dAISy Open Source AIS Receiver

Adrian has updated his website and line of AIS products.

So we've updated his AIS section in Supplemental Hardware


PS: Adrian, did you see the example of two land AIS stations sharing data using OpenCPN, I guess for redundency and expanded area, eand then reported to their own AIS servers, MarineTraffic, etc. ?

I'd like to find that description, discussion.
rgleason is offline   Reply With Quote
Old 16-03-2018, 08:26   #41
Registered User
 
TheOffice's Avatar

Join Date: Jun 2012
Location: Annapolis
Boat: Hylas 49
Posts: 1,125
Re: dAISy Open Source AIS Receiver

Quote:
Originally Posted by pcmm View Post
Might be a stupid question, but can you access the NMEA data and USB data at the same time? I see on the picture of the NMEA add-on that it states to not plug in the USB while connected to external power. I assume this is because the unit can take power from either source. If so can you "clip" the power connections on the USB side and still get the data?
I have the USB powering my unit and the NMEA in and out connected to my plotter. Works great!
TheOffice is offline   Reply With Quote
Old 16-03-2018, 12:12   #42
Registered User

Join Date: Nov 2015
Location: Redmond, WA
Posts: 23
Re: dAISy Open Source AIS Receiver

Quote:
Originally Posted by rgleason View Post
Adrian has updated his website and line of AIS products.

So we've updated his AIS section in Supplemental Hardware
Thanks!

Quote:
PS: Adrian, did you see the example of two land AIS stations sharing data using OpenCPN, I guess for redundency and expanded area, eand then reported to their own AIS servers, MarineTraffic, etc. ?

I'd like to find that description, discussion.
Are you talking about some kind of virtual station that creates one AIS stream for a larger area? I know of government services like in Norway, or repeaters like for example along the Columbia River.

I heard of a few people doing something similar on a small scale, mostly built around a network of Raspberry Pi's. But I don't know if they are using OpenCPN to do the data collection and forwarding.
astuder is offline   Reply With Quote
Old 16-03-2018, 14:57   #43
Marine Service Provider

Join Date: May 2013
Location: Norway
Posts: 719
Re: dAISy Open Source AIS Receiver

I use two AIS receivers to expand the covered area - one connected over intenet and the other connected to a RPI locale for feeding extended AIS to my local opencpn.
Quote:
Originally Posted by astuder View Post
Thanks!

Are you talking about some kind of virtual station that creates one AIS stream for a larger area? I know of government services like in Norway, or repeaters like for example along the Columbia River.

I heard of a few people doing something similar on a small scale, mostly built around a network of Raspberry Pi's. But I don't know if they are using OpenCPN to do the data collection and forwarding.
petter5 is offline   Reply With Quote
Old 17-03-2018, 06:25   #44
Registered User
 
pcmm's Avatar

Join Date: May 2014
Location: Whitby, Canada
Boat: Morgan Out Island 41
Posts: 2,267
Images: 2
Re: dAISy Open Source AIS Receiver

As an aside, I wonder why do all these AIS devices are using BNC or SMA connectors? they're such odd ball connections for this purpose. It means that to connect your VHF antenna you need to go searching for adapters for convert standard UHF connectors to these ones? Why?
pcmm is offline   Reply With Quote
Old 17-03-2018, 08:45   #45
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: dAISy Open Source AIS Receiver

Quote:
Originally Posted by pcmm View Post
As an aside, I wonder why do all these AIS devices are using BNC or SMA connectors? they're such odd ball connections for this purpose. It means that to connect your VHF antenna you need to go searching for adapters for convert standard UHF connectors to these ones? Why?

Because UHF connector is too big. Also, almost no printed circuit mount UHF connectors are available these days. But the main reason is size. It requires the AIS box to be excessively large. So small low cost receivers don’t use UHF connectors.
transmitterdan is offline   Reply With Quote
Reply

Tags
ais


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
dAISy Mini-AIS Receiver lockie Navigation 3 23-11-2016 08:29
AIS Receiver - MXA-5000 and Open CPN Yofy OpenCPN 7 17-06-2014 11:44
For Sale: AIS-MULTI AIS Receiver with built in Antenna Splitter kokomodenny Classifieds Archive 1 17-09-2013 08:53
For Sale: Standard Horizon Matrix AIS+ GX 2150 VHF Radio/AIS Receiver with CMP30 Ram3 Second St westsailwill Classifieds Archive 6 23-04-2013 18:21
Daisy Sail perchance Deck hardware: Rigging, Sails & Hoisting 0 15-07-2011 17:11

Advertise Here


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


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.