Common sensors that output high-frequency pulses include:
Photo-chopper anemometers
l
Flow meters
l
Measurement output optionss include counts, frequency in hertz, and running average.
CRBasic instruction:
l
18.5.3 Switch-closure and open-collector measurements
Switch-closure and open-collector (also called current-sinking) signals can be measured on
terminals:
P_SW or C
l
Mechanical switch-closures have a tendency to bounce before solidly closing. Unless filtered,
bounces can cause multiple counts per event. The data logger automatically filters bounce.
Because of the filtering, the maximum switch-closure frequency is less than the maximum high-
frequency measurement frequency. Sensors that commonly output a switch-closure or an open-
collector signal include:
Tipping-bucket rain gages
l
Switch-closure anemometers
l
Flow meters
l
Data output options include counts, frequency (Hz), and running average.
18.5.3.1 P_SW Terminal
An internal 47 kΩ pull-up resistor pulls an input to 3.3 VDC with the switch open, whereas a
switch-closure to ground pulls the input to 0 V.
CRBasic instruction: PulseCount(). See the CRBasic Editor help for detailed instruction
l
information and program examples:
PulseCount()
https://help.campbellsci.com/crbasic/cr300/
.
18. Measurements 104