C.3.2 cr1000 example program for use with md485, C.3.2 – Campbell Scientific HMP155A Temperature and Relative Humidity Probe User Manual
Page 43

Appendix C. Interfacing with HMP155A RS-485 Output
Connect the MD485’s CS I/O port to the datalogger’s CS I/O port using an
SC12 cable. Use the HMP155ACBL2 to connect the HMP155A sensor to the
MD485 and the datalogger (CR1000, CR800, or CR3000) as shown in the
following table. The table also shows wiring for cables purchased from
Vaisala.
HMP155A
CSI Cable
HMP155A
Vaisala
Cable
MD485
CR1000
Connector
Pin-Out
Blue
Pink
B
6
Yellow
Brown
A
2
Black
Red
G
8
Red
Blue
12V
7
White
Green
Ground
3
Shield
(clear)
Black
Ground
Not
Connected
Grey, Pink,
Brown -
NOT used
C.3.2 CR1000 Example Program for use with MD485
The following program sends the commands ‘SMODE RUN’ and ‘R’ to enable
the RS-485 output. SerialInRecord and Mid instructions parse the serial string
and put the temperature and relative humidity values into public variables.
C-7