Changes for page WSC1-L-Dragino LoRaWAN Weather Station User Manual
Last modified by Xiaoling on 2025/04/25 09:08
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -77,7 +77,6 @@ 77 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. 78 78 * Cabinet. 79 79 80 - 81 81 == 2.2 How it works? == 82 82 83 83 ((( ... ... @@ -95,7 +95,6 @@ 95 95 1. WSC1-L will auto scan available weather sensors when power on or reboot. 96 96 1. User can send a downlink command to WSC1-L to do a re-scan on the available sensors. 97 97 98 - 99 99 == 2.3 Example to use for LoRaWAN network == 100 100 101 101 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. ... ... @@ -396,7 +396,6 @@ 396 396 397 397 398 398 399 - 400 400 == 3.2 Set Emergency Mode == 401 401 402 402 Feature: In emergency mode, WSC1-L will uplink data every 1 minute. ... ... @@ -413,7 +413,6 @@ 413 413 414 414 415 415 416 - 417 417 == 3.3 Add or Delete RS485 Sensor == 418 418 419 419 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. ... ... @@ -420,7 +420,7 @@ 420 420 421 421 (% style="color:#037691" %)**AT Command: ** 422 422 423 -AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout 419 +(% style="color:blue" %)**AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout** 424 424 425 425 * Type_Code range: A1 ~~ A4 426 426 * Query_Length: RS485 Query frame length, Value cannot be greater than 10 ... ... @@ -430,22 +430,21 @@ 430 430 * 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. 431 431 * timeout: RS485 receive timeout (uint:ms). Device will close receive window after timeout 432 432 433 -Example: 434 434 430 +**Example:** 431 + 435 435 User need to change external sensor use the type code as address code. 436 436 437 437 With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table: 438 438 439 -|Address Code|Function Code|(% colspan="2" %)Start Register|(% colspan="2" %)Data Length|CRC Check Low|CRC Check High 440 -|0xA1|0x03|0x00|0x00|0x00|0x01|0x9C|0xAA 441 -| | | | | | | | 436 +[[image:image-20220624143553-10.png]] 442 442 438 + 443 443 The response frame of the sensor is as follows: 444 444 445 -|Address Code|Function Code|(% colspan="2" %)Data Length|(% colspan="2" %)Data|CRC Check Low|CRC Check High 446 -|0xA1|0x03|0x00|0x02|0x00|0x0A|0x7C|0xAD 447 -| | | | | | | | 441 +[[image:image-20220624143618-11.png]] 448 448 443 + 449 449 Then the following parameters should be: 450 450 451 451 * Address_Code range: A1 ... ... @@ -463,14 +463,15 @@ 463 463 464 464 In every sampling. WSC1-L will auto append the sensor segment as per this structure and uplink. 465 465 466 -|Type Code|Length (Bytes)|Measured Value 467 -|A1|2|0x000A 461 +(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:351px" %) 462 +|=(% style="width: 94px;" %)Type Code|=(% style="width: 121px;" %)Length (Bytes)|=(% style="width: 132px;" %)Measured Value 463 +|(% style="width:94px" %)A1|(% style="width:121px" %)2|(% style="width:132px" %)0x000A 468 468 469 469 Related commands: 470 470 471 -AT+DYSENSOR=A1,0 –> Delete 3^^rd^^ party sensor A1.467 +AT+DYSENSOR=A1,0 ~-~-> Delete 3^^rd^^ party sensor A1. 472 472 473 -AT+DYSENSOR ~-~-> List All 3^^rd^^ Party Sensor. Like below: 469 +AT+DYSENSOR ~-~-> List All 3^^rd^^ Party Sensor. Like below: 474 474 475 475 476 476 (% style="color:#037691" %)**Downlink Command: ** ... ... @@ -485,7 +485,6 @@ 485 485 486 486 487 487 488 - 489 489 == 3.4 RS485 Test Command == 490 490 491 491 (% style="color:#037691" %)**AT Command:** ... ... @@ -508,7 +508,6 @@ 508 508 509 509 510 510 511 - 512 512 == 3.5 RS485 response timeout == 513 513 514 514 Feature: Set or get extended time to receive 485 sensor data. ... ... @@ -533,7 +533,6 @@ 533 533 534 534 535 535 536 - 537 537 == 3.6 Set Sensor Type == 538 538 539 539 Feature: Set sensor in used. If there are 6 sensors, user can set to only send 5 sensors values.