[SM3102M]  4-20mA soil moisture and temperature sensor

SM3102M SM3102M

Technical Parameters

Technical parameterParameter value
BrandSONBEST
Moisture measuring range0~100%
Moisture measuring accuracy ±3% @25℃
Moisture Temperature range-30℃~80℃
Moisture Temperature accuracy±0.5℃ @25℃
InterfaceRS485/4-20mA/DC0-5V/DC0-10V
PowerDC12~24V 1A
Running temperature-30~85℃
Working humidity5%RH~90%RH

Product Selection

    Product DesignRS485,4-20mA,DC0-5V,DC0-10VMultiple output methods, the products are divided into the following models depending on the output method.
Product model output method
SM3102BRS485总线
SM3102M4-20mA
SM3102V5DC0-5V
SM3102V10DC0-10V

Product Size

SM3102M SM3102M

Why choose this product?

SM3102M SM3102M SM3102M

How to use?

SM3102M

Application solution

SM3102M SM3102M SM3102M

Product List

SM3102M

Pictures

SM3102M SM3102M

Communication Protocol

    The product uses RS485 MODBUS-RTU standard protocol format, all operation or reply commands are hexadecimal data. The default device address is 1 when the device leaves the factory, and the module or NON-Recorder default baud rate is 9600,8,n,1 ,but data recorder default baud rate is 115200 .
1. Read data (function code 0x03)
    Inquiry frame (hexadecimal), sending example: query 1 data of 1# device, the upper computer sends the command: 01 03 00 00 00 02 C4 0B .
Address Function Code Start Address Data Length Check Code
010300 0000 02C4 0B
    For the correct query frame, the device will respond with data: 01 03 04 00 7A 00 00 DB EA , response format:
Address Function Code LengthData 1Data 2Check Code
0103 0400 7900 7A DB EA
    Data description: The data in the command is hexadecimal, take data 1 as an example, 02 18 is converted to decimal value as 536, assuming the data magnification is 10, the real value is 536/10=53.6, Others and so on.
2. Common data address table
Configuration Address Register Address Register Description Data Type Value Range
4000100 00soil MoistureRead Only0~65535
4000200 01soil temperatureRead Only0~65535
4010100 64Model CodeRead/Write0~65535
4010200 65 total number of measuring points read/write 1~20
4010300 66device addressread/write1~249
4010400 67baud rateread/write0~6
4010500 68communication moderead/write1~4
4010600 69protocol typeread/write1~10

1. soil Moisture and current computing relationship

  For example, the range is 0~100%, the analog output is 4~20mA current signal, soil Moisture and current The calculation relationship is as shown in the formula: C = (A2-A1) * (X-B1) / (B2-B1) + A1, where A2 is soil Moisture range upper limit, A1 is the lower limit of the range, B2 is current output range upper limit, B1 is the lower limit, X is the currently read soil Moisture value, and C is the calculated current value. The list of commonly used values is as follows:
current(mA)soil MoistureValue (%) Calculation Process
40.0(100-0)*(4-4)÷(20-4)+0
56.3(100-0)*(5-4)÷(20-4)+0
612.5(100-0)*(6-4)÷(20-4)+0
718.8(100-0)*(7-4)÷(20-4)+0
825.0(100-0)*(8-4)÷(20-4)+0
931.3(100-0)*(9-4)÷(20-4)+0
1037.5(100-0)*(10-4)÷(20-4)+0
1143.8(100-0)*(11-4)÷(20-4)+0
1250.0(100-0)*(12-4)÷(20-4)+0
1356.3(100-0)*(13-4)÷(20-4)+0
1462.5(100-0)*(14-4)÷(20-4)+0
1568.8(100-0)*(15-4)÷(20-4)+0
1675.0(100-0)*(16-4)÷(20-4)+0
1781.3(100-0)*(17-4)÷(20-4)+0
1887.5(100-0)*(18-4)÷(20-4)+0
1993.8(100-0)*(19-4)÷(20-4)+0
20100.0(100-0)*(20-4)÷(20-4)+0
    As shown in the above formula, when measuring 8mA, current current is 29%。

2. temperature and current computing relationship

  For example, the range is -30~80℃, the analog output is 4~20mA current signal, temperature and current The calculation relationship is as shown in the formula: C = (A2-A1) * (X-B1) / (B2-B1) + A1, where A2 is temperature range upper limit, A1 is the lower limit of the range, B2 is current output range upper limit, B1 is the lower limit, X is the currently read temperature value, and C is the calculated current value. The list of commonly used values is as follows:
current(mA)temperatureValue (℃) Calculation Process
4-30(80-(-30))*(4-4)÷(20-4)+-30
5-23.125(80-(-30))*(5-4)÷(20-4)+-30
6-16.25(80-(-30))*(6-4)÷(20-4)+-30
7-9.375(80-(-30))*(7-4)÷(20-4)+-30
8-2.5(80-(-30))*(8-4)÷(20-4)+-30
94.375(80-(-30))*(9-4)÷(20-4)+-30
1011.25(80-(-30))*(10-4)÷(20-4)+-30
1118.125(80-(-30))*(11-4)÷(20-4)+-30
1225(80-(-30))*(12-4)÷(20-4)+-30
1331.875(80-(-30))*(13-4)÷(20-4)+-30
1438.75(80-(-30))*(14-4)÷(20-4)+-30
1545.625(80-(-30))*(15-4)÷(20-4)+-30
1652.5(80-(-30))*(16-4)÷(20-4)+-30
1759.375(80-(-30))*(17-4)÷(20-4)+-30
1866.25(80-(-30))*(18-4)÷(20-4)+-30
1973.125(80-(-30))*(19-4)÷(20-4)+-30
2080(80-(-30))*(20-4)÷(20-4)+-30
    As shown in the above formula, when measuring 8mA, current current is 31.5℃。

1. soil Moisture and DC0-5Vvoltage computing relationship

  For example, the range is 0~100%, the analog output is 0~5V DC0-5Vvoltage signal, soil Moisture and DC0-5Vvoltage The calculation relationship is as shown in the formula: C = (A2-A1) * (X-B1) / (B2-B1) + A1, where A2 is soil Moisture range upper limit, A1 is the lower limit of the range, B2 is DC0-5Vvoltage output range upper limit, B1 is the lower limit, X is the currently read soil Moisture value, and C is the calculated DC0-5Vvoltage value. The list of commonly used values is as follows:
DC0-5Vvoltage(V)soil MoistureValue (%) Calculation Process
00.0(100-0)*(0-0)÷(5-0)+0
120.0(100-0)*(1-0)÷(5-0)+0
240.0(100-0)*(2-0)÷(5-0)+0
360.0(100-0)*(3-0)÷(5-0)+0
480.0(100-0)*(4-0)÷(5-0)+0
5100.0(100-0)*(5-0)÷(5-0)+0
    As shown in the above formula, when measuring 2.5V, current DC0-5Vvoltage is 50%。

2. temperature and DC0-5Vvoltage computing relationship

  For example, the range is -30~80℃, the analog output is 0~5V DC0-5Vvoltage signal, temperature and DC0-5Vvoltage The calculation relationship is as shown in the formula: C = (A2-A1) * (X-B1) / (B2-B1) + A1, where A2 is temperature range upper limit, A1 is the lower limit of the range, B2 is DC0-5Vvoltage output range upper limit, B1 is the lower limit, X is the currently read temperature value, and C is the calculated DC0-5Vvoltage value. The list of commonly used values is as follows:
DC0-5Vvoltage(V)temperatureValue (℃) Calculation Process
0-30(80-(-30))*(0-0)÷(5-0)+-30
1-8(80-(-30))*(1-0)÷(5-0)+-30
214(80-(-30))*(2-0)÷(5-0)+-30
336(80-(-30))*(3-0)÷(5-0)+-30
458(80-(-30))*(4-0)÷(5-0)+-30
580(80-(-30))*(5-0)÷(5-0)+-30
    As shown in the above formula, when measuring 2.5V, current DC0-5Vvoltage is 55℃。

1. soil Moisture and DC0-10Vvoltage computing relationship

  For example, the range is 0~100%, the analog output is 0~10V DC0-10Vvoltage signal, soil Moisture and DC0-10Vvoltage The calculation relationship is as shown in the formula: C = (A2-A1) * (X-B1) / (B2-B1) + A1, where A2 is soil Moisture range upper limit, A1 is the lower limit of the range, B2 is DC0-10Vvoltage output range upper limit, B1 is the lower limit, X is the currently read soil Moisture value, and C is the calculated DC0-10Vvoltage value. The list of commonly used values is as follows:
DC0-10Vvoltage(V)soil MoistureValue (%) Calculation Process
00.0(100-0)*(0-0)÷(10-0)+0
110.0(100-0)*(1-0)÷(10-0)+0
220.0(100-0)*(2-0)÷(10-0)+0
330.0(100-0)*(3-0)÷(10-0)+0
440.0(100-0)*(4-0)÷(10-0)+0
550.0(100-0)*(5-0)÷(10-0)+0
660.0(100-0)*(6-0)÷(10-0)+0
770.0(100-0)*(7-0)÷(10-0)+0
880.0(100-0)*(8-0)÷(10-0)+0
990.0(100-0)*(9-0)÷(10-0)+0
10100.0(100-0)*(10-0)÷(10-0)+0
    As shown in the above formula, when measuring 5V, current DC0-10Vvoltage is 50%。

2. temperature and DC0-10Vvoltage computing relationship

  For example, the range is -30~80℃, the analog output is 0~10V DC0-10Vvoltage signal, temperature and DC0-10Vvoltage The calculation relationship is as shown in the formula: C = (A2-A1) * (X-B1) / (B2-B1) + A1, where A2 is temperature range upper limit, A1 is the lower limit of the range, B2 is DC0-10Vvoltage output range upper limit, B1 is the lower limit, X is the currently read temperature value, and C is the calculated DC0-10Vvoltage value. The list of commonly used values is as follows:
DC0-10Vvoltage(V)temperatureValue (℃) Calculation Process
0-30(80-(-30))*(0-0)÷(10-0)+-30
1-19(80-(-30))*(1-0)÷(10-0)+-30
2-8(80-(-30))*(2-0)÷(10-0)+-30
33(80-(-30))*(3-0)÷(10-0)+-30
414(80-(-30))*(4-0)÷(10-0)+-30
525(80-(-30))*(5-0)÷(10-0)+-30
636(80-(-30))*(6-0)÷(10-0)+-30
747(80-(-30))*(7-0)÷(10-0)+-30
858(80-(-30))*(8-0)÷(10-0)+-30
969(80-(-30))*(9-0)÷(10-0)+-30
1080(80-(-30))*(10-0)÷(10-0)+-30
    As shown in the above formula, when measuring 5V, current DC0-10Vvoltage is 55℃。
software for test product
Setup Software
Development File

 Online shop 

 Contact Online 

Email: sale@sonbest.com

TYPE: SM3102M

WeChat: 13918126020

SKYPE: SOOBUU

Phone: 021-51083595

QQ1: 71182854 QQ2:613035997