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 31-07-2020, 01:02   #1
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Showing customized NMEA sentences in OC

Hi,

is it possible to show customized NMEA sentences in OCīs dashbord?

I think about a home made tank level indicator witch sends NMEA sentences through the network to oc and then shown there.

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 31-07-2020, 02:59   #2
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,810
Re: Showing customized NMEA sentences in OC

NMEA 0183 XDR?
bcn is offline   Reply With Quote
Old 31-07-2020, 03:11   #3
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: Showing customized NMEA sentences in OC

Hi,

@bcn: Yes itīs possible to make XDR-sentences.

Meantime I read in the manual that the dashboard can use XDR-sentences.
So this can be one possibility.

In the OC-manual stand under NMEA sentences and the xdr chapter this:

Example:
$IIXDR,C,19.52,C,TempAir*19
$IIXDR,P,1.02481,B,Barometer*29

Is it possible to use more than one transducer of one type e.g. two TempAir? Can I name the transducers as I want or must the Temperature Transducer (C) called TempAir ?

Kind regards

Andreas
Andreas29 is offline   Reply With Quote
Old 31-07-2020, 03:22   #4
bcn
Registered User

Join Date: May 2011
Location: underway whenever possible
Boat: Rangeboat 39
Posts: 4,810
Re: Showing customized NMEA sentences in OC

Andreas,


XDR is a construct to allow proprietary sensors in a 0183 (IEC 61162) network. Several sensors in the same sentence are allowed.
The description of the structure should be available in some site.
In case you don't find it, drop me a mail.


Hubert



XDR – Transducer measurements
Measurement data from transducers that measure physical quantities such as temperature, force, pressure, frequency, angular or linear displacement, etc. Data from a variable number of transducers measuring the same or different quantities can be mixed in the same sentence. This sentence is designed for use by integrated systems as well as transducers that may be connected in a "chain" where each transducer receives the sentence as an input and adds on its own data fields before retransmitting the sentence.








bcn is offline   Reply With Quote
Old 31-07-2020, 03:42   #5
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: Showing customized NMEA sentences in OC

Hi,

@bcn: Hubert, sorry wrote your nick wrong. Corrected it

The NMEA-sentences itself are not the prob.
To show them in OC seems to be a little tricky.

Some more information:

I want to build a tank level transducer with a special ultrasonic sensor and a wemos d1 mini. This combo broadcasts the tank level via WiFi into the network and oc can recive this as a network connection.
The wemos is like an Arduino (programmable) and so I can send everything I want via the network.

My thougt now was to use NMEA sentences and show them in OC with the dashbord.

What I didnīt find out yet is if itīs possible to show in the Dashboard a line like "Fueltank: x Liters" ore a gauge or so witch is called as the source.

And what is if I have more than one of theese transducers (watertank, fueltank, wastewater…)

Regards

Andreas
Andreas29 is offline   Reply With Quote
Old 31-07-2020, 08:05   #6
Registered User

Join Date: Dec 2015
Location: Germany, sailing: Northsea
Boat: Friendship 28
Posts: 244
Re: Showing customized NMEA sentences in OC

Hi,

found the plugin EngineDashboard. There are the needed instruments to show customized xdr nmea sentences like I need.

The other way seems to use the signalk and the dashboard tactics plugin.

Regards

Andreas
Andreas29 is offline   Reply With Quote
Reply

Tags
enc, 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
NMEA-0183 Sentences DSC, DSE continuouswave Marine Electronics 6 27-06-2020 05:57
Which NMEA Sentences Does an Autopilot Use ? svpresent Marine Electronics 8 02-05-2020 16:42
OpenCPN 3.3.xxxx and plugins : NMEA sentences list ? Gilletarom OpenCPN 17 01-05-2014 06:02
Bug? OpenCPN ignoring lots of NMEA sentences - help! chris14679 OpenCPN 9 29-04-2014 18:37
OpenCPN not sending NMEA autopilot sentences. Islander OpenCPN 6 16-04-2014 07:02

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 11:20.


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.