Last modified by Mengting Qiu on 2025/07/09 16:00

From version 91.12
edited by Xiaoling
on 2022/07/07 18:11
Change comment: There is no comment for this version
To version 79.1
edited by Xiaoling
on 2022/06/24 16:20
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -WSC1-L-Dragino LoRaWAN Weather Station User Manual
1 +Dragino LoRaWAN Weather Station User Manual
Content
... ... @@ -61,13 +61,13 @@
61 61  [[image:1656042136605-251.png]]
62 62  
63 63  
64 -(% style="color:red" %)**Notice 1:**
64 +(% style="color:red" %) ** Notice 1:**
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 68  * Weather sensors won’t work if solar panel and storage battery fails.
69 69  
70 -(% style="color:red" %)**Notice 2:**
70 +(% style="color:red" %)** Notice 2:**
71 71  
72 72  Due to shipment and importation limitation, user is better to purchase below parts locally:
73 73  
... ... @@ -74,12 +74,14 @@
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 it's own mounting assembly, user can check the sensor section in this manual.
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.
78 78  * Cabinet.
79 79  
80 80  
81 81  
82 82  
83 +
84 +
83 83  == 2.2 How it works? ==
84 84  
85 85  (((
... ... @@ -87,9 +87,7 @@
87 87  )))
88 88  
89 89  
90 -(((
91 91  Open WSC1-L and put the yellow jumper as below position to power on WSC1-L.
92 -)))
93 93  
94 94  [[image:1656042192857-709.png]]
95 95  
... ... @@ -97,10 +97,12 @@
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>>||anchor="H3.ConfigureWSC1-LviaATCommandorLoRaWANDownlink"]] to WSC1-L to do a re-scan on the available sensors.
100 +1. User can send a downlink command to WSC1-L to do a re-scan on the available sensors.
101 101  
102 102  
103 103  
104 +
105 +
104 104  == 2.3 Example to use for LoRaWAN network ==
105 105  
106 106  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.
... ... @@ -143,9 +143,7 @@
143 143  
144 144  
145 145  
146 -(((
147 147  (% style="color:blue" %)**Step 2**(%%): Power on WSC1-L, 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.
148 -)))
149 149  
150 150  
151 151  [[image:1656042745346-283.png]]
... ... @@ -162,6 +162,7 @@
162 162  
163 163  
164 164  
165 +
165 165  === 2.4.1 Uplink FPORT~=5, Device Status ===
166 166  
167 167  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
... ... @@ -226,13 +226,9 @@
226 226  
227 227  ==== (% style="color:#037691" %)**BAT:**(%%) ====
228 228  
229 -(((
230 230  shows the battery voltage for WSC1-L MCU.
231 -)))
232 232  
233 -(((
234 234  Ex1: 0x0BD6/1000 = 3.03 V
235 -)))
236 236  
237 237  
238 238  
... ... @@ -297,78 +297,40 @@
297 297  
298 298  (% style="color:#4472c4" %)**Sensor Type Table:**
299 299  
300 -[[image:image-20220706154434-1.png]]
297 +[[image:image-20220624140352-2.png]]
301 301  
302 302  
303 -(((
304 304  Below is an example payload:  [[image:image-20220624140615-3.png]]
305 -)))
306 306  
307 -(((
308 -
309 -)))
310 310  
311 -(((
312 312  When sending this payload to LoRaWAN server. WSC1-L will send this in one uplink or several uplinks according to LoRaWAN spec requirement. For example, total length of Payload is 54 bytes.
313 -)))
314 314  
315 -* (((
316 -When WSC1-L 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.
317 -)))
305 +* When WSC1-L 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.
318 318  
319 -(((
320 320   Uplink 1:  [[image:image-20220624140735-4.png]]
321 -)))
322 322  
323 -(((
324 -
325 -)))
326 -
327 -(((
328 328   Uplink 2:  [[image:image-20220624140842-5.png]]
329 -)))
330 330  
331 -(((
332 -
333 -)))
334 334  
335 -* (((
336 -When WSC1-L sending in EU868 frequency DR0 data rate. The payload will be split into below packets and uplink:
337 -)))
312 +* When WSC1-L sending in EU868 frequency DR0 data rate. The payload will be split into below packets and uplink:
338 338  
339 -(((
340 340   Uplink 1:  [[image:image-20220624141025-6.png]]
341 -)))
342 342  
343 -(((
344 -
345 -)))
346 -
347 347   Uplink 2:  [[image:image-20220624141100-7.png]]
348 348  
349 349  
350 350  
320 +
351 351  === 2.4.3 Decoder in TTN V3 ===
352 352  
353 -(((
354 354  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.
355 -)))
356 356  
357 -(((
358 -
359 -)))
360 360  
361 -(((
362 362  Download decoder for suitable platform from:
363 -)))
364 364  
365 -(((
366 366  [[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/]]
367 -)))
368 368  
369 -(((
370 370  and put as below:
371 -)))
372 372  
373 373  [[image:1656051152438-578.png]]
374 374  
... ... @@ -376,21 +376,12 @@
376 376  
377 377  == 2.5 Show data on Application Server ==
378 378  
379 -(((
380 380  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:
381 -)))
382 382  
383 -(((
384 -
385 -)))
386 386  
387 -(((
388 388  (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.
389 -)))
390 390  
391 -(((
392 392  (% 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.
393 -)))
394 394  
395 395  [[image:1656051197172-131.png]]
396 396  
... ... @@ -438,6 +438,9 @@
438 438  
439 439  
440 440  
391 +
392 +
393 +
441 441  == 3.1 Set Transmit Interval Time ==
442 442  
443 443  Feature: Change LoRaWAN End Node Transmit Interval.
... ... @@ -459,6 +459,7 @@
459 459  
460 460  
461 461  
415 +
462 462  == 3.2 Set Emergency Mode ==
463 463  
464 464  Feature: In emergency mode, WSC1-L will uplink data every 1 minute.
... ... @@ -476,53 +476,28 @@
476 476  
477 477  
478 478  
433 +
479 479  == 3.3 Add or Delete RS485 Sensor ==
480 480  
481 -(((
482 482  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.
483 -)))
484 484  
485 -(((
486 486  (% style="color:#037691" %)**AT Command: **
487 -)))
488 488  
489 -(((
490 490  (% style="color:blue" %)**AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout**
491 -)))
492 492  
493 -* (((
494 -Type_Code range:  A1 ~~ A4
495 -)))
496 -* (((
497 -Query_Length:  RS485 Query frame length, Value cannot be greater than 10
498 -)))
499 -* (((
500 -Query_Command:  RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes
501 -)))
502 -* (((
503 -Read_Length:  RS485 response frame length supposed to receive. Max can receive
504 -)))
505 -* (((
506 -Valid_Data:  valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN.
507 -)))
508 -* (((
509 -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.
510 -)))
511 -* (((
512 -timeout:  RS485 receive timeout (uint:ms). Device will close receive window after timeout
513 -)))
442 +* Type_Code range:  A1 ~~ A4
443 +* Query_Length:  RS485 Query frame length, Value cannot be greater than 10
444 +* Query_Command:  RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes
445 +* Read_Length:  RS485 response frame length supposed to receive. Max can receive
446 +* Valid_Data:  valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN.
447 +* 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.
448 +* timeout:  RS485 receive timeout (uint:ms). Device will close receive window after timeout
514 514  
515 -(((
516 516  **Example:**
517 -)))
518 518  
519 -(((
520 520  User need to change external sensor use the type code as address code.
521 -)))
522 522  
523 -(((
524 524  With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table:
525 -)))
526 526  
527 527  [[image:image-20220624143553-10.png]]
528 528  
... ... @@ -574,6 +574,7 @@
574 574  
575 575  
576 576  
506 +
577 577  == 3.4 RS485 Test Command ==
578 578  
579 579  (% style="color:#037691" %)**AT Command:**
... ... @@ -581,13 +581,9 @@
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" %)(((
584 -(((
585 585  Send command to 485 sensor
586 -)))
587 587  
588 -(((
589 589  Range : no more than 10 bytes
590 -)))
591 591  )))|(% style="width:85px" %)OK
592 592  
593 593  Eg: Send command **01 03 00 00 00 01 84 0A** to 485 sensor
... ... @@ -602,6 +602,7 @@
602 602  
603 603  
604 604  
531 +
605 605  == 3.5 RS485 response timeout ==
606 606  
607 607  Feature: Set or get extended time to receive 485 sensor data.
... ... @@ -611,13 +611,9 @@
611 611  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:433px" %)
612 612  |=(% style="width: 157px;" %)**Command Example**|=(% style="width: 188px;" %)**Function**|=(% style="width: 85px;" %)**Response**
613 613  |(% style="width:157px" %)AT+DTR=1000|(% style="width:188px" %)(((
614 -(((
615 615  Set response timeout to:
616 -)))
617 617  
618 -(((
619 619  Range : 0~~10000
620 -)))
621 621  )))|(% style="width:85px" %)OK
622 622  
623 623  (% style="color:#037691" %)**Downlink Command:**
... ... @@ -632,15 +632,12 @@
632 632  
633 633  
634 634  
558 +
635 635  == 3.6 Set Sensor Type ==
636 636  
637 -(((
638 638  Feature: Set sensor in used. If there are 6 sensors, user can set to only send 5 sensors values.
639 -)))
640 640  
641 -(((
642 642  See [[definition>>||anchor="HWeatherSensorTypes:"]] for the sensor type.
643 -)))
644 644  
645 645  [[image:image-20220624144904-12.png]]
646 646  
... ... @@ -674,6 +674,7 @@
674 674  
675 675  
676 676  
597 +
677 677  = 4. Power consumption and battery =
678 678  
679 679  == 4.1 Total Power Consumption ==
... ... @@ -716,6 +716,7 @@
716 716  
717 717  
718 718  
640 +
719 719  == 5.2 Power Consumption ==
720 720  
721 721  WSC1-L (without external sensor): Idle: 4mA, Transmit: max 40mA
... ... @@ -786,11 +786,11 @@
786 786  
787 787  
788 788  
711 +
789 789  === 6.1.2 Specification ===
790 790  
791 791  * Resolution: 0.2mm
792 792  * Accuracy: ±3%
793 -* Range: 0 ~~ 100mm
794 794  * Rainfall strength: 0mm~4mm/min (max 8mm/min)
795 795  * Input Power: DC 5~~24v
796 796  * Interface: RS485
... ... @@ -801,6 +801,7 @@
801 801  
802 802  
803 803  
726 +
804 804  === 6.1.3 Dimension ===
805 805  
806 806   [[image:1656054957406-980.png]]
... ... @@ -813,31 +813,19 @@
813 813  
814 814  === 6.1.5 Installation Notice ===
815 815  
816 -(((
817 817  Do not power on while connect the cables. Double check the wiring before power on.
818 -)))
819 819  
820 -(((
821 821  Installation Photo as reference:
822 -)))
823 823  
824 824  
825 -(((
826 826  (% style="color:#4472c4" %)** Install on Ground:**
827 -)))
828 828  
829 -(((
830 830  WSS-01 Rain Gauge include screws so can install in ground directly .
831 -)))
832 832  
833 833  
834 -(((
835 835  (% style="color:#4472c4" %)** Install on pole:**
836 -)))
837 837  
838 -(((
839 839  If user want to install on pole, they can purchase the (% style="color:#4472c4" %)** WS-K2 :  Bracket Kit for Pole installation**(%%), and install as below:
840 -)))
841 841  
842 842  [[image:image-20220624152218-1.png||height="526" width="276"]]
843 843  
... ... @@ -874,6 +874,7 @@
874 874  
875 875  
876 876  
788 +
877 877  === 6.2.2 Specification ===
878 878  
879 879  * Wind speed range: 0 ~~ 30m/s, (always show 30m/s for higher speed)
... ... @@ -890,6 +890,7 @@
890 890  
891 891  
892 892  
805 +
893 893  === 6.2.3 Dimension ===
894 894  
895 895  [[image:image-20220624152813-2.png]]
... ... @@ -907,13 +907,9 @@
907 907  
908 908  === 6.2.6  Installation Notice ===
909 909  
910 -(((
911 911  Do not power on while connect the cables. Double check the wiring before power on.
912 -)))
913 913  
914 -(((
915 915  The sensor must be installed with below direction, towards North.
916 -)))
917 917  
918 918  [[image:image-20220624153901-3.png]]
919 919  
... ... @@ -943,6 +943,7 @@
943 943  
944 944  
945 945  
855 +
946 946  === 6.3.2 Specification ===
947 947  
948 948  * CO2 Range: 0~5000ppm, accuracy: ±3%F•S(25℃)
... ... @@ -963,12 +963,12 @@
963 963  
964 964  
965 965  
876 +
966 966  === 6.3.3 Dimension ===
967 967  
968 968  [[image:1656056708366-230.png]]
969 969  
970 970  
971 -
972 972  === 6.3.4 Pin Mapping ===
973 973  
974 974  [[image:1656056722648-743.png]]
... ... @@ -978,6 +978,8 @@
978 978  
979 979  Do not power on while connect the cables. Double check the wiring before power on.
980 980  
891 +[[image:1656057016033-551.png]]
892 +
981 981  [[image:1656056751153-304.png]]
982 982  
983 983  [[image:1656056766224-773.png]]
... ... @@ -1009,6 +1009,7 @@
1009 1009  
1010 1010  
1011 1011  
924 +
1012 1012  === 6.4.2 Specification ===
1013 1013  
1014 1014  * Detect if there is rain or snow
... ... @@ -1023,6 +1023,7 @@
1023 1023  
1024 1024  
1025 1025  
939 +
1026 1026  === 6.4.3 Dimension ===
1027 1027  
1028 1028  [[image:1656056844782-155.png]]
... ... @@ -1038,9 +1038,7 @@
1038 1038  Do not power on while connect the cables. Double check the wiring before power on.
1039 1039  
1040 1040  
1041 -(((
1042 1042  Install with 15°degree.
1043 -)))
1044 1044  
1045 1045   [[image:1656056873783-780.png]]
1046 1046  
... ... @@ -1074,6 +1074,7 @@
1074 1074  
1075 1075  
1076 1076  
989 +
1077 1077  === 6.5.2 Specification ===
1078 1078  
1079 1079  * Input Power: DC 12 ~~ 24v
... ... @@ -1101,6 +1101,7 @@
1101 1101  
1102 1102  
1103 1103  
1017 +
1104 1104  === 6.5.3 Dimension ===
1105 1105  
1106 1106  [[image:1656057170639-522.png]]
... ... @@ -1147,6 +1147,7 @@
1147 1147  
1148 1148  
1149 1149  
1064 +
1150 1150  === 6.6.2 Specification ===
1151 1151  
1152 1152  * Input Power: DC 5 ~~ 24v
... ... @@ -1165,6 +1165,7 @@
1165 1165  
1166 1166  
1167 1167  
1083 +
1168 1168  === 6.6.3 Dimension ===
1169 1169  
1170 1170  [[image:1656057348695-898.png]]
... ... @@ -1203,13 +1203,9 @@
1203 1203  
1204 1204  === 6.7.1 Feature ===
1205 1205  
1206 -(((
1207 1207  PAR (Photosynthetically Available Radiation) sensor measure 400 ~~ 700nm wavelength nature light's Photosynthetically Available Radiation.
1208 -)))
1209 1209  
1210 -(((
1211 1211  When nature light shine on the sense area, it will generate a signal base on the incidence radiation strength.
1212 -)))
1213 1213  
1214 1214  
1215 1215  === 6.7.2 Specification ===
... ... @@ -1228,6 +1228,7 @@
1228 1228  
1229 1229  
1230 1230  
1143 +
1231 1231  === 6.7.3 Dimension ===
1232 1232  
1233 1233  [[image:1656057538793-888.png]]
... ... @@ -1315,20 +1315,18 @@
1315 1315  * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1316 1316  
1317 1317  
1318 -
1319 -
1320 1320  == 9.2 Sensors ==
1321 1321  
1322 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:500px" %)
1323 -|=(% style="width: 300px;" %)**Sensor Model**|=(% style="width: 200px;" %)**Part Number**
1324 -|(% style="width:462px" %)**Rain Gauge**|(% style="width:120px" %)WSS-01
1325 -|(% style="width:462px" %)**Rain Gauge installation Bracket for Pole**|(% style="width:120px" %)WS-K2
1326 -|(% style="width:462px" %)**Wind Speed Direction 2 in 1 Sensor**|(% style="width:120px" %)WSS-02
1327 -|(% style="width:462px" %)**CO2/PM2.5/PM10 3 in 1 Sensor**|(% style="width:120px" %)WSS-03
1328 -|(% style="width:462px" %)**Rain/Snow Detect Sensor**|(% style="width:120px" %)WSS-04
1329 -|(% style="width:462px" %)**Temperature, Humidity, illuminance and Pressure 4 in 1 sensor**|(% style="width:120px" %)WSS-05
1330 -|(% style="width:462px" %)**Total Solar Radiation Sensor**|(% style="width:120px" %)WSS-06
1331 -|(% style="width:462px" %)**PAR (Photosynthetically Available Radiation)**|(% style="width:120px" %)WSS-07
1233 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
1234 +|=(% style="width: 462px;" %)**Sensor Model**|=(% style="width: 110px;" %)**Part Number**
1235 +|(% style="width:462px" %)**Rain Gauge**|(% style="width:110px" %)WSS-01
1236 +|(% style="width:462px" %)**Rain Gauge installation Bracket for Pole**|(% style="width:110px" %)WS-K2
1237 +|(% style="width:462px" %)**Wind Speed Direction 2 in 1 Sensor**|(% style="width:110px" %)WSS-02
1238 +|(% style="width:462px" %)**CO2/PM2.5/PM10 3 in 1 Sensor**|(% style="width:110px" %)WSS-03
1239 +|(% style="width:462px" %)**Rain/Snow Detect Sensor**|(% style="width:110px" %)WSS-04
1240 +|(% style="width:462px" %)**Temperature, Humidity, illuminance and Pressure 4 in 1 sensor**|(% style="width:110px" %)WSS-05
1241 +|(% style="width:462px" %)**Total Solar Radiation Sensor**|(% style="width:110px" %)WSS-06
1242 +|(% style="width:462px" %)**PAR (Photosynthetically Available Radiation)**|(% style="width:110px" %)WSS-07
1332 1332  
1333 1333  
1334 1334  
... ... @@ -1339,11 +1339,10 @@
1339 1339  
1340 1340  
1341 1341  
1342 -
1343 1343  = 11. Appendix I: Field Installation Photo =
1344 1344  
1345 1345  
1346 -[[image:1656058346362-132.png||height="685" width="732"]]
1256 +[[image:1656058346362-132.png]]
1347 1347  
1348 1348  **Storage Battery**: 12v,12AH li battery
1349 1349  
... ... @@ -1351,13 +1351,13 @@
1351 1351  
1352 1352  **Wind Speed/Direction**
1353 1353  
1354 -[[image:1656058373174-421.png||height="356" width="731"]]
1264 +[[image:1656058373174-421.png]]
1355 1355  
1356 1356  
1357 1357  
1358 1358  **Total Solar Radiation sensor**
1359 1359  
1360 -[[image:1656058397364-282.png||height="453" width="732"]]
1270 +[[image:1656058397364-282.png]]
1361 1361  
1362 1362  
1363 1363  
... ... @@ -1369,7 +1369,7 @@
1369 1369  
1370 1370  **CO2/PM2.5/PM10 3 in 1 sensor**
1371 1371  
1372 -[[image:1656058441194-827.png||height="672" width="523"]]
1282 +[[image:1656058441194-827.png]]
1373 1373  
1374 1374  
1375 1375  
... ... @@ -1381,4 +1381,4 @@
1381 1381  
1382 1382  **Rain Gauge**
1383 1383  
1384 -[[image:1656058463455-569.png||height="499" width="550"]]
1294 +[[image:1656058463455-569.png]]
image-20220706154434-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -68.0 KB
Content