Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Seamanship, Navigation & Boat Handling > OpenCPN
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 11-08-2021, 13:55   #1
Registered User

Join Date: Sep 2012
Location: Tauranga, New Zealand
Boat: Nonsuch 30 Ultra
Posts: 27
Images: 1
RPi and OpenCPN - Multiplexer required?

If I can connect to my existing onboard instruments (nmea0183) via an RS485-USB adaptor directly to a Rpi running OpenCPN, do I need an addtional multiplexer hat or unit? In other words, can OpenCPN multiplex multiple nmea sources in both directions?

I have a full set of B&G instruments including an ACP autopilot computer, but it's old (H1000) and the chartplotter is old and no longer supported.

I have discovered how to access the Fastnet system (Universal Interface) to send and receive data.

I want to install a RPi with an AIS hat and a 10" touchscreen. I want to pull data from the wind, magnetic, depth, speed instruments, add AIS and GPS, battery and solar monitors, and use all of this to display at the nav station and helm, as well as control the APilot.

John
Island_Moose is offline   Reply With Quote
Old 11-08-2021, 14:13   #2
Registered User
 
Dsanduril's Avatar

Join Date: Aug 2011
Location: Petersburg, AK
Boat: Outremer 50S
Posts: 4,229
Re: RPi and OpenCPN - Multiplexer required?

Quote:
Originally Posted by Island_Moose View Post
If I can connect to my existing onboard instruments (nmea0183) via an RS485-USB adaptor directly to a Rpi running OpenCPN, do I need an addtional multiplexer hat or unit? In other words, can OpenCPN multiplex multiple nmea sources in both directions?...
Short answer, yes. But this really depends on what hardware you will be multiplexing to. NMEA 0183 only allows a single talker on the wire, so is all your data on one wire (well, one pair of wires)? Then it can all come in on one USB interface.

How about going out? Is it all on one wire? Or is it going out by network?

In OpenCPN you configure a connection and can select "Output on this connection". You can filter the sentences that get output. You can use the NMEA converter plugin to aggregate data or create new sentences. You can output on serial or on the network.

You can also do pretty much all of the above in SignalK.

Our own system has three USB interfaces; two for incoming NMEA 0183 data (instruments and AIS/GPS) and one for outgoing data (all data except AIS to autopilot). I've done it solely in OpenCPN and in SignalK (the advantage to SignalK is that it runs as a service/daemon so people can't accidentally close it).

Draw up a sketch of how you envision the data will flow and that will help a lot.
Dsanduril is offline   Reply With Quote
Old 11-08-2021, 15:39   #3
Registered User

Join Date: Sep 2012
Location: Tauranga, New Zealand
Boat: Nonsuch 30 Ultra
Posts: 27
Images: 1
Re: RPi and OpenCPN - Multiplexer required?

Quote:
Originally Posted by Dsanduril View Post
Short answer, yes. But this really depends on what hardware you will be multiplexing to. NMEA 0183 only allows a single talker on the wire, so is all your data on one wire (well, one pair of wires)? Then it can all come in on one USB interface.

How about going out? Is it all on one wire? Or is it going out by network?

In OpenCPN you configure a connection and can select "Output on this connection". You can filter the sentences that get output. You can use the NMEA converter plugin to aggregate data or create new sentences. You can output on serial or on the network.

You can also do pretty much all of the above in SignalK.

Our own system has three USB interfaces; two for incoming NMEA 0183 data (instruments and AIS/GPS) and one for outgoing data (all data except AIS to autopilot). I've done it solely in OpenCPN and in SignalK (the advantage to SignalK is that it runs as a service/daemon so people can't accidentally close it).

Draw up a sketch of how you envision the data will flow and that will help a lot.

Attached is a diagram of what I am proposing. Note the B&G H1000 system uses a proprietary comms system called Fastnet, which can be accessed through a single point (the Universal Interface). This is one Rx and Tx pair that carries ALL of the nmea 0183 (version 2.1?) sentences.
Attached Thumbnails
Click image for larger version

Name:	New Nav System.JPG
Views:	170
Size:	59.2 KB
ID:	243610  
Island_Moose is offline   Reply With Quote
Reply

Tags
enc, opencpn


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
OpenCPN and Ubuntu Groovy on RPi-4 doesn't work Phil_Fr OpenCPN 13 29-10-2020 04:34
OpenCPN Rpi cpu usage and temperature CapnRon47 OpenCPN 25 18-04-2018 06:55
OpenCPN problem on RPi with Raspbian 9.1 janth OpenCPN 16 15-10-2017 08:30
World Chart missing/opencpn/rPi dugsmith98 OpenCPN 1 01-03-2017 17:05
Rpi OpenCPN System - recommendations geoffr OpenCPN 17 01-02-2017 10:45

Advertise Here


All times are GMT -7. The time now is 15:28.


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.