OpenMarine
Read temperature from wind instrument - Printable Version

+- OpenMarine (https://forum.openmarine.net)
+-- Forum: OpenPlotter (https://forum.openmarine.net/forumdisplay.php?fid=1)
+--- Forum: How do I...? (https://forum.openmarine.net/forumdisplay.php?fid=3)
+--- Thread: Read temperature from wind instrument (/showthread.php?tid=171)



Read temperature from wind instrument - Arne - 2016-07-18

Hello all!

I have a CV7 ultrasonic windsensor connected through a standard NMEA 0183-USB converter, and the wind direction and speed is coming through nicely.
There is also temperature, in a XDR message, is there anyway I can extract/convert(?) this and be sure it's sent on?

[Image: 2016-07-19_00-11-37.png]


RE: Read temperature from wind instrument - Sailoog - 2016-07-19

There is something wrong with the XDR sentence generated by your device. According to NMEA specifications, the last field should be an unique ID of your device but you have an empty field:

your wrong sentence: $WIXDR,C,012.0,C,,*51
right sentence: $WIXDR,C,012.0,C,somethinghere,*51

Anyway, to do what you want, go to the file: /home/pi/.config/openplotter/classes/datastream.py and replace the line 345:


Code:
if transducer.id=='I2CT':

by

Code:
if transducer.id=='I2CT' or transducer.id=='':

it can work.


RE: Read temperature from wind instrument - Arne - 2016-07-19

Thanks! :-)
I'll try that!


Read temperature from wind instrument - Alpenskipper - 2016-07-31

I also have the CV7 wind sensor. And I can't see the temperature in the NMEA2000 Net.
Nor can I see a sentence in Openplotter for the temperature?

Is there one?

$ECMWV,266.0,R,3.2,N,A*38
$OSXDR,P,969.39,B,I2CP,C,24.6,C,I2CT,H,66.2,R,I2CH*3E
$GPGSV,6,5,22,83,21,037,28,84,78,045,24,85,45,215,37,33,30,212,0*44
$OSXDR,P,969.39,B,I2CP,C,24.6,C,I2CT,H,66.2,R,I2CH*3E
$SDDBT,27.7,f,8.4,M,4.6,F*3A
$VWMTW,23.65,C*20
$VWVHW,000.8,T,358.4,M,0.00,N,0.0,K*66
$VWVLW,508.5,N,508.52,N,,,,*7E
$GPGGA,093944.70,4735.402,N,00933.607,E,1,15,0.78,,M,,M,,*68
$GPGLL,4735.402,N,00933.607,E,093944.70,A,A*66
$GPGSV,6,6,22,37,34,164,0,39,33,159,0*7E
$GPRMC,093944.70,A,4735.402,N,00933.607,E,0.0,180.0,310716,002.4,E,A*37
$GPVTG,180.0,T,177.6,M,0.0,N,0.0,K,A*2D
$ECMWV,306.0,R,2.3,N,A*3F
$OSXDR,P,969.54,B,I2CP,C,24.6,C,I2CT,H,66.3,R,I2CH*34
$GPGSA,,3,85,84,83,75,74,73,32,31,29,25,21,14,,0.78,*4A
$GPGSV,6,1,22,2,29,052,28,4,28,292,41,5,03,096,0,12,31,098,35*77
$OSXDR,P,969.51,B,I2CP,C,24.6,C,I2CT,H,66.3,R,I2CH*31
$SDDBT,27.7,f,8.4,M,4.6,F*3A
$VWMTW,23.65,C*20
$VWVHW,000.8,T,358.4,M,0.00,N,0.0,K*66
$VWVLW,508.5,N,508.52,N,,,,*7E
$GPGGA,093946.69,4735.402,N,00933.607,E,1,15,0.78,,M,,M,,*62
$GPGLL,4735.402,N,00933.607,E,093946.69,A,A*6C
$GPGSV,6,2,22,14,19,251,32,21,15,184,35,25,69,084,33,26,10,290,0*41
$GPRMC,093946.69,A,4735.402,N,00933.607,E,0.0,180.0,310716,002.4,E,A*3D
$GPVTG,180.0,T,177.6,M,0.0,N,0.0,K,A*2D
$ECMWV,331.0,R,3.0,N,A*39
$OSXDR,P,969.57,B,I2CP,C,24.6,C,I2CT,H,66.3,R,I2CH*37
$GPGSV,6,3,22,29,86,237,33,31,48,298,33,32,09,233,28,66,05,325,0*43
$OSXDR,P,969.54,B,I2CP,C,24.6,C,I2CT,H,66.2,R,I2CH*35
$SDDBT,27.9,f,8.5,M,4.7,F*34
$VWMTW,23.65,C*20
$VWVHW,000.8,T,358.4,M,0.00,N,0.0,K*66
$VWVLW,508.5,N,508.52,N,,,,*7E
$GPGGA,093948.74,4735.402,N,00933.607,E,1,15,0.78,,M,,M,,*60
$GPGLL,4735.402,N,00933.607,E,093948.74,A,A*6E
$GPGSV,6,4,22,67,07,013,0,73,21,139,42,74,74,135,28,75,48,321,41*43
$GPRMC,093948.74,A,4735.402,N,00933.607,E,0.0,180.0,310716,002.4,E,A*3F
$GPVTG,180.0,T,177.6,M,0.0,N,0.0,K,A*2D
$ECMWV,346.0,R,3.7,N,A*3E
$OSXDR,P,969.54,B,I2CP,C,24.6,C,I2CT,H,66.2,R,I2CH*35
$ECDTM,W84,,0.000000,S,0.000000,W,0.00,W84*41
$GPGSV,6,5,22,83,21,037,29,84,78,045,29,85,45,215,40,33,30,212,0*48
$OSXDR,P,969.51,B,I2CP,C,24.6,C,I2CT,H,66.1,R,I2CH*33
$SDDBT,27.7,f,8.4,M,4.6,F*3A
$VWMTW,23.65,C*20
$VWVHW,000.7,T,358.3,M,0.00,N,0.0,K*6E
$VWVLW,508.5,N,508.52,N,,,,*7E
$GPGGA,093950.64,4735.402,N,00933.607,E,1,15,0.78,,M,,M,,*68
$GPGLL,4735.402,N,00933.607,E,093950.64,A,A*66
$GPGSV,6,6,22,37,34,164,0,39,33,159,0*7E
$GPRMC,093950.64,A,4735.402,N,00933.607,E,0.0,180.0,310716,002.4,E,A*37
$GPVTG,180.0,T,177.6,M,0.0,N,0.0,K,A*2D
$ECMWV,337.0,R,3.3,N,A*3C


RE: Read temperature from wind instrument - SkipperEarly - 2016-08-02

Don't know if this is the right place to ask. I am interested in the CV7SF-USB and would welcome your advise.
@ Alpenskipper & @Arne:
- would you recommend the wireless version for a trailable vessel?
- are you satisfied with the performance of the sensor - how is calibration achieved?
- any comments on supplier support?

Are you aware of any similar (possibly lower-priced) products?

Thanks for advice.


RE: Read temperature from wind instrument - Sailoog - 2016-08-02

(2016-07-31, 02:03 PM)Alpenskipper Wrote: I also have the CV7 wind sensor. And I can't see the temperature in the NMEA2000 Net.
Nor can I see a sentence in Openplotter for the temperature?

Is there one?

Follow the advice suggested to Arne


Read temperature from wind instrument - Alpenskipper - 2016-08-02

(2016-08-02, 08:07 AM)SkipperEarly Wrote: Don't know if this is the right place to ask. I am interested in the CV7SF-USB and would welcome your advise.
@ Alpenskipper & @Arne:
- would you recommend the wireless version for a trailable vessel?
- are you satisfied with the performance of the sensor - how is calibration achieved?
- any comments on supplier support?

Are you aware of any similar (possibly lower-priced) products?

Thanks for advice.


Hi!

I dont't know a cheaper device using this technique.
I use the wired version, connected via a so called windyplug to the nmea 2000 network. It is running fine, resolution seems to be better than the traditional winvanes.
Especially in low wind - high waves situations it is performing super.
Calibration was not necessary in my case- you could turn the transducer on the masttop or calibrate it via the serial port.

Support is good, i had several contacts with the supplier in France.

Best Regards

Martin