<
From version < 85.8 >
edited by Xiaoling
on 2022/06/25 09:12
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
Title
... ... @@ -1,1 +1,1 @@
1 -Dragino LoRaWAN Weather Station User Manual
1 +WSC1-L-Dragino LoRaWAN Weather Station User Manual
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,11 +74,15 @@
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  
86 +
87 +
88 +
80 80  == 2.2 How it works? ==
81 81  
91 +
82 82  (((
83 83  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.
84 84  )))
... ... @@ -94,10 +94,14 @@
94 94  (% style="color:red" %)**Notice:**
95 95  
96 96  1. WSC1-L will auto scan available weather sensors when power on or reboot.
97 -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.
98 98  
109 +
110 +
111 +
99 99  == 2.3 Example to use for LoRaWAN network ==
100 100  
114 +
101 101  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.
102 102  
103 103  
... ... @@ -149,18 +149,23 @@
149 149  
150 150  == 2.4 Uplink Payload ==
151 151  
166 +
152 152  Uplink payloads include two types: Valid Sensor Value and other status / control command.
153 153  
154 154  * Valid Sensor Value: Use FPORT=2
155 155  * Other control command: Use FPORT other than 2.
156 156  
172 +
173 +
174 +
157 157  === 2.4.1 Uplink FPORT~=5, Device Status ===
158 158  
177 +
159 159  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
160 160  
161 161  
162 162  (((
163 -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
164 164  )))
165 165  
166 166  (% border="1" cellspacing="8" style="background-color:#ffffcc; color:green; width:500px" %)
... ... @@ -176,6 +176,7 @@
176 176  
177 177  ==== (% style="color:#037691" %)**Sensor Model:**(%%) ====
178 178  
198 +
179 179  For WSC1-L, this value is 0x0D.
180 180  
181 181  
... ... @@ -182,6 +182,7 @@
182 182  
183 183  ==== (% style="color:#037691" %)**Firmware Version:**(%%) ====
184 184  
205 +
185 185  0x0100, Means: v1.0.0 version.
186 186  
187 187  
... ... @@ -188,6 +188,7 @@
188 188  
189 189  ==== (% style="color:#037691" %)**Frequency Band:**(%%) ====
190 190  
212 +
191 191  *0x01: EU868
192 192  
193 193  *0x02: US915
... ... @@ -212,6 +212,7 @@
212 212  
213 213  ==== (% style="color:#037691" %)**Sub-Band:**(%%) ====
214 214  
237 +
215 215  value 0x00 ~~ 0x08(only for CN470, AU915,US915. Others are0x00)
216 216  
217 217  
... ... @@ -218,6 +218,7 @@
218 218  
219 219  ==== (% style="color:#037691" %)**BAT:**(%%) ====
220 220  
244 +
221 221  (((
222 222  shows the battery voltage for WSC1-L MCU.
223 223  )))
... ... @@ -230,6 +230,7 @@
230 230  
231 231  ==== (% style="color:#037691" %)**Weather Sensor Types:**(%%) ====
232 232  
257 +
233 233  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:100px" %)
234 234  |Byte3|Byte2|Byte1
235 235  
... ... @@ -263,6 +263,7 @@
263 263  
264 264  === 2.4.2 Uplink FPORT~=2, Real time sensor value ===
265 265  
291 +
266 266  (((
267 267  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"]].
268 268  )))
... ... @@ -289,7 +289,7 @@
289 289  
290 290  (% style="color:#4472c4" %)**Sensor Type Table:**
291 291  
292 -[[image:image-20220624140352-2.png]]
318 +[[image:image-20220706154434-1.png]]
293 293  
294 294  
295 295  (((
... ... @@ -340,9 +340,9 @@
340 340  
341 341  
342 342  
343 -
344 344  === 2.4.3 Decoder in TTN V3 ===
345 345  
371 +
346 346  (((
347 347  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.
348 348  )))
... ... @@ -352,15 +352,17 @@
352 352  )))
353 353  
354 354  (((
355 -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]]
356 356  )))
357 357  
358 358  (((
359 -[[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 +
360 360  )))
361 361  
362 362  (((
363 363  and put as below:
390 +
391 +
364 364  )))
365 365  
366 366  [[image:1656051152438-578.png]]
... ... @@ -369,6 +369,7 @@
369 369  
370 370  == 2.5 Show data on Application Server ==
371 371  
400 +
372 372  (((
373 373  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:
374 374  )))
... ... @@ -388,18 +388,22 @@
388 388  [[image:1656051197172-131.png]]
389 389  
390 390  
420 +
391 391  **Add TagoIO:**
392 392  
393 393  [[image:1656051223585-631.png]]
394 394  
395 395  
426 +
396 396  **Authorization:**
397 397  
398 398  [[image:1656051248318-368.png]]
399 399  
400 400  
432 +
401 401  In TagoIO console ([[https:~~/~~/admin.tago.io~~/~~/>>url:https://datacake.co/]]) , add WSC1-L:
402 402  
435 +
403 403  [[image:1656051277767-168.png]]
404 404  
405 405  
... ... @@ -406,6 +406,7 @@
406 406  
407 407  = 3. Configure WSC1-L via AT Command or LoRaWAN Downlink =
408 408  
442 +
409 409  Use can configure WSC1-L via AT Command or LoRaWAN Downlink.
410 410  
411 411  * AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]].
... ... @@ -422,7 +422,7 @@
422 422  
423 423  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]]
424 424  
425 -(% 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. **
426 426  
427 427  
428 428  * (% style="color:#4472c4" %)**Commands special design for WSC1-L**
... ... @@ -433,6 +433,7 @@
433 433  
434 434  == 3.1 Set Transmit Interval Time ==
435 435  
470 +
436 436  Feature: Change LoRaWAN End Node Transmit Interval.
437 437  
438 438  (% style="color:#037691" %)**AT Command: AT+TDC**
... ... @@ -452,10 +452,9 @@
452 452  
453 453  
454 454  
455 -
456 -
457 457  == 3.2 Set Emergency Mode ==
458 458  
492 +
459 459  Feature: In emergency mode, WSC1-L will uplink data every 1 minute.
460 460  
461 461  (% style="color:#037691" %)**AT Command:**
... ... @@ -471,10 +471,9 @@
471 471  
472 472  
473 473  
474 -
475 -
476 476  == 3.3 Add or Delete RS485 Sensor ==
477 477  
510 +
478 478  (((
479 479  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.
480 480  )))
... ... @@ -541,6 +541,7 @@
541 541  * timeout: 1500 (Fill in the test according to the actual situation)
542 542  
543 543  
577 +
544 544  **So the input command is:**
545 545  
546 546  AT+DYSENSOR=A1,8,A103000000019CAA,8,24,1,1500
... ... @@ -572,18 +572,21 @@
572 572  
573 573  
574 574  
575 -
576 -
577 577  == 3.4 RS485 Test Command ==
578 578  
611 +
579 579  (% style="color:#037691" %)**AT Command:**
580 580  
581 581  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:474px" %)
582 582  |=(% style="width: 159px;" %)**Command Example**|=(% style="width: 227px;" %)**Function**|=(% style="width: 85px;" %)**Response**
583 583  |(% style="width:159px" %)AT+RSWRITE=xxxxxx|(% style="width:227px" %)(((
617 +(((
584 584  Send command to 485 sensor
619 +)))
585 585  
621 +(((
586 586  Range : no more than 10 bytes
623 +)))
587 587  )))|(% style="width:85px" %)OK
588 588  
589 589  Eg: Send command **01 03 00 00 00 01 84 0A** to 485 sensor
... ... @@ -598,10 +598,9 @@
598 598  
599 599  
600 600  
601 -
602 -
603 603  == 3.5 RS485 response timeout ==
604 604  
640 +
605 605  Feature: Set or get extended time to receive 485 sensor data.
606 606  
607 607  (% style="color:#037691" %)**AT Command:**
... ... @@ -609,9 +609,13 @@
609 609  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:433px" %)
610 610  |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 188px;" %)**Function**|=(% style="width: 85px;" %)**Response**
611 611  |(% style="width:157px" %)AT+DTR=1000|(% style="width:188px" %)(((
648 +(((
612 612  Set response timeout to:
650 +)))
613 613  
652 +(((
614 614  Range : 0~~10000
654 +)))
615 615  )))|(% style="width:85px" %)OK
616 616  
617 617  (% style="color:#037691" %)**Downlink Command:**
... ... @@ -626,10 +626,9 @@
626 626  
627 627  
628 628  
629 -
630 -
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.
... ... @@ -670,7 +670,6 @@
670 670  
671 671  
672 672  
673 -
674 674  = 4. Power consumption and battery =
675 675  
676 676  == 4.1 Total Power Consumption ==
... ... @@ -712,9 +712,6 @@
712 712  
713 713  
714 714  
715 -
716 -
717 -
718 718  == 5.2 Power Consumption ==
719 719  
720 720  WSC1-L (without external sensor): Idle: 4mA, Transmit: max 40mA
... ... @@ -784,13 +784,11 @@
784 784  
785 785  
786 786  
787 -
788 -
789 -
790 790  === 6.1.2 Specification ===
791 791  
792 792  * Resolution: 0.2mm
793 793  * Accuracy: ±3%
829 +* Range: 0 ~~ 100mm
794 794  * Rainfall strength: 0mm~4mm/min (max 8mm/min)
795 795  * Input Power: DC 5~~24v
796 796  * Interface: RS485
... ... @@ -800,9 +800,6 @@
800 800  
801 801  
802 802  
803 -
804 -
805 -
806 806  === 6.1.3 Dimension ===
807 807  
808 808   [[image:1656054957406-980.png]]
... ... @@ -875,9 +875,6 @@
875 875  
876 876  
877 877  
878 -
879 -
880 -
881 881  === 6.2.2 Specification ===
882 882  
883 883  * Wind speed range: 0 ~~ 30m/s, (always show 30m/s for higher speed)
... ... @@ -893,9 +893,6 @@
893 893  
894 894  
895 895  
896 -
897 -
898 -
899 899  === 6.2.3 Dimension ===
900 900  
901 901  [[image:image-20220624152813-2.png]]
... ... @@ -948,9 +948,6 @@
948 948  
949 949  
950 950  
951 -
952 -
953 -
954 954  === 6.3.2 Specification ===
955 955  
956 956  * CO2 Range: 0~5000ppm, accuracy: ±3%F•S(25℃)
... ... @@ -970,14 +970,12 @@
970 970  
971 971  
972 972  
973 -
974 -
975 -
976 976  === 6.3.3 Dimension ===
977 977  
978 978  [[image:1656056708366-230.png]]
979 979  
980 980  
1002 +
981 981  === 6.3.4 Pin Mapping ===
982 982  
983 983  [[image:1656056722648-743.png]]
... ... @@ -1017,9 +1017,6 @@
1017 1017  
1018 1018  
1019 1019  
1020 -
1021 -
1022 -
1023 1023  === 6.4.2 Specification ===
1024 1024  
1025 1025  * Detect if there is rain or snow
... ... @@ -1033,9 +1033,6 @@
1033 1033  
1034 1034  
1035 1035  
1036 -
1037 -
1038 -
1039 1039  === 6.4.3 Dimension ===
1040 1040  
1041 1041  [[image:1656056844782-155.png]]
... ... @@ -1086,9 +1086,6 @@
1086 1086  
1087 1087  
1088 1088  
1089 -
1090 -
1091 -
1092 1092  === 6.5.2 Specification ===
1093 1093  
1094 1094  * Input Power: DC 12 ~~ 24v
... ... @@ -1115,9 +1115,6 @@
1115 1115  
1116 1116  
1117 1117  
1118 -
1119 -
1120 -
1121 1121  === 6.5.3 Dimension ===
1122 1122  
1123 1123  [[image:1656057170639-522.png]]
... ... @@ -1163,10 +1163,6 @@
1163 1163  
1164 1164  
1165 1165  
1166 -
1167 -
1168 -
1169 -
1170 1170  === 6.6.2 Specification ===
1171 1171  
1172 1172  * Input Power: DC 5 ~~ 24v
... ... @@ -1184,9 +1184,6 @@
1184 1184  
1185 1185  
1186 1186  
1187 -
1188 -
1189 -
1190 1190  === 6.6.3 Dimension ===
1191 1191  
1192 1192  [[image:1656057348695-898.png]]
... ... @@ -1249,9 +1249,6 @@
1249 1249  
1250 1250  
1251 1251  
1252 -
1253 -
1254 -
1255 1255  === 6.7.3 Dimension ===
1256 1256  
1257 1257  [[image:1656057538793-888.png]]
... ... @@ -1354,7 +1354,6 @@
1354 1354  |(% style="width:462px" %)**PAR (Photosynthetically Available Radiation)**|(% style="width:120px" %)WSS-07
1355 1355  
1356 1356  
1357 -
1358 1358  = 10. Support =
1359 1359  
1360 1360  * 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.
... ... @@ -1362,9 +1362,6 @@
1362 1362  
1363 1363  
1364 1364  
1365 -
1366 -
1367 -
1368 1368  = 11. Appendix I: Field Installation Photo =
1369 1369  
1370 1370  
image-20220706154434-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +68.0 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0