Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MDA sentence out #62

Open
mathewgreen opened this issue Nov 27, 2020 · 1 comment
Open

MDA sentence out #62

mathewgreen opened this issue Nov 27, 2020 · 1 comment

Comments

@mathewgreen
Copy link

I have I2C connected humidity/temp/pressure sensor (BME860) to get data into SignalK and out again to the NMEA0183 network. I have the signalk-raspberry-pi-bme860 plugin and that brings data into SignalK. I want to use signalk-to-nmea0183 to get the data out to the NMEA0183 network (wifi)

I would like map the following (out from signalk-raspberry-pi-bme860) to an MDA sentence?

environmental.inside.humidity
environmental.inside.pressure
environmental.inside.temperature

@tkurki
Copy link
Member

tkurki commented Feb 14, 2024

MDA
Meteorological Composite (obsolete) This message is obsolete and NMEA recommends to use XDR transducer messages instead. However, old instruments might still sending this message. OpenCPN reads the second value “Barometric pressure, bars”, but only if the number provided is between 0.8 and 1.1 All other values are ignored.

$--MDA,x.x,I,**x.x,B**,x.x,C,x.x,C,x.x,x.x,x.x,C,x.x,T,x.x,M,x.x,N,x.x,M*hh<CR><LF> \\
|   |        |   |    |   |    |   |    |   |    | \\
|   |        |   |    |   |    |   |    |   |    Wind speed, meters/second \\
|   |        |   |    |   |    |   |    |        Wind speed, knots \\
|   |        |   |    |   |    |   |    Wind direction, degrees Magnetic     \\
|   |        |   |    |   |    |        Wind direction, degrees True \\
|   |        |   |    |   |    Dew point, degrees C \\
|   |        |   |    |    Absolute humidity, percent \\
|   |        |   |    Relative humidity, percent \\
|   |        |        Water temperature, degrees C \\
|   |        Air temperature, degrees C \\
|      **//Barometric pressure, bars// ** \\
Barometric pressure, inches of mercury

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants