<
From version < 26.1 >
edited by Karry Zhuang
on 2024/07/18 19:14
To version < 28.2 >
edited by Karry Zhuang
on 2024/07/18 19:37
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -102,7 +102,7 @@
102 102  
103 103  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:561.333px" %)
104 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
105 +|(% style="width:99px" %)0X01|(% style="width:112px" %)0X03|(% style="width:106px" %)0X00|(% style="width:93px" %)0X20|(% style="width:104px" %)0XF0
106 106  
107 107  === 1.7.2 Change address ===
108 108  
... ... @@ -123,8 +123,8 @@
123 123  
124 124  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
125 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
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" %)0XF8|(% style="width:1px" %)(((
127 +0X07
128 128  )))
129 129  
130 130  Change the intercept of the sensor with address 1 to 10 (default 0), which is 0X000A in the command.
... ... @@ -135,8 +135,8 @@
135 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 136  |(% style="width:99px" %)0X01|(% style="width:112px" %)0X06|(% style="width:135px" %)(((
137 137  0X02
138 -)))|(% style="width:126px" %)0X00|(% style="width:85px" %)0X00|(% style="width:1px" %)0X0A|(% style="width:1px" %)0X0A|(% style="width:1px" %)(((
139 -0XE5
138 +)))|(% style="width:126px" %)0X00|(% style="width:85px" %)0X00|(% style="width:1px" %)0X0A|(% style="width:1px" %)0X38|(% style="width:1px" %)(((
139 +0X8F
140 140  )))
141 141  
142 142  === 1.7.4 Query data ===
... ... @@ -205,12 +205,10 @@
205 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 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 207  
208 -
209 -
210 210  = 2. DR-PH01 Water PH Sensor =
211 211  
212 212  
213 -== 2.1 Specification:[[Edit>>url:http://wiki.dragino.com/xwiki/bin/edit/Main/Water%20Quality%20Sensors/WebHome?section=2]] ==
211 +== 2.1 Specification ==
214 214  
215 215  * **Power Input**: DC7~~30
216 216  * **Power Consumption** : < 0.5W
... ... @@ -225,7 +225,6 @@
225 225  * **IP Rated**: IP68
226 226  * **Max Pressure**: 0.6MPa
227 227  
228 -
229 229  == 2.2 Wiring ==
230 230  
231 231  
... ... @@ -278,7 +278,61 @@
278 278  
279 279  == 2.6 RS485 Commands ==
280 280  
278 +RS485 signaldefault address 0x10
279 +Standard Modbus-RTU protocol, baud rate: 9600; check bit: none; data bit: 8; stop bit: 1
281 281  
281 +=== 2.6.1 Query data ===
282 +
283 +send
284 +
285 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
286 +|=(% 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
287 +|(% 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
288 +
289 +response
290 +
291 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:561.333px" %)
292 +|=(% 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
293 +|(% style="width:99px" %)0X01|(% style="width:112px" %)0X03|(% style="width:106px" %)0X00|(% style="width:93px" %)0X20|(% style="width:104px" %)0XF0
294 +
295 +=== 2.6.2 Change address ===
296 +
297 +For example: Change the address of the sensor with address 1 to 2, master → slave
298 +
299 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
300 +|=(% 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
301 +|(% 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
302 +
303 +If the sensor receives correctly, the data is returned along the original path.
304 +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.
305 +
306 +
307 +=== 2.6.3 Modify intercept ===
308 +
309 +
310 +send
311 +
312 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
313 +|=(% 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
314 +|(% style="width:99px" %)0X10|(% style="width:112px" %)0X06|(% style="width:135px" %)0X00|(% style="width:126px" %)0X10|(% style="width:85px" %)0X00|(% style="width:1px" %)0X64|(% style="width:1px" %)0X8A|(% style="width:1px" %)(((
315 +0XA5
316 +)))
317 +
318 +Change the intercept of the sensor with address 1 to 10 (default 0), which is 0X000A in the command.
319 +
320 +response
321 +
322 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:676.25px" %)
323 +|=(% 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
324 +|(% style="width:99px" %)0X10|(% style="width:112px" %)0X06|(% style="width:135px" %)(((
325 +0X00
326 +)))|(% style="width:126px" %)0X10|(% style="width:85px" %)0X00|(% style="width:1px" %)0X64|(% style="width:1px" %)0X8A|(% style="width:1px" %)(((
327 +0XA5
328 +)))
329 +
330 +=== 2.6.4 Query data ===
331 +
332 +
282 282  The address of the pH  sensor is 10
283 283  
284 284  The query data command is 10 03 00 00 00 01 87 4B. After the query, 7 bytes will be returned.
... ... @@ -288,8 +288,85 @@
288 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 289  
290 290  
342 +=== 2.6.5 Calibration Method ===
343 +
344 +
345 +This device uses three-point calibration, and three known pH standard solutions need to be prepared.
346 +The calibration steps are as follows:
347 +(1) Place the electrode in distilled water to clean it, and then place it in 9.18 standard buffer solution. After the data stabilizes, enter the following calibration command, and the 9.18 calibration is completed.
348 +
349 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:575.333px" %)
350 +|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 66px; background-color: rgb(79, 129, 189); color: white;" %)Address high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Address low|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Quantity high|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Quantity low|=(% style="width: 55px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 55px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
351 +|(% style="width:64px" %)0X10|(% style="width:72px" %)0X06|(% style="width:66px" %)(((
352 +0X00
353 +)))|(% style="width:68px" %)0X20|(% style="width:72px" %)0XFF|(% style="width:70px" %)0XFF|(% style="width:55px" %)0X8A|(% style="width:55px" %)(((
354 +0XF1
355 +)))
356 +
357 +(2) Wash the electrode in distilled water and place it in 6.86 standard buffer. After the data stabilizes, enter the following calibration command. The 6.86 calibration is completed.
358 +
359 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:575.333px" %)
360 +|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 66px; background-color: rgb(79, 129, 189); color: white;" %)Address high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Address low|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Quantity high|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Quantity low|=(% style="width: 55px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 55px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
361 +|(% style="width:64px" %)0X10|(% style="width:72px" %)0X06|(% style="width:66px" %)(((
362 +0X00
363 +)))|(% style="width:68px" %)0X21|(% style="width:72px" %)0XFF|(% style="width:70px" %)0XFF|(% style="width:55px" %)0XDB|(% style="width:55px" %)(((
364 +0X31
365 +)))
366 +
367 +(3) Wash the electrode in distilled water and place it in 4.01 standard buffer. After the data stabilizes, enter the following calibration command, and the 4.00 calibration is completed.
368 +
369 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:575.333px" %)
370 +|=(% style="width: 64px; background-color: rgb(79, 129, 189); color: white;" %)Address|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Function code|=(% style="width: 66px; background-color: rgb(79, 129, 189); color: white;" %)Address high|=(% style="width: 68px; background-color: rgb(79, 129, 189); color: white;" %)Address low|=(% style="width: 72px; background-color: rgb(79, 129, 189); color: white;" %)Quantity high|=(% style="width: 70px; background-color: rgb(79, 129, 189); color: white;" %)Quantity low|=(% style="width: 55px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 low|=(% style="width: 55px; background-color: rgb(79, 129, 189); color: white;" %)CRC16 high
371 +|(% style="width:64px" %)0X10|(% style="width:72px" %)0X06|(% style="width:66px" %)(((
372 +0X00
373 +)))|(% style="width:68px" %)0X22|(% style="width:72px" %)0XFF|(% style="width:70px" %)0XFF|(% style="width:55px" %)0X2B|(% style="width:55px" %)(((
374 +0X31
375 +)))
376 +
377 +After the above three steps are completed, the calibration is successful. The advantage of three-point calibration compared to two-point calibration is that the electrode is calibrated separately in the acid and alkali parts, thereby achieving accurate calibration of the full range and making the measurement data more accurate.
378 +
379 +
291 291  = 3. DR-ORP1 Water ORP Sensor =
292 292  
382 +
383 +
384 +== 3.1 Specification ==
385 +
386 +* **Power Input**: DC7~~30
387 +* **Power Consumption** : < 0.5W
388 +* **Interface**: RS485. 9600 Baud Rate
389 +* **Measurement error**: ±3mV
390 +* **Stability**: ≤2mv/24 hours
391 +* **Equipment working conditions**: Ambient temperature: 0-60℃ Relative humidity: <85%RH
392 +* **IP Rated**: IP68
393 +* **Max Pressure**: 0.6MPa
394 +
395 +== 3.2 Wiring ==
396 +
397 +
398 +== 3.3 Mechinical Drawing ==
399 +
400 +[[image:image-20240714174241-2.png]]
401 +
402 +== 3.4 Installation Notice ==
403 +
404 +Do not power on while connect the cables. Double check the wiring before power on.
405 +
406 +Installation Photo as reference:
407 +
408 +**~ Submerged installation:**
409 +
410 +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.
411 +
412 +[[image:image-20240718191348-6.png]]
413 +
414 +**~ Pipeline installation:**
415 +
416 +Connect the equipment to the pipeline through the 3/4 thread.
417 +
418 +[[image:image-20240718191336-5.png||height="239" width="326"]]
419 +
420 +
293 293  == 3.7 RS485 Commands ==
294 294  
295 295  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0