Changes for page WSC1-L-Dragino LoRaWAN Weather Station User Manual
Last modified by Mengting Qiu on 2025/03/18 17:31
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.David - Content
-
... ... @@ -1,13 +3,8 @@ 1 - 2 - 3 3 (% style="text-align:center" %) 4 4 [[image:1656035424980-692.png||height="533" width="386"]] 5 5 6 6 7 7 8 - 9 - 10 - 11 11 **Table of Contents:** 12 12 13 13 {{toc/}} ... ... @@ -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 62 + 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 89 + 93 93 ((( 94 94 Open WSC1-L and put the yellow jumper as below position to power on WSC1-L. 95 95 ))) ... ... @@ -102,16 +102,16 @@ 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 110 110 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. 111 111 107 + 112 112 [[image:1656042612899-422.png]] 113 113 114 114 111 + 115 115 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: 116 116 117 117 ... ... @@ -128,7 +128,6 @@ 128 128 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 - 132 132 **Add APP EUI in the application.** 133 133 134 134 [[image:1656042662694-311.png]] ... ... @@ -136,20 +136,25 @@ 136 136 [[image:1656042673910-429.png]] 137 137 138 138 135 + 136 + 139 139 **Choose Manually to add WSC1-L** 140 140 141 141 [[image:1656042695755-103.png]] 142 142 143 143 142 + 144 144 **Add APP KEY and DEV EUI** 145 145 146 146 [[image:1656042723199-746.png]] 147 147 148 148 148 + 149 149 ((( 150 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. 151 151 ))) 152 152 153 + 153 153 [[image:1656042745346-283.png]] 154 154 155 155 ... ... @@ -171,9 +171,9 @@ 171 171 User can also use downlink command**(0x2301)** to ask WSC1-L to resend this uplink 172 172 ))) 173 173 174 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:500px" %)175 -|=(% style="width: 70px;background-color:# 4F81BD;color:white" %)**Size(**bytes)|=(% style="width: 60px;background-color:#4F81BD;color:white" %)1|=(% style="width: 80px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 80px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 60px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 50px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 100px;background-color:#4F81BD;color:white" %)**3**176 -|(% style="width:99px" %)Value|(% style="width:112px" %)[[Sensor Model>>||anchor="HSensorModel:"]]|(% style="width:135px" %)[[Firmware Version>>||anchor="HFirmwareVersion:"]]|(% style="width:126px" %)[[Frequency Band>>||anchor="HFrequencyBand:"]]|(% style="width:85px" %)[[Sub-band>>||anchor="HSub-Band:"]]|(% style="width:46px" %)[[BAT>>||anchor="HBAT:"]]|(% style="width:166px" %)[[Weather Sensor Types>>||anchor="HWeatherSensorTypes:"]] 175 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 176 +|=(% style="width: 70px;background-color:#D9E2F3" %)**Size(**bytes)|=(% style="width: 60px;background-color:#D9E2F3" %)1|=(% style="width: 80px;background-color:#D9E2F3" %)**2**|=(% style="width: 80px;background-color:#D9E2F3" %)**1**|=(% style="width: 60px;background-color:#D9E2F3" %)**1**|=(% style="width: 50px;background-color:#D9E2F3" %)**2**|=(% style="width: 100px;background-color:#D9E2F3" %)**3** 177 +|(% style="width:99px" %)**Value**|(% style="width:112px" %)[[Sensor Model>>||anchor="HSensorModel:"]]|(% style="width:135px" %)[[Firmware Version>>||anchor="HFirmwareVersion:"]]|(% style="width:126px" %)[[Frequency Band>>||anchor="HFrequencyBand:"]]|(% style="width:85px" %)[[Sub-band>>||anchor="HSub-Band:"]]|(% style="width:46px" %)[[BAT>>||anchor="HBAT:"]]|(% style="width:166px" %)[[Weather Sensor Types>>||anchor="HWeatherSensorTypes:"]] 177 177 178 178 [[image:1656043061044-343.png]] 179 179 ... ... @@ -237,8 +237,8 @@ 237 237 238 238 Bit = 1 means this sensor is connected, Bit=0 means this sensor is not connected 239 239 240 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:517px" %)241 -|(% rowspan="2" style="width:53px" %)Byte3|(% style="width:71px" %)Bit23|(% style="width:113px" %)Bit22|(% style="width:112px" %)Bit21|(% style="width:11 0px" %)Bit20|(% style="width:112px" %)Bit19|(% style="width:70px" %)Bit18|(% style="width:72px" %)Bit17|(% style="width:53px" %)Bit16241 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:520px" %) 242 +|(% rowspan="2" style="width:53px" %)Byte3|(% style="width:71px" %)Bit23|(% style="width:113px" %)Bit22|(% style="width:112px" %)Bit21|(% style="width:113px" %)Bit20|(% style="width:112px" %)Bit19|(% style="width:70px" %)Bit18|(% style="width:72px" %)Bit17|(% style="width:53px" %)Bit16 242 242 |(% style="width:71px" %)N/A|(% style="width:113px" %)Customize-A4|(% style="width:112px" %)Customize-A3|(% style="width:113px" %)Customize-A2|(% style="width:112px" %)Customize-A1|(% style="width:70px" %)N/A|(% style="width:72px" %)N/A|(% style="width:53px" %)N/A 243 243 |(% rowspan="2" style="width:53px" %)Byte2|(% style="width:71px" %)Bit15|(% style="width:113px" %)Bit14|(% style="width:112px" %)Bit13|(% style="width:113px" %)Bit12|(% style="width:112px" %)Bit11|(% style="width:70px" %)Bit10|(% style="width:72px" %)Bit9|(% style="width:53px" %)Bit8 244 244 |(% style="width:71px" %)N/A|(% style="width:113px" %)N/A|(% style="width:112px" %)N/A|(% style="width:113px" %)N/A|(% style="width:112px" %)N/A|(% style="width:70px" %)N/A|(% style="width:72px" %)N/A|(% style="width:53px" %)N/A ... ... @@ -278,6 +278,7 @@ 278 278 Uplink uses FPORT=2 and every 20 minutes send one uplink by default. 279 279 ))) 280 280 282 + 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 ))) ... ... @@ -295,8 +295,8 @@ 295 295 296 296 (% style="color:#4472c4" %)**Sensor Type Table:** 297 297 298 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)299 -|(% 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**300 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 301 +|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**Sensor Type**|(% style="background-color:#d9e2f3; color:#0070c0; width:65px" %)**Type Code**|(% style="background-color:#d9e2f3; color:#0070c0; width:97px" %)**Range**|(% style="background-color:#d9e2f3; color:#0070c0; width:78px" %)**Length( Bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:190px" %)**Example** 300 300 |(% style="width:103px" %)Wind Speed|(% style="width:91px" %)0x01|(% style="width:158px" %)((( 301 301 Speed: 0 ~~ 60m/s 302 302 Level: 0 ~~ 17 ... ... @@ -419,6 +419,7 @@ 419 419 Download decoder for suitable platform from: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]] 420 420 ))) 421 421 424 + 422 422 ((( 423 423 and put as below: 424 424 ))) ... ... @@ -444,18 +444,22 @@ 444 444 [[image:1656051197172-131.png]] 445 445 446 446 450 + 447 447 **Add TagoIO:** 448 448 449 449 [[image:1656051223585-631.png]] 450 450 451 451 456 + 452 452 **Authorization:** 453 453 454 454 [[image:1656051248318-368.png]] 455 455 456 456 462 + 457 457 In TagoIO console ([[https:~~/~~/admin.tago.io~~/~~/>>url:https://datacake.co/]]) , add WSC1-L: 458 458 465 + 459 459 [[image:1656051277767-168.png]] 460 460 461 461 ... ... @@ -493,8 +493,8 @@ 493 493 494 494 (% style="color:#037691" %)**AT Command: AT+TDC** 495 495 496 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:501px" %)497 -|(% style="background-color:# 4f81bd; color:white; width:155px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:166px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:180px" %)**Response**503 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 504 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:166px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:180px" %)**Response** 498 498 |(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)((( 499 499 30000 500 500 OK ... ... @@ -521,8 +521,8 @@ 521 521 522 522 (% style="color:#037691" %)**AT Command:** 523 523 524 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:466px" %)525 -|(% style="background-color:# 4f81bd; color:white; width:156px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:225px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:85px" %)**Response**531 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:466px" %) 532 +|(% style="background-color:#d9e2f3; color:#0070c0; width:156px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:225px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:85px" %)**Response** 526 526 |(% style="width:155px" %)AT+ALARMMOD=1|(% style="width:224px" %)Enter emergency mode. Uplink every 1 minute|(% style="width:84px" %)((( 527 527 OK 528 528 ... ... @@ -610,8 +610,8 @@ 610 610 611 611 In every sampling. WSC1-L will auto append the sensor segment as per this structure and uplink. 612 612 613 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:351px" %)614 -|=(% style="width: 95px;background-color:# 4F81BD;color:white" %)Type Code|=(% style="width: 122px;background-color:#4F81BD;color:white" %)Length (Bytes)|=(% style="width: 134px;background-color:#4F81BD;color:white" %)Measured Value620 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:351px" %) 621 +|=(% style="width: 95px;background-color:#D9E2F3;color:#0070C0" %)Type Code|=(% style="width: 122px;background-color:#D9E2F3;color:#0070C0" %)Length (Bytes)|=(% style="width: 134px;background-color:#D9E2F3;color:#0070C0" %)Measured Value 615 615 |(% style="width:94px" %)A1|(% style="width:121px" %)2|(% style="width:132px" %)0x000A 616 616 617 617 **Related commands:** ... ... @@ -636,8 +636,8 @@ 636 636 637 637 (% style="color:#037691" %)**AT Command:** 638 638 639 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:494px" %)640 -|=(% style="width: 160px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 248px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response**646 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:494px" %) 647 +|=(% style="width: 160px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 248px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 86px;background-color:#D9E2F3;color:#0070C0" %)**Response** 641 641 |(% style="width:159px" %)AT+RSWRITE=xxxxxx|(% style="width:227px" %)((( 642 642 Send command to 485 sensor. Range : no more than 10 bytes 643 643 )))|(% style="width:85px" %)OK ... ... @@ -658,8 +658,8 @@ 658 658 659 659 (% style="color:#037691" %)**AT Command:** 660 660 661 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:433px" %)662 -|=(% style="width: 157px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 190px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 86px;background-color:#4F81BD;color:white" %)**Response**668 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %) 669 +|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 86px;background-color:#D9E2F3;color:#0070C0" %)**Response** 663 663 |(% style="width:157px" %)AT+DTR=1000|(% style="width:188px" %)((( 664 664 Set response timeout to: Range : 0~~10000 665 665 )))|(% style="width:85px" %)OK ... ... @@ -683,7 +683,7 @@ 683 683 ((( 684 684 See [[definition>>||anchor="HWeatherSensorTypes:"]] for the sensor type. 685 685 686 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:517px" %)693 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:520px" %) 687 687 |(% rowspan="2" %)Byte3|Bit23|Bit22|Bit21|Bit20|Bit19|Bit18|Bit17|Bit16 688 688 | |A4|A3|A2|A1| | | 689 689 |(% rowspan="2" %)Byte2|Bit15|Bit14|Bit13|Bit12|Bit11|Bit10|Bit9|Bit8 ... ... @@ -707,13 +707,13 @@ 707 707 708 708 (% style="color:#037691" %)**AT Command:** 709 709 710 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:377px" %)711 -|=(% style="width: 157px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 132px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 88px;background-color:#4F81BD;color:white" %)**Response**717 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:377px" %) 718 +|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 132px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 88px;background-color:#D9E2F3;color:#0070C0" %)**Response** 712 712 |(% style="width:157px" %)AT+STYPE=80221|(% style="width:130px" %)Set sensor types|(% style="width:87px" %)OK 713 713 714 714 Eg: The setting command **AT+STYPE=80221** means: 715 715 716 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:495px" %)723 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:495px" %) 717 717 |(% rowspan="2" style="width:57px" %)Byte3|(% style="width:57px" %)Bit23|(% style="width:59px" %)Bit22|(% style="width:56px" %)Bit21|(% style="width:51px" %)Bit20|(% style="width:54px" %)Bit19|(% style="width:54px" %)Bit18|(% style="width:52px" %)Bit17|(% style="width:52px" %)Bit16 718 718 |(% style="width:57px" %)0|(% style="width:59px" %)0|(% style="width:56px" %)0|(% style="width:51px" %)0|(% style="width:54px" %)1|(% style="width:54px" %)0|(% style="width:52px" %)0|(% style="width:52px" %)0 719 719 |(% rowspan="2" style="width:57px" %)Byte2|(% style="width:57px" %)Bit15|(% style="width:59px" %)Bit14|(% style="width:56px" %)Bit13|(% style="width:51px" %)Bit12|(% style="width:54px" %)Bit11|(% style="width:54px" %)Bit10|(% style="width:52px" %)Bit9|(% style="width:52px" %)Bit8 ... ... @@ -738,10 +738,10 @@ 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**748 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %) 749 +|=(% style="width: 172px; background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 175px; background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 86px;background-color:#D9E2F3;color:#0070C0" %)**Response** 743 743 |(% style="width:161px" %)((( 744 -AT+RAINFALLSWITCH=1 0(Range:3,4,5,6,8,10)751 +AT+RAINFALLSWITCH=1(Range: 1~~10) 745 745 )))|(% style="width:184px" %)((( 746 746 Set the registers read by the rain gauge 747 747 )))|(% style="width:85px" %)OK ... ... @@ -748,21 +748,10 @@ 748 748 749 749 (% style="color:#037691" %)**Downlink Command:** 750 750 751 -* 0x170 3Same as: AT+RAINFALLSWITCH=3758 +* 0x1701 Same as: AT+RAINFALLSWITCH=1 752 752 753 - 3: The total rainfall after the sensoris powered on (for example Total rainfall:166.5mm)760 +[[image:image-20231030102056-3.png]] 754 754 755 -4: Hourly rainfall: 0.2mm 756 - 757 -5: Rainfall in last hour: 0.2mm 758 - 759 -6: 24-hour maximum rainfall 10.0mm 760 - 761 -8: 24-hour minimum rainfall:0.0mm 762 - 763 -10: Rainfall in 24 hours: 8.0mm (Rainfall in the last 24 hours) 764 - 765 - 766 766 = 4. Power consumption and battery = 767 767 768 768 == 4.1 Total Power Consumption == ... ... @@ -1391,25 +1391,10 @@ 1391 1391 1392 1392 == 7.6 How to change the data read by the rain gauge? == 1393 1393 1390 +AT+RAINFALLSWITCH=1(Range: 1~~10) 1-10 corresponds to the sensor register. 1394 1394 1395 - Userscanunthe AT+RAINFALLSWITCH commandtoquerythedataoftheuge.1392 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/Dragino%20LoRaWAN%20Weather%20Station%20User%20Manual/WebHome/image-20231030102056-3.png?rev=1.1||alt="image-20231030102056-3.png"]] 1396 1396 1397 -AT+RAINFALLSWITCH=10(Range: 3,4,5,6,8,10) 1398 - 1399 -**Rainfall query value:** 1400 - 1401 -3:The total rainfall after the sensor is powered on (for example Total rainfall: 166.5mm) 1402 - 1403 -4:Current Hourly rainfall: etc 0.2mm 1404 - 1405 -5:Rainfall in last hour:etc 0.2mm 1406 - 1407 -6:24-hour maximum rainfall etc 10.0mm 1408 - 1409 -8:24-hour minimum rainfall:etc 0.0mm 1410 - 1411 -10:Rainfall in 24 hours: 8.0mm (Rainfall in the last 24 hours) 1412 - 1413 1413 = 8. Trouble Shooting = 1414 1414 1415 1415 == 8.1 AT Command input doesn't work == ... ... @@ -1441,8 +1441,8 @@ 1441 1441 == 9.2 Sensors == 1442 1442 1443 1443 1444 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:500px" %)1445 -|=(% style="width: 300px;background-color:# 4F81BD;color:white" %)**Sensor Model**|=(% style="width: 200px;background-color:#4F81BD;color:white" %)**Part Number**1425 +(% border="1" cellspacing="10" style="background-color:#f2f2f2; width:500px" %) 1426 +|=(% style="width: 300px;background-color:#D9E2F3;color:#0070C0" %)**Sensor Model**|=(% style="width: 200px;background-color:#D9E2F3;color:#0070C0" %)**Part Number** 1446 1446 |(% style="width:462px" %)Rain Gauge|(% style="width:120px" %)WSS-01 1447 1447 |(% style="width:462px" %)Rain Gauge installation Bracket for Pole|(% style="width:120px" %)WS-K2 1448 1448 |(% style="width:462px" %)Wind Speed Direction 2 in 1 Sensor|(% style="width:120px" %)WSS-02