Changes for page WSC1-L-Dragino LoRaWAN Weather Station User Manual
Last modified by Xiaoling on 2025/05/07 14:00
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 3 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,18 +396,15 @@ 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. 403 403 404 - 405 405 (% style="color:#037691" %)**AT Command:** 406 406 407 -|**Command Example**|**Function**|**Response** 408 -|AT+ALARMMOD=1|Enter emergency mode. Uplink every 1 minute|OK 409 -|AT+ALARMMOD=0|Exit emergency mode. Uplink base on TDC time|OK 403 +[[image:image-20220624142956-9.png]] 410 410 405 + 411 411 (% style="color:#037691" %)**Downlink Command:** 412 412 413 413 * 0xE101 Same as: AT+ALARMMOD=1 ... ... @@ -415,7 +415,6 @@ 415 415 416 416 417 417 418 - 419 419 == 3.3 Add or Delete RS485 Sensor == 420 420 421 421 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. ... ... @@ -422,32 +422,31 @@ 422 422 423 423 (% style="color:#037691" %)**AT Command: ** 424 424 425 -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** 426 426 427 -* Type_Code range: A1 ~~ A4 428 -* Query_Length: RS485 Query frame length, Value cannot be greater than 10 429 -* Query_Command: RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes 430 -* Read_Length: RS485 response frame length supposed to receive. Max can receive 431 -* Valid_Data: valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN. 432 -* 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. 433 -* timeout: RS485 receive timeout (uint:ms). Device will close receive window after timeout 421 +* Type_Code range: A1 ~~ A4 422 +* Query_Length: RS485 Query frame length, Value cannot be greater than 10 423 +* Query_Command: RS485 Query frame data to be sent to sensor, cannot be larger than 10 bytes 424 +* Read_Length: RS485 response frame length supposed to receive. Max can receive 425 +* Valid_Data: valid data from RS485 Response, Valid Data will be added to Payload and upload via LoRaWAN. 426 +* 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. 427 +* timeout: RS485 receive timeout (uint:ms). Device will close receive window after timeout 434 434 435 -Example: 436 436 430 +**Example:** 431 + 437 437 User need to change external sensor use the type code as address code. 438 438 439 439 With a 485 sensor, after correctly changing the address code to A1, the RS485 query frame is shown in the following table: 440 440 441 -|Address Code|Function Code|(% colspan="2" %)Start Register|(% colspan="2" %)Data Length|CRC Check Low|CRC Check High 442 -|0xA1|0x03|0x00|0x00|0x00|0x01|0x9C|0xAA 443 -| | | | | | | | 436 +[[image:image-20220624143553-10.png]] 444 444 438 + 445 445 The response frame of the sensor is as follows: 446 446 447 -|Address Code|Function Code|(% colspan="2" %)Data Length|(% colspan="2" %)Data|CRC Check Low|CRC Check High 448 -|0xA1|0x03|0x00|0x02|0x00|0x0A|0x7C|0xAD 449 -| | | | | | | | 441 +[[image:image-20220624143618-11.png]] 450 450 443 + 451 451 Then the following parameters should be: 452 452 453 453 * Address_Code range: A1 ... ... @@ -487,7 +487,6 @@ 487 487 488 488 489 489 490 - 491 491 == 3.4 RS485 Test Command == 492 492 493 493 (% style="color:#037691" %)**AT Command:** ... ... @@ -510,7 +510,6 @@ 510 510 511 511 512 512 513 - 514 514 == 3.5 RS485 response timeout == 515 515 516 516 Feature: Set or get extended time to receive 485 sensor data. ... ... @@ -535,7 +535,6 @@ 535 535 536 536 537 537 538 - 539 539 == 3.6 Set Sensor Type == 540 540 541 541 Feature: Set sensor in used. If there are 6 sensors, user can set to only send 5 sensors values.
- image-20220624142956-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.2 KB - Content
- image-20220624143553-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.7 KB - Content
- image-20220624143618-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.3 KB - Content