Cruisers Forum
 


Join CruisersForum Today

Reply
 
Thread Tools Rate Thread Display Modes
Old 06-02-2016, 06:58   #16
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,537
Re: NMEA 0183 sentence for barometric pressure

Quote:
Originally Posted by richarddaneel View Post
Sorry for the confusion a typo, yes the sentence I used was IIMDA and NOT MDR as indicated, but the barometer still does not recognise IIMDA sentence, any ideas will be appreciated.

thx, richard
I can't work this out either

OK, sending sentences in from an arduino,

Quote:
//Serial.println("$IIMDA,30,I,1.02,B,10.1,C,,C,,,,C, 158.69,T,,M,3.89 ,N,2,M*09");
Serial.println("$WIMDA,30,I,1.02,B,10.1,C,,C,,,,C, 158.69,T,,M,3.89 ,N,2,M*17");
The top one $IIMDA..... will show up in a dashboard barometer history but won't be entered into logbook konni. And won't be seen in a dashboard containing a baromter dial or textbox.
The bottom one behaves the same and will be entered into the logbook.

Hmmm....

__________________

__________________
conachair is offline   Reply With Quote
Old 06-02-2016, 07:00   #17
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,019
Re: NMEA 0183 sentence for barometric pressure

Quote:
Originally Posted by conachair View Post
Which bit of Opencpn looks for the barometer data?

With the sentence below I can't get the dashboard to display barometer data

$IIMDA,30,I,1.02,B,10.1,C,,C,,,,C,158.69,T,,M,3.89 ,N,2,M*29

However almost the same sentence will be recorded by logbook konni as barometer & temperature..
$WIMDA,30,I,1.02,B,10.1,C,,C,,,,C,158.69,T,,M,3.89 ,N,2,M*37

A bug got introduced into the dashboard near the end of the 4.2 cycle. Try this:

Add the object "Barometric history" to a dashboard. Then the MDA sentence will drive the history display.

The bug in the text only barometer instrument will get fixed in github "real soon now".
__________________

__________________
transmitterdan is online now   Reply With Quote
Old 06-02-2016, 07:03   #18
Registered User

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 3,537
Re: NMEA 0183 sentence for barometric pressure

Quote:
Originally Posted by transmitterdan View Post
A bug got introduced into the dashboard near the end of the 4.2 cycle. Try this:

Add the object "Barometric history" to a dashboard. Then the MDA sentence will drive the history display.

The bug in the text only barometer instrument will get fixed in github "real soon now".


Think I just found that

Thanks.
__________________
conachair is offline   Reply With Quote
Old 06-02-2016, 07:36   #19
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 4,019
Re: NMEA 0183 sentence for barometric pressure

Quote:
Originally Posted by conachair View Post


Think I just found that

Thanks.
The instrument will work if you are caught in a tropical cyclone because the pressure will be less than 1000 millibars
__________________
transmitterdan is online now   Reply With Quote
Old 29-05-2016, 20:21   #20
Registered User

Join Date: Sep 2015
Posts: 5
Re: NMEA 0183 sentence for barometric pressure

The sentences work if pressure is under 1 bar, this works for me:

$ARMDA,,,0.9923,B,,,,,,,,,,,,,,,,*6

There must be 20 commas in the string.

Using the same string but over 0.9999 bar doesn't work (bug), however, the BaroHist graph works over 1.

I'm sending sentences with an arduino using println:

//baro pressure
String MDA = "ARMDA,,,0.9923,B,,,,,,,,,,,,,,,,"; //must have 20 commas. Example line, static reading for debug
//float press = (float) pressure/100000;
//String MDA = "ARMDA,,," + String(press,5) + ",B,,,,,,,,,,,,,,,,"; //this is the real line, commented for experimenting with debug line above
CRC = String(checksum(MDA), HEX);
CRC.toUpperCase();
MDA = "$" + MDA + "*" + CRC;
Serial.println(MDA);


I now have wind speed and direction (davis anemometer), barometric pressure, compass, water and air temperature, accelerometer and gyro.

The last two are used for computing pitch and roll but I havent found a string that works for OpenCPN so far. Tried XDR to no avail.


Simon
__________________
simonmtl is offline   Reply With Quote
Old 02-06-2016, 08:23   #21
Registered User

Join Date: Apr 2015
Location: Cape Town
Posts: 24
Re: NMEA 0183 sentence for barometric pressure

Hi Guys

OK, so you set the baro pressure with the history. However, my version of OP (V8.0) in the I2C section sets the baro output to NMEA OSXDR strings with no option for MDA strings. How did you manage to get OP to output in MDA, many thanks
__________________

__________________
richarddaneel is offline   Reply With Quote
Reply

Tags
enc, nmea, nmea 0183

Thread Tools
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
For Sale: Comar NMEA-2-WIFI NMEA 0183 Converter $230 4arch Classifieds Archive 1 02-11-2015 04:02
Radio Ocean O.Chart 7 NMEA 0183 Sentence moteje Marine Electronics 0 23-09-2013 05:13
NMEA WPL sentence support? s/v Jedi OpenCPN 9 04-03-2013 05:29
OpenCPN and NMEA sentence dmoore OpenCPN 8 21-12-2012 13:47
MOB NMEA sentence Cavalier Marine Electronics 13 27-08-2012 11:12



Copyright 2002- Social Knowledge, LLC All Rights Reserved.

All times are GMT -7. The time now is 14:48.


Google+
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.
Social Knowledge Networks
Powered by vBulletin® Version 3.8.8 Beta 1
Copyright ©2000 - 2017, vBulletin Solutions, Inc.

ShowCase vBulletin Plugins by Drive Thru Online, Inc.