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 09-02-2017, 06:52   #1
Registered User

Join Date: Feb 2017
Location: Norway
Boat: KingsCruiser 33
Posts: 6
Question trouble reading nmea from transducer

Hello!

I'm trying to connect an Airmar P79 smart transducer (NMEA 0183) to opencpn on linux mint.(I have already had USB GPS working).
I'm using a USB converter (Same as Sailoog sells), and it looks ok in the usb connections list.
I used the "screen tool" to read the signals from the transducer, and it does transmit, although it does not look like NMEA sentences. Depending on what baud rate I choose to read, I get different combinations of letters and question marks. And on high baud rates I only get the question marks.
It does seem to change when I move the transducer from the bucket where I'm testing it. So there is some kind of signal coming through.

There is no nmea data coming through in opencpn.

Any help is very much appreciated!
systreif is offline   Reply With Quote
Old 09-02-2017, 09:13   #2
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,735
Re: trouble reading nmea from transducer

Quote:
Originally Posted by systreif View Post
Hello!

I'm trying to connect an Airmar P79 smart transducer (NMEA 0183) to opencpn on linux mint.(I have already had USB GPS working).
I'm using a USB converter (Same as Sailoog sells), and it looks ok in the usb connections list.
I used the "screen tool" to read the signals from the transducer, and it does transmit, although it does not look like NMEA sentences. Depending on what baud rate I choose to read, I get different combinations of letters and question marks. And on high baud rates I only get the question marks.
It does seem to change when I move the transducer from the bucket where I'm testing it. So there is some kind of signal coming through.

There is no nmea data coming through in opencpn.

Any help is very much appreciated!
The "normal" baud rate for basic NMEA would be 4800.
Which ones are you trying? What does the manual say?
bcn is offline   Reply With Quote
Old 09-02-2017, 09:28   #3
Registered User

Join Date: Feb 2017
Location: Norway
Boat: KingsCruiser 33
Posts: 6
Re: trouble reading nmea from transducer

yes, 4800 is what I first tried, sadly I have not been able to find any information about the baud rate from Airmar, but I have tried all baud rates in the dropdown menu in opencpn, and none of them gave readings that looked like NMEA sentences.
systreif is offline   Reply With Quote
Old 09-02-2017, 09:59   #4
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,735
Re: trouble reading nmea from transducer

- (Double)Check cables and connectors then. GND well soldered?
- Remember that the Tx from the sensor has to go to Rx of the adapter.
- And/or try a different USB2serial adapter.
- If you have a PC with a real RS232 port try with this first
bcn is offline   Reply With Quote
Old 09-02-2017, 11:44   #5
Registered User

Join Date: Feb 2017
Location: Norway
Boat: KingsCruiser 33
Posts: 6
Re: trouble reading nmea from transducer

Quote:
Originally Posted by bcn View Post
- (Double)Check cables and connectors then. GND well soldered?
- Remember that the Tx from the sensor has to go to Rx of the adapter.
- And/or try a different USB2serial adapter.
- If you have a PC with a real RS232 port try with this first
I do not have a RS232 port on the pc, however I will try another adapter.
You ask if GND is well soldered, the way I have it connected now is:

The transducer has 5 cables, naked is shield (unconnected), blue and white is NMEA - and + (Connected to RX - and + on adapter), red is + 12-24 Vdc and black is Ground.

I have red and black connected to a separate 12V battery, should the black one also go to GND on the adapter? I assumed only the blue and white carried signal?

Thank you for your response so far
systreif is offline   Reply With Quote
Old 09-02-2017, 13:26   #6
Registered User

Join Date: Jul 2010
Location: Hannover - Germany
Boat: Amel Sharki
Posts: 2,541
Re: trouble reading nmea from transducer

When a NMEA0183 device has 2 cables it is obviously line A and line B of the RS422. To use it for RS232 you need to take line A (+) only and Ground (not liine B). This is too often misunderstood.

Gerhard
CarCode is offline   Reply With Quote
Old 09-02-2017, 14:22   #7
Registered User

Join Date: Feb 2017
Location: Norway
Boat: KingsCruiser 33
Posts: 6
Re: trouble reading nmea from transducer

Quote:
Originally Posted by CarCode View Post
When a NMEA0183 device has 2 cables it is obviously line A and line B of the RS422. To use it for RS232 you need to take line A (+) only and Ground (not liine B). This is too often misunderstood.

Gerhard
The serial adapters I have are RS422 (and 485), and the cables from the transducer are marked with NMEA + and NMEA -, which means it's NMEA V2 right? RS232 is NMEA V1 where there is only one dedicated signal cable and the ground cable is also used for signal
systreif is offline   Reply With Quote
Old 09-02-2017, 15:06   #8
Registered User

Join Date: Feb 2017
Location: Norway
Boat: KingsCruiser 33
Posts: 6
Re: trouble reading nmea from transducer

Problem solved!
It turnes out either the cables from the transducer or all of the converters are mislabeled. I switched polarity on the signal cables and now I get the NMEA data.

Thank you for the suppot guys

Now I will start connecting my 3G radar
systreif is offline   Reply With Quote
Old 11-05-2020, 13:55   #9
Registered User

Join Date: Aug 2016
Posts: 42
Re: trouble reading nmea from transducer

I am doing the same, Airmar p79 and 3g radar. I hope yours is working well now!
Could you please share the Airmar final connections you made? Thanks in advance.
CaptnBry is offline   Reply With Quote
Reply

Tags
nmea


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
A Transducer is a Transducer, Correct? Herbseesmoore Marine Electronics 3 22-06-2013 05:23
Trouble with NMEA data from Bluetooth gps receiver Lovinit OpenCPN 5 03-06-2013 15:49
Trouble removing speed transducer thru hull CaptainBW Construction, Maintenance & Refit 2 13-04-2013 08:23
Trouble with Seatalk to NMEA converter SV Demeter Marine Electronics 2 07-03-2012 09:32
Want To Buy: Raymarine Rotary Rudder Transducer and Fluxgate Transducer Kristian Classifieds Archive 0 22-02-2010 03:09

Advertise Here


All times are GMT -7. The time now is 20: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.