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 06-02-2018, 01:58   #1
Registered User

Join Date: Aug 2016
Posts: 157
Dashboard vs XDR,MTA,MDA

Hi,

I would like to integrate the air pressure and temperature sensor in dashboard. I take example from wiki
https://opencpn.org/wiki/dokuwiki/do...nmea_sentences
Code:
$IIXDR,C,19.52,C,TempAir*3D 
$IIXDR,P,1.02481,B,Barometer*0D
that does not work. s. Attachment
Is XDR implemented in OpenCPN?
Then I found an example of Sean (pypilot), where he uses the MTA & MDA sentences
Code:
$ARMDA,,,1.00000,B,,,,,,,,,,,,,,,,*36
$ARMTA,19.50,C*2B
And it's working. s. Attachment

As far as I know the MDA is outdated and should not be used.
Is that behaving wanted? Or is that a bug?
Attached Thumbnails
Click image for larger version

Name:	XDR.PNG
Views:	152
Size:	149.4 KB
ID:	163590   Click image for larger version

Name:	MTAMDA.PNG
Views:	125
Size:	140.6 KB
ID:	163591  

BlackSea is offline   Reply With Quote
Old 06-02-2018, 03:43   #2
Registered User

Join Date: Nov 2012
Location: Orust Sweden
Boat: Najad 34
Posts: 4,329
Re: Dashboard vs XDR,MTA,MDA

Blacksea...
XDR in the format of your examples would be understood by Dashboard, but the checksum in both your examples seams wrong. The latter would read: $IIXDR,P,1.02481,B,Barometer*29
(See for example here: NMEA MTK checksum calculator)

The MDA bay be outdated for new implementation but is of course still used by old equipment. So consequently supported by OCPN.
Håkan
Hakan is offline   Reply With Quote
Old 06-02-2018, 04:36   #3
Registered User

Join Date: Aug 2016
Posts: 157
Re: Dashboard vs XDR,MTA,MDA

Hakan,

thx for your advantage. Indeed both seqs are wrong. I haven't proof wiki example...
Right example schould be
Code:
$IIXDR,C,19.52,C,TempAir*19
$IIXDR,P,1.02481,B,Barometer*29
BlackSea is offline   Reply With Quote
Old 06-02-2018, 15:11   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,855
Images: 2
Re: Dashboard vs XDR,MTA,MDA

NMEAconverter_pi will help.
1. Prepare Barometer Sensor Output for Dashboard
rgleason is offline   Reply With Quote
Reply

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
Plugin: DashBoard SethDart OpenCPN 650 12-08-2024 10:19
Temperature through NMEA XDR, Dashboard PI omnia OpenCPN 7 31-03-2017 23:38

Advertise Here


All times are GMT -7. The time now is 17:56.


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.