Wiki source code of Water Quality Sensors
Version 10.1 by Karry Zhuang on 2024/07/18 12:01
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | **Table of Contents:** | ||
2 | |||
3 | {{toc/}} | ||
4 | |||
5 | |||
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 | |||
40 | == 1.6 Maintain == | ||
41 | |||
42 | |||
43 | == 1.7 RS485 Commands == | ||
44 | |||
45 | The address of the EC K1 sensor is 11 | ||
46 | |||
47 | The query data command is 11 03 00 00 00 02 C6 9B | ||
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/cm | ||
50 | |||
51 | |||
52 | The address of the EC K1 sensor is 12 | ||
53 | |||
54 | The query data command is 12 03 00 00 00 02 C6 A8 | ||
55 | |||
56 | ~; when K=10, EC: 6860uS/cm. | ||
57 | |||
58 | = 2. DR-PH01 Water PH Sensor = | ||
59 | |||
60 | == 2.7 RS485 Commands == | ||
61 | |||
62 | The address of the dissolved oxygen sensor is 12 | ||
63 | |||
64 | The query data command is 14 03 00 14 00 01 C6 CB | ||
65 | |||
66 | |||
67 | = 3. DR-ORP1 Water ORP Sensor = | ||
68 | |||
69 | == 3.7 RS485 Commands == | ||
70 | |||
71 | |||
72 | The address of the dissolved oxygen sensor is 13 | ||
73 | |||
74 | The query data command is 14 03 00 14 00 01 C6 CB | ||
75 | |||
76 | |||
77 | = 4. DR-DO1 Dissolved Oxygen Sensor = | ||
78 | |||
79 | == 4.7 RS485 Commands == | ||
80 | |||
81 | The address of the dissolved oxygen sensor is 14 | ||
82 | |||
83 | The query data command is 14 03 00 14 00 01 C6 CB | ||
84 | |||
85 | After the query, 7 bytes will be returned. For example, the returned data is 14 03 02 03 78 B5 55. 03 78 is the value of dissolved oxygen. | ||
86 | |||
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 | |||
89 | = 5. DR-TS1 Water Turbidity Sensor = | ||
90 | |||
91 | == 5.7 RS485 Commands == | ||
92 | |||
93 | |||
94 | The address of the dissolved oxygen sensor is 15 | ||
95 | |||
96 | The query data command is 15 03 00 14 00 01 C6 CB | ||
97 | |||
98 |