<
From version < 90.1 >
edited by Xiaoling
on 2022/07/06 15:49
To version < 91.13 >
edited by Xiaoling
on 2022/08/22 09:00
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -40,10 +40,13 @@
40 40  
41 41  = 2. How to use =
42 42  
43 +
43 43  == 2.1 Installation ==
44 44  
46 +
45 45  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"]] 
46 46  
49 +
47 47  [[image:1656041948552-849.png]]
48 48  
49 49  
... ... @@ -58,6 +58,7 @@
58 58  
59 59  WSC1-L is shipped with a RS485 converter board, for the easy connection to different sensors and WSC1-L. Below is a connection photo:
60 60  
64 +
61 61  [[image:1656042136605-251.png]]
62 62  
63 63  
... ... @@ -65,8 +65,10 @@
65 65  
66 66  * All weather sensors and WSC1-L are powered by MPPT solar recharge controller. MPPT is connected to solar panel and storage battery.
67 67  * WSC1-L has an extra 1000mAh back up battery. So it can work even solar panel and storage battery Fails.
68 -* Weather sensors wont work if solar panel and storage battery fails.
72 +* Weather sensors won't work if solar panel and storage battery fails.
69 69  
74 +
75 +
70 70  (% style="color:red" %)**Notice 2:**
71 71  
72 72  Due to shipment and importation limitation, user is better to purchase below parts locally:
... ... @@ -74,7 +74,7 @@
74 74  * Solar Panel
75 75  * Storage Battery
76 76  * MPPT Solar Recharger
77 -* Mounting Kit includes pole and mast assembly. Each weather sensor has its own mounting assembly, user can check the sensor section in this manual.
83 +* Mounting Kit includes pole and mast assembly. Each weather sensor has it's own mounting assembly, user can check the sensor section in this manual.
78 78  * Cabinet.
79 79  
80 80  
... ... @@ -82,6 +82,7 @@
82 82  
83 83  == 2.2 How it works? ==
84 84  
91 +
85 85  (((
86 86  Each WSC1-L is shipped with a worldwide unique set of OTAA keys. To use WSC1-L in a LoRaWAN network, user needs to input the OTAA keys in LoRaWAN network server. After finish installation as above. Create WSC1-L in your LoRaWAN server and Power on WSC1-L , it can join the LoRaWAN network and start to transmit sensor data. The default period for each uplink is 20 minutes.
87 87  )))
... ... @@ -97,7 +97,7 @@
97 97  (% style="color:red" %)**Notice:**
98 98  
99 99  1. WSC1-L will auto scan available weather sensors when power on or reboot.
100 -1. User can send a downlink command to WSC1-L to do a re-scan on the available sensors.
107 +1. User can send a [[downlink command>>||anchor="H3.ConfigureWSC1-LviaATCommandorLoRaWANDownlink"]] to WSC1-L to do a re-scan on the available sensors.
101 101  
102 102  
103 103  
... ... @@ -104,6 +104,7 @@
104 104  
105 105  == 2.3 Example to use for LoRaWAN network ==
106 106  
114 +
107 107  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.
108 108  
109 109  
... ... @@ -155,6 +155,7 @@
155 155  
156 156  == 2.4 Uplink Payload ==
157 157  
166 +
158 158  Uplink payloads include two types: Valid Sensor Value and other status / control command.
159 159  
160 160  * Valid Sensor Value: Use FPORT=2
... ... @@ -165,11 +165,12 @@
165 165  
166 166  === 2.4.1 Uplink FPORT~=5, Device Status ===
167 167  
177 +
168 168  Uplink the device configures with FPORT=5. Once WSC1-L Joined the network, it will uplink this message to the server. After first uplink, WSC1-L will uplink Device Status every 12 hours
169 169  
170 170  
171 171  (((
172 -User can also use downlink command(0x2301) to ask WSC1-L to resend this uplink
182 +User can also use downlink command**(0x2301)** to ask WSC1-L to resend this uplink
173 173  )))
174 174  
175 175  (% border="1" cellspacing="8" style="background-color:#ffffcc; color:green; width:500px" %)
... ... @@ -185,6 +185,7 @@
185 185  
186 186  ==== (% style="color:#037691" %)**Sensor Model:**(%%) ====
187 187  
198 +
188 188  For WSC1-L, this value is 0x0D.
189 189  
190 190  
... ... @@ -191,6 +191,7 @@
191 191  
192 192  ==== (% style="color:#037691" %)**Firmware Version:**(%%) ====
193 193  
205 +
194 194  0x0100, Means: v1.0.0 version.
195 195  
196 196  
... ... @@ -197,6 +197,7 @@
197 197  
198 198  ==== (% style="color:#037691" %)**Frequency Band:**(%%) ====
199 199  
212 +
200 200  *0x01: EU868
201 201  
202 202  *0x02: US915
... ... @@ -221,6 +221,7 @@
221 221  
222 222  ==== (% style="color:#037691" %)**Sub-Band:**(%%) ====
223 223  
237 +
224 224  value 0x00 ~~ 0x08(only for CN470, AU915,US915. Others are0x00)
225 225  
226 226  
... ... @@ -227,6 +227,7 @@
227 227  
228 228  ==== (% style="color:#037691" %)**BAT:**(%%) ====
229 229  
244 +
230 230  (((
231 231  shows the battery voltage for WSC1-L MCU.
232 232  )))
... ... @@ -239,6 +239,7 @@
239 239  
240 240  ==== (% style="color:#037691" %)**Weather Sensor Types:**(%%) ====
241 241  
257 +
242 242  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:100px" %)
243 243  |Byte3|Byte2|Byte1
244 244  
... ... @@ -272,6 +272,7 @@
272 272  
273 273  === 2.4.2 Uplink FPORT~=2, Real time sensor value ===
274 274  
291 +
275 275  (((
276 276  WSC1-L 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"]].
277 277  )))
... ... @@ -351,6 +351,7 @@
351 351  
352 352  === 2.4.3 Decoder in TTN V3 ===
353 353  
371 +
354 354  (((
355 355  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.
356 356  )))
... ... @@ -360,15 +360,17 @@
360 360  )))
361 361  
362 362  (((
363 -Download decoder for suitable platform from:
381 +Download decoder for suitable platform from: [[https:~~/~~/www.dropbox.com/sh/fuorz31grv8i3r1/AABmjFDU4FADNP6sq7fsmBwVa?dl=0>>https://www.dropbox.com/sh/fuorz31grv8i3r1/AABmjFDU4FADNP6sq7fsmBwVa?dl=0]]
364 364  )))
365 365  
366 366  (((
367 -[[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/WSC1-L/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Weather_Station/WSC1-L/]]
385 +
368 368  )))
369 369  
370 370  (((
371 371  and put as below:
390 +
391 +
372 372  )))
373 373  
374 374  [[image:1656051152438-578.png]]
... ... @@ -377,6 +377,7 @@
377 377  
378 378  == 2.5 Show data on Application Server ==
379 379  
400 +
380 380  (((
381 381  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:
382 382  )))
... ... @@ -396,18 +396,22 @@
396 396  [[image:1656051197172-131.png]]
397 397  
398 398  
420 +
399 399  **Add TagoIO:**
400 400  
401 401  [[image:1656051223585-631.png]]
402 402  
403 403  
426 +
404 404  **Authorization:**
405 405  
406 406  [[image:1656051248318-368.png]]
407 407  
408 408  
432 +
409 409  In TagoIO console ([[https:~~/~~/admin.tago.io~~/~~/>>url:https://datacake.co/]]) , add WSC1-L:
410 410  
435 +
411 411  [[image:1656051277767-168.png]]
412 412  
413 413  
... ... @@ -414,6 +414,7 @@
414 414  
415 415  = 3. Configure WSC1-L via AT Command or LoRaWAN Downlink =
416 416  
442 +
417 417  Use can configure WSC1-L via AT Command or LoRaWAN Downlink.
418 418  
419 419  * AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]].
... ... @@ -430,7 +430,7 @@
430 430  
431 431  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]]
432 432  
433 -(% style="color:red" %)Note~*~*: Please check early user manual if you don’t have v1.8.0 firmware.
459 +(% style="color:red" %)**Note~*~*: Please check early user manual if you don’t have v1.8.0 firmware. **
434 434  
435 435  
436 436  * (% style="color:#4472c4" %)**Commands special design for WSC1-L**
... ... @@ -441,6 +441,7 @@
441 441  
442 442  == 3.1 Set Transmit Interval Time ==
443 443  
470 +
444 444  Feature: Change LoRaWAN End Node Transmit Interval.
445 445  
446 446  (% style="color:#037691" %)**AT Command: AT+TDC**
... ... @@ -459,8 +459,10 @@
459 459  
460 460  
461 461  
489 +
462 462  == 3.2 Set Emergency Mode ==
463 463  
492 +
464 464  Feature: In emergency mode, WSC1-L will uplink data every 1 minute.
465 465  
466 466  (% style="color:#037691" %)**AT Command:**
... ... @@ -475,8 +475,10 @@
475 475  
476 476  
477 477  
507 +
478 478  == 3.3 Add or Delete RS485 Sensor ==
479 479  
510 +
480 480  (((
481 481  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.
482 482  )))
... ... @@ -542,6 +542,8 @@
542 542  * has_CRC: 1
543 543  * timeout: 1500 (Fill in the test according to the actual situation)
544 544  
576 +
577 +
545 545  **So the input command is:**
546 546  
547 547  AT+DYSENSOR=A1,8,A103000000019CAA,8,24,1,1500
... ... @@ -572,8 +572,10 @@
572 572  
573 573  
574 574  
608 +
575 575  == 3.4 RS485 Test Command ==
576 576  
611 +
577 577  (% style="color:#037691" %)**AT Command:**
578 578  
579 579  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:474px" %)
... ... @@ -599,8 +599,10 @@
599 599  
600 600  
601 601  
637 +
602 602  == 3.5 RS485 response timeout ==
603 603  
640 +
604 604  Feature: Set or get extended time to receive 485 sensor data.
605 605  
606 606  (% style="color:#037691" %)**AT Command:**
... ... @@ -628,8 +628,10 @@
628 628  
629 629  
630 630  
668 +
631 631  == 3.6 Set Sensor Type ==
632 632  
671 +
633 633  (((
634 634  Feature: Set sensor in used. If there are 6 sensors, user can set to only send 5 sensors values.
635 635  )))
... ... @@ -647,6 +647,7 @@
647 647  |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 130px;" %)**Function**|=(% style="width: 87px;" %)**Response**
648 648  |(% style="width:157px" %)AT+STYPE=80221|(% style="width:130px" %)Set sensor types|(% style="width:87px" %)OK
649 649  
689 +
650 650  Eg: The setting command **AT+STYPE=802212** means:
651 651  
652 652  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:495px" %)
... ... @@ -664,6 +664,8 @@
664 664  
665 665  * 0xE400802212     Same as: AT+STYPE=80221
666 666  
707 +
708 +
667 667  (% style="color:red" %)**Note:**
668 668  
669 669  ~1. The sensor type will not be saved to flash, and the value will be updated every time the sensor is restarted or rescanned.
... ... @@ -784,6 +784,7 @@
784 784  
785 785  * Resolution: 0.2mm
786 786  * Accuracy: ±3%
829 +* Range: 0 ~~ 100mm
787 787  * Rainfall strength: 0mm~4mm/min (max 8mm/min)
788 788  * Input Power: DC 5~~24v
789 789  * Interface: RS485
... ... @@ -956,6 +956,7 @@
956 956  [[image:1656056708366-230.png]]
957 957  
958 958  
1002 +
959 959  === 6.3.4 Pin Mapping ===
960 960  
961 961  [[image:1656056722648-743.png]]
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0