Campbell HC2S3 Product Manual Download Page 17

Model HC2S3 Temperature and Relative Humidity Probe 

7.2  Datalogger Programming 

Short Cut

 is the best source for up-to-date datalogger programming code. 

Programming code is needed when: 

 

Creating a program for a new datalogger installation 

 

Adding sensors to an existing datalogger program 

If your data acquisition requirements are simple, you can probably create and 

maintain a datalogger program exclusively with 

Short Cut

. If your data 

acquisition needs are more complex, the files that 

Short Cut 

creates are a great 

source for programming code to start a new program or add to an existing 

custom program. 

Short Cut

 cannot edit programs after they are imported and edited 

in 

CRBasic Editor

Short Cut

 tutorial is available in Section 

4

QuickStart

 

(p. 2)

If you wish to 

import 

Short Cut

 code into 

CRBasic Editor

 to create or add to a customized 

program, follow the procedure in Appendix 

A

Importing Short Cut Code Into 

CRBasic Editor

 

(p. A-1)

. Programming basics for CRBasic dataloggers are 

provided in the following sections. Complete program examples for select 

dataloggers can be found in Appendix 

B

Example Programs

 

(p. B-1)

7.2.1  VoltSE() Instruction 

When cable lengths are shorter than 6.1 meters or when power is switched, the 

VoltSE()

 measurement instruction is used with CRBasic dataloggers 

(CR200(X)-, CR6-, and CR800-series, CR1000, CR3000) to measure both 

temperature and relative humidity from the HC2S3 sensor. The output scale is 

0 to 1000 mV for the temperature range of –40 to 60 °C and 0 to 1000 mV for 

the relative humidity range of 0 to 100%. 

VoltSE

(Dest, Reps, Range, SEChan, MeasOff, SettlingTime, 

Integ/FNotch, Mult, Offset) 

Variations: 

 

Temperature reported as °C 

 set 

Mult

 to 

0.1

 and 

Offset

 to 

-40

 

 

Temperature reported as °F 

— 

set 

Mult

 to 

.18

 and 

Offset

 to 

-40

 

 

Humidity reported as a percent – set 

Mult

 to 

0.1

 and 

Offset

 to 

0

 

 

Humidity reported as a fraction – set 

Mult 

to 

0.001

 and 

Offset

 to 

0

 

When the probe is connected to a CS110 Electric Field Meter, the 

probe is measured by the CS110’s internal CR1000 datalogger 

module using 

VoltSE()

  instructions.  Relative humidity and 

temperature signals are measured on single-ended channels 1 and 

2, respectively. 250 µs integration should be used in the 

VoltSE()

 

instructions. 

NOTE 

NOTE 

Summary of Contents for HC2S3

Page 1: ...HC2S3 Temperature and Relative Humidity Probe Revision 7 18 Copyright 1990 2018 Campbell Scientific Inc...

Page 2: ......

Page 3: ...ucts to CSI CSI will return such Products by surface carrier prepaid within the continental United States of America To all other locations CSI will return such Products best way CIP port of entry per...

Page 4: ...ing address is CAMPBELL SCIENTIFIC INC RMA _____ 815 West 1800 North Logan Utah 84321 1784 For all returns the customer must fill out a Statement of Product Cleanliness and Decontamination form and co...

Page 5: ...beginning work Wear a hardhat and eye protection and take other appropriate safety precautions while working on or around tripods and towers Do not climb tripods or towers at any time and prohibit cl...

Page 6: ......

Page 7: ...allation 7 7 1 Wiring to Datalogger 7 7 2 Datalogger Programming 9 7 2 1 VoltSE Instruction 9 7 2 2 VoltDiff Instruction 10 7 3 Installation 10 7 3 1 Installation in a 41003 5 10 Plate Shield 11 7 3 2...

Page 8: ...ing an MD485 RS 485 Interface E 3 E 4 RS 485 Communications using an SDM SIO1 Serial I O Module E 5 Figures 7 1 HC2S3 and 41003 5 Radiation Shield on a CM200 Series Crossarm left and on a tripod mast...

Page 9: ...cted consult a Campbell Scientific application engineer Although rugged the HC2S3 should be handled as a precision scientific instrument Do not touch the sensor element Santoprene rubber which compose...

Page 10: ...he cable 3 1 Ships With The HC2S3 ships with 1 27731 Gill Radiation Shield Hex Plug 1 Calibration Card 4 QuickStart Short Cut is an easy way to program your datalogger to measure the HC2S3 sensor and...

Page 11: ...vices list select the Sensors Meteorological Relative Humidity Temperature HC2S3 Temperature and Relative Humidity Sensor folder Choose either constant power or panel switched power uses less current...

Page 12: ...software data display to make sure it is making reasonable measurements 5 Overview The HC2S3 is a digital probe with linear voltage outputs for temperature and humidity and a UART serial interface It...

Page 13: ...ttended applications Accurate and rugged Compatible with the following CRBasic dataloggers CR200 X series CR6 CR800 series CR1000 CR3000 CR9000 X Operating Limits 40 to 100 C Storage Temperature 50 to...

Page 14: ...year Sensor Time Constant 63 step change 1 m s air flow at sensor Standard PE Filter 22 s Optional Teflon Filter 30 s Accuracy over Measurement Range 6 2 Relative Humidity Measurement Sensor ROTRONIC...

Page 15: ...s this work for you See Section 4 QuickStart p 2 for a Short Cut tutorial 7 1 Wiring to Datalogger Connections to Campbell Scientific dataloggers for measuring humidity and temperature using two singl...

Page 16: ...logger Doing otherwise will connect the datalogger s analog and power ground planes to each other which in some cases can cause offsets on low level analog measurements To avoid 2 mA flowing into anal...

Page 17: ...following sections Complete program examples for select dataloggers can be found in Appendix B Example Programs p B 1 7 2 1 VoltSE Instruction When cable lengths are shorter than 6 1 meters or when p...

Page 18: ...rotect the filter at the top of the sensor from exposure to liquid water The hydrophobic nature of the filter repels light rain but driving rain can force itself into the pore structure of the filter...

Page 19: ...m 1 in of the sensor exposed below the collar See FIGURE 7 1 3 Hold the collar and sensor and finish threading the collar into the shield by hand Tighten the collar around the probe until it firmly gr...

Page 20: ...GURE 7 2 HC2S3 and RAD10 Radiation Shield on a tripod mast 8 Operation 8 1 Measurement The probe uses a Rotronic IN1 capacitive sensor to measure RH and a 100 PRT to measure temperature Campbell Scien...

Page 21: ...The HC2S3 draws approximately 2 mA when powered with 12 V The wire used in the HC2S3 pn 27746 has resistance of 14 74 304 8 m 1000 ft Because the signal reference and the power ground are both connect...

Page 22: ...ture is shown in the graph in Section 6 Specifications p 5 For example at 20 C the accuracy is 2 3 so a reading of 102 3 at 100 humidity is within the accuracy specification Programs created by Short...

Page 23: ...matologist 1985 Publication of the American Association of State Climatologists Heights and Exposure Standards for Sensors on Automated Weather Stations v 9 No 4 October 1985 www stateclimate org publ...

Page 24: ......

Page 25: ...e in Section 4 QuickStart p 2 Finish the program On the Advanced tab click the CRBasic Editor button The program opens in CRBasic with the name noname CR_ Provide a name and save the program Once the...

Page 26: ......

Page 27: ...0 Color Function Terminal Brown Temperature signal SE2 White Relative Humidity signal SE1 Yellow Signal Reference Ground Symbol Gray Power Ground Ground Symbol Clear Shield Ground Symbol Green Power 1...

Page 28: ...ive humidity every 60 minutes Wiring Diagram HC2S3 Wire CR1000 Color Function Terminal Brown Temperature signal 1H Jumper to Yellow Temperature signal reference 1L White Relative Humidity signal 2H Ye...

Page 29: ...the relative humidity without causing a change absolute humidity For example for an air temperature of 20 C and a vapor pressure of 1 17 kPa the saturation vapor pressure is 2 34 kPa and the relative...

Page 30: ...must be a fraction e_kPa e_Sat RH_Frac CallTable Temp_RH NextScan EndProg C 1 Measurement Below 0 C The HC2S3 provides a humidity reading that is referenced to the saturated water vapor pressure abov...

Page 31: ...put 2 parameter scale and unit Temperature 40 60 deg C Communications Protocol RO ASCII RS 485 Address 0 Device name Probe type Humidity temperature adjustment Device write protection Disabled Limit h...

Page 32: ...B driver must be installed on the PC Both the driver and the installation instructions document E M HW4v3 Main are located on the HW4 CD D 3 Changing the Temperature Range Install the HW4 software and...

Page 33: ...he temperature range If the range has been changed from the default 40 to 60 then the multiplier and offset for the measurement instruction will have to be changed from those shown for the program exa...

Page 34: ...Appendix D Changing the HC2S3 Settings D 4 Example measurement instructions for CR1000 datalogger with the sensor wired to SE channel 2 Public AirTC VoltSe AirTC 1 mV2500 2 0 0 _60Hz 0 09 60...

Page 35: ...1 Serial I O Module p E 5 respectively HC2S3 Digital Interface Specifications Interface Type UART Universal Asynchronous Receiver Transmitter Organization Dialog duplex Default Configuration Baud rate...

Page 36: ...neering unit 0 1 Bool Temperature alarm out of limits Char Temperature trend or Dp String Calculated parameter type nc no calculation Dp dew point Fp frost point 1234 56 Float Calculated numerical val...

Page 37: ...as described below Settings for the RS485 port on the MD485 must be configured to match the configuration of the HC2S3 which are 19200 baud No Parity 8 Data Bits 1 Stop bit and No Flow Control Device...

Page 38: ...c Example E 1 Program Measuring the HC2S3 Using RS 485 CR1000 Program Declare variables Public SerialIndest As String 100 Dim String_1 As String Const CRLF CHR 13 CHR 10 Dim HC2S3_Split 17 As String 4...

Page 39: ...uplex COMport 32 at 19200 baud no parity 1 stop bit and 8 data bits and serial instructions to send the RDD command to get temperature and relative humidity data from the probe Sensor Wiring E2 05XX M...

Page 40: ...esReturned Const SensorPort 32 SDM SIO1 rotary switch set at 0 DataTable Table1 1 1 DataInterval 0 15 Min 10 Average 1 TempC FP2 False Sample 1 RH FP2 EndTable BeginProg SerialOpen SensorPort 19200 51...

Page 41: ......

Page 42: ...Asia Location Bangkok Thailand Email info campbellsci asia Website www campbellsci asia China Location Beijing P R China Email info campbellsci com cn Website www campbellsci com cn Spain Location Ba...

Reviews: