beautypg.com

6 sensor check-out – Campbell Scientific 020C Wind Direction Sensor User Manual

Page 17

background image

Model 020C Wind Direction Sensor

'Main Program
BeginProg

'Main Scan
Scan(1,Sec,1,0)

'Default Datalogger Battery Voltage measurement 'BattV'
Battery(BattV)

'Default Wiring Panel Temperature measurement 'PTemp_C'
PanelTemp(PTemp_C,_60Hz)

'020C Wind Direction Sensor measurement 'WindDir'
VoltSe(WindDir,1,mV5000,1,1,0,_60Hz,0.072,0)


'Offset correction for vane installed with 270 degree
'installation orientation

WindDir = (WindDir + 90 + 360)MOD 360

'Call Data Tables and Store Data

CallTable(Table1)
CallTable(Table2)

NextScan

7.6 Sensor Check-Out

With the datalogger measuring the sensor, 020C output moves up-scale as the
vane rotates clockwise (as seen from above the sensor). Output will progress
up-scale until the 360

° (full scale) mark has been reached. Output then drops

to near 0

°. When the notches on the rotating hub and the column of the sensor

are exactly aligned, the output will be 180

°.

11