beautypg.com

1 example for cr1000 – Campbell Scientific HMP60 Temperature and Relative Humidity Probe User Manual

Page 18

background image

HMP60 Temperature and Relative Humidity Probe

The temperature and relative humidity signals from the HMP60 are measured
using two single-ended analog measurements (VoltSE() in CRBasic or
Instruction 1 in Edlog).

The probe output scale is 0 to 1000 millivolts for the temperature range of
-40

° to +60°C and for the relative humidity range of 0 to 100%. Tables 7-2

and 7-3 provide calibration information for temperature and relative humidity.

TABLE 7-2. Calibration for Temperature

Units

Multiplier

(degrees mV

-1

)

Offset

(degrees)

Celsius 0.1

-40

Fahrenheit 0.18

-40

TABLE 7-3. Calibration for Relative Humidity

Units

Multiplier

(% mV

-1

)

Offset

(%)

Percent 0.1

0

Fraction 0.001

0

TABLE 7-4. Wiring for CR1000 and CR10X Examples

Description

Color

CR1000

CR10(X)

Temperature

Black

SE 1

SE 3 (2H)

Relative Humidity

White

SE 2

SE 4 (2L)

Signal & Power Reference

Blue

G

G

Power

Brown

12 V

12 V

Shield Clear

G

7.4.1 Example for CR1000

'CR1000

'Created by SCWIN (2.1)

Public AirTC

Public RH

DataTable(Table1,True,-1)

DataInterval(0,60,Min,0)

Average(1,AirTC,FP2,0)

Sample(1,RH,FP2)

EndTable

BeginProg

Scan(5,Sec,1,0)

'HMP60 Temperature & Relative Humidity Sensor measurements AirTC and RH:

VoltSE(AirTC,1,mV2500,1,0,0,_60Hz,0.1,-40.0)

VoltSE(RH,1,mV2500,2,0,0,_60Hz,0.1,0)

If (RH>100) And (RH<108) Then RH=100

CallTable(Table1)

NextScan

EndProg

12