User Manual

User Guide
©2008-2020 Seeed Technology Co., Ltd. All rights reserved. solution.seeedstudio.com
17 / 23
For example: to read the register 0x0000-0x0003, that reads the temperature, water content, electrical
conductivity value
Ask01 04 0000 0003 B00B
Address
1byte
0x01
Function number
1byte
0x04
Start register
address
2byte
0x0000
Register number
2byte
0x0003
Check
2byte
0xB00B
Respond01 04 06 08 90 0E 93 02 4E D2 57
Address
1byte
0x01
Function number
1byte
0x04
Effective byte
number
1byte
0x06
Temperature
register value
2byte
0x08
0x90
Volume water
content register
value
2byte
0x0E
0x93
Conductivity
register value
2byte
0x02
0x4E
Check
2byte
0xD257
5.4.3 Function number 6 communication sample
Common request formatAA 06 RRRR VVVV CCCC
AA
1byte
Address, 0-255
06
1byte
Function number6
RRRR
2byte
Register address, high byte in front
VVVV
2byte
To write the value of the register, the high byte is
in the front