Changes for page WSC1-L-Dragino LoRaWAN Weather Station User Manual
Last modified by Xiaoling on 2025/04/25 09:08
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 5 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Xiaoling - 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-ion 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-on 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 ((( ... ... @@ -64,6 +64,7 @@ 64 64 65 65 WSC1-L is shipped with a RS485 converter board, for the easy connection to different sensors and WSC1-L. Below is a connection photo: 66 66 67 + 67 67 [[image:1656042136605-251.png]] 68 68 69 69 ... ... @@ -90,6 +90,7 @@ 90 90 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. 91 91 ))) 92 92 94 + 93 93 ((( 94 94 Open WSC1-L and put the yellow jumper as below position to power on WSC1-L. 95 95 ))) ... ... @@ -107,9 +107,11 @@ 107 107 108 108 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. 109 109 112 + 110 110 [[image:1656042612899-422.png]] 111 111 112 112 116 + 113 113 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: 114 114 115 115 ... ... @@ -126,28 +126,32 @@ 126 126 127 127 [[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"]] 128 128 129 - 130 130 **Add APP EUI in the application.** 131 131 132 132 [[image:1656042662694-311.png]] 133 133 134 -[[image: image-20250122085806-2.png||height="369" width="1010"]]137 +[[image:1656042673910-429.png]] 135 135 136 136 140 + 141 + 137 137 **Choose Manually to add WSC1-L** 138 138 139 -[[image: http://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"]]144 +[[image:1656042695755-103.png]] 140 140 141 141 142 -**Add Keys** 143 143 144 - [[image:http://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"]]148 +**Add APP KEY and DEV EUI** 145 145 150 +[[image:1656042723199-746.png]] 146 146 152 + 153 + 147 147 ((( 148 148 (% 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. 149 149 ))) 150 150 158 + 151 151 [[image:1656042745346-283.png]] 152 152 153 153 ... ... @@ -268,8 +268,6 @@ 268 268 === 2.4.2 Uplink FPORT~=2, Real time sensor value === 269 269 270 270 271 -==== 2.4.2.1 paylaod before firmware V1.3.1(including v1.3.1) ==== 272 - 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 ))) ... ... @@ -278,6 +278,7 @@ 278 278 Uplink uses FPORT=2 and every 20 minutes send one uplink by default. 279 279 ))) 280 280 287 + 281 281 ((( 282 282 The upload length is dynamic, depends on what type of weather sensors are connected. The uplink payload is combined with sensor segments. As below: 283 283 ))) ... ... @@ -408,114 +408,6 @@ 408 408 Uplink 2: [[image:image-20220624141100-7.png]] 409 409 410 410 411 - 412 -==== 2.4.2.2 paylaod since firmware V1.3.1 ==== 413 - 414 - 415 -(% 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).** 416 - 417 -((( 418 -The upload length is dynamic, depends on what type of weather sensors are connected. The uplink payload is combined with sensor segments. As below: 419 -))) 420 - 421 -(% style="color:#4472c4" %)** Uplink Payload**: 422 - 423 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:464px" %) 424 -|(% style="width:140px" %)Sensor Segment 1|(% style="width:139px" %)Sensor Segment 2|(% style="width:42px" %)……|(% style="width:140px" %)Sensor Segment n 425 - 426 -(% style="color:#4472c4" %)** Sensor Segment Define**: 427 - 428 -(% border="1" cellspacing="10" style="background-color:#f2f2f2; width:330px" %) 429 -|(% style="width:89px" %)Type Code|(% style="width:114px" %)Length (Bytes)|(% style="width:124px" %)Measured Value 430 - 431 -(% style="color:#4472c4" %)**Sensor Type Table:** 432 - 433 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 434 -|(% 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** 435 -|(% style="width:103px" %)Wind Speed|(% style="width:91px" %)0x01|(% style="width:158px" %)((( 436 -①Speed: 0 ~~ 60m/s 437 - 438 -②(% style="color:#4472c4" %)**Maximum wind speed: **(%%)0 ~~ 60m/s 439 - 440 -③(% style="color:#4472c4" %)**Average wind speed:**(%%) 0 ~~ 60m/s 441 -④Level: 0 ~~ 17 442 -)))|(% style="width:122px" %)0x07 |(% style="width:904px" %)((( 443 -((( 444 -①0x0015/10=2.1m/s (0x02FE: No Sensor, 0x02EE: Value Error) 445 - 446 -②0x0024/10=3.6m/s 447 - 448 -③0x000E/10=1.4m/s 449 -))) 450 - 451 -((( 452 -④0x02=2 (0x14: No Sensor, 0x15: Value Error) 453 -))) 454 -))) 455 -|(% style="width:103px" %)Wind Direction|(% style="width:91px" %)0x02|(% style="width:158px" %)((( 456 -Angel: 0 ~~ 360° 457 -Direction: 16 positions 458 -)))|(% style="width:122px" %)0x03|(% style="width:904px" %)((( 459 -((( 460 -0x02C9/10=66.6°(0x0EFE: No Sensor,0x0EFF: Value Error) 461 -))) 462 - 463 -((( 464 -0X03=3(ENE) (0x14: No Sensor,0x15: Value Error) 465 -))) 466 -))) 467 -|(% style="width:103px" %)Illumination|(% style="width:91px" %)0x03|(% style="width:158px" %)0~200000kLux|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 468 -0x04D2*10=12340kLux (0x4EFE: No Sensor,0x4EFF: Value Error) 469 -))) 470 -|(% style="width:103px" %)Rain / Snow|(% style="width:91px" %)0x04|(% style="width:158px" %)0A: No, 01 Yes.|(% style="width:122px" %)0x01|(% style="width:904px" %)((( 471 -((( 472 -0x00 (00) No Rain or snow detected 473 -))) 474 - 475 -((( 476 -(0x02: No Sensor,0x03: Value Error) 477 -))) 478 -))) 479 -|(% style="width:103px" %)CO2|(% style="width:91px" %)0x05|(% style="width:158px" %)0~5000ppm|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 480 -0x0378=888ppm (0x14FE: No Sensor,0x14FF: Value Error) 481 -))) 482 -|(% style="width:103px" %)Temperature|(% style="width:91px" %)0x06|(% style="width:158px" %)-30℃~70℃|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 483 -0xFFDD/10=-3.5℃ (0x02FE: No Sensor,0x02FF: Value Error) 484 -))) 485 -|(% style="width:103px" %)Humidity|(% style="width:91px" %)0x07|(% style="width:158px" %)0~100%RH|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 486 -0x0164/10=35.6%RH (0x03FE: No Sensor,0x03FF: Value Error) 487 -))) 488 -|(% style="width:103px" %)Pressure|(% style="width:91px" %)0x08|(% style="width:158px" %)10~1100hPa|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 489 -0x2748/10=1005.6hPa (0x00: No Sensor,0x01: Value Error) 490 -))) 491 -|(% style="width:103px" %)Rain Gauge|(% style="width:91px" %)0x09|(% style="width:158px" %)((( 492 -0mm~100mm(Rainfall in the last 24 hours) 493 -)))|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 494 -((( 495 -0x0050/10=8mm (Rainfall within the 24 hours:8.0mm) 496 -))) 497 - 498 -((( 499 -(0x03FE: No Sensor,0x03FF: Value Error) 500 -))) 501 -))) 502 -|(% style="width:103px" %)PM2.5|(% style="width:91px" %)0x0A|(% style="width:158px" %)0~1000μg/m^^3^^|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 503 -0x0023=35μg/m^^3 ^^(0x03FE: No Sensor,0x03FF: Value Error) 504 -))) 505 -|(% style="width:103px" %)PM10|(% style="width:91px" %)0x0B|(% style="width:158px" %)0~1000μg/m^^3^^|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 506 -0x002D=45μg/m^^3 ^^(0x03FE: No Sensor,0x03FF: Value Error) 507 -))) 508 -|(% style="width:103px" %)PAR|(% style="width:91px" %)0x0C|(% style="width:158px" %)((( 509 -0~2500μmol/m^^2^^•s 510 -)))|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 511 -0x00B3=179μmol/m^^2^^•s (0x09FE: No Sensor,0x09FF: Value Error) 512 -))) 513 -|(% style="width:103px" %)((( 514 -Total Solar Radiation 515 -)))|(% style="width:91px" %)0x0D|(% style="width:158px" %)0~2000W/m^^2^^|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 516 -0x0073/10=11.5W/m^^2^^(0x4EFE: No Sensor,0x4EFF: Value Error) 517 -))) 518 - 519 519 === 2.4.3 Decoder in TTN V3 === 520 520 521 521 ... ... @@ -527,6 +527,7 @@ 527 527 Download decoder for suitable platform from: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 528 528 ))) 529 529 429 + 530 530 ((( 531 531 and put as below: 532 532 ))) ... ... @@ -533,7 +533,6 @@ 533 533 534 534 [[image:1656051152438-578.png]] 535 535 536 - 537 537 == 2.5 Show data on Application Server == 538 538 539 539 ... ... @@ -552,18 +552,22 @@ 552 552 [[image:1656051197172-131.png]] 553 553 554 554 454 + 555 555 **Add TagoIO:** 556 556 557 557 [[image:1656051223585-631.png]] 558 558 559 559 460 + 560 560 **Authorization:** 561 561 562 562 [[image:1656051248318-368.png]] 563 563 564 564 466 + 565 565 In TagoIO console ([[https:~~/~~/admin.tago.io~~/~~/>>url:https://datacake.co/]]) , add WSC1-L: 566 566 469 + 567 567 [[image:1656051277767-168.png]] 568 568 569 569 ... ... @@ -754,9 +754,7 @@ 754 754 755 755 AT+RSWRITE=0103000001840A 756 756 757 -If there is output from sensor, The console will show the output data 758 758 759 - 760 760 (% style="color:#037691" %)**Downlink Command:** 761 761 762 762 * 0xE20103000001840A Same as: AT+RSWRITE=0103000001840A ... ... @@ -848,55 +848,31 @@ 848 848 849 849 (% style="color:#037691" %)**AT Command:** 850 850 851 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width: 510px" %)852 -|=(% style="width: 2 30px; background-color:rgb(79, 129, 189);;" %)**Command Example**|=(% style="width:232px; background-color:rgb(79, 129, 189);;" %)**Function**|=(% style="width:48px;rgb(79, 129, 189);;" %)**Response**853 -|(% style="width: 240px" %)(((854 -AT+RAINFALLSWITCH=10( Value:3,4,5,6,8,10)855 -)))|(% style="width: 232px" %)(((752 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:433px" %) 753 +|=(% 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** 754 +|(% style="width:161px" %)((( 755 +AT+RAINFALLSWITCH=10(Range: 3,4,5,6,8,10) 756 +)))|(% style="width:184px" %)((( 856 856 Set the registers read by the rain gauge 857 -)))|(% style="width: 38px" %)OK758 +)))|(% style="width:85px" %)OK 858 858 859 859 (% style="color:#037691" %)**Downlink Command:** 860 860 861 -* 0x E703 Same as: AT+RAINFALLSWITCH=3762 +* 0x1703 Same as: AT+RAINFALLSWITCH=3 862 862 863 - ValueDefinition:764 +3: The total rainfall after the sensor is powered on (for example Total rainfall: 166.5mm) 864 864 865 -* **3**: The total rainfall after the sensor is powered on (for example Total rainfall: 166.5mm) 866 -* **4**: Hourly rainfall: 0.2mm 867 -* **5**: Rainfall in last hour: 0.2mm 868 -* **6**: 24-hour maximum rainfall 10.0mm 869 -* **8**: 24-hour minimum rainfall:0.0mm 870 -* **10**: Rainfall in 24 hours: 8.0mm (Rainfall in the last 24 hours) 766 +4: Hourly rainfall: 0.2mm 871 871 872 - ==3.8SettheMSP mode(Since firmwareV1.3.1) ==768 +5: Rainfall in last hour: 0.2mm 873 873 770 +6: 24-hour maximum rainfall 10.0mm 874 874 875 - (% style="color:red"%)**Note: This featureisavailable for WSS-02.**772 +8: 24-hour minimum rainfall:0.0mm 876 876 877 - Thisfunction isusedforthecontinuous collectionofwindspeed.774 +10: Rainfall in 24 hours: 8.0mm (Rainfall in the last 24 hours) 878 878 879 -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. 880 880 881 -(% style="color:#037691" %)**AT Command: AT+MSP** 882 - 883 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 884 -|=(% 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** 885 -|(% style="width:158px" %)((( 886 -AT+MSP=? 887 -)))|(% style="width:214px" %)Query whether MSP mode is on|(% style="width:136px" %)((( 888 -0(default) 889 - 890 -OK 891 -))) 892 -|(% style="width:158px" %)AT+MSP=0|(% style="width:214px" %)Disable the MSP mode|(% style="width:136px" %)OK 893 -|(% style="width:158px" %)AT+MSP=1|(% style="width:214px" %)Enable the MSP mode|(% style="width:136px" %)OK 894 - 895 -(% style="color:#037691" %)**Downlink Command: 0X34** 896 - 897 -* Downlink payload: 34 00 ~/~/ Equal to AT+MSP=0 898 -* Downlink payload: 34 01 ~/~/ Equal to AT+MSP=1 899 - 900 900 = 4. Power consumption and battery = 901 901 902 902 == 4.1 Total Power Consumption == ... ... @@ -1346,6 +1346,7 @@ 1346 1346 1347 1347 [[image:1656057199955-514.png]] 1348 1348 1226 + 1349 1349 [[image:1656057212438-475.png]] 1350 1350 1351 1351 ... ... @@ -1405,8 +1405,10 @@ 1405 1405 1406 1406 Do not power on while connect the cables. Double check the wiring before power on. 1407 1407 1286 + 1408 1408 [[image:1656057369259-804.png]] 1409 1409 1289 + 1410 1410 [[image:1656057377943-564.png]] 1411 1411 1412 1412 ... ... @@ -1469,8 +1469,10 @@ 1469 1469 1470 1470 Do not power on while connect the cables. Double check the wiring before power on. 1471 1471 1352 + 1472 1472 [[image:1656057557191-895.png]] 1473 1473 1355 + 1474 1474 [[image:1656057565783-251.png]] 1475 1475 1476 1476 ... ... @@ -1523,23 +1523,22 @@ 1523 1523 1524 1524 Users can run the AT+RAINFALLSWITCH command to query the data of the rain gauge. 1525 1525 1526 -AT+RAINFALLSWITCH=10(Range: 3 ,4,5,6,8,10)1408 +AT+RAINFALLSWITCH=10(Range: 3,4,5,6,8,10) 1527 1527 1528 -**Rainfall query value :**1410 +**Rainfall query value:** 1529 1529 1530 1530 3:The total rainfall after the sensor is powered on (for example Total rainfall: 166.5mm) 1531 1531 1532 1532 4:Current Hourly rainfall: etc 0.2mm 1533 1533 1534 -5:Rainfall in last hour: 1416 +5:Rainfall in last hour:etc 0.2mm 1535 1535 1536 -6:24-hour maximum rainfall :etc 10.0mm1418 +6:24-hour maximum rainfall etc 10.0mm 1537 1537 1538 -8:24-hour minimum rainfall: 1420 +8:24-hour minimum rainfall:etc 0.0mm 1539 1539 1540 -10:Rainfall in 24 hours: 8.0mm (Rainfall in the last 24 hours)1422 +10:Rainfall in 24 hours: 8.0mm (Rainfall in the last 24 hours) 1541 1541 1542 - 1543 1543 = 8. Trouble Shooting = 1544 1544 1545 1545 == 8.1 AT Command input doesn't work == ... ... @@ -1550,40 +1550,6 @@ 1550 1550 ))) 1551 1551 1552 1552 1553 -== 8.2 Possible reasons why the device is unresponsive: == 1554 - 1555 - 1556 -~1. Check whether the battery voltage is lower than 2.8V 1557 -2. Check whether the jumper of the device is correctly connected 1558 - 1559 -[[image:image-20240330173709-1.png]] 1560 - 1561 - 1562 -3. Check whether the switch here of the device is at the ISP(The switch can operate normally only when it is in RUN) 1563 - 1564 -[[image:image-20240330173724-2.png]] 1565 - 1566 - 1567 -== 8.3 The rain gauge keeps showing an incorrect value of 102.2 == 1568 - 1569 -When the rain gauge keeps showing wrong values, it means that the device has exceeded its maximum range. 1570 -Customer need to use RS485-USB to reset it 1571 - 1572 -Wiring method: 1573 -RS485-USB A<~-~-~-~-~-~-->rain gauge RS485A 1574 -RS485-USB B<~-~-~-~-~-~-->rain gauge RS485B 1575 - 1576 - 1577 -Use the reset command: 1578 - 1579 -06 06 00 37 00 03 79 B2 1580 - 1581 -[[image:image-20250219164620-1.png]] 1582 - 1583 - 1584 - 1585 - 1586 - 1587 1587 = 9. Order Info = 1588 1588 1589 1589 == 9.1 Main Process Unit ==
- image-20240330173709-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -445.4 KB - Content
- image-20240330173724-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -445.4 KB - Content
- image-20250122085744-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -86.9 KB - Content
- image-20250122085806-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -109.8 KB - Content
- image-20250219164620-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -9.1 KB - Content