Last modified by Mengting Qiu on 2025/06/10 18:53

From version 112.13
edited by Xiaoling
on 2024/01/26 13:40
Change comment: There is no comment for this version
To version 127.2
edited by Xiaoling
on 2025/04/25 09:06
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -34,7 +34,7 @@
34 34  )))
35 35  
36 36  (((
37 -Main process device WSC1-L is an outdoor LoRaWAN RS485 end node. It is powered by external (% style="color:blue" %)**12v solar power**(%%) and have a (% style="color:blue" %)**built-in li-on backup battery**(%%). WSC1-L reads value from various sensors and upload these sensor data to IoT server via LoRaWAN wireless protocol.
37 +Main process device WSC1-L is an outdoor LoRaWAN RS485 end node. It is powered by external (% style="color:blue" %)**12v solar power**(%%) and have a (% style="color:blue" %)**built-in Li-ion backup battery**(%%). WSC1-L reads value from various sensors and upload these sensor data to IoT server via LoRaWAN wireless protocol.
38 38  )))
39 39  
40 40  (((
... ... @@ -102,8 +102,6 @@
102 102  1. WSC1-L will auto scan available weather sensors when power on or reboot.
103 103  1. User can send a [[downlink command>>||anchor="H3.ConfigureWSC1-LviaATCommandorLoRaWANDownlink"]] to WSC1-L to do a re-scan on the available sensors.
104 104  
105 -
106 -
107 107  == 2.3 Example to use for LoRaWAN network ==
108 108  
109 109  
... ... @@ -129,25 +129,47 @@
129 129  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSE01-LoRaWAN%20Soil%20Moisture%20%26%20EC%20Sensor%20User%20Manual/WebHome/image-20220606163915-7.png?rev=1.1||alt="image-20220606163915-7.png"]]
130 130  
131 131  
132 -**Add APP EUI in the application.**
130 +**Create the application.**
133 133  
134 -[[image:1656042662694-311.png]]
132 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SAC01L_LoRaWAN_Temperature%26Humidity_Sensor_User_Manual/WebHome/image-20250423093843-1.png?width=756&height=264&rev=1.1||alt="image-20250423093843-1.png"]]
135 135  
136 -[[image:1656042673910-429.png]]
134 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111305-2.png?width=1000&height=572&rev=1.1||alt="image-20240907111305-2.png"]]
137 137  
138 138  
139 -**Choose Manually to add WSC1-L**
137 +**Add devices to the created Application.**
140 140  
141 -[[image:1656042695755-103.png]]
139 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111659-3.png?width=977&height=185&rev=1.1||alt="image-20240907111659-3.png"]]
142 142  
141 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111820-5.png?width=975&height=377&rev=1.1||alt="image-20240907111820-5.png"]]
143 143  
144 -**Add APP KEY and DEV EUI**
145 145  
146 -[[image:1656042723199-746.png]]
144 +**Enter end device specifics manually.**
147 147  
146 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112136-6.png?width=697&height=687&rev=1.1||alt="image-20240907112136-6.png"]]
148 148  
148 +
149 +**Add DevEUI and AppKey.**
150 +
151 +**Customize a platform ID for the device.**
152 +
153 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112427-7.png?rev=1.1||alt="image-20240907112427-7.png"]]
154 +
155 +
156 +(% style="color:blue" %)**Step 2**(%%): Add decoder.
157 +
158 +In TTN, user can add a custom payload so it shows friendly reading.
159 +
160 +Click this link to get the decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/Weather%20Station>>https://github.com/dragino/dragino-end-node-decoder/tree/main/Weather%20Station]]
161 +
162 +Below is TTN screen shot:
163 +
164 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140556-1.png?width=1184&height=488&rev=1.1||alt="image-20241009140556-1.png" height="488" width="1184"]]
165 +
166 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140603-2.png?width=1168&height=562&rev=1.1||alt="image-20241009140603-2.png" height="562" width="1168"]]
167 +
168 +
149 149  (((
150 -(% 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.
170 +(% style="color:blue" %)**Step 3**(%%): 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.
151 151  )))
152 152  
153 153  [[image:1656042745346-283.png]]
... ... @@ -270,6 +270,8 @@
270 270  === 2.4.2 Uplink FPORT~=2, Real time sensor value ===
271 271  
272 272  
293 +==== 2.4.2.1 paylaod before firmware V1.3.1(including v1.3.1) ====
294 +
273 273  (((
274 274  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"]].
275 275  )))
... ... @@ -408,6 +408,114 @@
408 408   Uplink 2:  [[image:image-20220624141100-7.png]]
409 409  
410 410  
433 +
434 +==== 2.4.2.2 paylaod since firmware V1.3.1 ====
435 +
436 +
437 +(% style="color:red" %)**Note: Since firmware V1.3.1, [[MSP mode>>||anchor="H3.8SettheMSPmode28SincefirmwareV1.3.129"]] has been added for WSS-02. Thus the wind speed paylaod length increases(Add 4 bytes for maximum wind speed and average wind speed).**
438 +
439 +(((
440 +The upload length is dynamic, depends on what type of weather sensors are connected. The uplink payload is combined with sensor segments. As below:
441 +)))
442 +
443 +(% style="color:#4472c4" %)** Uplink Payload**:
444 +
445 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:464px" %)
446 +|(% style="width:140px" %)Sensor Segment 1|(% style="width:139px" %)Sensor Segment 2|(% style="width:42px" %)……|(% style="width:140px" %)Sensor Segment n
447 +
448 +(% style="color:#4472c4" %)** Sensor Segment Define**:
449 +
450 +(% border="1" cellspacing="10" style="background-color:#f2f2f2; width:330px" %)
451 +|(% style="width:89px" %)Type Code|(% style="width:114px" %)Length (Bytes)|(% style="width:124px" %)Measured Value
452 +
453 +(% style="color:#4472c4" %)**Sensor Type Table:**
454 +
455 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
456 +|(% style="background-color:#4f81bd; color:white; width:80px" %)**Sensor Type**|(% style="background-color:#4f81bd; color:white; width:65px" %)**Type Code**|(% style="background-color:#4f81bd; color:white; width:97px" %)**Range**|(% style="background-color:#4f81bd; color:white; width:78px" %)**Length( Bytes)**|(% style="background-color:#4f81bd; color:white; width:190px" %)**Example**
457 +|(% style="width:103px" %)Wind Speed|(% style="width:91px" %)0x01|(% style="width:158px" %)(((
458 +①Speed: 0 ~~ 60m/s
459 +
460 +②(% style="color:#4472c4" %)**Maximum wind speed: **(%%)0 ~~ 60m/s
461 +
462 +③(% style="color:#4472c4" %)**Average wind speed:**(%%) 0 ~~ 60m/s
463 +④Level: 0 ~~ 17
464 +)))|(% style="width:122px" %)0x07 |(% style="width:904px" %)(((
465 +(((
466 +①0x0015/10=2.1m/s (0x02FE: No Sensor, 0x02EE: Value Error)
467 +
468 +②0x0024/10=3.6m/s
469 +
470 +③0x000E/10=1.4m/s
471 +)))
472 +
473 +(((
474 +④0x02=2 (0x14: No Sensor, 0x15: Value Error)
475 +)))
476 +)))
477 +|(% style="width:103px" %)Wind Direction|(% style="width:91px" %)0x02|(% style="width:158px" %)(((
478 +Angel: 0 ~~ 360°
479 +Direction: 16 positions
480 +)))|(% style="width:122px" %)0x03|(% style="width:904px" %)(((
481 +(((
482 +0x02C9/10=66.6°(0x0EFE: No Sensor,0x0EFF: Value Error)
483 +)))
484 +
485 +(((
486 +0X03=3(ENE) (0x14: No Sensor,0x15: Value Error)
487 +)))
488 +)))
489 +|(% style="width:103px" %)Illumination|(% style="width:91px" %)0x03|(% style="width:158px" %)0~200000kLux|(% style="width:122px" %)0x02|(% style="width:904px" %)(((
490 +0x04D2*10=12340kLux (0x4EFE: No Sensor,0x4EFF: Value Error)
491 +)))
492 +|(% style="width:103px" %)Rain / Snow|(% style="width:91px" %)0x04|(% style="width:158px" %)0A: No, 01 Yes.|(% style="width:122px" %)0x01|(% style="width:904px" %)(((
493 +(((
494 +0x00 (00) No Rain or snow detected
495 +)))
496 +
497 +(((
498 +(0x02: No Sensor,0x03: Value Error)
499 +)))
500 +)))
501 +|(% style="width:103px" %)CO2|(% style="width:91px" %)0x05|(% style="width:158px" %)0~5000ppm|(% style="width:122px" %)0x02|(% style="width:904px" %)(((
502 +0x0378=888ppm (0x14FE: No Sensor,0x14FF: Value Error)
503 +)))
504 +|(% style="width:103px" %)Temperature|(% style="width:91px" %)0x06|(% style="width:158px" %)-30℃~70℃|(% style="width:122px" %)0x02|(% style="width:904px" %)(((
505 +0xFFDD/10=-3.5℃ (0x02FE: No Sensor,0x02FF: Value Error)
506 +)))
507 +|(% style="width:103px" %)Humidity|(% style="width:91px" %)0x07|(% style="width:158px" %)0~100%RH|(% style="width:122px" %)0x02|(% style="width:904px" %)(((
508 +0x0164/10=35.6%RH (0x03FE: No Sensor,0x03FF: Value Error)
509 +)))
510 +|(% style="width:103px" %)Pressure|(% style="width:91px" %)0x08|(% style="width:158px" %)10~1100hPa|(% style="width:122px" %)0x02|(% style="width:904px" %)(((
511 +0x2748/10=1005.6hPa    (0x00: No Sensor,0x01: Value Error)
512 +)))
513 +|(% style="width:103px" %)Rain Gauge|(% style="width:91px" %)0x09|(% style="width:158px" %)(((
514 +0mm~100mm(Rainfall in the last 24 hours)
515 +)))|(% style="width:122px" %)0x02|(% style="width:904px" %)(((
516 +(((
517 +0x0050/10=8mm (Rainfall within the 24 hours:8.0mm)
518 +)))
519 +
520 +(((
521 +(0x03FE: No Sensor,0x03FF: Value Error)
522 +)))
523 +)))
524 +|(% style="width:103px" %)PM2.5|(% style="width:91px" %)0x0A|(% style="width:158px" %)0~1000μg/m^^3^^|(% style="width:122px" %)0x02|(% style="width:904px" %)(((
525 +0x0023=35μg/m^^3  ^^(0x03FE: No Sensor,0x03FF: Value Error)
526 +)))
527 +|(% style="width:103px" %)PM10|(% style="width:91px" %)0x0B|(% style="width:158px" %)0~1000μg/m^^3^^|(% style="width:122px" %)0x02|(% style="width:904px" %)(((
528 +0x002D=45μg/m^^3  ^^(0x03FE: No Sensor,0x03FF: Value Error)
529 +)))
530 +|(% style="width:103px" %)PAR|(% style="width:91px" %)0x0C|(% style="width:158px" %)(((
531 +0~2500μmol/m^^2^^•s
532 +)))|(% style="width:122px" %)0x02|(% style="width:904px" %)(((
533 +0x00B3=179μmol/m^^2^^•s (0x09FE: No Sensor,0x09FF: Value Error)
534 +)))
535 +|(% style="width:103px" %)(((
536 +Total Solar Radiation
537 +)))|(% style="width:91px" %)0x0D|(% style="width:158px" %)0~2000W/m^^2^^|(% style="width:122px" %)0x02|(% style="width:904px" %)(((
538 +0x0073/10=11.5W/m^^2^^(0x4EFE: No Sensor,0x4EFF: Value Error)
539 +)))
540 +
411 411  === 2.4.3 Decoder in TTN V3 ===
412 412  
413 413  
... ... @@ -646,7 +646,9 @@
646 646  
647 647  AT+RSWRITE=0103000001840A
648 648  
779 +If there is output from sensor, The console will show the output data
649 649  
781 +
650 650  (% style="color:#037691" %)**Downlink Command:**
651 651  
652 652  * 0xE20103000001840A     Same as: AT+RSWRITE=0103000001840A
... ... @@ -738,31 +738,55 @@
738 738  
739 739  (% style="color:#037691" %)**AT Command:**
740 740  
741 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:433px" %)
742 -|=(% style="width: 172px; background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 175px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response**
743 -|(% style="width:161px" %)(((
744 -AT+RAINFALLSWITCH=10(Range: 3,4,5,6,8,10)
745 -)))|(% style="width:184px" %)(((
873 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
874 +|=(% 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**
875 +|(% style="width:240px" %)(((
876 +AT+RAINFALLSWITCH=10(Value:3,4,5,6,8,10)
877 +)))|(% style="width:232px" %)(((
746 746  Set the registers read by the rain gauge
747 -)))|(% style="width:85px" %)OK
879 +)))|(% style="width:38px" %)OK
748 748  
749 749  (% style="color:#037691" %)**Downlink Command:**
750 750  
751 -* 0x1703  Same as: AT+RAINFALLSWITCH=3
883 +* 0xE703  Same as: AT+RAINFALLSWITCH=3
752 752  
753 -3: The total rainfall after the sensor is powered on  (for example  Total rainfall: 166.5mm)
885 +Value Definition:
754 754  
755 -4: Hourly rainfall: 0.2mm
887 +* **3**: The total rainfall after the sensor is powered on  (for example  Total rainfall: 166.5mm)
888 +* **4**: Hourly rainfall: 0.2mm
889 +* **5**: Rainfall in last hour: 0.2mm
890 +* **6**: 24-hour maximum rainfall 10.0mm
891 +* **8**: 24-hour minimum rainfall:0.0mm
892 +* **10**: Rainfall in 24 hours: 8.0mm (Rainfall in the last 24 hours)
756 756  
757 -5: Rainfall in last hour: 0.2mm
894 +== 3.8 Set the MSP mode(Since firmware V1.3.1) ==
758 758  
759 -6: 24-hour maximum rainfall 10.0mm
760 760  
761 -8: 24-hour minimum rainfall:0.0mm
897 +(% style="color:red" %)**Note: This feature is available for WSS-02.**
762 762  
763 -10: Rainfall in 24 hours: 8.0mm (Rainfall in the last 24 hours)
899 +This function is used for the continuous collection of wind speed.
764 764  
901 +When MSP mode is turned on (AT+MSP=1), WSC1-L will collect real-time wind speed **every 5 seconds**. Then it will judge the maximum wind speed in this period according to the wind speed collected in TDC time, and calculate the average wind speed according to the wind speed data collected in TDC time and the number of data groups.
765 765  
903 +(% style="color:#037691" %)**AT Command: AT+MSP**
904 +
905 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
906 +|=(% style="width: 158px; background-color: rgb(79, 129, 189); color: white;" %)**Command Example**|=(% style="width: 214px; background-color: rgb(79, 129, 189); color: white;" %)**Function**|=(% style="width: 136px; background-color: rgb(79, 129, 189); color: white;" %)**Response**
907 +|(% style="width:158px" %)(((
908 +AT+MSP=?
909 +)))|(% style="width:214px" %)Query whether MSP mode is on|(% style="width:136px" %)(((
910 +0(default)
911 +
912 +OK
913 +)))
914 +|(% style="width:158px" %)AT+MSP=0|(% style="width:214px" %)Disable the MSP mode|(% style="width:136px" %)OK
915 +|(% style="width:158px" %)AT+MSP=1|(% style="width:214px" %)Enable the MSP mode|(% style="width:136px" %)OK
916 +
917 +(% style="color:#037691" %)**Downlink Command: 0X34**
918 +
919 +* Downlink payload: 34 00  ~/~/ Equal to AT+MSP=0
920 +* Downlink payload: 34 01  ~/~/ Equal to AT+MSP=1
921 +
766 766  = 4. Power consumption and battery =
767 767  
768 768  == 4.1 Total Power Consumption ==
... ... @@ -1212,7 +1212,6 @@
1212 1212  
1213 1213  [[image:1656057199955-514.png]]
1214 1214  
1215 -
1216 1216  [[image:1656057212438-475.png]]
1217 1217  
1218 1218  
... ... @@ -1272,10 +1272,8 @@
1272 1272  
1273 1273  Do not power on while connect the cables. Double check the wiring before power on.
1274 1274  
1275 -
1276 1276  [[image:1656057369259-804.png]]
1277 1277  
1278 -
1279 1279  [[image:1656057377943-564.png]]
1280 1280  
1281 1281  
... ... @@ -1338,10 +1338,8 @@
1338 1338  
1339 1339  Do not power on while connect the cables. Double check the wiring before power on.
1340 1340  
1341 -
1342 1342  [[image:1656057557191-895.png]]
1343 1343  
1344 -
1345 1345  [[image:1656057565783-251.png]]
1346 1346  
1347 1347  
... ... @@ -1394,22 +1394,23 @@
1394 1394  
1395 1395  Users can run the AT+RAINFALLSWITCH command to query the data of the rain gauge.
1396 1396  
1397 -AT+RAINFALLSWITCH=10(Range: 3456810
1548 +AT+RAINFALLSWITCH=10(Range: 3,4,5,6,8,10)
1398 1398  
1399 -**Rainfall query value**
1550 +**Rainfall query value:**
1400 1400  
1401 1401  3:The total rainfall after the sensor is powered on  (for example  Total rainfall: 166.5mm)
1402 1402  
1403 1403  4:Current Hourly rainfall: etc 0.2mm
1404 1404  
1405 -5:Rainfall in last hour:etc 0.2mm
1556 +5:Rainfall in last hour: etc 0.2mm
1406 1406  
1407 -6:24-hour maximum rainfall etc  10.0mm
1558 +6:24-hour maximum rainfall: etc  10.0mm
1408 1408  
1409 -8:24-hour minimum rainfall:etc  0.0mm
1560 +8:24-hour minimum rainfall: etc  0.0mm
1410 1410  
1411 -10:Rainfall in 24 hours: 8.0mm  Rainfall in the last 24 hours
1562 +10:Rainfall in 24 hours: 8.0mm  (Rainfall in the last 24 hours)
1412 1412  
1564 +
1413 1413  = 8. Trouble Shooting =
1414 1414  
1415 1415  == 8.1 AT Command input doesn't work ==
... ... @@ -1420,6 +1420,40 @@
1420 1420  )))
1421 1421  
1422 1422  
1575 +== 8.2  Possible reasons why the device is unresponsive: ==
1576 +
1577 +
1578 +~1. Check whether the battery voltage is lower than 2.8V
1579 +2. Check whether the jumper of the device is correctly connected
1580 +
1581 +[[image:image-20240330173709-1.png]]
1582 +
1583 +
1584 +3. Check whether the switch here of the device is at the ISP(The switch can operate normally only when it is in RUN)
1585 +
1586 +[[image:image-20240330173724-2.png]]
1587 +
1588 +
1589 +== 8.3  The rain gauge keeps showing an incorrect value of 102.2 ==
1590 +
1591 +When the rain gauge keeps showing wrong values, it means that the device has exceeded its maximum range.
1592 +Customer need to use RS485-USB to reset it
1593 +
1594 +Wiring method:
1595 +RS485-USB A<~-~-~-~-~-~-->rain gauge RS485A
1596 +RS485-USB B<~-~-~-~-~-~-->rain gauge RS485B
1597 +
1598 +
1599 +Use the reset command:
1600 +
1601 +06 06 00 37 00 03 79 B2
1602 +
1603 +[[image:image-20250219164620-1.png]]
1604 +
1605 +
1606 +
1607 +
1608 +
1423 1423  = 9. Order Info =
1424 1424  
1425 1425  == 9.1 Main Process Unit ==
image-20240330173709-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +445.4 KB
Content
image-20240330173724-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +445.4 KB
Content
image-20250122085744-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +86.9 KB
Content
image-20250122085806-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +109.8 KB
Content
image-20250219164620-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +9.1 KB
Content