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 14-09-2016, 23:45   #1
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: 508
Adding wireless to a serial/USB AIS receiver

Wireless capability of my Digital Yacht iAIS eventually died (which never worked properly anyways).

I ended up creating my own solution for adding wireless support to a serial AIS receiver with a Raspberry Pi. It doesn't even have to be a Raspberry Pi really, any Linux or OS X machine would do.

I put it in a blog post: https://www.partmarine.com/blog/wireless_ais_howto/

Combining this with a dAISy, one can build a wireless AIS for less than $100!
Tenedos is offline   Reply With Quote
Old 15-09-2016, 05:18   #2
Registered User

Join Date: Oct 2012
Location: Brighton, UK
Boat: Westerly Oceanlord
Posts: 513
Re: Adding wireless to a serial/USB AIS receiver

Had you considered replacing your netcat script with kplex?
muttnik is offline   Reply With Quote
Old 15-09-2016, 06:28   #3
Registered User
 
Franziska's Avatar

Join Date: Mar 2011
Location: Panschwitz, Germany
Boat: Woods Mira 35 Catamaran
Posts: 4,256
Re: Adding wireless to a serial/USB AIS receiver

The freeware www.navmonpc.com might help you. It can at virtual ports and forward info between software packages.

Best regards,

Franziska

www.ladyrover.com
__________________
www.ladyrover.com
Franziska is offline   Reply With Quote
Old 15-09-2016, 06:30   #4
Moderator
 
Dockhead's Avatar

Cruisers Forum Supporter

Join Date: Mar 2009
Location: Denmark (Winter), Helsinki (Summer); Cruising the Baltic Sea this year!
Boat: Cutter-Rigged Moody 54
Posts: 33,853
Re: Adding wireless to a serial/USB AIS receiver

Other good ways to do this is using Navico GoFree, if you have recent Navico plotters. You don't even need their WiFiOne module -- you can connect a regular router directly to a free Ethernet port. The plotter bridges all the network data to Ethernet and you can receive not only AIS but all your other network data over a virtual serial port.


Also there's this tremendously cool Swedish device:

WiFi NMEA2000/0183/Seatalk Router

It even does SignalK! Even SeaTalk! You can add Internet connectivity using a USB dongle.

Truly a Swiss Army Knife of boat networking!
__________________
"You sea! I resign myself to you also . . . . I guess what you mean,
I behold from the beach your crooked inviting fingers,
I believe you refuse to go back without feeling of me;
We must have a turn together . . . . I undress . . . . hurry me out of sight of the land,
Cushion me soft . . . . rock me in billowy drowse,
Dash me with amorous wet . . . . I can repay you."
Walt Whitman
Dockhead is online now   Reply With Quote
Old 15-09-2016, 06:50   #5
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Adding wireless to a serial/USB AIS receiver

Quote:
Originally Posted by Dockhead View Post

WiFi NMEA2000/0183/Seatalk Router

It even does SignalK! Even SeaTalk! You can add Internet connectivity using a USB dongle.

Truly a Swiss Army Knife of boat networking!
When openplotter v0.9 gets released it looks like it could well be the most comprehensive implementation of signalk in a boat computer system so far
Plus so much more, alarms for any nmea data, email text etc. In port I use it to rebroadcast wifi around the boat, less power draw than a R36.
Very powerful.
conachair is offline   Reply With Quote
Old 15-09-2016, 07:59   #6
Registered User

Join Date: Aug 2009
Location: between the devil and the deep blue sea
Boat: a sailing boat
Posts: 20,437
Re: Adding wireless to a serial/USB AIS receiver

Quote:
Originally Posted by Tenedos View Post
Wireless capability of my Digital Yacht iAIS eventually died (which never worked properly anyways).

I ended up creating my own solution for adding wireless support to a serial AIS receiver with a Raspberry Pi. It doesn't even have to be a Raspberry Pi really, any Linux or OS X machine would do.

I put it in a blog post: https://www.partmarine.com/blog/wireless_ais_howto/

Combining this with a dAISy, one can build a wireless AIS for less than $100!
Yes.

This and either netcat or kplex will do with many a s/h wifi router.

- S/h routers start at USD 3 here, (e.g. an old adsl with usb input),
- usb/serial converters start at USD 6 generic.

You can have what you want at 10 USD, not 100 USD ...

Cheers,
b.
barnakiel is offline   Reply With Quote
Old 15-09-2016, 10:05   #7
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: 508
Re: Adding wireless to a serial/USB AIS receiver

Quote:
Originally Posted by muttnik View Post
Had you considered replacing your netcat script with kplex?
I didn't know kplex but it looks really cool. Netcat works great for a simple use case but if more is needed a multiplexer would be much better.

I may come up with an updated version of the tutorial to include it, thanks for the pointer!
Tenedos is offline   Reply With Quote
Old 15-09-2016, 10:07   #8
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: 508
Re: Adding wireless to a serial/USB AIS receiver

Quote:
Originally Posted by barnakiel View Post
Yes.

This and either netcat or kplex will do with many a s/h wifi router.

- S/h routers start at USD 3 here, (e.g. an old adsl with usb input),
- usb/serial converters start at USD 6 generic.

You can have what you want at 10 USD, not 100 USD ...

Cheers,
b.
60-70% of that $100 is the AIS receiver itself. So not sure how one can create a wireless AIS receiver without the actual receiver
Tenedos is offline   Reply With Quote
Old 15-09-2016, 10:41   #9
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Adding wireless to a serial/USB AIS receiver

Quote:
Originally Posted by barnakiel View Post
Yes.

This and either netcat or kplex will do with many a s/h wifi router.

- S/h routers start at USD 3 here, (e.g. an old adsl with usb input),
- usb/serial converters start at USD 6 generic.

You can have what you want at 10 USD, not 100 USD ...

Cheers,
b.
Confused here - are you saying run kplex inside a wifi router?

Do they run Linux?

I don't know much about them, the Pi looks after all that
conachair is offline   Reply With Quote
Old 15-09-2016, 15:48   #10
Registered User

Join Date: Aug 2009
Location: between the devil and the deep blue sea
Boat: a sailing boat
Posts: 20,437
Re: Adding wireless to a serial/USB AIS receiver

Quote:
Originally Posted by Tenedos View Post
60-70% of that $100 is the AIS receiver itself. So not sure how one can create a wireless AIS receiver without the actual receiver
I stand corrected!

My head turning around what we have onboard (an AIS with a serial out).

Regards,
b.
barnakiel is offline   Reply With Quote
Old 15-09-2016, 15:53   #11
Registered User

Join Date: Aug 2009
Location: between the devil and the deep blue sea
Boat: a sailing boat
Posts: 20,437
Re: Adding wireless to a serial/USB AIS receiver

Quote:
Originally Posted by conachair View Post
Confused here - are you saying run kplex inside a wifi router?

Do they run Linux?

I don't know much about them, the Pi looks after all that
Yep. Why not?

b.
barnakiel is offline   Reply With Quote
Old 15-09-2016, 15:58   #12
Registered User

Join Date: Aug 2009
Location: between the devil and the deep blue sea
Boat: a sailing boat
Posts: 20,437
Re: Adding wireless to a serial/USB AIS receiver

Quote:
Originally Posted by conachair View Post

Do they run Linux?
https://en.wikipedia.org/wiki/List_o...mware_projects

Cheers,
b.
barnakiel is offline   Reply With Quote
Old 15-09-2016, 16:08   #13
Registered User

Join Date: Aug 2009
Location: between the devil and the deep blue sea
Boat: a sailing boat
Posts: 20,437
Re: Adding wireless to a serial/USB AIS receiver

BTW I am looking at that Daisy thing and it shows a 3 wire serial connector but talks about a 422 standard.

Where is the catch?

b.
barnakiel is offline   Reply With Quote
Old 15-09-2016, 23:06   #14
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Adding wireless to a serial/USB AIS receiver

Quote:
Originally Posted by barnakiel View Post
Yep. Why not?

b.
Seems a bit extreme

With an pi you can download an image and straight away have easy to set up kplex, i2c temperature sensors running as signalk and nmea, Opencpn, Web browser, access to the gpio pins as ins or outs, wifi hoptspot rebroadcast from a high power usb dongle, send text/email/tweets, a very powerful system running headless for to cost of a few beers.

Hacking a router would certainly be interesting and fun but as far as usefulness onboard goes seems very limited compared to what else is available.
conachair is offline   Reply With Quote
Old 15-09-2016, 23:18   #15
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
Re: Adding wireless to a serial/USB AIS receiver

Quote:
Originally Posted by barnakiel View Post
BTW I am looking at that Daisy thing and it shows a 3 wire serial connector but talks about a 422 standard.

Where is the catch?

b.
Looks like the 3 wires are ground, 5v in & tx from the daisy, rs422 comes out of the adaptor as nmea + & - as you'd expect.

"On a technical level, this adapter translates one 3.3V-5V serial input to a 5V differential signal"

conachair is offline   Reply With Quote
Reply

Tags
ais, serial

Thread Tools Search this Thread
Search this Thread:

Advanced Search
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
Digital Yacht iAIS Wireless AIS receiver brine Health, Safety & Related Gear 4 11-04-2014 05:10
New AIS Receiver - USB Dongle Form-Factor Paul Elliott Marine Electronics 15 23-12-2013 11:34
Garmin Serial Port to USB Cable and Driver bvimatelot Navigation 22 22-11-2010 15:53
For Sale: Belkin F5U409 USB to Serial Adapters geoffschultz Classifieds Archive 0 17-11-2010 06:46

Advertise Here


All times are GMT -7. The time now is 09:52.


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.