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 05-07-2018, 07:15   #1
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 595
Airmar WeatherStation 150WX in Dashboard does not work!

Connect Airmar WeatherStation 150WX to CPN and output the data to the dashboard
Everything works except
1. True angle and wind speed
2. Air temperature
3. The barometer alternately displays hPa and mBr, because of this the history of the Barometer is not correctly displayed.

Installed plugin NmeaConverter
solved the problem with displaying the Air Temperature by adding
$ XXMTA, $ WIMDA5, $ WIMDA6
tried to make a calculation of the true wind from the apparent
The variant from Transmitter Dan worked
$ XXMWV, 90-deg (atan (($ ?? MWV3 * cos (rad ($ ?? MWV1)) - $ GPRMC7) / $ ?? MWV3 * sin (rad ($ ?? MWV1)))), T, sqrt (sqr ($ ?? MWV3 * sin (rad ($ ?? MWV1))) + sqr ($ ?? MWV3 * cos (rad ($ ?? MWV1)) - $ GPRMC7)), N, A
but does it work correctly I do not know!
Yes, and Airmar WeatherStation 150WX gives the true angle and wind speed only CPN does not read it!

What can I do to work with the Airmar 150WX?
Attached Thumbnails
Click image for larger version

Name:	airmar 150wx_CPN.JPG
Views:	192
Size:	151.1 KB
ID:	173072  
Baikal is offline   Reply With Quote
Old 06-07-2018, 20:11   #2
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,777
Images: 2
Re: Airmar WeatherStation 150WX in Dashboard does not work!

This is a cool unit it is great you are trying it out with Opencpn. If you have any examples or documentation for use with this unit, that applies to NmeaConverter, I'd be delighted to include it in the wiki.


Any chance you'll get an Airmar DX900?
  • Measures transverse and longitudinal speed which instantaneously calculates leeway angle and speed through water with no latency
  • Outputs dual axis speed, depth & water temperature with no moving parts
  • Offers a lightweight alternative to installing multiple sensors
  • Retrofits to existing P617V AIRMAR housing
  • Connects and shares data via AIRMAR’s new CAST™ app (Bluetooth®-enabled)
  • Outputs heel and trim*
rgleason is offline   Reply With Quote
Old 09-07-2018, 06:57   #3
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,777
Images: 2
Re: Airmar WeatherStation 150WX in Dashboard does not work!

Maybe you should give us a sample mnea0183 file to look at uploaded here?
rgleason is offline   Reply With Quote
Old 09-07-2018, 06:58   #4
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,777
Images: 2
Re: Airmar WeatherStation 150WX in Dashboard does not work!

With the nmea conversion you are trying to use.
rgleason is offline   Reply With Quote
Old 09-07-2018, 10:13   #5
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 595
Re: Airmar WeatherStation 150WX in Dashboard does not work!

Quote:
Originally Posted by rgleason View Post
Maybe you should give us a sample mnea0183 file to look at uploaded here?
nmea log https://www.dropbox.com/s/z5gsxupxpz...tion.nmea?dl=0

The true angle and wind speed works correctly with the nmeaconverter and the formula.
$ XXIMWV, $ WIMWV1 + acos ($ sqr ($ WIMWV3) + sqr ($ GPRMC7) + sqr ($ WIMWV3) -2 * $ GPRMC7 * $ WIMWV3 * cos ($ WIMWV1 * 3.14159265 / 180) -sqr ($ GPRMC7) ) / (2 * sqrt (sqr ($ GPRMC7) + sqr ($ WIMWV3) -2 * $ GPRMC7 * cos ($ WIMWV1 * 3.14159265 / 180)) * $ WIMWV3), T, sqrt (sqr ($ GPRMC7) + SQR ($ WIMWV3) -2 * $ GPRMC7 * $ WIMWV3 * cos ($ WIMWV1 * 3.14159265 / 180)), N, A

I renamed GPRMC to GPGGA

There were questions with indications of atmospheric pressure! Why then the indications go alternately in hPa / mBr should be something that one! Because of this, a graph of the history of pressure with two readings.

For air temperature used formula
$ XXMTA, $ WIMDA5, $ WIMDA6
but nmea converter as it does not correctly process it basically shows the temperature of 999 C and only once in 5 minutes per second appears the correct reading of the air temperature.
Baikal is offline   Reply With Quote
Old 10-07-2018, 09:40   #6
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 515
Re: Airmar WeatherStation 150WX in Dashboard does not work!

How is your $ XXMTA sentence send-timing set? It should be send if all data is collected, and not every x seconds.
After sending the data is reset to 999999, and if you transmit a new sentence before the data is updated, this is what you get. (the 9999 will prevent a divide by 0 error if used in calculations)
__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 10-07-2018, 18:20   #7
Registered User
 
transmitterdan's Avatar

Join Date: Oct 2011
Boat: Valiant 42
Posts: 6,008
Re: Airmar WeatherStation 150WX in Dashboard does not work!

There are two different sentences in the data stream that contain barometric pressure:

This one says the pressure is .9452 bars. Data from XDR will be labeled "mBar".
$YXXDR,C,,C,WCHR,C,,C,WCHT,C,,C,HINX,P,0.9452,B,ST NP*41

This one says the pressure is .9978 bars. Data from MDA will be labeled "hPa".
$WIMDA,29.4650,I,0.9978,B,17.8,C,,,,,,,249.6,T,253 .1,M,1.2,N,0.6,M*2E

Because both sentences are in the stream the Dashboard plugin displays them as they are received so the bargraph jumps between both readings.
transmitterdan is offline   Reply With Quote
Old 13-07-2018, 10:27   #8
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 595
Re: Airmar WeatherStation 150WX in Dashboard does not work!

Quote:
Originally Posted by rooiedirk View Post
How is your $ XXMTA sentence send-timing set? It should be send if all data is collected, and not every x seconds.
After sending the data is reset to 999999, and if you transmit a new sentence before the data is updated, this is what you get. (the 9999 will prevent a divide by 0 error if used in calculations)
Default timings
I do not know where and how they can be adjusted in Airmar 150WX
Is it possible to add the timing setting functionality in nmeaconverter
what will fix the error?
What else can you advise for correct display of air temperature?
Baikal is offline   Reply With Quote
Old 13-07-2018, 11:53   #9
Registered User
 
rooiedirk's Avatar

Join Date: Aug 2010
Location: Netherlands
Boat: Oneoff
Posts: 515
Re: Airmar WeatherStation 150WX in Dashboard does not work!

Quote:
Originally Posted by Baikal View Post
Default timings
I do not know where and how they can be adjusted in Airmar 150WX
Is it possible to add the timing setting functionality in nmeaconverter
what will fix the error?
What else can you advise for correct display of air temperature?
I was talking about the setting in the nmea-converter.
__________________
Navigation is know where you are and what to do to get where you want.
But also: Know where you don't want to be and what to do to don't get there.
rooiedirk is offline   Reply With Quote
Old 14-07-2018, 09:42   #10
Registered User

Join Date: Sep 2012
Location: Baikal
Posts: 595
Re: Airmar WeatherStation 150WX in Dashboard does not work!

Quote:
Originally Posted by rooiedirk View Post
I was talking about the setting in the nmea-converter.
How can this be customized?
Baikal is offline   Reply With Quote
Old 14-07-2018, 10:39   #11
Registered User
 
rgleason's Avatar

Join Date: Mar 2012
Location: Boston, MA
Boat: 1981 Bristol 32 Sloop
Posts: 17,777
Images: 2
Re: Airmar WeatherStation 150WX in Dashboard does not work!

When you are in Edit mode uncheck to send message every X secs. This is only for testing. You want the message only sent when it is recieved and after conversion.
rgleason is offline   Reply With Quote
Reply

Tags
weather


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
MWV sentences not working in dashboard conachair OpenCPN 26 20-04-2020 03:52
dashboard water temp (not metric?? RickyEM OpenCPN 5 16-07-2018 12:49
For Sale: AIRMAR ULTRASONIC ANEMOMETER/WEATHERSTATION farkle48 Classifieds Archive 1 28-02-2013 17:08
Track Interval 1 Second does not work BatcaveBunyip OpenCPN 2 10-05-2012 18:07
Airmar PB200 WeatherStation Extemporaneous Marine Electronics 36 18-02-2011 19:19

Advertise Here
  Vendor Spotlight
No Threads to Display.


All times are GMT -7. The time now is 10:19.


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.