12
State of Port
The module supports reading the state of any of the 5 inputs. The SDI-12 command to configure this
measurement is
aXSm+p+t!
where,
m: Measurement number (M command number : 1…9)
p : Measurement channel
t : Threshold voltage (0.5Vmin, 4.5V max) for state determination. Default is 1.25V
For example, for the module at SDI-12 address “1”, if you want the M6 measurement to return 1 if voltage
on AN3 is greater than or equal to 1.9 volts and 0 if less than 1.9 volts, use 1XS6+3+1.9!