beautypg.com

2 wiring, 3 programming, Wiring – Campbell Scientific 092 Barometric Pressure Sensor User Manual

Page 14: Programming

background image

Model 092 Barometric Pressure Sensor

southern hemisphere. This orientation will shield the polycarbonate sensor
housing from most direct sunlight.

7.2 Wiring

TABLE 7-1. Connecting the 092 to Campbell Scientific Dataloggers






Wire Color






Wire Description

CR23X
CR800-series
CR1000
CR3000
CR5000
Terminal



CR10(X)
CR500
CR510
Terminal

Red Power

12V 12V 12V

White

Signal

SE Input

SE Input

Black Ground

G

G

Green Signal

Reference

G

Clear Shield

G

7.3 Programming

The following CR1000 programming example can be used, in whole or in part,
if the datalogger is being programmed with CRBasic Editor. Programming is
similar with the CR800 and CR3000.

'CR1000 with 092 Barometric Pressure Sensor

'-Wiring-
'1H: White

'Ground: Green
'Ground: Clear
'G: Black

'12V: Red

'Declare Variables and Units

Public BattV
Public PTemp_C
Public BP_mmHg


Units BattV=Volts
Units PTemp_C=Deg C

Units BP_mmHg=mmHg

'Define Data Tables
DataTable(Table1,True,-1)
DataInterval(0,60,Min,10)

Average(1,BP_mmHg,FP2,False)
EndTable

DataTable(Table2,True,-1)
DataInterval(0,1440,Min,10)
Minimum(1,BattV,FP2,False,False)

EndTable

8