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: 152
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:	136
Size:	149.4 KB
ID:	163590   Click image for larger version

Name:	MTAMDA.PNG
Views:	114
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,150
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: 152
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,633
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


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 644 02-04-2024 16:55
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 05:30.


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.