background image

CS210 Enclosure Humidity Sensor 

5.  Programming 

This section is for users who write their own datalogger programs.  A 
datalogger program to measure this sensor can be created using Campbell 
Scientific’s Short Cut Program Builder Software.  You do not need to read this 
section to use Short Cut. 

The relative humidity signal from the CS210 is measured using a single-ended 
analog measurement (CRBasic instruction SEVolt or Edlog Instruction 1).  The 
CR200 series and 21X use a control port to power the CS210.  At the 
beginning of the program, the control port needs to be turned on, and the port 
should remain on.  It takes the CS210 approximately 10 seconds for the 
reading to become stable after the port has been turned on.  Depending on the 
scan rate, the first few measurements from the CS210 could be low. 

The probe output scale is 0 to 1000 millivolts for the relative humidity range of 
0 to 100%.  Table 2 provides calibration information for relative humidity. 

TABLE 2.  Calibration for 

Relative Humidity 

Units 

Multiplier 

(% mV

-1

Offset 

(%) 

Percent 0.1 

 

5.1  CRBasic Examples 

Example 1 is a sample CRBasic program written for a CR1000, but our 
CR800, CR850, CR3000, CR5000, and CR9000(X) dataloggers are 
programmed similarly.   

Example 2 is a CRBasic program written for a CR200 datalogger.  The CR200 
program turns on control port 2 to power the CS210.  Notice that the scan rate 
is set at 10 seconds.  The sensor won’t give a good reading until the second 
scan. 

Example 1.  Sample CR1000 Program 

'CR1000 Series Datalogger 

 

'SENSOR WIRING 
'CS210 
'Black: 5V 
'White: SE1 
'Clear: G 

 

'Declare Public Variables 

Public PanelTempC 
Public Batt_Volt 
Public Enc_RH 
 

Summary of Contents for CS210

Page 1: ...CS210 Enclosure Relative Humidity Sensor Revision 10 07 C o p y r i g h t 1 9 9 6 2 0 0 7 C a m p b e l l S c i e n t i f i c I n c...

Page 2: ...f all other warranties expressed or implied including warranties of merchantability or fitness for a particular purpose CAMPBELL SCIENTIFIC INC is not liable for special indirect incidental or consequ...

Page 3: ...inks to specific sections 1 General 1 2 Specifications 1 3 Installation 1 4 Wiring 2 5 Programming 3 5 1 CRBasic Examples 3 5 2 Edlog Examples 5 6 Enclosure Humidity 7 7 Maintenance 7 Figures 1 CS210...

Page 4: ...This is a blank page...

Page 5: ...er year Response Time at 25 C 90 response 10 seconds for a 30 to 90 RH step change Operating Temperature 0 C to 50 C Storage Temperature 40 C to 80 C Probe Length 2 6 cm 1 02 in Probe Cross Section Ar...

Page 6: ...ended analog input channel TABLE 1 Datalogger Connections Description Color CR200 series CR800 CR850 CR1000 CR3000 CR5000 CR9000 X CR10 X CR500 CR510 CR23X 21X Relative Humidity White Single Ended Si...

Page 7: ...rned on Depending on the scan rate the first few measurements from the CS210 could be low The probe output scale is 0 to 1000 millivolts for the relative humidity range of 0 to 100 Table 2 provides ca...

Page 8: ...d a delay VoltSe Enc_RH 1 mV2500 1 1 0 250 0 1 0 Set the sensor to 100 if it exceeds 100 If Enc_RH 100 Then Enc_RH 100 CallTable Daily NextScan EndProg Example 2 Sample CR200 Program CR200 Series Data...

Page 9: ...ple 4 is an Edlog program written for a 21X Micrologger wiring used for the 21X program is included in Table 3 The 21X program turns on control port 1 to power the CS210 Notice that the scan rate is s...

Page 10: ...o P86 1 41 Set Port 1 High 4 Volt SE P1 1 1 Reps 2 15 5000 mV Fast Range 3 1 SE Channel 4 3 Loc Enc_RH 5 0 1 Multiplier 6 0 Offset 5 If time is P92 1 0 Minutes into a 2 1440 Minute Interval 3 10 Set O...

Page 11: ...connector be sealed with plumbers putty and that desiccant packs be placed inside the enclosure Spikes in the enclosure humidity are a result of opening the enclosure door and allowing ambient air in...

Page 12: ...CS210 Enclosure Humidity Sensor This is a blank page 8...

Page 13: ...This is a blank page...

Page 14: ...L www campbellsci com br suporte campbellsci com br Campbell Scientific Canada Corp CSC 11564 149th Street NW Edmonton Alberta T5M 1W7 CANADA www campbellsci ca dataloggers campbellsci ca Campbell Sci...

Reviews: