Dear friends,
I need to configure a port on my CR-850 datalogger through CR BASIC to receive data via RS-232 using channels C1 and C2...)
I need to configure anemometers and weather stations that have an RS-485 output and I am using a 485 to rs-232 converter, thus connecting them in this mode.
I just need to read the wind speed information.
Can anyone help me write this program?
Thank you very much
What model of sensor is it?
Hi, JDavis!
WMT-700 Ultrassonic wind sensor Vaisala
WXT-536 Vaisala
Observator 160
All RS-485 to RS232
Please if you can help me initially for the WMT700 it will help me a lot.
In Hyperteminal Config 19200 - 8 - 1 N - 1
WMT700 NMEA MWV commands
This command polls data from WMT700 when the WMT700 NMEA MWV protocol is selected.
$--<id>Q,MWV*<chk><CR><LF>
NameDescription$Message header--2-character talker ID of the polling unit<id>2-character WMT700 sensor ID; AA … ZZQQuery command,Field delimiterMWVSentence formatter*<chk>Checksum field(8-bit XOR, excluding $ and *)<CR>Carriage return code, ASCII 0DH<LF>Line feed code, ASCII 0AHTo use WMT700 with the WMT700 NMEA MWV profile, set the autoSend parameter to 0 to enable polling or define a fixed output interval with the autoInt parameter. If you use automatic messages, set the autoSend parameter to 20.WMT700 NMEA MWV data message
WMT700 NMEA MWV data message is as follows:
$<id>MWV,<dir>,<ref>,<spd>,<uni>,<sta>*<chk><CR><LF>
NameDescription$Message header<id>Two character sensor ID; AA … ZZMWVFixed text<dir>Wind angle: 0 to 359°<ref>Reference: R = relative<spd>Wind speed<uni>Wind speed unit: K = km/h
M = m/s
N = knots
<sta>Status: A = Valid data
V = Invalid data
*Fixed text<chk>Checksum (8-bit XOR, excluding $ and *)<CR>Carriage return code, ASCII 0DH<LF>Line feed code, ASCII 0AHExample of the command and response:
$IIWIQ,MWV*2F<CR><LF> $WIMWV,045,R,011.63,N,A*09<CR><LF>
Interpretation of the example message:
#######################3WE NEDD IN M/S #############################
This post is under review.