Wiki source code of Water Quality Sensors

Version 26.1 by Karry Zhuang on 2024/07/18 19:14

Hide last authors
Edwin Chen 1.1 1 **Table of Contents:**
2
3 {{toc/}}
4
5
Edwin Chen 7.1 6 = 1. DR-ECK Water EC Probe =
7
8 == 1.1 Specification: ==
9
10 * **Power Input**: DC7~~30
11 * **Power Consumption** : < 0.5W
12 * **Interface**: RS485. 9600 Baud Rate
13 * **EC Range & Resolution:**
14 ** **ECK0.01** : 0.02 ~~ 20 μS/cm
15 ** **ECK0.1**: 0.2 ~~ 200.0 μS/cm
16 ** **ECK1.0** : 2 ~~ 2,000 μS/cm  Resolution: 1 μS/cm
17 ** **ECK10.0** : 20 ~~ 20,000 μS/cm  Resolution: 10 μS/cm
18 * **EC Accuracy**: ±1% FS
19 * **Temperature Measure Range**: -20 ~~ 60 °C
20 * **Temperature Accuracy: **±0.5 °C
21 * **IP Rated**: IP68
22 * **Max Pressure**: 0.6MPa
23
24 == 1.2 Application for Different Range ==
25
26 [[image:image-20240714173018-1.png]]
27
28
29 == 1.3 Wiring ==
30
31
32 == 1.4 Mechinical Drawing ==
33
34 [[image:image-20240714174241-2.png]]
35
36
37 == 1.5 Installation ==
38
39
Karry Zhuang 18.1 40 **Electrode installation form**
Karry Zhuang 15.2 41
Karry Zhuang 18.1 42 A:Side wall installation
Karry Zhuang 15.2 43
Karry Zhuang 18.1 44 B:Top flange installation
Karry Zhuang 15.2 45
Karry Zhuang 18.1 46 C:Pipeline bend installation
Karry Zhuang 15.2 47
Karry Zhuang 18.1 48 D:Pipeline bend installation
Karry Zhuang 15.2 49
Karry Zhuang 18.1 50 E:Flow-through installation
Karry Zhuang 15.2 51
Karry Zhuang 18.1 52 F:Submerged installation
Karry Zhuang 15.2 53
Karry Zhuang 23.1 54 [[image:image-20240718190121-1.png||height="350" width="520"]]
Karry Zhuang 15.2 55
Karry Zhuang 18.1 56 **Several common installation methods of electrodes**
Karry Zhuang 15.2 57
Karry Zhuang 18.1 58 When installing the sensor on site, you should strictly follow the correct installation method shown in the following picture. Incorrect installation method will cause data deviation.
Karry Zhuang 15.2 59
Karry Zhuang 18.1 60 A. Several common incorrect installation methods
Karry Zhuang 15.2 61
Karry Zhuang 23.1 62 [[image:image-20240718190204-2.png||height="262" width="487"]]
Karry Zhuang 15.2 63
Karry Zhuang 18.1 64 Error cause: The electrode joint is too long, the extension part is too short, the sensor is easy to form a dead cavity, resulting in measurement error.
Karry Zhuang 15.2 65
Karry Zhuang 23.1 66 [[image:image-20240718190221-3.png||height="292" width="500"]]
Karry Zhuang 18.1 67
68 Error cause: Measurement error or instability may occur due to water flow not being able to fill the pipe or air accumulation at high altitudes.
69
70 B. Correct installation method
71
Karry Zhuang 23.1 72 [[image:image-20240718190249-4.png||height="287" width="515"]]
Karry Zhuang 18.1 73
74
Edwin Chen 7.1 75 == 1.6 Maintain ==
76
77
Karry Zhuang 26.1 78 * The equipment itself generally does not require daily maintenance. When an obvious fault occurs, please do not open it and repair it yourself, and contact us as soon as possible.
79 * If the electrode is not used for a long time, it can generally be stored in a dry place, but it must be placed (stored) in distilled water for several hours before use to activate the electrode. Electrodes that are frequently used can be placed (stored) in distilled water.
80 * Cleaning of conductivity electrodes: Organic stains on the electrode can be cleaned with warm water containing detergent, or with alcohol. Calcium and magnesium precipitates are best cleaned with 10% citric acid. The electrode plate or pole can only be cleaned by chemical methods or by shaking in water. Wiping the electrode plate will damage the coating (platinum black) on the electrode surface.
81 * The equipment should be calibrated before each use. It is recommended to calibrate it every 3 months for long-term use. The calibration frequency should be adjusted appropriately according to different application conditions (degree of dirt in the application, deposition of chemical substances, etc.).
Karry Zhuang 15.2 82
Edwin Chen 8.1 83 == 1.7 RS485 Commands ==
84
Karry Zhuang 15.2 85
86 RS485 signal (K1 default address 0x12; K10 default address 0x11):
87 Standard Modbus-RTU protocol, baud rate: 9600; check bit: none; data bit: 8; stop bit: 1
88
89
Karry Zhuang 16.1 90 === 1.7.1 Query address ===
Edwin Chen 8.1 91
Karry Zhuang 16.1 92 send
Karry Zhuang 11.1 93
Karry Zhuang 16.1 94 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
95 |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Original 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
96 |(% style="width:99px" %)0XFE |(% style="width:112px" %)0X03|(% style="width:135px" %)0X00|(% style="width:126px" %)0X50|(% style="width:85px" %)0X00|(% style="width:1px" %)0X00|(% style="width:1px" %)0X51|(% style="width:1px" %)0XD4
97
98 If you forget the original address of the sensor, you can use the broadcast address 0XFE instead. When using 0XFE, the host can only connect to one slave, which can be used as a method of address query.
99
100
101 response
102
103 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:561.333px" %)
104 |=(% style="width: 50px;background-color:#4F81BD;color:white" %)New address|=(% style="width: 50px;background-color:#4F81BD;color:white" %)Function code|=(% style="width: 106px; background-color: rgb(79, 129, 189); color: white;" %)Data length|=(% style="width: 93px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 104px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
105 |(% style="width:99px" %)0X1|(% style="width:112px" %)0X3|(% style="width:106px" %)0X00|(% style="width:93px" %)0X20|(% style="width:104px" %)0XF0
106
107 === 1.7.2 Change address ===
108
109 For example: Change the address of the sensor with address 1 to 2, master → slave
110
111 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
112 |=(% style="width: 50px;background-color:#4F81BD;color:white" %)Original 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
113 |(% style="width:99px" %)0X01|(% style="width:112px" %)0X06|(% style="width:135px" %)0X00|(% style="width:126px" %)0X50|(% style="width:85px" %)0X00|(% style="width:1px" %)0X02|(% style="width:1px" %)0X08|(% style="width:1px" %)0X1A
114
115 If the sensor receives correctly, the data is returned along the original path.
116 Note: If you forget the original address of the sensor, you can use the broadcast address 0XFE instead. When using 0XFE, the host can only connect to one slave, and the return address is still the original address, which can be used as a method of address query.
117
118
119 === 1.7.3 Modify intercept ===
120
121
122 send
123
124 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
125 |=(% 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
126 |(% style="width:99px" %)0X01|(% style="width:112px" %)0X06|(% style="width:135px" %)0X00|(% style="width:126px" %)0X23|(% style="width:85px" %)0X00|(% style="width:1px" %)0X01|(% style="width:1px" %)0XFA|(% style="width:1px" %)(((
127 0X97
128 )))
129
130 Change the intercept of the sensor with address 1 to 10 (default 0), which is 0X000A in the command.
131
132 response
133
134 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
135 |=(% 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
136 |(% style="width:99px" %)0X01|(% style="width:112px" %)0X06|(% style="width:135px" %)(((
137 0X02
138 )))|(% style="width:126px" %)0X00|(% style="width:85px" %)0X00|(% style="width:1px" %)0X0A|(% style="width:1px" %)0X0A|(% style="width:1px" %)(((
139 0XE5
140 )))
141
142 === 1.7.4 Query data ===
143
Karry Zhuang 16.3 144 The address of the EC K10 sensor is 11
Karry Zhuang 16.1 145
Karry Zhuang 10.1 146 The query data command is 11 03 00 00 00 02 C6 9B
147
Karry Zhuang 11.1 148 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
Karry Zhuang 10.1 149
150
151 The address of the EC K1 sensor is 12
152
153 The query data command is 12 03 00 00 00 02 C6 A8
154
Karry Zhuang 16.1 155 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
Karry Zhuang 10.1 156
Karry Zhuang 11.1 157
Karry Zhuang 16.2 158 === 1.7.5 Calibration Method ===
Karry Zhuang 12.1 159
160
Karry Zhuang 15.1 161 This device uses one-point calibration, and you need to prepare a known E standard solution. When mileage K=1, 1~~2000 uses 1413μS/cm standard solution, and when mileage K=10, 10~~20000 uses 12.88mS/cm standard solution.
Karry Zhuang 12.1 162
Karry Zhuang 15.1 163 The calibration steps are as follows:
164 (1) Place the electrode in distilled water and clean it. When mileage 1~~2000 uses 1413μS/cm standard solution, enter the following calibration command after the data is stable.
165
Karry Zhuang 14.1 166 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
167 |=(% 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
168 |(% 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" %)(((
169 0X00
Karry Zhuang 12.1 170
Karry Zhuang 14.1 171 0X00
172
173 0X37
174
175 0X32
176 )))|(% style="width:1px" %)0XBD|(% style="width:1px" %)0XFC
177
Karry Zhuang 15.1 178 1413*10 gives 0X00003732
Karry Zhuang 14.1 179
Karry Zhuang 16.1 180 response
Karry Zhuang 15.1 181
Karry Zhuang 13.1 182 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
Karry Zhuang 14.1 183 |=(% 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
184 |(% 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
185
186 (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
187
188 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
Karry Zhuang 13.1 189 |=(% 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
Karry Zhuang 14.1 190 |(% 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" %)(((
191 0X00
Karry Zhuang 12.1 192
Karry Zhuang 14.1 193 0X01
194
195 0XF7
196
197 0X20
198 )))|(% style="width:1px" %)0X33|(% style="width:1px" %)0X75
199
Karry Zhuang 15.1 200 12880*10 gives 0X01F720
201
Karry Zhuang 16.1 202 response
Karry Zhuang 14.1 203
204 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
205 |=(% 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
206 |(% 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
207
Karry Zhuang 26.1 208
209
Edwin Chen 8.1 210 = 2. DR-PH01 Water PH Sensor =
211
212
Karry Zhuang 26.1 213 == 2.1 Specification:[[Edit>>url:http://wiki.dragino.com/xwiki/bin/edit/Main/Water%20Quality%20Sensors/WebHome?section=2]] ==
Edwin Chen 9.1 214
Karry Zhuang 26.1 215 * **Power Input**: DC7~~30
216 * **Power Consumption** : < 0.5W
217 * **Interface**: RS485. 9600 Baud Rate
218 * **pH measurement range**: 0~~14.00pH; resolution: 0.01pH
219 * **pH measurement error**:±0.15pH
220 * **Repeatability error**:±0.02pH
221 * **Temperature measurement range**:0~~60℃; resolution: 0.1℃ (set temperature for manual temperature compensation, default 25℃)
222 * **Temperature measurement error**: ±0.5℃
223 * **Temperature Measure Range**: -20 ~~ 60 °C
224 * **Temperature Accuracy: **±0.5 °C
225 * **IP Rated**: IP68
226 * **Max Pressure**: 0.6MPa
227
228
229 == 2.2 Wiring ==
230
231
232 == (% style="color:inherit; font-family:inherit" %)2.3 (% style="color:inherit; font-family:inherit; font-size:26px" %)Mechinical Drawing(%%) ==
233
234 [[image:image-20240714174241-2.png]]
235
236
237 == 2.4 Installation Notice ==
238
239 Do not power on while connect the cables. Double check the wiring before power on.
240
241 Installation Photo as reference:
242
243 **~ Submerged installation:**
244
245 The lead wire of the equipment passes through the waterproof pipe, and the 3/4 thread on the top of the equipment is connected to the 3/4 thread of the waterproof pipe with raw tape. Ensure that the top of the equipment and the equipment wire are not flooded.
246
247 [[image:image-20240718191348-6.png]]
248
249 **~ Pipeline installation:**
250
251 Connect the equipment to the pipeline through the 3/4 thread.
252
253 [[image:image-20240718191336-5.png||height="239" width="326"]]
254
255 **Sampling:**
256
257 Take representative water samples according to sampling requirements. If it is inconvenient to take samples, you can also put the electrode into the solution to be tested and read the output data. After a period of time, take out the electrode and clean it.
258
259 **Measure the pH of the water sample:**
260
261 First rinse the electrode with distilled water, then rinse it with the water sample, then immerse the electrode in the sample, carefully shake the test cup or stir it to accelerate the electrode balance, let it stand, and record the pH value when the reading is stable.
262
263
264 === 2.5 Maintenance ===
265
266
267 * The equipment itself generally does not require daily maintenance. When an obvious fault occurs, please do not open it and repair it yourself. Contact us as soon as possible!
268 * There is an appropriate amount of soaking solution in the protective bottle at the front end of the electrode. The electrode head is soaked in it to keep the glass bulb and the liquid junction activated. When measuring, loosen the bottle cap, pull out the electrode, and rinse it with pure water before use.
269 * Preparation of electrode soaking solution: Take a packet of PH4.00 buffer, dissolve it in 250 ml of pure water, and soak it in 3M potassium chloride solution. The preparation is as follows: Take 25 grams of analytical pure potassium chloride and dissolve it in 100 ml of pure water.
270 * The glass bulb at the front end of the electrode cannot come into contact with hard objects. Any damage and scratches will make the electrode ineffective.
271 * Before measurement, the bubbles in the electrode glass bulb should be shaken off, otherwise it will affect the measurement. When measuring, the electrode should be stirred in the measured solution and then placed still to accelerate the response.
272 * The electrode should be cleaned with deionized water before and after measurement to ensure accuracy.
273 * After long-term use, the pH electrode will become passivated, which is characterized by a decrease in sensitivity gradient, slow response, and inaccurate readings. At this time, the bulb at the bottom of the electrode can be soaked in 0.1M dilute hydrochloric acid for 24 hours (0.1M dilute hydrochloric acid preparation: 9 ml of hydrochloric acid is diluted to 1000 ml with distilled water), and then soaked in 3.3M potassium chloride solution for 24 hours. If the pH electrode is seriously passivated and soaking in 0.1M hydrochloric acid has no effect, the pH electrode bulb can be soaked in 4% HF (hydrofluoric acid) for 3-5 seconds, washed with pure water, and then soaked in 3.3M potassium chloride solution for 24 hours to restore its performance.
274 * Glass bulb contamination or liquid junction blockage can also cause electrode passivation. At this time, it should be cleaned with an appropriate solution according to the nature of the contaminant.
275 * (((
276 The equipment should be calibrated before each use. For long-term use, it is recommended to calibrate once every 3 months. The calibration frequency should be adjusted appropriately according to different application conditions (degree of dirt in the application, deposition of chemical substances, etc.). After aging, the electrodes should be replaced in time.
277 )))
278
279 == 2.6 RS485 Commands ==
280
281
Karry Zhuang 11.1 282 The address of the pH  sensor is 10
Edwin Chen 9.1 283
Karry Zhuang 11.1 284 The query data command is 10 03 00 00 00 01 87 4B. After the query, 7 bytes will be returned.
Karry Zhuang 10.1 285
Karry Zhuang 11.1 286 For example, the returned data is 10 03 02 (% style="color:red" %)**02 AE**(%%) C4 9B.
287
288 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.
289
290
Edwin Chen 8.1 291 = 3. DR-ORP1 Water ORP Sensor =
292
Edwin Chen 9.1 293 == 3.7 RS485 Commands ==
Edwin Chen 8.1 294
Edwin Chen 9.1 295
Karry Zhuang 11.1 296 The address of the ORP sensor is 13
Edwin Chen 9.1 297
Karry Zhuang 11.1 298 The query data command is 13 03 00 00 00 01 87 78
Karry Zhuang 10.1 299
Karry Zhuang 11.1 300 For example, the returned data is 13 03 02 (% style="color:red" %)**02 AE**(%%) 80 9B.
Karry Zhuang 10.1 301
Karry Zhuang 11.1 302 02 AE is the ORP value, converted to decimal, the actual value is 686, 02 AE means the current ORP value is 686mV
303
304
Edwin Chen 8.1 305 = 4. DR-DO1 Dissolved Oxygen Sensor =
306
Edwin Chen 9.1 307 == 4.7 RS485 Commands ==
Edwin Chen 8.1 308
Karry Zhuang 11.1 309
Karry Zhuang 10.1 310 The address of the dissolved oxygen sensor is 14
Edwin Chen 9.1 311
Karry Zhuang 10.1 312 The query data command is 14 03 00 14 00 01 C6 CB
Edwin Chen 9.1 313
Karry Zhuang 11.1 314 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.
Karry Zhuang 10.1 315
316 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
317
Karry Zhuang 11.1 318
Edwin Chen 8.1 319 = 5. DR-TS1 Water Turbidity Sensor =
320
Edwin Chen 9.1 321 == 5.7 RS485 Commands ==
322
Karry Zhuang 10.1 323
324 The address of the dissolved oxygen sensor is 15
325
Karry Zhuang 11.1 326 The query data command is 15 03 00 00 00 01 87 1E
Karry Zhuang 10.1 327
Karry Zhuang 11.1 328 For example, the returned data is 15 03 02 (% style="color:red" %)**02 9A**(%%) 09 4C
329
330 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