Changes for page WSC1-L-Dragino LoRaWAN Weather Station User Manual
Last modified by Mengting Qiu on 2025/06/10 18:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 7 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -78,11 +78,7 @@ 78 78 * MPPT Solar Recharger 79 79 * 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. 80 80 * Cabinet. 81 -(% style="display:none" %)(%%) 82 82 83 - 84 - 85 - 86 86 == 2.2 How it works? == 87 87 88 88 ... ... @@ -120,7 +120,7 @@ 120 120 121 121 Each WSC1-L is shipped with a sticker with the default device EUI as below: 122 122 123 -[[image:image-202 20624115043-1.jpeg]]119 +[[image:image-20230426084533-1.png||height="231" width="497"]] 124 124 125 125 126 126 User can enter these keys in the LoRaWAN Server portal. Below is TTN V3 screen shot: ... ... @@ -157,7 +157,6 @@ 157 157 158 158 [[image:1656042745346-283.png]] 159 159 160 - 161 161 == 2.4 Uplink Payload == 162 162 163 163 ... ... @@ -176,8 +176,8 @@ 176 176 User can also use downlink command**(0x2301)** to ask WSC1-L to resend this uplink 177 177 ))) 178 178 179 -(% border="1" cellspacing="8" style="background-color:#fff fcc;color:green;width:500px" %)180 -|=(% style="width: 70px;" %)**Size **|=(% style="width: 60px;" %)**1**|=(% style="width: 80px;" %)**2**|=(% style="width: 80px;" %)**1**|=(% style="width: 60px;" %)**1**|=(% style="width: 50px;" %)**2**|=(% style="width: 100px;" %)**3**174 +(% border="1" cellspacing="8" style="background-color:#f2f2f2; width:500px" %) 175 +|=(% 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** 181 181 |(% 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:"]] 182 182 183 183 [[image:1656043061044-343.png]] ... ... @@ -237,14 +237,19 @@ 237 237 238 238 ==== (% style="color:#037691" %)**Weather Sensor Types:**(%%) ==== 239 239 240 -(% border="1" cellspacing=" 10" style="background-color:#ffffcc;color:green;width:100px" %)235 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:100px" %) 241 241 |Byte3|Byte2|Byte1 242 242 243 243 Bit = 1 means this sensor is connected, Bit=0 means this sensor is not connected 244 244 245 -[[image:image-20220624134713-1.png]] 240 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:520px" %) 241 +|(% 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 +|(% 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 +|(% 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 +|(% 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 245 +|(% rowspan="2" style="width:53px" %)Byte1|(% style="width:71px" %)Bit7|(% style="width:113px" %)Bit6|(% style="width:112px" %)Bit5|(% style="width:113px" %)Bit4|(% style="width:112px" %)Bit3|(% style="width:70px" %)Bit2|(% style="width:72px" %)Bit1|(% style="width:53px" %)Bit0 246 +|(% style="width:71px" %)WSS-07|(% style="width:113px" %)WSS-06|(% style="width:112px" %)WSS-05|(% style="width:113px" %)WSS-04|(% style="width:112px" %)WSS-03|(% style="width:70px" %)WSS-02|(% style="width:72px" %)WSS-01|(% style="width:53px" %)N/A 246 246 247 - 248 248 Eg: 0x1000FE = 1 0000 0000 0000 1111 1110(b) 249 249 250 250 External sensors detected by WSC1-L include : ... ... @@ -286,20 +286,108 @@ 286 286 287 287 (% style="color:#4472c4" %)** Uplink Payload**: 288 288 289 -(% border="1" cellspacing=" 10" style="background-color:#ffffcc;color:green;width:464px" %)289 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:464px" %) 290 290 |(% style="width:140px" %)Sensor Segment 1|(% style="width:139px" %)Sensor Segment 2|(% style="width:42px" %)……|(% style="width:140px" %)Sensor Segment n 291 291 292 292 (% style="color:#4472c4" %)** Sensor Segment Define**: 293 293 294 -(% border="1" cellspacing="10" style="background-color:#fff fcc;color:green;width:330px" %)294 +(% border="1" cellspacing="10" style="background-color:#f2f2f2; width:330px" %) 295 295 |(% style="width:89px" %)Type Code|(% style="width:114px" %)Length (Bytes)|(% style="width:124px" %)Measured Value 296 296 297 297 (% style="color:#4472c4" %)**Sensor Type Table:** 298 298 299 -[[image:image-20220706154434-1.png]] 300 300 300 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:520px" %) 301 +|(% style="background-color:#d9e2f3; color:#0070c0; width:103px" %)**Sensor Type**|(% style="background-color:#d9e2f3; color:#0070c0; width:91px" %)**Type Code**|(% style="background-color:#d9e2f3; color:#0070c0; width:116px" %)**Range**|(% style="background-color:#d9e2f3; color:#0070c0; width:90px" %)**Length( Bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:120px" %)**Example** 302 +|(% style="width:103px" %)Wind Speed|(% style="width:91px" %)0x01|(% style="width:158px" %)((( 303 +((( 304 +Speed: 0~60m/s 305 +))) 301 301 302 302 ((( 308 +Level: 0~17 309 +))) 310 +)))|(% style="width:122px" %)0x03 |(% style="width:904px" %)((( 311 +((( 312 +0x0024/10=3.6m/s (0x02FE: No Sensor, 0x02EE: Value Error) 313 +))) 314 + 315 +((( 316 +0x02=2 (0x14: No Sensor, 0x15: Value Error) 317 +))) 318 +))) 319 +|(% style="width:103px" %)Wind Direction|(% style="width:91px" %)0x02|(% style="width:158px" %)((( 320 +((( 321 +Angel: 0~360° 322 +))) 323 + 324 +((( 325 +Direction: 16 positions 326 +))) 327 +)))|(% style="width:122px" %)0x03|(% style="width:904px" %)((( 328 +((( 329 +0x02C9/10=66.6°(0x0EFE: No Sensor,0x0EFF: Value Error) 330 +))) 331 + 332 +((( 333 +0X03=3(ENE) (0x14: No Sensor,0x15: Value Error) 334 +))) 335 +))) 336 +|(% style="width:103px" %)Illumination|(% style="width:91px" %)0x03|(% style="width:158px" %)0~200000kLux|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 337 +0x04D2*10=12340kLux (0x4EFE: No Sensor,0x4EFF: Value Error) 338 +))) 339 +|(% style="width:103px" %)Rain / Snow|(% style="width:91px" %)0x04|(% style="width:158px" %)0A: No, 01 Yes.|(% style="width:122px" %)0x01|(% style="width:904px" %)((( 340 +((( 341 +0x00 (00) No Rain or snow detected 342 +))) 343 + 344 +((( 345 +(0x02: No Sensor,0x03: Value Error) 346 +))) 347 +))) 348 +|(% style="width:103px" %)CO2|(% style="width:91px" %)0x05|(% style="width:158px" %)0~5000ppm|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 349 +0x0378=888ppm (0x14FE: No Sensor,0x14FF: Value Error) 350 +))) 351 +|(% style="width:103px" %)Temperature|(% style="width:91px" %)0x06|(% style="width:158px" %)-30℃~70℃|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 352 +0xFFDD/10=-3.5℃ (0x02FE: No Sensor,0x02FF: Value Error) 353 +))) 354 +|(% style="width:103px" %)Humidity|(% style="width:91px" %)0x07|(% style="width:158px" %)0~100%RH|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 355 +0x0164/10=35.6%RH (0x03FE: No Sensor,0x03FF: Value Error) 356 +))) 357 +|(% style="width:103px" %)Pressure|(% style="width:91px" %)0x08|(% style="width:158px" %)10~1100hPa|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 358 +0x2748/10=1005.6hPa (0x00: No Sensor,0x01: Value Error) 359 +))) 360 +|(% style="width:103px" %)Rain Gauge|(% style="width:91px" %)0x09|(% style="width:158px" %)((( 361 +0mm~100mm(Rainfall in the last 24 hours) 362 +)))|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 363 +((( 364 +0x0050/10=8mm (Rainfall within the 24 hours:8.0mm) 365 +))) 366 + 367 +((( 368 +(0x03FE: No Sensor,0x03FF: Value Error) 369 +))) 370 +))) 371 +|(% style="width:103px" %)PM2.5|(% style="width:91px" %)0x0A|(% style="width:158px" %)0~1000μg/m^^3^^|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 372 +0x0023=35μg/m^^3 ^^(0x03FE: No Sensor,0x03FF: Value Error) 373 +))) 374 +|(% style="width:103px" %)PM10|(% style="width:91px" %)0x0B|(% style="width:158px" %)0~1000μg/m^^3^^|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 375 +0x002D=45μg/m^^3 ^^(0x03FE: No Sensor,0x03FF: Value Error) 376 +))) 377 +|(% style="width:103px" %)PAR|(% style="width:91px" %)0x0C|(% style="width:158px" %)((( 378 +0~2500μmol/m^^2^^•s 379 +)))|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 380 +0x00B3=179μmol/m^^2^^•s (0x09FE: No Sensor,0x09FF: Value Error) 381 +))) 382 +|(% style="width:103px" %)((( 383 +Total Solar 384 + 385 +Radiation 386 +)))|(% style="width:91px" %)0x0D|(% style="width:158px" %)0~2000W/m^^2^^|(% style="width:122px" %)0x02|(% style="width:904px" %)((( 387 +0x0073/10=11.5W/m^^2^^(0x4EFE: No Sensor,0x4EFF: Value Error) 388 +))) 389 + 390 +((( 303 303 Below is an example payload: [[image:image-20220624140615-3.png]] 304 304 ))) 305 305 ... ... @@ -427,19 +427,27 @@ 427 427 428 428 (% style="color:#037691" %)**AT Command: AT+TDC** 429 429 430 -[[image:image-20220624142619-8.png]] 518 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:501px" %) 519 +|(% 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** 520 +|(% style="width:155px" %)AT+TDC=?|(% style="width:162px" %)Show current transmit Interval|(% style="width:177px" %)((( 521 +30000 522 +OK 523 +the interval is 30000ms = 30s 524 +))) 525 +|(% style="width:155px" %)AT+TDC=60000|(% style="width:162px" %)Set Transmit Interval|(% style="width:177px" %)((( 526 +OK 527 +Set transmit interval to 60000ms = 60 seconds 528 +))) 431 431 432 - 433 433 (% style="color:#037691" %)**Downlink Command: 0x01** 434 434 435 435 Format: Command Code (0x01) followed by 3 bytes time value. 436 436 437 -If the downlink payload=0100003C, it means set the END Node ’s Transmit Interval to 0x00003C=60(S), while type code is 01.534 +If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01. 438 438 439 439 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 440 440 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 441 441 442 - 443 443 == 3.2 Set Emergency Mode == 444 444 445 445 ... ... @@ -447,9 +447,16 @@ 447 447 448 448 (% style="color:#037691" %)**AT Command:** 449 449 450 -[[image:image-20220624142956-9.png]] 546 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:465.818px" %) 547 +|(% style="background-color:#d9e2f3; color:#0070c0; width:155px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:224px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:84px" %)**Response** 548 +|(% style="width:155px" %)AT+ALARMMOD=1|(% style="width:224px" %)Enter emergency mode. Uplink every 1 minute|(% style="width:84px" %)((( 549 +OK 550 + 551 +))) 552 +|(% style="width:155px" %)AT+ALARMMOD=0|(% style="width:224px" %)Exit emergency mode. Uplink base on TDC time|(% style="width:84px" %)((( 553 +OK 554 +))) 451 451 452 - 453 453 (% style="color:#037691" %)**Downlink Command:** 454 454 455 455 * 0xE101 Same as: AT+ALARMMOD=1 ... ... @@ -529,8 +529,8 @@ 529 529 530 530 In every sampling. WSC1-L will auto append the sensor segment as per this structure and uplink. 531 531 532 -(% border="1" cellspacing=" 10" style="background-color:#ffffcc;color:green;width:351px" %)533 -|=(% style="width: 9 4px;" %)Type Code|=(% style="width: 121px;" %)Length (Bytes)|=(% style="width: 132px;" %)Measured Value635 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:351px" %) 636 +|=(% 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 534 534 |(% style="width:94px" %)A1|(% style="width:121px" %)2|(% style="width:132px" %)0x000A 535 535 536 536 **Related commands:** ... ... @@ -555,8 +555,8 @@ 555 555 556 556 (% style="color:#037691" %)**AT Command:** 557 557 558 -(% border="1" cellspacing=" 10" style="background-color:#ffffcc;color:green;width:474px" %)559 -|=(% style="width: 1 59px;" %)**Command Example**|=(% style="width: 227px;" %)**Function**|=(% style="width: 85px;" %)**Response**661 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:474px" %) 662 +|=(% style="width: 160px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 228px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 86px;background-color:#D9E2F3;color:#0070C0" %)**Response** 560 560 |(% style="width:159px" %)AT+RSWRITE=xxxxxx|(% style="width:227px" %)((( 561 561 ((( 562 562 Send command to 485 sensor ... ... @@ -583,8 +583,8 @@ 583 583 584 584 (% style="color:#037691" %)**AT Command:** 585 585 586 -(% border="1" cellspacing=" 10" style="background-color:#ffffcc;color:green;width:433px" %)587 -|=(% style="width: 157px;" %)**Command Example**|=(% style="width: 1 88px;" %)**Function**|=(% style="width: 85px;" %)**Response**689 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:433px" %) 690 +|=(% 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** 588 588 |(% style="width:157px" %)AT+DTR=1000|(% style="width:188px" %)((( 589 589 ((( 590 590 Set response timeout to: ... ... @@ -613,20 +613,44 @@ 613 613 614 614 ((( 615 615 See [[definition>>||anchor="HWeatherSensorTypes:"]] for the sensor type. 719 + 720 +(% border="1" cellspacing="5" style="width:520px;background-color:#F2F2F2" %) 721 +|(% rowspan="2" %)Byte3|Bit23|Bit22|Bit21|Bit20|Bit19|Bit18|Bit17|Bit16 722 +| |A4|A3|A2|A1| | | 723 +|(% rowspan="2" %)Byte2|Bit15|Bit14|Bit13|Bit12|Bit11|Bit10|Bit9|Bit8 724 +| | |Solar Radiation|PAR|PM10|PM2.5|((( 725 +Rain 726 + 727 +Gauge 728 +)))|((( 729 +Air 730 + 731 +Pressure 616 616 ))) 733 +|(% rowspan="2" %)Byte1|Bit7|Bit6|Bit5|Bit4|Bit3|Bit2|Bit1|Bit0 734 +|Humidity|Temperature|CO2|((( 735 +Rain/Snow 617 617 737 +Detect 738 +)))|illuminance|((( 739 +Wind 740 + 741 +Direction 742 +)))|Wind Speed|BAT 743 +))) 744 + 618 618 [[image:image-20220624144904-12.png]] 619 619 620 620 621 621 (% style="color:#037691" %)**AT Command:** 622 622 623 -(% border="1" cellspacing=" 10" style="background-color:#ffffcc;color:green;width:377px" %)624 -|=(% style="width: 157px;" %)**Command Example**|=(% style="width: 13 0px;" %)**Function**|=(% style="width: 87px;" %)**Response**750 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:377px" %) 751 +|=(% 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** 625 625 |(% style="width:157px" %)AT+STYPE=80221|(% style="width:130px" %)Set sensor types|(% style="width:87px" %)OK 626 626 627 627 Eg: The setting command **AT+STYPE=80221** means: 628 628 629 -(% border="1" cellspacing=" 10" style="background-color:#ffffcc;color:green;width:495px" %)756 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:495px" %) 630 630 |(% 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 631 631 |(% 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 632 632 |(% 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 ... ... @@ -947,7 +947,6 @@ 947 947 [[image:1656056708366-230.png]] 948 948 949 949 950 - 951 951 === 6.3.4 Pin Mapping === 952 952 953 953 ... ... @@ -1272,6 +1272,11 @@ 1272 1272 Yes, connect the sensor to RS485 bus and see instruction: [[add sensors.>>||anchor="H3.3AddorDeleteRS485Sensor"]] 1273 1273 1274 1274 1401 +== 7.5 Where can i find the modbus command for the WSS sensors? == 1402 + 1403 +See this link for the [[modbus command set>>https://www.dropbox.com/s/rw90apbar029a4w/Weather_Sensors_Modbus_Command_List.xlsx?dl=0]]. 1404 + 1405 + 1275 1275 = 8. Trouble Shooting = 1276 1276 1277 1277 == 8.1 AT Command input doesn't work ==
- image-20230426084533-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +190.0 KB - Content
- image-20230428160237-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.4 KB - Content
- image-20230428161801-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.7 KB - Content
- image-20230428162045-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +14.7 KB - Content
- image-20230428162233-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +15.8 KB - Content
- image-20230428162341-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +26.5 KB - Content
- image-20230428162706-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +105.4 KB - Content