Cruisers Forum
 

Go Back   Cruisers & Sailing Forums > Scuttlebutt > Our Community
Cruiser Wiki Click Here to Login
Register Vendors FAQ Community Calendar Today's Posts Log in

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
Old 06-02-2016, 05:58   #16
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
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, 06:00   #17
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
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 offline   Reply With Quote
Old 06-02-2016, 06:03   #18
cruiser

Join Date: Nov 2007
Location: Probably in an anchorage or a boatyard..
Boat: Ebbtide 33' steel cutter
Posts: 5,030
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, 06:36   #19
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
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 offline   Reply With Quote
Old 29-05-2016, 19: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, 07:23   #21
Registered User

Join Date: Apr 2015
Location: Cape Town
Posts: 29
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


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 03:02
Radio Ocean O.Chart 7 NMEA 0183 Sentence moteje Marine Electronics 0 23-09-2013 04:13
NMEA WPL sentence support? s/v Jedi OpenCPN 9 04-03-2013 04:29
OpenCPN and NMEA sentence dmoore OpenCPN 8 21-12-2012 12:47
MOB NMEA sentence Cavalier Marine Electronics 13 27-08-2012 10:12

Advertise Here


All times are GMT -7. The time now is 22:32.


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.