Soil moisture sensor is increasingly used in industrial and agricultural production, and RS485 digital signal output soil moisture sensor realizes the function of soil moisture sensor connection network. Below we will introduce the soil moisture sensor RS485 protocol description.
First of all, the output signal distance of the RS485 protocol of the soil moisture sensor can reach 1000 meters, and a total of 32 channels can be connected.
Secondly, the 03 function of the RS485 protocol of the soil moisture sensor reads the data, and the 06 function writes the setting data.
Third, the data format of the RS485 protocol of the soil moisture sensor is 9600,N,8,1. (9600bps, no verification, 8-bit data bit, 1-bit stop)
Fourth, soil moisture sensor RS485 protocol moisture range: 0-60% (0-100%) Temperature range: 0-50°C.
Fifth, soil moisture sensor RS485 protocol resolution: 1/600 (1/1000) output data: 0… 600(0… 1000); Resolution: 1/500 Output data: 0… 500。
Let’s illustrate, for example, what is the process of measuring the moisture content of the soil alone.
0-60% of the soil moisture sensor communication device address is set to 01, that is, [Address]=01; At this time, CRC0=84, CRC1=0a.
Then, the sending command line at this time is: 01 03 00 00 00 01 84 0A
Returning the corresponding base 16 data indicates that the upper and lower machines can communicate, such as the returned data behavior: 01 03 02 01 3B F8 07
013b is decimal, converted to decimal 315; Data output: 0-600 corresponds to 0-60%
Therefore, the current soil moisture content is S=315*60/600=31.5%
Finally, I want to explain to you that the RS485 protocol of the soil moisture transmitter complies with the Modbus communication protocol, and adopts the sub-centralized RTU mode in the Modbus protocol.RS485 half-duplex working mode.
For any questions such as product consultation, product customization, agent, technical inquiry, quotation, etc., please contact Xingyi hotline: 400-600-4496!
Click on the image to see the details>>