Changes for page Water Quality Sensors
Last modified by Karry Zhuang on 2025/02/18 15:43
From version 10.1
edited by Karry Zhuang
on 2024/07/18 12:01
on 2024/07/18 12:01
Change comment:
There is no comment for this version
To version 14.1
edited by Karry Zhuang
on 2024/07/18 16:11
on 2024/07/18 16:11
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -42,11 +42,13 @@ 42 42 43 43 == 1.7 RS485 Commands == 44 44 45 - Theaddress of the EC K1sensoris1145 +=== 1.7.1 Query data === 46 46 47 +The address of the EC K10 sensor is 11 48 + 47 47 The query data command is 11 03 00 00 00 02 C6 9B 48 48 49 -For example, the returned data is 11 03 04 02 AE 01 64 8B D0 ,02 AE is converted to decimal 686, K=1, EC: 686uS/cm51 +For example, the returned data is 11 03 04 (% style="color:red" %)**02 AE**(%%) 01 64 8B D0. 02 AE is converted to decimal 686, K=10, EC: 6860uS/cm 50 50 51 51 52 52 The address of the EC K1 sensor is 12 ... ... @@ -53,39 +53,101 @@ 53 53 54 54 The query data command is 12 03 00 00 00 02 C6 A8 55 55 56 - ~;whenK=10, EC: 6860uS/cm.58 +For example, the returned data is 12 03 04 (% style="color:red" %)**02 AE**(%%) 01 64 B8 D0. 02 AE is converted to decimal 686, K=1, EC: 686uS/cm. 57 57 60 + 61 +=== 1.7.2 Calibration Method === 62 + 63 + 64 +This device uses one-point calibration, and you need to prepare a known E standard solution. When mileage K=1, 1~~2000 uses 1413uS/cm standard solution, and when mileage K=10, 10~~20000 uses 12.88mS/cm standard solution. The calibration steps are as follows: 65 +(1) Place the electrode in distilled water and clean it. When mileage 1~~2000 uses 1413HS/cm standard solution, enter the following calibration command after the data is stable. 66 + 67 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %) 68 +|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address high|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Quantity high|=(% style="width: 1px; background-color: rgb(79, 129, 189); color: white;" %)Quantity low|=(% style="width: 139.083px; background-color: rgb(79, 129, 189); color: white;" %)Data length|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Data|=(% style="width: 50px;background-color:#4F81BD;color:white" %)CRC16 low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)CRC16 high 69 +|(% style="width:99px" %)0X12|(% style="width:112px" %)0X10|(% style="width:135px" %)0X00|(% style="width:126px" %)0X26|(% style="width:85px" %)0X00|(% style="width:1px" %)0X02|(% style="width:1px" %)0X04|(% style="width:1px" %)((( 70 +0X00 71 + 72 +0X00 73 + 74 +0X37 75 + 76 +0X32 77 +)))|(% style="width:1px" %)0XBD|(% style="width:1px" %)0XFC 78 + 79 +return 80 + 81 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %) 82 +|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address high|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Quantity high|=(% style="width: 1px; background-color: rgb(79, 129, 189); color: white;" %)Quantity low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)CRC16 low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)CRC16 high 83 +|(% style="width:99px" %)0X12|(% style="width:112px" %)0X10|(% style="width:135px" %)0X00|(% style="width:126px" %)0X26|(% style="width:85px" %)0X00|(% style="width:1px" %)0X02|(% style="width:1px" %)0XA2|(% style="width:1px" %)0XA0 84 + 85 + 86 +(2) Place the electrode in distilled water to clean it. Use 12.88mS/cm standard solution for the range of 10~~20000. After the data is stable, enter the following calibration command 87 + 88 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %) 89 +|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address high|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Quantity high|=(% style="width: 1px; background-color: rgb(79, 129, 189); color: white;" %)Quantity low|=(% style="width: 139.083px; background-color: rgb(79, 129, 189); color: white;" %)Data length|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Data|=(% style="width: 50px;background-color:#4F81BD;color:white" %)CRC16 low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)CRC16 high 90 +|(% style="width:99px" %)0X11|(% style="width:112px" %)0X10|(% style="width:135px" %)0X00|(% style="width:126px" %)0X26|(% style="width:85px" %)0X00|(% style="width:1px" %)0X02|(% style="width:1px" %)0X04|(% style="width:1px" %)((( 91 +0X00 92 + 93 +0X01 94 + 95 +0XF7 96 + 97 +0X20 98 +)))|(% style="width:1px" %)0X33|(% style="width:1px" %)0X75 99 + 100 +Return 101 + 102 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %) 103 +|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address high|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Address low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Quantity high|=(% style="width: 1px; background-color: rgb(79, 129, 189); color: white;" %)Quantity low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)CRC16 low|=(% style="width: 50px;background-color:#4F81BD;color:white" %)CRC16 high 104 +|(% style="width:99px" %)0X11|(% style="width:112px" %)0X06|(% style="width:135px" %)0X00|(% style="width:126px" %)0X26|(% style="width:85px" %)0X00|(% style="width:1px" %)0X02|(% style="width:1px" %)0XEB|(% style="width:1px" %)0X50 105 + 106 + 107 + 108 + 109 + 110 + 58 58 = 2. DR-PH01 Water PH Sensor = 59 59 60 60 == 2.7 RS485 Commands == 61 61 62 -The address of the dissolved oxygen sensor is 12 63 63 64 -The querydatacommandis 1403 00 14 00 01 C6 CB116 +The address of the pH sensor is 10 65 65 118 +The query data command is 10 03 00 00 00 01 87 4B. After the query, 7 bytes will be returned. 66 66 120 +For example, the returned data is 10 03 02 (% style="color:red" %)**02 AE**(%%) C4 9B. 121 + 122 +02 AE is the pH value, which is converted into decimal to get 686, and then two decimal places are added to get the actual value. 02 AE means the current pH value is 6.86. 123 + 124 + 67 67 = 3. DR-ORP1 Water ORP Sensor = 68 68 69 69 == 3.7 RS485 Commands == 70 70 71 71 72 -The address of the dissolvedoxygensensor is 13130 +The address of the ORP sensor is 13 73 73 74 -The query data command is 1 403 001400 01C6CB132 +The query data command is 13 03 00 00 00 01 87 78 75 75 134 +For example, the returned data is 13 03 02 (% style="color:red" %)**02 AE**(%%) 80 9B. 76 76 136 +02 AE is the ORP value, converted to decimal, the actual value is 686, 02 AE means the current ORP value is 686mV 137 + 138 + 77 77 = 4. DR-DO1 Dissolved Oxygen Sensor = 78 78 79 79 == 4.7 RS485 Commands == 80 80 143 + 81 81 The address of the dissolved oxygen sensor is 14 82 82 83 83 The query data command is 14 03 00 14 00 01 C6 CB 84 84 85 -After the query, 7 bytes will be returned. For example, the returned data is 14 03 02 03 78 148 +After the query, 7 bytes will be returned. For example, the returned data is 14 03 02 (% style="color:red" %)**03 78**(%%) B5 55. 03 78 is the value of dissolved oxygen. 86 86 87 87 Converted to decimal, it is 888. Add two decimal places to get the actual value. 03 78 means the current dissolved oxygen is 8.88mg/L 88 88 152 + 89 89 = 5. DR-TS1 Water Turbidity Sensor = 90 90 91 91 == 5.7 RS485 Commands == ... ... @@ -93,6 +93,10 @@ 93 93 94 94 The address of the dissolved oxygen sensor is 15 95 95 96 -The query data command is 15 03 00 1400 01C6CB160 +The query data command is 15 03 00 00 00 01 87 1E 97 97 162 +For example, the returned data is 15 03 02 (% style="color:red" %)**02 9A**(%%) 09 4C 163 + 164 +02 9A is the turbidity value, converted to decimal, it is 666, and then divided by 10, the actual value is 66.6, 02 9A means the current turbidity value is 66.6 NTU 165 + 98 98