User Guide

User Guide
©2008-2020 Seeed Technology Co., Ltd. All rights reserved. solution.seeedstudio.com
18 / 21
5.2 SDI-12 Commands
Query the device address
Request
?!
? - Address wildcard
! - Instruction terminator
Response
a<CR><LF>
a - Address
<CR><LF> - End of the response
Example
Request?!
Response0<CR><LF>
The sensor at address '0'
responded to the query
Query the device status
Request
a!
a - Address
! - Instruction terminator
Response
a<CR><LF>
a - Address
<CR><LF> - End of the response
Example
Request0!
Response0<CR><LF>
Address '0' of device online
Query the device information
Request
aI!
a - Address
I Identification
! - Instruction terminator
Response
aIIccccccccmmmmmmvvvxxx . . . xxx<CR><LF>
a - Address
II - 2 characters, SDI-12 protocol
version, for example 14 represents
v1.4
cccccccc - 8 characters, company
name or product name
mmmmmm - 6 characters, sensor
type
vvv - 3 characters, software version
xxx . . . xx - Optional, up to 13
characters, can be used to send
serial numbers, or other
information
<CR><LF> - End of the response
Example
Request0I!
Response014SENSECAPORCHSx1.0004A0040THPL
0I! - Command
0 - Address
14 Hardware version 1.4
SENSECAP Product brand
ORCHSx -Product model
1.0 Software version 1.0