background image

4

travelling between the TEROS 21 and the data acquisition device to the mounting mast in one or more places. 
Install cables in conduit or plastic cladding when near the ground to avoid rodent damage. Tie excess cable to 
the data logger mast to ensure cable weight does not cause sensor to unplug. 

SENSOR COMMUNICATIONS

METER digital sensors feature a serial interface with shared receive and transmit signals for communicating 
sensor measurements on the data wire (

Figure 3

). The sensor supports two different protocols: SDI-12 and DDI 

serial. Each protocol has implementation advantages and challenges. Please contact 

Customer Support

 if the 

protocol choice for the desired application is not obvious. 

SDI-12 INTRODUCTION

SDI-12 is a standards-based protocol for interfacing sensors to data loggers and data acquisition equipment. 
Multiple sensors with unique addresses can share a common 3-wire bus (power, ground, and data). Two-way 
communication between the sensor and logger is possible by sharing the data line for transmit and receive 
as defined by the standard. Sensor measurements are triggered by protocol command. The SDI-12 protocol 
requires a unique alphanumeric sensor address for each sensor on the bus so that a data logger can send 
commands to and receive readings from specific sensors.

Download the 

SDI-12 Specification v1.3

 to learn more about the SDI-12 protocol. 

DDI SERIAL INTRODUCTION

The DDI serial protocol is the method used by the METER data loggers for collecting data from the sensor. This 
protocol uses the data line configured to transmit data from the sensor to the receiver only (simplex). Typically, 
the receive side is a microprocessor UART or a general-purpose I/O pin using a bitbang method to receive data. 
Sensor measurements are triggered by applying power to the sensor.

INTERFACING THE SENSOR TO A COMPUTER

The serial signals and protocols supported by the sensor require some type of interface hardware to be 
compatible with the serial port found on most computers (or USB-to-serial adapters). There are several 
SDI-12 interface adapters available in the marketplace; however, METER has not tested any of these 
interfaces and cannot make a recommendation as to which adapters work with METER sensors. METER 
data loggers and the ProCheck hand-held device can operate as a computer-to-sensor interface for 
making on-demand sensor measurements. For more information, please contact 

Customer Support

.

METER SDI-12 IMPLEMENTATION

METER sensors use a low-impedance variant of the SDI-12 standard sensor circuit (

Figure 2

). During the 

power-up time, sensors output some sensor diagnostic information and should not be communicated with 
until the power-up time has passed. After the power up time, the sensors are compatible with all commands 
listed in the 

SDI-12 Specification v1.3

 except for the continuous measurement commands (

aR0

aR9

 and  

aRC0

aRC9

) and the concurrent measurement commands (

aC

aC9

 and 

aCC0

aCC9

). 

M

R

, and 

C

 command 

implementations are found on pages 

78

.

Out of the factory, all METER sensors start with SDI-12 address 

0

 and print out the DDI serial startup string 

during the power-up time. This can be interpreted by non-METER SDI-12 sensors as a pseudo-break condition 
followed by a random series of bits.

The TEROS 21 will omit the DDI serial startup string (sensor identification) when the SDI-12 address is nonzero. 
Changing the address to a nonzero address is recommended for this reason.

SENSOR BUS CONSIDERATIONS

SDI-12 sensor buses require regular checking, sensor upkeep, and sensor troubleshooting. If one sensor goes 
down, that may take down the whole bus even if the remaining sensors are functioning normally. Power cycling 
the SDI-12 bus when a sensor is failing is acceptable, but METER does not recommend scheduling power cycling 
events on an SDI-12 bus more than once or twice per day. Many factors influence the effectiveness of the bus 
configuration. Visit 

https://www.metergroup.com

 for articles and virtual seminars containing more information.

Summary of Contents for TEROS 21

Page 1: ...tential sensor can be packed into a hole plugged into a data logger and left to log water potential data While the TEROS 21 sensor does not have the accuracy of tensiometers its extended range makes this sensor ideal for measuring the water potential in natural systems or other drier systems where cavitation of tensiometers is a concern The added temperature measurements can be used to determine a...

Page 2: ...erating Temperature 40 to 60 C 0 to 100 RH No water potential measurement 0 C NOTE Sensors may be used at higher temperatures under certain conditions contact Customer Support for assistance Power Requirements 3 6 to 15 VDC 0 03 mA quiescent 10 mA maximum during 150 ms measurement Supply Voltage VCC to GND Minimum 3 6 VDC Typical Maximum 15 0 VDC Digital Input Voltage logic high Minimum 2 8 V Typi...

Page 3: ...ty logger Visit https www metergroup com for articles containing more information POWER AND GROUNDING Ensure there is sufficient power to simultaneously support the maximum sensor current drain for all the sensors on the bus The sensor protection circuitry may be insufficient if the data logger is improperly powered or grounded Refer to the data logger s installation instructions Improper groundin...

Page 4: ...or require some type of interface hardware to be compatible with the serial port found on most computers or USB to serial adapters There are several SDI 12 interface adapters available in the marketplace however METER has not tested any of these interfaces and cannot make a recommendation as to which adapters work with METER sensors METER data loggers and the ProCheck hand held device can operate ...

Page 5: ...transmission of the character 1 0x31 Break at least 12 ms Marking at least 8 33 ms Marking at least 8 33 ms Command Response SENSOR DATA LOGGER Maximum time Sensor must respond within 15 ms Maximum time is dependent upon the amount of data returned for the command sent Figure 5 Example data logger and sensor communication COMMON SDI 12 COMMANDS This section includes tables of common SDI 12 command...

Page 6: ...dresses are alphanumeric i e a z A Z and 0 9 An example output from a METER sensor is shown in Example 2 where the command is in bold and the response follows the command Example 2 1A0 0 Parameter Fixed Character Length Description 1A0 4 Data logger command Request to the sensor to change its address from 1 to a new address of 0 0 1 New sensor address For all subsequent commands this new address w...

Page 7: ... specified amount of time detailed in the C command response and then use D commands to read its response prior to communicating with another sensor Please refer to Table 3 for an explanation of the command sequence and see Table 7 for an explanation of response parameters Table 3 aC measurement command sequence Command Response This command reports average values when relevant aC attnn aD0 a wate...

Page 8: ...ake fixed width of 3 TAB Tab character CR Carriage return character LF Line feed character waterPotential kPa Water potential temperature C Air temperature sensorType ASCII character denoting the sensor type For TEROS 21 the character is k Checksum METER serial checksum CRC METER 6 bit CRC DDI SERIAL COMMUNICATION The DDI serial communications protocol is ideal for systems that have dedicated seri...

Page 9: ...nd a measurement Then the sensor may take some additional measurements before starting to clock out the first data byte starting with a typical start bit low Once the first start bit is sent typical serial timing is valid however the signal transitions before this point are not serial signaling and may be misinterpreted by the UART SDI 12 ready DDI serial Measurement duration Up to 100 ms Power ap...

Page 10: ...m character CRC6 checksum example input is TAB 34 8 22 3 CR k and the resulting checksum output is l lowercase L uint8_t CRC6_Offset uint8_t buffer uint16_t bytes uint16_t byte uint8_t bit uint8_t crc 0xfc Set upper 6 bits to 1 s Loop through all the bytes in the buffer for byte 0 byte bytes byte Get the next byte in the buffer and XOR it with the crc crc buffer byte Loop through all the bits in t...

Page 11: ...9 332 5158 Website www metergroup com If contacting METER by email please include the following information Name Address Phone number Email address Instrument serial number Description of problem NOTE For TEROS 21 sensors purchased through a distributor please contact the distributor directly for assistance REVISION HISTORY The following table lists document revisions Revision Date Compatible Firm...

Reviews: