Hi all,
I would like to see if my multiplier and offset from the windspeed sensor is set the right way.
The sensors output is is 4-20mA, but with a resistor of 124 ohm it is now 496mV - 2480mV.
The sensors range is 0 - 50 m/s
VoltDiff(WS_KPH,1,mV2500,1,True,0,250,0.001,0)
With kind regards.
Since the sensor has a linear output, this is how you would calculate the multiplier and offset:
2480 mV = 50 m/s
496 mV = 0 m/s
Multiplier (50 m/s - 0 m/s)/(2480 mV - 496 mV) = 50/1984 = 0.02520161 m/s / mV
Offset = 496 mv * 0.02520161 m/s / mV = 1.26 m/s
Hi JDavis,
Thanks alot for your input.
The offset outcome of 1.26 is that right?
With kind regards.
VoltDiff(WS_MS,1,mV2500,1,True,0,250,1,0)
WS_MS = (WS_MS-496)*0.02520161