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
-
... ... @@ -263,9 +263,11 @@ 263 263 264 264 265 265 266 -=== 2.4.2 Uplink FPORT=2, Real time sensor value === 266 +1. 267 +11. 268 +111. Uplink FPORT=2, Real time sensor value 267 267 268 -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="H"]].270 +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>>path:#Uplink_Interval]]. 269 269 270 270 Uplink uses FPORT=2 and every 20 minutes send one uplink by default. 271 271 ... ... @@ -274,11 +274,11 @@ 274 274 275 275 |Sensor Segment 1|Sensor Segment 2|……|Sensor Segment n 276 276 277 -** (% style="color:#4472C4" %)Uplink Payload**:279 +**Uplink Payload**: 278 278 279 279 |Type Code|Length (Bytes)|Measured Value 280 280 281 -** (% style="color:#4472C4" %)Sensor Segment Define**:283 +**Sensor Segment Define**: 282 282 283 283 284 284 ... ... @@ -388,7 +388,9 @@ 388 388 389 389 390 390 391 -=== 2.4.3 Decoder in TTN V3 === 393 +1. 394 +11. 395 +111. Decoder in TTN V3 392 392 393 393 In LoRaWAN platform, user only see HEX payload by default, user needs to use payload formatters to decode the payload to see human-readable value. 394 394 ... ... @@ -403,14 +403,15 @@ 403 403 404 404 405 405 406 -== 2.5 Show data on Application Server == 410 +1. 411 +11. Show data on Application Server 407 407 408 408 Application platform provides a human friendly interface to show the sensor data, once we have sensor data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps: 409 409 410 410 411 -** (% style="color:blue" %)Step 1**(%%): Be sure that your device is programmed and properly connected to the LoRaWAN network.416 +**Step 1**: Be sure that your device is programmed and properly connected to the LoRaWAN network. 412 412 413 -** (% style="color:blue" %)Step 2**(%%): Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations.418 +**Step 2**: Configure your Application to forward data to Datacake you will need to add integration. Go to TTN V3 Console ~-~-> Applications ~-~-> Integrations ~-~-> Add Integrations. 414 414 415 415 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png]] 416 416 ... ... @@ -428,13 +428,13 @@ 428 428 429 429 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png]] 430 430 436 +* 431 431 438 +1. Configure WSC1-L via AT Command or LoRaWAN Downlink 432 432 433 -= 3. Configure WSC1-L via AT Command or LoRaWAN Downlink = 434 - 435 435 Use can configure WSC1-L via AT Command or LoRaWAN Downlink. 436 436 437 -* AT Command Connection: See [[FAQ>> ||anchor="H"]].442 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 438 438 * LoRaWAN Downlink instruction for different platforms: 439 439 440 440 [[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]] ... ... @@ -442,7 +442,7 @@ 442 442 443 443 There are two kinds of commands to configure WSC1-L, they are: 444 444 445 -* ** (% style="color:#4472C4" %)General Commands**.450 +* **General Commands**. 446 446 447 447 These commands are to configure: 448 448 ... ... @@ -449,23 +449,24 @@ 449 449 * General system settings like: uplink interval. 450 450 * LoRaWAN protocol & radio related command. 451 451 452 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack( (% style="color:red" %)Note~*~*)(%%). These commands can be found on the wiki:457 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack(Note~*~*). These commands can be found on the wiki: 453 453 454 454 [[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 455 455 456 - (% style="color:red" %)Note~*~*: Please check early user manual if you don’t have v1.8.0 firmware.461 +Note~*~*: Please check early user manual if you don’t have v1.8.0 firmware. 457 457 458 458 459 -* ** (% style="color:#4472C4" %)Commands special design for WSC1-L**464 +* **Commands special design for WSC1-L** 460 460 461 461 These commands only valid for WSC1-L, as below: 462 462 463 463 464 -== 3.1 Set Transmit Interval Time == 469 +1. 470 +11. Set Transmit Interval Time 465 465 466 466 Feature: Change LoRaWAN End Node Transmit Interval. 467 467 468 -** (% style="color:#037691" %)AT Command: AT+TDC**474 +**AT Command: AT+TDC** 469 469 470 470 |**Command Example**|**Function**|**Response** 471 471 |AT+TDC?|Show current transmit Interval|((( ... ... @@ -481,7 +481,7 @@ 481 481 Set transmit interval to 60000ms = 60 seconds 482 482 ))) 483 483 484 -** (% style="color:#037691" %)Downlink Command: 0x01**490 +**Downlink Command: 0x01** 485 485 486 486 Format: Command Code (0x01) followed by 3 bytes time value. 487 487 ... ... @@ -492,33 +492,30 @@ 492 492 493 493 494 494 501 +1. 502 +11. Set Emergency Mode 495 495 496 - 497 -== 3.2 Set Emergency Mode == 498 - 499 499 Feature: In emergency mode, WSC1-L will uplink data every 1 minute. 500 500 501 501 502 -** (% style="color:#037691" %)AT Command:**507 +**AT Command:** 503 503 504 504 |**Command Example**|**Function**|**Response** 505 505 |AT+ALARMMOD=1|Enter emergency mode. Uplink every 1 minute|OK 506 506 |AT+ALARMMOD=0|Exit emergency mode. Uplink base on TDC time|OK 507 507 508 -** (% style="color:#037691" %)Downlink Command:**513 +**Downlink Command:** 509 509 510 510 * 0xE101 Same as: AT+ALARMMOD=1 511 511 * 0xE100 Same as: AT+ALARMMOD=0 512 512 513 513 519 +1. 520 +11. Add or Delete RS485 Sensor 514 514 515 - 516 - 517 -== 3.3 Add or Delete RS485 Sensor == 518 - 519 519 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. 520 520 521 -** (% style="color:#037691" %)AT Command: **524 +**AT Command: ** 522 522 523 523 AT+DYSENSOR=Type_Code, Query_Length, Query_Command , Read_Length , Valid_Data ,has_CRC,timeout 524 524 ... ... @@ -577,7 +577,7 @@ 577 577 AT+DYSENSOR ~-~-> List All 3^^rd^^ Party Sensor. Like below: 578 578 579 579 580 -** (% style="color:#037691" %)Downlink Command: **583 +**Downlink Command: ** 581 581 582 582 **delete custom sensor A1:** 583 583 ... ... @@ -588,13 +588,11 @@ 588 588 * 0xE5FF 589 589 590 590 594 +1. 595 +11. RS485 Test Command 591 591 597 +**AT Command:** 592 592 593 - 594 -== 3.4 RS485 Test Command == 595 - 596 -**(% style="color:#037691" %)AT Command:** 597 - 598 598 |**Command Example**|**Function**|**Response** 599 599 |AT+RSWRITE=xxxxxx|((( 600 600 Send command to 485 sensor ... ... @@ -607,17 +607,18 @@ 607 607 AT+RSWRITE=0103000001840A 608 608 609 609 610 -** (% style="color:#037691" %)Downlink Command:**611 +**Downlink Command:** 611 611 612 612 * 0xE20103000001840A Same as: AT+RSWRITE=0103000001840A 613 613 614 614 615 615 616 -== 3.5 RS485 response timeout == 617 +1. 618 +11. RS485 response timeout 617 617 618 618 Feature: Set or get extended time to receive 485 sensor data. 619 619 620 -** (% style="color:#037691" %)AT Command:**622 +**AT Command:** 621 621 622 622 |**Command Example**|**Function**|**Response** 623 623 |AT+DTR=1000|((( ... ... @@ -626,7 +626,7 @@ 626 626 Range : 0~~10000 627 627 )))|OK 628 628 629 -** (% style="color:#037691" %)Downlink Command:**631 +**Downlink Command:** 630 630 631 631 Format: Command Code (0xE0) followed by 3 bytes time value. 632 632 ... ... @@ -637,13 +637,12 @@ 637 637 638 638 639 639 642 +1. 643 +11. Set Sensor Type 640 640 641 - 642 -== 3.6 Set Sensor Type == 643 - 644 644 Feature: Set sensor in used. If there are 6 sensors, user can set to only send 5 sensors values. 645 645 646 -See [[definition>> ||anchor="H"]] for the sensor type.647 +See [[definition>>path:#Sensor_types]] for the sensor type. 647 647 648 648 649 649 |(% rowspan="2" %)Byte3|Bit23|Bit22|Bit21|Bit20|Bit19|Bit18|Bit17|Bit16 ... ... @@ -669,7 +669,7 @@ 669 669 Direction 670 670 )))|Wind Speed|BAT 671 671 672 -** (% style="color:#037691" %)AT Command:**673 +**AT Command:** 673 673 674 674 |**Command Example**|**Function**|**Response** 675 675 |AT+STYPE=80221|Set sensor types|OK ... ... @@ -686,11 +686,11 @@ 686 686 So wsc1-L will upload the following data: Custom Sensor A1, Rain Gauge,CO2,BAT. 687 687 688 688 689 -** (% style="color:#037691" %)Downlink Command:**690 +**Downlink Command:** 690 690 691 691 * 0xE400802212 Same as: AT+STYPE=80221 692 692 693 - (% style="color:red" %)**Note:**694 +Note: 694 694 695 695 ~1. The sensor type will not be saved to flash, and the value will be updated every time the sensor is restarted or rescanned 696 696 ... ... @@ -698,20 +698,21 @@ 698 698 699 699 700 700 701 -= 4. Power consumption and battery = 702 +1. Power consumption and battery 703 +11. Total Power Consumption 702 702 703 -== 4.1 Total Power Consumption == 704 - 705 705 Dragino Weather Station serial products include the main process unit ( WSC1-L ) and various sensors. The total power consumption equal total power of all above units. The power consumption for main process unit WSC1-L is 18ma @ 12v. and the power consumption of each sensor can be found on the Sensors chapter. 706 706 707 707 708 -== 4.2 Reduce power consumption == 708 +1. 709 +11. Reduce power consumption 709 709 710 710 The main process unit WSC1-L is set to LoRaWAN Class C by default. If user want to reduce the power consumption of this unit, user can set it to run in Class A. In Class A mode, WSC1-L will not be to get real-time downlink command from IoT Server. 711 711 712 712 713 713 714 -== 4.3 Battery == 715 +1. 716 +11. Battery 715 715 716 716 All sensors are only power by external power source. If external power source is off. All sensor won’t work. 717 717 ... ... @@ -720,10 +720,13 @@ 720 720 721 721 722 722 723 -= 5. Main Process Unit WSC1-L = 724 724 725 -== 5.1 Features == 726 726 727 + 728 + 729 +1. Main Process Unit WSC1-L 730 +11. Features 731 + 727 727 * Wall Attachable. 728 728 * LoRaWAN v1.0.3 Class A protocol. 729 729 * RS485 / Modbus protocol ... ... @@ -738,25 +738,27 @@ 738 738 739 739 740 740 746 +1. 747 +11. Power Consumption 741 741 742 - 743 -== 5.2 Power Consumption == 744 - 745 745 WSC1-L (without external sensor): Idle: 4mA, Transmit: max 40mA 746 746 747 747 748 748 749 -== 5.3 Storage & Operation Temperature == 753 +1. 754 +11. Storage & Operation Temperature 750 750 751 751 -20°C to +60°C 752 752 753 753 754 -== 5.4 Pin Mapping == 759 +1. 760 +11. Pin Mapping 755 755 756 756 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]] 757 757 758 758 759 -== 5.5 Mechanical == 765 +1. 766 +11. Mechanical 760 760 761 761 Refer LSn50v2 enclosure drawing in: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Mechanical_Drawing/>>url:https://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Mechanical_Drawing/]] 762 762 ... ... @@ -763,7 +763,8 @@ 763 763 764 764 765 765 766 -== 5.6 Connect to RS485 Sensors == 773 +1. 774 +11. Connect to RS485 Sensors 767 767 768 768 WSC1-L includes a RS485 converter PCB. Which help it easy to connect multiply RS485 sensors. Below is the photo for reference. 769 769