Wiki source code of WQS-LB Dragino LoRaWAN Water Quality Sensor User Manual
Version 152.1 by Karry Zhuang on 2024/07/25 14:42
Show last authors
author | version | line-number | content |
---|---|---|---|
1 | |||
2 | |||
3 | |||
4 | |||
5 | |||
6 | |||
7 | |||
8 | **Table of Contents:** | ||
9 | |||
10 | {{toc/}} | ||
11 | |||
12 | |||
13 | |||
14 | |||
15 | |||
16 | |||
17 | |||
18 | |||
19 | |||
20 | = 1. Introduction = | ||
21 | |||
22 | == 1.1 Overview == | ||
23 | |||
24 | |||
25 | ((( | ||
26 | Dragino LoRaWAN water quality sensor series products are designed to measure water quality and provide information for water quality conditions. They consist of a (% style="color:blue" %)**main process device (WQS-LB) and various sensors**. | ||
27 | ))) | ||
28 | |||
29 | ((( | ||
30 | The sensors include various type such as: (% style="color:blue" %)**pH sensor, ORP sensor, EC sensor, dissolved oxygen sensor, turbidity sensor.**(%%) | ||
31 | ))) | ||
32 | |||
33 | ((( | ||
34 | Main process device WQS-LB is an outdoor LoRaWAN RS485 end node.It is powered by a built-in lithium-ion battery. WQS-LB reads value from various sensors and upload these sensor data to IoT server via LoRaWAN wireless protocol. | ||
35 | ))) | ||
36 | |||
37 | ((( | ||
38 | WQS-LB is full compatible with(% style="color:blue" %)** LoRaWAN Class C protocol**(%%), it can work with standard LoRaWAN gateway. | ||
39 | ))) | ||
40 | |||
41 | |||
42 | = 2. How to use = | ||
43 | |||
44 | == 2.1 Installation == | ||
45 | |||
46 | |||
47 | Below is an installation example for the weather station. Field installation example can be found at [[Appendix I: Field Installation Photo.>>||anchor="H11.AppendixI:FieldInstallationPhoto"]] | ||
48 | |||
49 | |||
50 | [[image:1656041948552-849.png]] | ||
51 | |||
52 | |||
53 | |||
54 | |||
55 | |||
56 | == 2.2 How it works? == | ||
57 | |||
58 | |||
59 | ((( | ||
60 | Each WQS-LB is shipped with a worldwide unique set of OTAA keys. To use WQS-LB in a LoRaWAN network, user needs to input the OTAA keys in LoRaWAN network server. After finish installation as above. Create WQS-LB in your LoRaWAN server and Power on WQS-LB , it can join the LoRaWAN network and start to transmit sensor data. The default period for each uplink is 20 minutes. | ||
61 | ))) | ||
62 | |||
63 | ((( | ||
64 | Open WQS-LB and put the yellow jumper as below position to power on WQS-LB. | ||
65 | ))) | ||
66 | |||
67 | [[image:image-20240715164447-1.png]] | ||
68 | |||
69 | |||
70 | (% style="color:red" %)**Notice:**(%%) WQS-LB will auto scan available water quality sensors when power on or reboot. | ||
71 | |||
72 | == 2.3 Example to use for LoRaWAN network == | ||
73 | |||
74 | |||
75 | This section shows an example for how to join the TTN V3 LoRaWAN IoT server. Usages with other LoRaWAN IoT servers are of similar procedure. | ||
76 | |||
77 | [[image:1656042612899-422.png]] | ||
78 | |||
79 | |||
80 | Assume the DLOS8 is already set to connect to [[TTN V3 network >>url:https://eu1.cloud.thethings.network/]]. We need to add the WSC1-L device in TTN V3: | ||
81 | |||
82 | |||
83 | (% style="color:blue" %)**Step 1**(%%): Create a device in TTN V3 with the OTAA keys from WSC1-L. | ||
84 | |||
85 | Each WSC1-L is shipped with a sticker with the default device EUI as below: | ||
86 | |||
87 | [[image:image-20230426084533-1.png||height="231" width="497"]] | ||
88 | |||
89 | |||
90 | User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screen shot: | ||
91 | |||
92 | |||
93 | **Add APP EUI in the application.** | ||
94 | |||
95 | [[image:1656042662694-311.png]] | ||
96 | |||
97 | [[image:1656042673910-429.png]] | ||
98 | |||
99 | |||
100 | **Choose Manually to add WQS-LB** | ||
101 | |||
102 | [[image:1656042695755-103.png]] | ||
103 | |||
104 | |||
105 | **Add APP KEY and DEV EUI** | ||
106 | |||
107 | [[image:1656042723199-746.png]] | ||
108 | |||
109 | |||
110 | ((( | ||
111 | (% style="color:blue" %)**Step 2**(%%): Power on WQS-LB, it will start to join TTN server. After join success, it will start to upload sensor data to TTN V3 and user can see in the panel. | ||
112 | ))) | ||
113 | |||
114 | [[image:1656042745346-283.png]] | ||
115 | |||
116 | |||
117 | == 2.4 Uplink Payload == | ||
118 | |||
119 | |||
120 | Uplink payloads include two types: Valid Sensor Value and other status / control command. | ||
121 | |||
122 | * Valid Sensor Value: Use FPORT=2 | ||
123 | * Other control command: Use FPORT other than 2. | ||
124 | |||
125 | === 2.4.1 Uplink FPORT~=5, Device Status === | ||
126 | |||
127 | |||
128 | Uplink the device configures with FPORT=5. Once WQS-LB Joined the network, it will uplink this message to the server. After first uplink, WQS-LB will uplink Device Status every 12 hours | ||
129 | |||
130 | |||
131 | ((( | ||
132 | User can also use downlink command**(0x2301)** to ask WQS-LB to resend this uplink | ||
133 | ))) | ||
134 | |||
135 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) | ||
136 | |=(% style="width: 70px;background-color:#4F81BD;color:white" %)**Size(**bytes)|=(% style="width: 60px;background-color:#4F81BD;color:white" %)1|=(% style="width: 80px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 80px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 60px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 50px;background-color:#4F81BD;color:white" %)**2** | ||
137 | |(% style="width:99px" %)Value|(% style="width:112px" %)[[Sensor Model>>||anchor="HSensorModel:"]]|(% style="width:135px" %)[[Firmware Version>>||anchor="HFirmwareVersion:"]]|(% style="width:126px" %)[[Frequency Band>>||anchor="HFrequencyBand:"]]|(% style="width:85px" %)[[Sub-band>>||anchor="HSub-Band:"]]|(% style="width:46px" %)[[BAT>>||anchor="HBAT:"]] | ||
138 | |||
139 | [[image:1656043061044-343.png]] | ||
140 | |||
141 | |||
142 | Example Payload (FPort=5): [[image:image-20220624101005-1.png]] | ||
143 | |||
144 | |||
145 | ==== (% style="color:#037691" %)**Sensor Model:**(%%) ==== | ||
146 | |||
147 | For WQS-L, this value is 0x3C. | ||
148 | |||
149 | |||
150 | ==== (% style="color:#037691" %)**Firmware Version:**(%%) ==== | ||
151 | |||
152 | 0x0100, Means: v1.0.0 version. | ||
153 | |||
154 | |||
155 | ==== (% style="color:#037691" %)**Frequency Band:**(%%) ==== | ||
156 | |||
157 | 0x01: EU868 | ||
158 | |||
159 | 0x02: US915 | ||
160 | |||
161 | 0x03: IN865 | ||
162 | |||
163 | 0x04: AU915 | ||
164 | |||
165 | 0x05: KZ865 | ||
166 | |||
167 | 0x06: RU864 | ||
168 | |||
169 | 0x07: AS923 | ||
170 | |||
171 | 0x08: AS923-1 | ||
172 | |||
173 | 0x09: AS923-2 | ||
174 | |||
175 | 0x0a: AS923-3 | ||
176 | |||
177 | 0x0b: CN470 | ||
178 | |||
179 | 0x0c: EU433 | ||
180 | |||
181 | 0x0d: KR920 | ||
182 | |||
183 | 0x0e: MA869 | ||
184 | |||
185 | |||
186 | ==== (% style="color:#037691" %)**Sub-Band:**(%%) ==== | ||
187 | |||
188 | value 0x00 ~~ 0x08(only for CN470, AU915,US915. Others are0x00) | ||
189 | |||
190 | |||
191 | ==== (% style="color:#037691" %)**BAT:**(%%) ==== | ||
192 | |||
193 | ((( | ||
194 | shows the battery voltage for WQS-LB MCU. | ||
195 | ))) | ||
196 | |||
197 | ((( | ||
198 | Ex1: 0x0BD6/1000 = 3.03 V | ||
199 | ))) | ||
200 | |||
201 | |||
202 | === 2.4.2 Uplink FPORT~=2, Real time sensor value === | ||
203 | |||
204 | |||
205 | ((( | ||
206 | WQS-LB will send this uplink after Device Config uplink once join LoRaWAN network successfully. And it will periodically send this uplink. Default interval is 20 minutes and [[can be changed>>||anchor="H3.1SetTransmitIntervalTime"]]. | ||
207 | ))) | ||
208 | |||
209 | ((( | ||
210 | Uplink uses FPORT=2 and every 20 minutes send one uplink by default. | ||
211 | ))) | ||
212 | |||
213 | ((( | ||
214 | The upload length is dynamic, depends on what type of weather sensors are connected. The uplink payload is combined with sensor segments. As below: | ||
215 | ))) | ||
216 | |||
217 | |||
218 | (% style="color:#4472c4" %)** Uplink Payload**: | ||
219 | |||
220 | (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:464px" %) | ||
221 | |(% style="width:140px" %)Sensor Segment 1|(% style="width:139px" %)Sensor Segment 2|(% style="width:42px" %)……|(% style="width:140px" %)Sensor Segment n | ||
222 | |||
223 | (% style="color:#4472c4" %)** Sensor Segment Define**: | ||
224 | |||
225 | (% border="1" cellspacing="10" style="background-color:#f2f2f2; width:330px" %) | ||
226 | |(% style="width:89px" %)Type Code|(% style="width:114px" %)Length (Bytes)|(% style="width:124px" %)Measured Value | ||
227 | |||
228 | (% style="color:#4472c4" %)**Sensor Type Table:** | ||
229 | |||
230 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) | ||
231 | |(% style="background-color:#4f81bd; color:white; width:118px" %)**Sensor Type**|(% style="background-color:#4f81bd; color:white; width:38px" %)**Type Code**|(% style="background-color:#4f81bd; color:white; width:83px" %)**Range**|(% style="background-color:#4f81bd; color:white; width:72px" %)**Length( Bytes)**|(% style="background-color:#4f81bd; color:white; width:146px" %)**Example** | ||
232 | |(% style="width:118px" %)PH Sensor|(% style="width:38px" %)0x10|(% style="width:83px" %)((( | ||
233 | Range: 0~~14.00pH | ||
234 | |||
235 | resolution: 0.01pH | ||
236 | )))|(% style="width:72px" %)0x02 |(% style="width:146px" %)((( | ||
237 | ((( | ||
238 | 0x0024/10=3.6m/s (0x02FE: No Sensor, 0x02EE: Value Error) | ||
239 | ))) | ||
240 | |||
241 | ((( | ||
242 | 0x02=2 (0x14: No Sensor, 0x15: Value Error) | ||
243 | ))) | ||
244 | ))) | ||
245 | |(% style="width:118px" %)EC K1 Sensor|(% style="width:38px" %)0x11|(% style="width:83px" %)((( | ||
246 | Range : | ||
247 | |||
248 | 2 ~~ 2,000 μS/cm Resolution: 1 μS/cm | ||
249 | )))|(% style="width:72px" %)0x02|(% style="width:146px" %)((( | ||
250 | ((( | ||
251 | 0x02C9/10=66.6°(0x0EFE: No Sensor,0x0EFF: Value Error) | ||
252 | ))) | ||
253 | |||
254 | ((( | ||
255 | 0X03=3(ENE) (0x14: No Sensor,0x15: Value Error) | ||
256 | ))) | ||
257 | ))) | ||
258 | |(% style="width:118px" %)EC K10 Sensor|(% style="width:38px" %)0x12|(% style="width:83px" %)Range : 20 ~~ 20,000 μS/cm Resolution: 10 μS/cm|(% style="width:72px" %)0x02|(% style="width:146px" %)((( | ||
259 | 0x04D2*10=12340kLux (0x4EFE: No Sensor,0x4EFF: Value Error) | ||
260 | ))) | ||
261 | |(% style="width:118px" %)ORP1 Sensor|(% style="width:38px" %)0x13|(% style="width:83px" %)Range :** **-1999~~1999mV|(% style="width:72px" %)0x02|(% style="width:146px" %)((( | ||
262 | ((( | ||
263 | 0x00 (00) No Rain or snow detected | ||
264 | ))) | ||
265 | |||
266 | ((( | ||
267 | (0x02: No Sensor,0x03: Value Error) | ||
268 | ))) | ||
269 | ))) | ||
270 | |(% style="width:118px" %)DO1 Sensor|(% style="width:38px" %)0x14|(% style="width:83px" %)Range: 0-20mg/L|(% style="width:72px" %)0x02|(% style="width:146px" %)((( | ||
271 | 0x0378=888ppm (0x14FE: No Sensor,0x14FF: Value Error) | ||
272 | ))) | ||
273 | |(% style="width:118px" %)TS1 Sensor|(% style="width:38px" %)0x15|(% style="width:83px" %)Range: 0.1~1000.0NTU|(% style="width:72px" %)0x02|(% style="width:146px" %)((( | ||
274 | 0xFFDD/10=-3.5℃ (0x02FE: No Sensor,0x02FF: Value Error) | ||
275 | ))) | ||
276 | |||
277 | ((( | ||
278 | Below is an example payload: [[image:image-20220624140615-3.png]] | ||
279 | ))) | ||
280 | |||
281 | |||
282 | ((( | ||
283 | When sending this payload to LoRaWAN server. WQS-LB will send this in one uplink or several uplinks according to LoRaWAN spec requirement. For example, total length of Payload is 54 bytes. | ||
284 | ))) | ||
285 | |||
286 | * ((( | ||
287 | When WQS-LB sending in US915 frequency DR0 data rate. Because this data rate has limitation of 11 bytes payload for each uplink. The payload will be split into below packets and uplink. | ||
288 | ))) | ||
289 | |||
290 | ((( | ||
291 | Uplink 1: [[image:image-20220624140735-4.png]] | ||
292 | ))) | ||
293 | |||
294 | |||
295 | ((( | ||
296 | Uplink 2: [[image:image-20220624140842-5.png]] | ||
297 | |||
298 | ))) | ||
299 | |||
300 | * ((( | ||
301 | When WQS-LB sending in EU868 frequency DR0 data rate. The payload will be split into below packets and uplink: | ||
302 | ))) | ||
303 | |||
304 | ((( | ||
305 | Uplink 1: [[image:image-20220624141025-6.png]] | ||
306 | ))) | ||
307 | |||
308 | |||
309 | Uplink 2: [[image:image-20220624141100-7.png]] | ||
310 | |||
311 | |||
312 | === 2.4.3 Decoder in TTN V3 === | ||
313 | |||
314 | |||
315 | ((( | ||
316 | In LoRaWAN platform, user only see HEX payload by default, user needs to use payload formatters to decode the payload to see human-readable value. | ||
317 | ))) | ||
318 | |||
319 | ((( | ||
320 | Download decoder for suitable platform from: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] | ||
321 | ))) | ||
322 | |||
323 | ((( | ||
324 | and put as below: | ||
325 | ))) | ||
326 | |||
327 | [[image:1656051152438-578.png]] | ||
328 | |||
329 | |||
330 | == 2.5 Show data on Application Server == | ||
331 | |||
332 | |||
333 | ((( | ||
334 | Application platform provides a human friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: | ||
335 | ))) | ||
336 | |||
337 | ((( | ||
338 | (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network. | ||
339 | ))) | ||
340 | |||
341 | ((( | ||
342 | (% style="color:blue" %)**Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations. | ||
343 | ))) | ||
344 | |||
345 | [[image:1656051197172-131.png]] | ||
346 | |||
347 | |||
348 | **Add TagoIO:** | ||
349 | |||
350 | [[image:1656051223585-631.png]] | ||
351 | |||
352 | |||
353 | **Authorization:** | ||
354 | |||
355 | [[image:1656051248318-368.png]] | ||
356 | |||
357 | |||
358 | In TagoIO console ([[https:~~/~~/admin.tago.io~~/~~/>>url:https://datacake.co/]]) , add WSC1-L: | ||
359 | |||
360 | [[image:1656051277767-168.png]] | ||
361 | |||
362 | |||
363 | = 3. Configure WQS-LB via AT Command or LoRaWAN Downlink = | ||
364 | |||
365 | |||
366 | Use can configure WQS-LB via AT Command or LoRaWAN Downlink. | ||
367 | |||
368 | * AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]]. | ||
369 | * LoRaWAN Downlink instruction for different platforms: [[Use Note for Server>>doc:Main.WebHome]](IoT LoRaWAN Server) | ||
370 | |||
371 | There are two kinds of commands to configure WQS-LB, they are: | ||
372 | |||
373 | * (% style="color:blue" %)**General Commands**. | ||
374 | |||
375 | These commands are to configure: | ||
376 | |||
377 | * General system settings like: uplink interval. | ||
378 | * LoRaWAN protocol & radio related command. | ||
379 | |||
380 | They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack((% style="color:red" %)Note~*~*)(%%). These commands can be found on the wiki: [[End Device Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] | ||
381 | |||
382 | (% style="color:red" %)**Note~*~*: Please check early user manual if you don’t have v1.8.0 firmware. ** | ||
383 | |||
384 | |||
385 | * (% style="color:blue" %)**Commands special design for WQS-LB** | ||
386 | |||
387 | These commands only valid for WQS-LB, as below: | ||
388 | |||
389 | |||
390 | == 3.1 Set Transmit Interval Time == | ||
391 | |||
392 | |||
393 | Feature: Change LoRaWAN End Node Transmit Interval. | ||
394 | |||
395 | (% style="color:#037691" %)**AT Command: AT+TDC** | ||
396 | |||
397 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:501px" %) | ||
398 | |(% style="background-color:#4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:166px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:180px" %)**Response** | ||
399 | |(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)((( | ||
400 | 30000 | ||
401 | OK | ||
402 | the interval is 30000ms = 30s | ||
403 | ))) | ||
404 | |(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)((( | ||
405 | OK | ||
406 | Set transmit interval to 60000ms = 60 seconds | ||
407 | ))) | ||
408 | |||
409 | (% style="color:#037691" %)**Downlink Command: 0x01** | ||
410 | |||
411 | Format: Command Code (0x01) followed by 3 bytes time value. | ||
412 | |||
413 | If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01. | ||
414 | |||
415 | * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds | ||
416 | * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds | ||
417 | |||
418 | == 3.2 Set Emergency Mode == | ||
419 | |||
420 | |||
421 | Feature: In emergency mode, WSC1-L will uplink data every 1 minute. | ||
422 | |||
423 | (% style="color:#037691" %)**AT Command:** | ||
424 | |||
425 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:466px" %) | ||
426 | |(% style="background-color:#4f81bd; color:white; width:156px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:225px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:85px" %)**Response** | ||
427 | |(% style="width:155px" %)AT+ALARMMOD=1|(% style="width:224px" %)Enter emergency mode. Uplink every 1 minute|(% style="width:84px" %)((( | ||
428 | OK | ||
429 | |||
430 | ))) | ||
431 | |(% style="width:155px" %)AT+ALARMMOD=0|(% style="width:224px" %)Exit emergency mode. Uplink base on TDC time|(% style="width:84px" %)((( | ||
432 | OK | ||
433 | ))) | ||
434 | |||
435 | (% style="color:#037691" %)**Downlink Command:** | ||
436 | |||
437 | * 0xE101 Same as: AT+ALARMMOD=1 | ||
438 | * 0xE100 Same as: AT+ALARMMOD=0 | ||
439 | |||
440 | == 3.3 Add or Delete RS485 Sensor == | ||
441 | |||
442 | |||
443 | ((( | ||
444 | Feature: User can add or delete 3^^rd^^ party sensor as long they are RS485/Modbus interface,baud rate support 9600.Maximum can add 4 sensors. | ||
445 | ))) | ||
446 | |||
447 | ((( | ||
448 | (% style="color:#037691" %)**AT Command: ** | ||
449 | ))) | ||
450 | |||
451 | ((( | ||
452 | (% style="color:blue" %)**AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout** | ||
453 | ))) | ||
454 | |||
455 | * ((( | ||
456 | Type_Code range: A1 ~~ A4 | ||
457 | ))) | ||
458 | * ((( | ||
459 | Query_Length: RS485 Query frame length, Value cannot be greater than 10 | ||
460 | ))) | ||
461 | * ((( | ||
462 | Query_Command: RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes | ||
463 | ))) | ||
464 | * ((( | ||
465 | Read_Length: RS485 response frame length supposed to receive. Max can receive | ||
466 | ))) | ||
467 | * ((( | ||
468 | Valid_Data: valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN. | ||
469 | ))) | ||
470 | * ((( | ||
471 | has_CRC: RS485 Response crc check (0: no verification required 1: verification required). If CRC=1 and CRC error, valid data will be set to 0. | ||
472 | ))) | ||
473 | * ((( | ||
474 | timeout: RS485 receive timeout (uint:ms). Device will close receive window after timeout | ||
475 | ))) | ||
476 | |||
477 | ((( | ||
478 | **Example:** | ||
479 | ))) | ||
480 | |||
481 | ((( | ||
482 | User need to change external sensor use the type code as address code. | ||
483 | ))) | ||
484 | |||
485 | ((( | ||
486 | With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table: | ||
487 | ))) | ||
488 | |||
489 | [[image:image-20220624143553-10.png]] | ||
490 | |||
491 | |||
492 | The response frame of the sensor is as follows: | ||
493 | |||
494 | [[image:image-20220624143618-11.png]] | ||
495 | |||
496 | |||
497 | **Then the following parameters should be:** | ||
498 | |||
499 | * Address_Code range: A1 | ||
500 | * Query_Length: 8 | ||
501 | * Query_Command: A103000000019CAA | ||
502 | * Read_Length: 8 | ||
503 | * Valid_Data: 23 (Indicates that the data length is 2 bytes, starting from the 3th byte) | ||
504 | * has_CRC: 1 | ||
505 | * timeout: 1500 (Fill in the test according to the actual situation) | ||
506 | |||
507 | **So the input command is:** | ||
508 | |||
509 | AT+DYSENSOR=A1,8,A103000000019CAA,8,24,1,1500 | ||
510 | |||
511 | |||
512 | In every sampling. WSC1-L will auto append the sensor segment as per this structure and uplink. | ||
513 | |||
514 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:351px" %) | ||
515 | |=(% style="width: 95px;background-color:#4F81BD;color:white" %)Type Code|=(% style="width: 122px;background-color:#4F81BD;color:white" %)Length (Bytes)|=(% style="width: 134px;background-color:#4F81BD;color:white" %)Measured Value | ||
516 | |(% style="width:94px" %)A1|(% style="width:121px" %)2|(% style="width:132px" %)0x000A | ||
517 | |||
518 | **Related commands:** | ||
519 | |||
520 | AT+DYSENSOR=A1,0 ~-~-> Delete 3^^rd^^ party sensor A1. | ||
521 | |||
522 | AT+DYSENSOR ~-~-> List All 3^^rd^^ Party Sensor. Like below: | ||
523 | |||
524 | |||
525 | (% style="color:#037691" %)**Downlink Command: ** | ||
526 | |||
527 | **delete custom sensor A1:** | ||
528 | |||
529 | * 0xE5A1 Same as: AT+DYSENSOR=A1,0 | ||
530 | |||
531 | **Remove all custom sensors** | ||
532 | |||
533 | * 0xE5FF | ||
534 | |||
535 | == 3.4 RS485 Test Command == | ||
536 | |||
537 | |||
538 | (% style="color:#037691" %)**AT Command:** | ||
539 | |||
540 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:494px" %) | ||
541 | |=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 248px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response** | ||
542 | |(% style="width:159px" %)AT+RSWRITE=xxxxxx|(% style="width:227px" %)((( | ||
543 | Send command to 485 sensor. Range : no more than 10 bytes | ||
544 | )))|(% style="width:85px" %)OK | ||
545 | |||
546 | Eg: Send command **01 03 00 00 00 01 84 0A** to 485 sensor | ||
547 | |||
548 | AT+RSWRITE=0103000001840A | ||
549 | |||
550 | If there is output from sensor, The console will show the output data | ||
551 | |||
552 | |||
553 | (% style="color:#037691" %)**Downlink Command:** | ||
554 | |||
555 | * 0xE20103000001840A Same as: AT+RSWRITE=0103000001840A | ||
556 | |||
557 | == 3.5 RS485 response timeout == | ||
558 | |||
559 | |||
560 | Feature: Set or get extended time to receive 485 sensor data. | ||
561 | |||
562 | (% style="color:#037691" %)**AT Command:** | ||
563 | |||
564 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:433px" %) | ||
565 | |=(% style="width: 157px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 190px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response** | ||
566 | |(% style="width:157px" %)AT+DTR=1000|(% style="width:188px" %)((( | ||
567 | Set response timeout to: Range : 0~~10000 | ||
568 | )))|(% style="width:85px" %)OK | ||
569 | |||
570 | (% style="color:#037691" %)**Downlink Command:** | ||
571 | |||
572 | Format: Command Code (0xE0) followed by 3 bytes time value. | ||
573 | |||
574 | If the downlink payload=E0000005, it means set the END Node’s Transmit Interval to 0x000005=5(S), while type code is E0. | ||
575 | |||
576 | * Example 1: Downlink Payload: E0000005 ~/~/ Set Transmit Interval (DTR) = 5 seconds | ||
577 | * Example 2: Downlink Payload: E000000A ~/~/ Set Transmit Interval (DTR) = 10 seconds | ||
578 | |||
579 | == 3.6 Set Sensor Type == | ||
580 | |||
581 | |||
582 | ((( | ||
583 | Feature: Set sensor in used. If there are 6 sensors, user can set to only send 5 sensors values. | ||
584 | ))) | ||
585 | |||
586 | ((( | ||
587 | See [[definition>>||anchor="HWeatherSensorTypes:"]] for the sensor type. | ||
588 | |||
589 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:517px" %) | ||
590 | |(% rowspan="2" %)Byte3|Bit23|Bit22|Bit21|Bit20|Bit19|Bit18|Bit17|Bit16 | ||
591 | | |A4|A3|A2|A1| | | | ||
592 | |(% rowspan="2" %)Byte2|Bit15|Bit14|Bit13|Bit12|Bit11|Bit10|Bit9|Bit8 | ||
593 | | | |Solar Radiation|PAR|PM10|PM2.5|((( | ||
594 | Rain | ||
595 | Gauge | ||
596 | )))|((( | ||
597 | Air | ||
598 | Pressure | ||
599 | ))) | ||
600 | |(% rowspan="2" %)Byte1|Bit7|Bit6|Bit5|Bit4|Bit3|Bit2|Bit1|Bit0 | ||
601 | |Humidity|Temperature|CO2|((( | ||
602 | Rain/Snow | ||
603 | Detect | ||
604 | )))|illuminance|((( | ||
605 | Wind | ||
606 | Direction | ||
607 | )))|Wind Speed|BAT | ||
608 | ))) | ||
609 | |||
610 | |||
611 | (% style="color:#037691" %)**AT Command:** | ||
612 | |||
613 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:377px" %) | ||
614 | |=(% style="width: 157px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 132px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 88px;background-color:#4F81BD;color:white" %)**Response** | ||
615 | |(% style="width:157px" %)AT+STYPE=80221|(% style="width:130px" %)Set sensor types|(% style="width:87px" %)OK | ||
616 | |||
617 | Eg: The setting command **AT+STYPE=80221** means: | ||
618 | |||
619 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:495px" %) | ||
620 | |(% rowspan="2" style="width:57px" %)Byte3|(% style="width:57px" %)Bit23|(% style="width:59px" %)Bit22|(% style="width:56px" %)Bit21|(% style="width:51px" %)Bit20|(% style="width:54px" %)Bit19|(% style="width:54px" %)Bit18|(% style="width:52px" %)Bit17|(% style="width:52px" %)Bit16 | ||
621 | |(% style="width:57px" %)0|(% style="width:59px" %)0|(% style="width:56px" %)0|(% style="width:51px" %)0|(% style="width:54px" %)1|(% style="width:54px" %)0|(% style="width:52px" %)0|(% style="width:52px" %)0 | ||
622 | |(% rowspan="2" style="width:57px" %)Byte2|(% style="width:57px" %)Bit15|(% style="width:59px" %)Bit14|(% style="width:56px" %)Bit13|(% style="width:51px" %)Bit12|(% style="width:54px" %)Bit11|(% style="width:54px" %)Bit10|(% style="width:52px" %)Bit9|(% style="width:52px" %)Bit8 | ||
623 | |(% style="width:57px" %)0|(% style="width:59px" %)0|(% style="width:56px" %)0|(% style="width:51px" %)0|(% style="width:54px" %)0|(% style="width:54px" %)0|(% style="width:52px" %)1|(% style="width:52px" %)0 | ||
624 | |(% rowspan="2" style="width:57px" %)Byte1|(% style="width:57px" %)Bit7|(% style="width:59px" %)Bit6|(% style="width:56px" %)Bit5|(% style="width:51px" %)Bit4|(% style="width:54px" %)Bit3|(% style="width:54px" %)Bit2|(% style="width:52px" %)Bit1|(% style="width:52px" %)Bit0 | ||
625 | |(% style="width:57px" %)0|(% style="width:59px" %)0|(% style="width:56px" %)1|(% style="width:51px" %)0|(% style="width:54px" %)0|(% style="width:54px" %)0|(% style="width:52px" %)0|(% style="width:52px" %)1 | ||
626 | |||
627 | So wsc1-L will upload the following data: Custom Sensor A1, Rain Gauge,CO2,BAT. | ||
628 | |||
629 | |||
630 | (% style="color:#037691" %)**Downlink Command:** | ||
631 | |||
632 | * 0xE400080221 Same as: AT+STYPE=80221 | ||
633 | |||
634 | (% style="color:red" %)**Note:** | ||
635 | |||
636 | ~1. The sensor type will not be saved to flash, and the value will be updated every time the sensor is restarted or rescanned. | ||
637 | |||
638 | |||
639 | == 3.7 Set the registers read by the rain gauge(Since firmware V1.3) == | ||
640 | |||
641 | |||
642 | (% style="color:#037691" %)**AT Command:** | ||
643 | |||
644 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) | ||
645 | |=(% style="width: 230px; background-color: rgb(79, 129, 189); color: white;" %)**Command Example**|=(% style="width: 232px; background-color: rgb(79, 129, 189); color: white;" %)**Function**|=(% style="width: 48px; background-color: rgb(79, 129, 189); color: white;" %)**Response** | ||
646 | |(% style="width:240px" %)((( | ||
647 | AT+RAINFALLSWITCH=10(Value:3,4,5,6,8,10) | ||
648 | )))|(% style="width:232px" %)((( | ||
649 | Set the registers read by the rain gauge | ||
650 | )))|(% style="width:38px" %)OK | ||
651 | |||
652 | (% style="color:#037691" %)**Downlink Command:** | ||
653 | |||
654 | * 0x1703 Same as: AT+RAINFALLSWITCH=3 | ||
655 | |||
656 | Value Definition: | ||
657 | |||
658 | * **3**: The total rainfall after the sensor is powered on (for example Total rainfall: 166.5mm) | ||
659 | * **4**: Hourly rainfall: 0.2mm | ||
660 | * **5**: Rainfall in last hour: 0.2mm | ||
661 | * **6**: 24-hour maximum rainfall 10.0mm | ||
662 | * **8**: 24-hour minimum rainfall:0.0mm | ||
663 | * **10**: Rainfall in 24 hours: 8.0mm (Rainfall in the last 24 hours) | ||
664 | |||
665 | = 4. Power consumption and battery = | ||
666 | |||
667 | == 4.1 Total Power Consumption == | ||
668 | |||
669 | |||
670 | Dragino Weather Station serial products include the main process unit ( WSC1-L ) and various sensors. The total power consumption equal total power of all above units. The power consumption for main process unit WSC1-L is 18ma @ 12v. and the power consumption of each sensor can be found on the Sensors chapter. | ||
671 | |||
672 | |||
673 | == 4.2 Reduce power consumption == | ||
674 | |||
675 | |||
676 | The main process unit WSC1-L is set to LoRaWAN Class C by default. If user want to reduce the power consumption of this unit, user can set it to run in Class A. In Class A mode, WSC1-L will not be to get real-time downlink command from IoT Server. | ||
677 | |||
678 | |||
679 | == 4.3 Battery == | ||
680 | |||
681 | |||
682 | ((( | ||
683 | All sensors are only power by external power source. If external power source is off. All sensor won't work. | ||
684 | ))) | ||
685 | |||
686 | ((( | ||
687 | Main Process Unit WSC1-L is powered by both external power source and internal 1000mAh rechargeable battery. If external power source is off, WSC1-L still runs and can send periodically uplinks, but the sensors value will become invalid. External power source can recharge the 1000mAh rechargeable battery. | ||
688 | ))) | ||
689 | |||
690 | |||
691 | = 5. Main Process Unit WSC1-L = | ||
692 | |||
693 | == 5.1 Features == | ||
694 | |||
695 | |||
696 | * Wall Attachable. | ||
697 | * LoRaWAN v1.0.3 Class A protocol. | ||
698 | * RS485 / Modbus protocol | ||
699 | * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915 | ||
700 | * AT Commands to change parameters | ||
701 | * Remote configure parameters via LoRaWAN Downlink | ||
702 | * Firmware upgradable via program port | ||
703 | * Powered by external 12v battery | ||
704 | * Back up rechargeable 1000mAh battery | ||
705 | * IP Rating: IP65 | ||
706 | * Support default sensors or 3rd party RS485 sensors | ||
707 | |||
708 | == 5.2 Power Consumption == | ||
709 | |||
710 | |||
711 | WSC1-L (without external sensor): Idle: 4mA, Transmit: max 40mA | ||
712 | |||
713 | |||
714 | == 5.3 Storage & Operation Temperature == | ||
715 | |||
716 | |||
717 | -20°C to +60°C | ||
718 | |||
719 | |||
720 | == 5.4 Pin Mapping == | ||
721 | |||
722 | |||
723 | [[image:image-20240715175759-2.png]] | ||
724 | |||
725 | |||
726 | |||
727 | = 6. Water Qualit Sensors = | ||
728 | |||
729 | == 6.1 PH Sensor == | ||
730 | |||
731 | |||
732 | ((( | ||
733 | PH01 is a device for measuring the pH value (hydrogen ion concentration index, acidity and alkalinity) of a solution. | ||
734 | |||
735 | It adopts an integrated design, is lighter and simpler in structure, and is more convenient to use. The waterproof grade is IP68. | ||
736 | |||
737 | The reference electrode adopts a double salt bridge design, which has stronger anti-pollution ability. | ||
738 | |||
739 | This product is suitable for industrial sewage, domestic sewage, agriculture, aquaculture and other scenes in non-corrosive weak acid and weak alkali environments. | ||
740 | ))) | ||
741 | |||
742 | |||
743 | === 6.1.1 Feature === | ||
744 | |||
745 | |||
746 | * pH measurement range 0~~14pH, resolution 0.01pH. | ||
747 | * One-piece design, light and simple structure, easy to use. | ||
748 | * The reference adopts a double salt bridge design, which has stronger anti-pollution ability and waterproof grade IP68. | ||
749 | * The equipment adopts a wide voltage power supply DC 7~~30V. | ||
750 | |||
751 | === 6.1.2 Specification === | ||
752 | |||
753 | |||
754 | * Power supply: DC7~~30V | ||
755 | * Power consumption: ≤0.5W | ||
756 | * Communication interface: RS485; standard MODBUS-RTU protocol; communication baud rate: default 9600 | ||
757 | * pH measurement range: 0~~14.00pH; resolution: 0.01pH | ||
758 | * pH measurement error: ±0.15pH | ||
759 | * Repeatability error: ±0.02pH | ||
760 | * Equipment working conditions: Ambient temperature: 0-60℃ | ||
761 | * Waterproof grade: IP68 | ||
762 | * Pressure resistance: 0.6MPa | ||
763 | |||
764 | === 6.1.3 Dimension === | ||
765 | |||
766 | |||
767 | [[image:image-20240715181651-3.png||height="223" width="562"]] | ||
768 | |||
769 | |||
770 | === 6.1.4 Installation Notice === | ||
771 | |||
772 | |||
773 | ((( | ||
774 | Do not power on while connect the cables. Double check the wiring before power on. | ||
775 | ))) | ||
776 | |||
777 | ((( | ||
778 | Installation Photo as reference: | ||
779 | ))) | ||
780 | |||
781 | |||
782 | ((( | ||
783 | (% style="color:#4472c4" %)** Submerged installation:** | ||
784 | ))) | ||
785 | |||
786 | ((( | ||
787 | 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. | ||
788 | |||
789 | |||
790 | [[image:image-20240715181933-4.png||height="281" width="258"]] | ||
791 | ))) | ||
792 | |||
793 | |||
794 | ((( | ||
795 | (% style="color:#4472c4" %)** Pipeline installation:** | ||
796 | ))) | ||
797 | |||
798 | ((( | ||
799 | Connect the equipment to the pipeline through the 3/4 thread. | ||
800 | ))) | ||
801 | |||
802 | [[image:image-20240715182122-6.png||height="291" width="408"]] | ||
803 | |||
804 | |||
805 | (% style="color:#4472c4" %)**Sampling:** | ||
806 | |||
807 | 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. | ||
808 | |||
809 | |||
810 | (% style="color:#4472c4" %)**Measure the pH of the water sample:** | ||
811 | |||
812 | 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. | ||
813 | |||
814 | |||
815 | === 6.1.5 Maintenance === | ||
816 | |||
817 | |||
818 | * 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! | ||
819 | * 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. | ||
820 | * 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. | ||
821 | * 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. | ||
822 | * 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. | ||
823 | * The electrode should be cleaned with deionized water before and after measurement to ensure accuracy. | ||
824 | * 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. | ||
825 | * 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. | ||
826 | * ((( | ||
827 | 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. | ||
828 | ))) | ||
829 | |||
830 | === 6.1.6 Calibration === | ||
831 | |||
832 | |||
833 | This device uses three-point calibration, and three known PH standard solutions need to be prepared. | ||
834 | |||
835 | (% style="color:#4472c4" %)**The steps are as follows:** | ||
836 | |||
837 | (1) Wash the electrode in distilled water, and put it in 9.18 standard buffer solution. After the data stabilizes, enter the following calibration command, that is, 9.18 calibration is completed. (% style="color:#4472c4" %)**"AT+CALPH=9" downlink:0xFB 09**(%%) | ||
838 | |||
839 | |||
840 | (2) Wash the electrode in distilled water, and put it in 6.86 standard buffer solution. After the data stabilizes, enter the following calibration command, that is, 6.86 calibration is completed; (% style="color:#4472c4" %)**"AT+CALPH=6" downlink:0xFB 06**(%%) | ||
841 | |||
842 | |||
843 | (3) Wash the electrode in distilled water, and put it in 4.01 standard buffer solution. After the data stabilizes, enter the following calibration command, that is, 4.00 calibration is completed. (% style="color:#4472c4" %)**"AT+CALPH=4" downlink:0xFB 04**(%%) | ||
844 | |||
845 | |||
846 | |||
847 | |||
848 | == 6.2 EC Sensor == | ||
849 | |||
850 | |||
851 | EC K1/K10 is a device for measuring the conductivity of solutions. EC K1/K10 adopts an integrated design, which is lighter and simpler in structure and more convenient to use. | ||
852 | |||
853 | The waterproof grade is IP68. It can be widely used in continuous monitoring of the conductivity of aqueous solutions such as cross-section water quality, aquaculture, sewage treatment, environmental protection, pharmaceuticals, food and tap water. | ||
854 | |||
855 | ((( | ||
856 | |||
857 | ))) | ||
858 | |||
859 | === 6.2.1 Feature === | ||
860 | |||
861 | |||
862 | * Conductivity measurement range is 0-2000us/cm; 10~~20000us/cm. | ||
863 | * Integrated design, light and simple structure, easy to use. | ||
864 | * Waterproof grade IP68. | ||
865 | * With salinity and TDS conversion function. | ||
866 | * RS485 communication interface: MDDBUS RTU communication protocol can be easily connected to the computer for monitoring and communication. | ||
867 | * ModBus communication address can be set and baud rate can be modified. | ||
868 | * The device adopts wide voltage power supply, DC 7~~30V is available. | ||
869 | |||
870 | === 6.2.2 Specification === | ||
871 | |||
872 | |||
873 | * Power supply: DC7~~30V | ||
874 | * Power consumption: ≤0.5W | ||
875 | * Communication interface: RS485; standard MODBUS-RTU protocol; communication baud rate: default 9600 | ||
876 | * Conductivity measurement range: K=1: 1~~2000μs/cm; resolution: 1μs/cm K=10: 10~~20000μs/cm; resolution: 10μ | ||
877 | * Conductivity measurement error: ±1%FS | ||
878 | * Equipment working conditions: Ambient temperature: 0-60℃ | ||
879 | * Waterproof grade: IP68 | ||
880 | * Pressure resistance: 0.6MPa | ||
881 | |||
882 | === 6.2.3 Dimension === | ||
883 | |||
884 | |||
885 | [[image:image-20240715181651-3.png||height="223" width="562"]] | ||
886 | |||
887 | |||
888 | === 6.2.4 Installation Notice === | ||
889 | |||
890 | |||
891 | Selection of matching electrode constant | ||
892 | |||
893 | [[image:image-20240716104100-1.png||height="349" width="641"]] | ||
894 | |||
895 | |||
896 | (% style="color:#4472c4" %)**Electrode installation form** | ||
897 | |||
898 | A:Side wall installation | ||
899 | |||
900 | B:Top flange installation | ||
901 | |||
902 | C:Pipeline bend installation | ||
903 | |||
904 | D:Pipeline bend installation | ||
905 | |||
906 | E:Flow-through installation | ||
907 | |||
908 | F:Submerged installation | ||
909 | |||
910 | [[image:image-20240716104537-2.png||height="475" width="706"]] | ||
911 | |||
912 | (% style="color:#4472c4" %)**Several common installation methods of electrodes** | ||
913 | |||
914 | 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. | ||
915 | |||
916 | A. Several common incorrect installation methods | ||
917 | |||
918 | [[image:image-20240717103452-1.png||height="320" width="610"]] | ||
919 | |||
920 | 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. | ||
921 | |||
922 | |||
923 | [[image:image-20240716105124-4.png||height="326" width="569"]] | ||
924 | |||
925 | 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. | ||
926 | |||
927 | B. Correct installation method | ||
928 | |||
929 | [[image:image-20240716105318-5.png||height="330" width="594"]] | ||
930 | |||
931 | |||
932 | === 6.2.5 Maintenance === | ||
933 | |||
934 | |||
935 | * 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. | ||
936 | * 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. | ||
937 | * 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. | ||
938 | * 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.). | ||
939 | |||
940 | === 6.2.6 Calibration === | ||
941 | |||
942 | |||
943 | This device uses one-point calibration, and you need to prepare a known E standard solution. When the mileage K=1, 1~~2000 uses 1413uS/cm standard solution, and when the mileage K=10, 10~~20000 uses 12.88mS/cm standard solution. | ||
944 | |||
945 | (% style="color:#4472c4" %)**The steps are as follows:** | ||
946 | |||
947 | (1) Put the electrode in distilled water to clean it. When the mileage is 1~~2000, use 1413HS/cm standard solution.After the data is stable, enter the following calibration command | ||
948 | |||
949 | (% style="color:#4472c4" %)**"AT+CALEC=1" downlink:0xFD 01** | ||
950 | |||
951 | (2) Put the electrode in distilled water to clean it. When the range is 10~~20000, use 12.88mS/cm standard solution.After the data is stable, enter the following calibration command | ||
952 | |||
953 | (% style="color:#4472c4" %)**"AT+CALEC=10" downlink:0xFD 10** | ||
954 | |||
955 | |||
956 | == 6.3 ORP Sensor ~-~- == | ||
957 | |||
958 | |||
959 | ((( | ||
960 | ORP01 is a device for measuring the redox potential of a solution. It uses high-purity platinum to make an ORP composite electrode, which has strong acid and alkali resistance and antioxidant capacity, and has high measurement accuracy, fast response, and good stability. | ||
961 | |||
962 | The electrode can automatically compensate according to temperature. It is suitable for online monitoring of the redox potential of cyanide-containing and chromium-containing wastewater. | ||
963 | ))) | ||
964 | |||
965 | |||
966 | === 6.3.1 Feature === | ||
967 | |||
968 | |||
969 | * ORP measurement range -1999~~1999mV, resolution 1mV. | ||
970 | * Applicable electrode temperature 0~~80℃. | ||
971 | * The electrode is made of high-purity platinum, which has strong acid and alkali resistance and antioxidant capacity, high measurement accuracy, fast response and good stability. | ||
972 | * RS485 communication interface: ModBus-RTU communication protocol can be easily connected to the computer for monitoring and communication. | ||
973 | * ModBus communication address can be set and baud rate can be modified. | ||
974 | * The equipment adopts wide voltage power supply, DC 7~~30V | ||
975 | |||
976 | === 6.3.2 Specification === | ||
977 | |||
978 | |||
979 | * Measuring range: -1999~~1999mV | ||
980 | * Resolution: 1mV | ||
981 | * Output signal: RS485 | ||
982 | * Measurement error: ±3mV | ||
983 | * Stability: ≤2mv/24 hours | ||
984 | * Equipment working conditions: Ambient temperature: 0-60℃ Relative humidity: <85%RH | ||
985 | * Waterproof grade: IP68 | ||
986 | * Pressure resistance: 0.6MP | ||
987 | |||
988 | === 6.3.3 Dimension === | ||
989 | |||
990 | |||
991 | |||
992 | [[image:image-20240715181651-3.png||height="223" width="562"]] | ||
993 | |||
994 | === 6.3.4 Installation Notice === | ||
995 | |||
996 | |||
997 | ((( | ||
998 | (% id="cke_bm_321773S" style="display:none" %) (%%)Do not power on while connect the cables. Double check the wiring before power on. | ||
999 | ))) | ||
1000 | |||
1001 | ((( | ||
1002 | Installation Photo as reference: | ||
1003 | ))) | ||
1004 | |||
1005 | |||
1006 | ((( | ||
1007 | (% style="color:#4472c4" %)** Submerged installation:** | ||
1008 | ))) | ||
1009 | |||
1010 | ((( | ||
1011 | 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. | ||
1012 | |||
1013 | |||
1014 | [[image:image-20240715181933-4.png||height="281" width="258"]] | ||
1015 | ))) | ||
1016 | |||
1017 | |||
1018 | ((( | ||
1019 | (% style="color:#4472c4" %)** Pipeline installation:** | ||
1020 | ))) | ||
1021 | |||
1022 | ((( | ||
1023 | Connect the equipment to the pipeline through the 3/4 thread. | ||
1024 | ))) | ||
1025 | |||
1026 | [[image:image-20240715182122-6.png||height="291" width="408"]] | ||
1027 | |||
1028 | === 6.3.5 Maintenance === | ||
1029 | |||
1030 | |||
1031 | (1) 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. | ||
1032 | (2) In general, ORP electrodes do not need to be calibrated and can be used directly. When there is doubt about the quality and test results of the ORP electrode, the electrode potential can be checked with an ORP standard solution to determine whether the ORP electrode meets the measurement requirements, and the electrode can be recalibrated or replaced with a new ORP electrode. The frequency of calibration or inspection of the measuring electrode depends on different application conditions (the degree of dirt in the application, the deposition of chemical substances, etc.). | ||
1033 | (3) There is an appropriate soaking solution in the protective bottle at the front end of the electrode, and the electrode head is soaked in it to ensure the activation of the platinum sheet and the liquid junction. When measuring, loosen the bottle cap, pull out the electrode, and rinse it with pure water before use. | ||
1034 | (4) Preparation of electrode soaking solution: Take 25 grams of analytical pure potassium chloride and dissolve it in 100 ml of pure water to prepare a 3.3M potassium chloride solution. | ||
1035 | (5) Before measuring, 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. | ||
1036 | (6) The electrode should be cleaned with deionized water before and after the measurement to ensure the measurement accuracy. | ||
1037 | (7) After long-term use, the ORP electrode will be passivated, which is manifested as a decrease in sensitivity gradient, slow response, and inaccurate readings. At this time, the platinum sheet 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 to restore its performance. | ||
1038 | (8) Electrode 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. If the platinum of the electrode is severely contaminated and an oxide film is formed, toothpaste can be applied to the platinum surface and then gently scrubbed to restore the platinum's luster. | ||
1039 | (9) The equipment should be calibrated before each use. It is recommended to calibrate once 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.). After aging, the electrodes should be replaced in time. | ||
1040 | |||
1041 | |||
1042 | === 6.3.6 Calibration === | ||
1043 | |||
1044 | |||
1045 | OPR01 uses two-point calibration. You need to prepare two known ORP standard solutions. | ||
1046 | |||
1047 | (% style="color:#4472c4" %)**The steps are as follows:**(%%) | ||
1048 | (1) Put the electrode in distilled water to clean it, put it in 86mV standard buffer, wait for the data to stabilize, enter the following calibration command, and the 86mV point calibration is completed. | ||
1049 | |||
1050 | (% style="color:#4472c4" %)**"AT+CALORP=86" downlink:0xFD 00 56**(%%) | ||
1051 | (2) Put the electrode in distilled water to clean it, put it in 256mV standard buffer, wait for the data to stabilize, enter the following calibration command, and the 256mV point calibration is completed. | ||
1052 | |||
1053 | (% style="color:#4472c4" %)**"AT+CALORP=256" downlink:0xFD 01 00** | ||
1054 | |||
1055 | |||
1056 | == 6.4 dissolved oxygen Sensor == | ||
1057 | |||
1058 | |||
1059 | ((( | ||
1060 | The fluorescence dissolved oxygen sensor is a newly developed online digital sensor, using imported components and advanced production technology and surface mounting technology. | ||
1061 | |||
1062 | It has an IP68 waterproof rating, and the cable is seawater-proof. It can be directly put into the water without a protective tube, ensuring the long-term stability, reliability and accuracy of the sensor. | ||
1063 | |||
1064 | The fluorescence dissolved oxygen sensor is based on the principle of quenching active fluorescence by specific substances in physics. | ||
1065 | |||
1066 | The blue light from a light-emitting diode (LED) shines on the fluorescent material on the inner surface of the fluorescent cap. | ||
1067 | |||
1068 | The fluorescent material on the inner surface is excited and emits red light. | ||
1069 | |||
1070 | By detecting the phase difference between the red light and the blue light and comparing it with the internal calibration value, the concentration of oxygen molecules is calculated, and the final value is automatically compensated for temperature and air pressure. | ||
1071 | ))) | ||
1072 | |||
1073 | |||
1074 | === 6.4.1 Feature === | ||
1075 | |||
1076 | |||
1077 | * Small size, low power consumption, easy to carry. | ||
1078 | * Truly achieve low cost, low price, high performance. | ||
1079 | * High integration, long life, high reliability. | ||
1080 | * Up to four isolations, can resist complex interference conditions on site, waterproof level IP68. | ||
1081 | * The electrode uses high-quality low-noise cable, which can make the signal output length reach more than 20 meters. | ||
1082 | |||
1083 | === 6.4.2 Specification === | ||
1084 | |||
1085 | |||
1086 | * Measuring range: 0-20mg/L, 0-50℃ | ||
1087 | * Accuracy: 3%, ±0.5℃ | ||
1088 | * Resolution: 0.01 mg/L, 0.01℃ | ||
1089 | * Maximum operating pressure: 6 bar | ||
1090 | * Output signal: A: 4-20mA (current loop) | ||
1091 | * B: RS485 (standard Modbus-RTU protocol, device default address: 01) | ||
1092 | * Power supply voltage: 5-24V DC | ||
1093 | * Working environment: temperature 0-60℃; humidity <95%RH | ||
1094 | * Power consumption: ≤0.5W | ||
1095 | |||
1096 | === 6.4.3 Dimension === | ||
1097 | |||
1098 | |||
1099 | [[image:image-20240717105043-2.png||height="232" width="515"]] | ||
1100 | |||
1101 | === 6.4.4 Instructions for use and maintenance === | ||
1102 | |||
1103 | |||
1104 | * Sampling: Take representative water samples according to the sampling requirements. | ||
1105 | * Determine dissolved oxygen in water samples: First rinse the electrode three times with distilled water, then rinse it three times 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 dissolved oxygen when the reading is stable. | ||
1106 | * If it is inconvenient to take samples, you can also put the electrode in the measured solution, wait for the measured data to stabilize, read the output data, and take out the electrode after a period of time. Clean it. | ||
1107 | * After the sample measurement is completed, rinse the electrode three times with distilled water and put the electrode back in the protective solution upright. | ||
1108 | |||
1109 | Note: When measuring multiple samples, the electrode should be cleaned before measuring the next sample to avoid affecting the experimental data. | ||
1110 | |||
1111 | If the water conditions are complex and you want accurate data, you need to wipe the sensor probe frequently. | ||
1112 | |||
1113 | |||
1114 | === 6.4.5 Precautions === | ||
1115 | |||
1116 | |||
1117 | * To ensure that the electrode measures correctly on the pipeline, avoid bubbles between the measuring cells that may cause data inaccuracy. | ||
1118 | * Please check whether the packaging is intact and whether the product model is consistent with the selected model. | ||
1119 | * Do not connect the wires with power on. After the wiring is completed and checked, power can be turned on. | ||
1120 | * Do not arbitrarily change the components or wires that have been welded at the factory when using the product. | ||
1121 | * The sensor is a precision device. When using it, please do not disassemble it by yourself or contact the sensor surface with sharp objects or corrosive liquids to avoid damaging the product. | ||
1122 | |||
1123 | == 6.5 turbidity Sensor == | ||
1124 | |||
1125 | |||
1126 | ((( | ||
1127 | The turbidity sensor is a newly developed online digital turbidity sensor, using imported components and advanced production technology and surface mounting technology. | ||
1128 | |||
1129 | It has an IP68 waterproof rating, and the cable is seawater-proof.It can be directly put into the water without a protective tube, ensuring the long-term stability, reliability and accuracy of the sensor. This sensor probe uses a scattered light turbidity measurement method. | ||
1130 | |||
1131 | Since the turbidity in the water sample causes light to scatter, the intensity of the scattered light in the direction perpendicular to the incident light is measured and compared with the internal calibration value to calculate the turbidity in the water sample. | ||
1132 | |||
1133 | The ambient light interference is eliminated by infrared light and filters. After linearization processing, the output signal is stable and accurate. | ||
1134 | ))) | ||
1135 | |||
1136 | |||
1137 | === 6.5.1 Feature === | ||
1138 | |||
1139 | |||
1140 | * RS485 Temperature, Humidity, Illuminance, Pressure sensor | ||
1141 | * Axial capacitor filtering is used internally, and 100MΩ resistor increases impedance and enhances stability. | ||
1142 | * Small size, low power consumption, and easy to carry. | ||
1143 | * Truly achieve low cost, low price, and high performance. | ||
1144 | * High integration, long life, and high reliability. | ||
1145 | * Up to four isolations can resist complex interference conditions on site, and the waterproof level is IP68. | ||
1146 | * The electrode uses high-quality low-noise cable, which can make the signal output length reach more than 20 meters | ||
1147 | |||
1148 | === 6.5.2 Specification === | ||
1149 | |||
1150 | |||
1151 | * Measuring range: 0.1~1000.0NTU | ||
1152 | * Accuracy: ±5% | ||
1153 | * Resolution: 0.1NTU | ||
1154 | * Stability: ≤3mV/24 hours | ||
1155 | * Output signal: A: 4~20 mA (current loop)B: RS485 (standard Modbus-RTU protocol, device default address: 15) | ||
1156 | * Power supply voltage: 5~24V DC (when the output signal is RS485) | ||
1157 | * 12~24V DC (when the output signal is 4~20mA) | ||
1158 | * Working environment: temperature 0~60℃; humidity ≤95%RH | ||
1159 | * Power consumption: ≤0.5W | ||
1160 | |||
1161 | === 6.5.3 Dimension === | ||
1162 | |||
1163 | |||
1164 | [[image:image-20240717112849-3.png||height="285" width="582"]] | ||
1165 | |||
1166 | |||
1167 | === 6.5.4 Instructions for use and maintenance === | ||
1168 | |||
1169 | |||
1170 | * It can be directly put into water without adding a protective tube, ensuring the long-term stability, reliability and accuracy of the sensor. | ||
1171 | * If the water conditions are complex and you want accurate data, you need to wipe the sensor probe frequently. | ||
1172 | |||
1173 | === 6.5.5 Calibration === | ||
1174 | |||
1175 | For turbidity calibration, you only need to prepare a solution. You can choose 0NTU, 200NTU, 400NTU, 600NTU, 800NTU, 1000NTU, and then enter the corresponding calibration command. | ||
1176 | |||
1177 | (% style="color:#4472c4" %)**"AT+CALNTU=0" downlink:0xFE 00 **(%%)0NTU turbidity solution | ||
1178 | |||
1179 | (% style="color:#4472c4" %)**"AT+CALNTU=2" downlink:0xFE 02 **(%%)200NTU turbidity solution | ||
1180 | |||
1181 | (% style="color:#4472c4" %)**"AT+CALNTU=4" downlink:0xFE 04 **(%%)400NTU turbidity solution | ||
1182 | |||
1183 | (% style="color:#4472c4" %)**"AT+CALNTU=6" downlink:0xFE 06 **(%%)600NTU turbidity solution | ||
1184 | |||
1185 | (% style="color:#4472c4" %)**"AT+CALNTU=8" downlink:0xFE 08 **(%%)800NTU turbidity solution | ||
1186 | |||
1187 | (% style="color:#4472c4" %)**"AT+CALNTU=10" downlink:0xFE 0A **(%%)1000NTU turbidity solution | ||
1188 | |||
1189 | |||
1190 | |||
1191 | |||
1192 | === 6.5.6 Precautions === | ||
1193 | |||
1194 | * To ensure that the electrode measures correctly on the pipeline, avoid bubbles between the measuring cells that may cause data inaccuracy. | ||
1195 | * Please check whether the packaging is intact and whether the product model is consistent with the selected model. | ||
1196 | * Do not connect the wires with power on. After the wiring is completed and checked, power can be turned on. | ||
1197 | * Do not arbitrarily change the components or wires that have been welded at the factory when using the product. | ||
1198 | * The sensor is a precision device. When using it, please do not disassemble it by yourself or contact the sensor surface with sharp objects or corrosive liquids to avoid damaging the product. | ||
1199 | * Do not power on while connect the cables. Double check the wiring before power on | ||
1200 | |||
1201 | = 7. FAQ = | ||
1202 | |||
1203 | |||
1204 | |||
1205 | = 8. Order Info = | ||
1206 | |||
1207 | == 8.1 Main Process Unit == | ||
1208 | |||
1209 | |||
1210 | Part Number: (% style="color:blue" %)**WSC1-L-XX** | ||
1211 | |||
1212 | (% style="color:blue" %)**XX**(%%): The default frequency band | ||
1213 | |||
1214 | * (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band | ||
1215 | * (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band | ||
1216 | * (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band | ||
1217 | * (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band | ||
1218 | * (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band | ||
1219 | * (% style="color:red" %)**US915**(%%): LoRaWAN US915 band | ||
1220 | * (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band | ||
1221 | * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band | ||
1222 | |||
1223 | == 8.2 Sensors == | ||
1224 | |||
1225 | |||
1226 | (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) | ||
1227 | |=(% style="width: 300px;background-color:#4F81BD;color:white" %)**Sensor Model**|=(% style="width: 200px;background-color:#4F81BD;color:white" %)**Part Number** | ||
1228 | |(% style="width:462px" %)PH Sensor|(% style="width:120px" %)DR-PH01 | ||
1229 | |(% style="width:462px" %)EC K1 Sensor|(% style="width:120px" %)DR-ECK1 | ||
1230 | |(% style="width:462px" %)EC K10 Sensor|(% style="width:120px" %)DR-ECK10 | ||
1231 | |(% style="width:462px" %)ORP Sensor|(% style="width:120px" %)DR-ORP1 | ||
1232 | |(% style="width:462px" %)Dissolved Oxygen Sensor|(% style="width:120px" %)DR-DO1 | ||
1233 | |(% style="width:462px" %)Turbidity Sensor|(% style="width:120px" %)DR-TS1 | ||
1234 | |||
1235 | = 9. Support = | ||
1236 | |||
1237 | |||
1238 | * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. | ||
1239 | |||
1240 | * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]. |