|
25-01-2024, 13:11
|
#1
|
Registered User
Join Date: Dec 2022
Location: On my vessel. Currently at Little Creek Marina, Norfolk, Va..
Boat: 32 Endeavor
Posts: 15
|
nmea o183 to laptop open cpn
So I have a simple question. I have 3 seperate streams of nmea 0183 data I want to SIMPLY send to my opencpn laptop without buying a multiplexer, trying to learn LInux prog. etc. can I run cheap db9 usb converters into a usb hub and 1 line to my laptop? Avoiding ground loops by using the ! wire rs232 common ground option. Data Points* pre 2015gx2150 ais. pre 1995? st60 depth pre 2015 garmin echomap 54 dv or backup raym. A65 plotter pre-many moons? if not, i assume it would work if i used 3 seperate ports on laptop. have 2 usb, 1 ethernet 1 hdmi. win 10.i am no techie of any kind. Thanks for any patientce exercised.
|
|
|
25-01-2024, 13:45
|
#2
|
Registered User
Join Date: Sep 2023
Location: Cruising
Posts: 564
|
Re: nmea o183 to laptop open cpn
Quote:
Originally Posted by Captain-Hook
So I have a simple question. I have 3 seperate streams of nmea 0183 data I want to SIMPLY send to my opencpn laptop without buying a multiplexer, trying to learn LInux prog. etc. can I run cheap db9 usb converters into a usb hub and 1 line to my laptop? Avoiding ground loops by using the ! wire rs232 common ground option. Data Points* pre 2015gx2150 ais. pre 1995? st60 depth pre 2015 garmin echomap 54 dv or backup raym. A65 plotter pre-many moons? if not, i assume it would work if i used 3 seperate ports on laptop. have 2 usb, 1 ethernet 1 hdmi. win 10.i am no techie of any kind. Thanks for any patientce exercised.
|
Signalk can do that, download link is bottom right under "releases".
https://github.com/SignalK/signalk-server-windows
Then create connections for each of the usb/serial adaptors, nmea coming in automatically gets multiplexed & sent out again as TCP on port 10110, Opencpn get's it all from there >
The signalk connections setup is similar to opencpn >
There's usually some FUD (fear, uncertainty & doubt) about how complex & difficult signalk is spread about by a few on the web (it's not unless you really go deep) , maybe just keep an open mind and give it a go
|
|
|
25-01-2024, 14:33
|
#3
|
Registered User
Join Date: Aug 2011
Location: Lower Chesapeake Bay Area
Boat: Bristol 27
Posts: 10,929
|
Re: nmea o183 to laptop open cpn
I ran mine in through an RS 485 USB Adapter. I think it was $5.00 or so.
I use it to bring in AIS and GPS from my SH 2200 VHF Radio. (1 port)
I don't use Signal K.
The adapter works with my RPI 4's (Linus) or my Windows Toshiba Laptop. (Windows 10)
Which ever computer I use I just redo the connections on OpenCPN and I'm good.
Video is with an RPI 4.
|
|
|
25-01-2024, 15:00
|
#4
|
Registered User
Join Date: Sep 2023
Location: Cruising
Posts: 564
|
Re: nmea o183 to laptop open cpn
|
|
|
25-01-2024, 22:25
|
#5
|
Registered User
Join Date: Mar 2012
Location: Solomons, MD
Boat: Cal 27
Posts: 165
|
Re: nmea o183 to laptop open cpn
I think these responses miss the point that OP has 3 serial devices and only 2 USB ports. OP was looking to add a USB hub between the PC and the 3 devices. I don't know if that's possible.
|
|
|
25-01-2024, 22:52
|
#6
|
Registered User
Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 3,558
|
Re: nmea o183 to laptop open cpn
Quote:
Originally Posted by Captain-Hook
So I have a simple question. I have 3 seperate streams of nmea 0183 data I want to SIMPLY send to my opencpn laptop without buying a multiplexer, trying to learn LInux prog. etc. can I run cheap db9 usb converters into a usb hub and 1 line to my laptop? Avoiding ground loops by using the ! wire rs232 common ground option. Data Points* pre 2015gx2150 ais. pre 1995? st60 depth pre 2015 garmin echomap 54 dv or backup raym. A65 plotter pre-many moons? if not, i assume it would work if i used 3 seperate ports on laptop. have 2 usb, 1 ethernet 1 hdmi. win 10.i am no techie of any kind. Thanks for any patientce exercised.
|
Yes, you can use a USB hub. Usually NMEA0183 is RS422, not RS232, so be sure to buy the correct adapters. The Garmin Echomap might be RS232. So double check that. I would guess you need 2 RS422 and 1 RS232 for the Garmin.
Do not connect grounds together, consider each connection separate. Especially with RS422, connecting them together will break things so they don't work.
__________________
-Warren
|
|
|
25-01-2024, 23:06
|
#7
|
Registered User
Join Date: Mar 2012
Location: Solomons, MD
Boat: Cal 27
Posts: 165
|
Re: nmea o183 to laptop open cpn
Ok, I have two GPS pucks. They have USB connections, but connect as serial devices. Basically, the serial to USB conversion is built in. I connected both to a USB 3.0 hub and then connected the hub to my Linux PC. Both devices showed up as separate serial ports (/dev/ttyUSB0 and /dev/ttyUSB1). I "assume" if I had a third it would also work. So that indicates that what you want to do could work.
The potential problem is that a pure wire conversion (really cheap converter) depends on a software driver on the PC to do the conversion. Sending these serial signals through a hub may not work. I don't have anything to test that scenario with.
For the GPS pucks, and better serial to USB converters, there are electronic bits that convert the signal to USB before it even reaches the PC and so not requiring a software driver to work. So the hub sees USB data, not serial signals. That's your best bet.
|
|
|
25-01-2024, 23:42
|
#8
|
Registered User
Join Date: Mar 2016
Location: San Francisco
Boat: Morgan 382
Posts: 3,558
|
Re: nmea o183 to laptop open cpn
Quote:
Originally Posted by cas206
Ok, I have two GPS pucks. They have USB connections, but connect as serial devices. Basically, the serial to USB conversion is built in. I connected both to a USB 3.0 hub and then connected the hub to my Linux PC. Both devices showed up as separate serial ports (/dev/ttyUSB0 and /dev/ttyUSB1). I "assume" if I had a third it would also work. So that indicates that what you want to do could work.
The potential problem is that a pure wire conversion (really cheap converter) depends on a software driver on the PC to do the conversion. Sending these serial signals through a hub may not work. I don't have anything to test that scenario with.
For the GPS pucks, and better serial to USB converters, there are electronic bits that convert the signal to USB before it even reaches the PC and so not requiring a software driver to work. So the hub sees USB data, not serial signals. That's your best bet.
|
All of the converters work the same way. Your GPS probably has the same chip in it as a serial to USB converter. That is why it shows up as a serial port. The RS232 and RS422 even use the same chip, but the other electrics in the device are different. Most converters use a chip manufactured by Prolific or FTDI. I prefer FTDI because it "remembers" the com port that is created. With Prolific, if you unplug it and plug it in again, you sometimes get a different port created. Often you don't know what you get when you buy one, but I always look for FTDI.
There are no "pure wire" converters. The signaling is completely different and that is impossible. There is no way to do the conversion in software. They all require drivers, but mostly the drivers are included with the OS now so you don't usually need to install them separately. Sometimes (usually with fake knockoffs of the FTDI or Prolific chips) you do need to install something.
Adding a USB hub doesn't really change anything. You computer has a HUB built into the motherboard, that is how you get multiple USB ports. So even without a hub, you actually are going through a hub. With a HUB, you are going through 2 of them.
The most important part Captain-Hook needs to know is to get the correct (RS-232 vs RS-422) adapters. Connecting RS-232 and RS-422 together is possible, but it gets tricky and is not intuitive or the way that seems it should work.
__________________
-Warren
|
|
|
26-01-2024, 03:42
|
#9
|
Moderator
Join Date: May 2014
Boat: Shuttleworth Advantage
Posts: 2,771
|
Re: nmea o183 to laptop open cpn
You could use a std RS232 - USB converter for one and a Dual R232 - USB converter for the other 2
https://www.microconnectors.com/usb-...erial-adapter/
|
|
|
|
Thread Tools |
Search this Thread |
|
|
Display Modes |
Rate This Thread |
Linear Mode
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
|
Advertise Here
Recent Discussions |
|
|
|
|
|
|
|
|
|
|
|
|
Vendor Spotlight |
|
|
|
|