Hello,
in manual for anemometer 034B there is mistake in sample programming code.
The code for wind direction vane on CR1000 is like this:
BrHalf(WindDir,1,mV2500,1,1,1,2500,True,0,_50Hz,720,0)
If WindDir>=360 Or WindDir<0 Then WindDir=0
The mistake is wrong offset = 720. There should be written number 360 instead of 720.
With the offset set to value 720 the direction vane registers only directions between 180-360°, i.e. south-west-north. Moreover, it shows 0° for south, 180° for west and 360° for north. For other directions (North-East-South) it shows 0°.
Matej
Dears,
on paper, having never used this sensor, it all seems correct.
First:
720 is a mult. factor, the offset in this and many instructions is the last parameter, which rightly is zero.
Second:
For cause of another 10K resistor in series to the potentiometer, the 2500 mV supply voltage is divided by two, then at stroke end or about 360 ° the logger can measure about 1250 mV. Since the BrHalft returns the ratio between the measure and the supply voltage, the result will be 0.5, that multiplied by 720 will give a measure of angles 360.
Everything back right
Regards
Smile
Dear Smile,
thank you for update. 720 is multiplier, of course. Sorry for my mistake.
I'm a beginer. I don't understand the theoretical/electrical background.
I found multiplier 360 in this post https://www.campbellsci.eu/forum?forum=1&l=thread&tid=1066
I tried 360 and it works for me. Multiplier 720 does not work for me.
Regards
Matej