Changes for page LSN50v2-D20-D22-D23 LoRaWAN Temperature Sensor User Manual
Last modified by Xiaoling on 2024/01/17 16:19
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -265,6 +265,8 @@ 265 265 |0x02|Reply configures info|[[Configure Info Payload>>||anchor="H3.4GetFirmwareVersionInfo"]] 266 266 |0x03|Reply Calibration Info|[[Calibration Payload>>||anchor="H2.7Calibration"]] 267 267 268 + 269 + 268 268 === 2.3.7 Decode payload in The Things Network === 269 269 270 270 While using TTN network, you can add the payload format to decode the payload. ... ... @@ -405,6 +405,7 @@ 405 405 [[image:image-20220607144936-3.png]] 406 406 407 407 410 + 408 408 (% style="color:#037691" %)**Calibration Payload** 409 409 410 410 (% border="1" cellspacing="10" style="background-color:#ffffcc; width:510px" %) ... ... @@ -434,17 +434,18 @@ 434 434 * Reply to the confirmation package: 14 01 435 435 * Reply to non-confirmed packet: 14 00 436 436 437 -== 2.8 Frequency Plans == 438 438 439 -((( 440 -The LSPH01 uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 441 -))) 442 442 442 +Frequency Plans 443 443 444 - ===2.8.1EU863-870(EU868)===444 +The LSPH01 uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 445 445 446 -(% style="color:blue" %)**Uplink:** 446 +1. 447 +11. 448 +111. EU863-870 (EU868) 447 447 450 +Uplink: 451 + 448 448 868.1 - SF7BW125 to SF12BW125 449 449 450 450 868.3 - SF7BW125 to SF12BW125 and SF7BW250 ... ... @@ -464,7 +464,7 @@ 464 464 868.8 - FSK 465 465 466 466 467 - (% style="color:blue" %)**Downlink:**471 +Downlink: 468 468 469 469 Uplink channels 1-9 (RX1) 470 470 ... ... @@ -471,29 +471,28 @@ 471 471 869.525 - SF9BW125 (RX2 downlink only) 472 472 473 473 478 +1. 479 +11. 480 +111. US902-928(US915) 474 474 475 -=== 2.8.2 US902-928(US915) === 476 - 477 -((( 478 478 Used in USA, Canada and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 479 -))) 480 480 481 - (((484 + 482 482 To make sure the end node supports all sub band by default. In the OTAA Join process, the end node will use frequency 1 from sub-band1, then frequency 1 from sub-band2, then frequency 1 from sub-band3, etc to process the OTAA join. 483 -))) 484 484 485 - (((487 + 486 486 After Join success, the end node will switch to the correct sub band by: 487 -))) 488 488 489 489 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 490 490 * Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include) 491 491 492 -=== 2.8.3 CN470-510 (CN470) === 493 +1. 494 +11. 495 +111. CN470-510 (CN470) 493 493 494 494 Used in China, Default use CHE=1 495 495 496 - (% style="color:blue" %)**Uplink:**499 +Uplink: 497 497 498 498 486.3 - SF7BW125 to SF12BW125 499 499 ... ... @@ -512,7 +512,7 @@ 512 512 487.7 - SF7BW125 to SF12BW125 513 513 514 514 515 - (% style="color:blue" %)**Downlink:**518 +Downlink: 516 516 517 517 506.7 - SF7BW125 to SF12BW125 518 518 ... ... @@ -533,45 +533,38 @@ 533 533 505.3 - SF12BW125 (RX2 downlink only) 534 534 535 535 539 +1. 540 +11. 541 +111. AU915-928(AU915) 536 536 537 -=== 2.8.4 AU915-928(AU915) === 538 - 539 -((( 540 540 Frequency band as per definition in LoRaWAN 1.0.3 Regional document. 541 -))) 542 542 543 - (((545 + 544 544 To make sure the end node supports all sub band by default. In the OTAA Join process, the end node will use frequency 1 from sub-band1, then frequency 1 from sub-band2, then frequency 1 from sub-band3, etc to process the OTAA join. 545 -))) 546 546 547 -((( 548 - 549 -))) 550 550 551 -((( 552 552 After Join success, the end node will switch to the correct sub band by: 553 -))) 554 554 555 555 * Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band 556 556 * Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include) 557 557 554 +1. 555 +11. 556 +111. AS920-923 & AS923-925 (AS923) 558 558 559 - ===2.8.5AS920-923 & AS923-925 (AS923) ===558 +**Default Uplink channel:** 560 560 561 -(% style="color:blue" %)**Default Uplink channel:** 562 - 563 563 923.2 - SF7BW125 to SF10BW125 564 564 565 565 923.4 - SF7BW125 to SF10BW125 566 566 567 567 568 - (% style="color:blue" %)**Additional Uplink Channel**:565 +**Additional Uplink Channel**: 569 569 570 570 (OTAA mode, channel added by JoinAccept message) 571 571 569 +**AS920~~AS923 for Japan, Malaysia, Singapore**: 572 572 573 -(% style="color:blue" %)**AS920~~AS923 for Japan, Malaysia, Singapore**: 574 - 575 575 922.2 - SF7BW125 to SF10BW125 576 576 577 577 922.4 - SF7BW125 to SF10BW125 ... ... @@ -585,7 +585,7 @@ 585 585 922.0 - SF7BW125 to SF10BW125 586 586 587 587 588 - (% style="color:blue" %)**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**:584 +**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**: 589 589 590 590 923.6 - SF7BW125 to SF10BW125 591 591 ... ... @@ -600,18 +600,20 @@ 600 600 924.6 - SF7BW125 to SF10BW125 601 601 602 602 603 -(% style="color:blue" %)**Downlink:** 604 604 600 +**Downlink:** 601 + 605 605 Uplink channels 1-8 (RX1) 606 606 607 607 923.2 - SF10BW125 (RX2) 608 608 609 609 607 +1. 608 +11. 609 +111. KR920-923 (KR920) 610 610 611 - ===2.8.6 KR920-923 (KR920) ===611 +Default channel: 612 612 613 -(% style="color:blue" %)**Default channel:** 614 - 615 615 922.1 - SF7BW125 to SF12BW125 616 616 617 617 922.3 - SF7BW125 to SF12BW125 ... ... @@ -619,7 +619,7 @@ 619 619 922.5 - SF7BW125 to SF12BW125 620 620 621 621 622 - (% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)**620 +Uplink: (OTAA mode, channel added by JoinAccept message) 623 623 624 624 922.1 - SF7BW125 to SF12BW125 625 625 ... ... @@ -636,7 +636,7 @@ 636 636 923.3 - SF7BW125 to SF12BW125 637 637 638 638 639 - (% style="color:blue" %)**Downlink:**637 +Downlink: 640 640 641 641 Uplink channels 1-7(RX1) 642 642 ... ... @@ -643,9 +643,11 @@ 643 643 921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125) 644 644 645 645 646 -=== 2.8.7 IN865-867 (IN865) === 644 +1. 645 +11. 646 +111. IN865-867 (IN865) 647 647 648 - (% style="color:blue" %)**Uplink:**648 +Uplink: 649 649 650 650 865.0625 - SF7BW125 to SF12BW125 651 651 ... ... @@ -654,7 +654,7 @@ 654 654 865.9850 - SF7BW125 to SF12BW125 655 655 656 656 657 - (% style="color:blue" %)**Downlink:**657 +Downlink: 658 658 659 659 Uplink channels 1-3 (RX1) 660 660 ... ... @@ -661,36 +661,45 @@ 661 661 866.550 - SF10BW125 (RX2) 662 662 663 663 664 +1. 665 +11. LED Indicator 664 664 665 -== 2.9 LED Indicator == 666 - 667 667 The LSPH01 has an internal LED which is to show the status of different state. 668 668 669 + 669 669 * The sensor is detected when the device is turned on, and it will flash 4 times quickly when it is detected. 670 670 * Blink once when device transmit a packet. 671 671 672 -== 2.10 Firmware Change Log == 673 +1. 674 +11. Firmware Change Log 673 673 674 - 675 675 **Firmware download link:** 676 676 677 677 [[http:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/LSPH01/Firmware/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSE01/Firmware/]] 678 678 679 679 680 -**Firmware Upgrade Method: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]681 +**Firmware Upgrade Method:** 681 681 683 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=Firmware_Upgrade_Instruction_for_STM32_base_products#Introduction>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Instruction_for_STM32_base_products#Introduction]] 682 682 683 683 684 -= 3. Configure LSPH01 via AT Command or LoRaWAN Downlink = 685 685 687 + 688 + 689 + 690 +1. Configure LSPH01 via AT Command or LoRaWAN Downlink 691 + 686 686 Use can configure LSPH01 via AT Command or LoRaWAN Downlink. 687 687 688 -* AT Command Connection: See [[FAQ>> ||anchor="H6.FAQ"]].689 -* LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]694 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 695 +* LoRaWAN Downlink instruction for different platforms: 690 690 697 +[[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]] 698 + 699 + 691 691 There are two kinds of commands to configure LSPH01, they are: 692 692 693 -* (% style="color:#4f81bd" %)**702 +* **General Commands**. 694 694 695 695 These commands are to configure: 696 696 ... ... @@ -697,25 +697,25 @@ 697 697 * General system settings like: uplink interval. 698 698 * LoRaWAN protocol & radio related command. 699 699 700 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]709 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 701 701 711 +[[http:~~/~~/wiki.dragino.com/index.pHp?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 702 702 703 -* (% style="color:#4f81bd" %)** Commands special design for LSPH01** 704 704 714 +* **Commands special design for LSPH01** 715 + 705 705 These commands only valid for LSPH01, as below: 706 706 707 707 719 +1. 720 +11. Set Transmit Interval Time 708 708 709 -== 3.1 Set Transmit Interval Time == 710 - 711 711 Feature: Change LoRaWAN End Node Transmit Interval. 712 712 713 - (% style="color:#037691" %)**AT Command: AT+TDC**724 +**AT Command: AT+TDC** 714 714 715 - 716 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:710px" %) 717 -|(% style="width:154px" %)**Command Example**|(% style="width:223px" %)**Function**|(% style="width:330px" %)**Response** 718 -|(% style="width:154px" %)AT+TDC=?|(% style="width:223px" %)Show current transmit Interval|(% style="width:330px" %)((( 726 +|**Command Example**|**Function**|**Response** 727 +|AT+TDC=?|Show current transmit Interval|((( 719 719 30000 720 720 721 721 OK ... ... @@ -722,13 +722,13 @@ 722 722 723 723 the interval is 30000ms = 30s 724 724 ))) 725 -| (% style="width:154px" %)AT+TDC=60000|(% style="width:223px" %)Set Transmit Interval|(% style="width:330px" %)(((734 +|AT+TDC=60000|Set Transmit Interval|((( 726 726 OK 727 727 728 728 Set transmit interval to 60000ms = 60 seconds 729 729 ))) 730 730 731 - (% style="color:#037691" %)**Downlink Command: 0x01**740 +**Downlink Command: 0x01** 732 732 733 733 Format: Command Code (0x01) followed by 3 bytes time value. 734 734 ... ... @@ -737,18 +737,31 @@ 737 737 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 738 738 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 739 739 749 +1. 750 +11. Set Interrupt Mode 740 740 752 +Feature, Set Interrupt mode for GPIO_EXIT. 741 741 742 - ==3.2 Set Interrupt Mode==754 +**AT Command: AT+INTMOD** 743 743 744 -Feature, Set Interrupt mode for GPIO_EXIT. 756 +|**Command Example**|**Function**|**Response** 757 +|AT+INTMOD=?|Show current interrupt mode|((( 758 +0 745 745 746 - (% style="color:#037691" %)**AT Command: AT+INTMOD**760 +OK 747 747 748 -[[image:image-20220607153759-6.png]] 762 +the mode is 0 = No interruption 763 +))) 764 +|AT+INTMOD=2|((( 765 +Set Transmit Interval 749 749 767 +1. (Disable Interrupt), 768 +1. (Trigger by rising and falling edge), 769 +1. (Trigger by falling edge) 770 +1. (Trigger by rising edge) 771 +)))|OK 750 750 751 - (% style="color:#037691" %)**Downlink Command: 0x06**773 +**Downlink Command: 0x06** 752 752 753 753 Format: Command Code (0x06) followed by 3 bytes. 754 754 ... ... @@ -757,21 +757,20 @@ 757 757 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 758 758 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 759 759 782 +1. 783 +11. Calibrate Sensor 760 760 785 +Detail See [[Calibration Guide>>path:#Calibration]] for the user of 0x13 and 0x14 downlink commands 761 761 762 -== 3.3 Calibrate Sensor == 763 763 764 -Detail See [[Calibration Guide>>||anchor="2.7Calibration"]] for the user of 0x13 and 0x14 downlink commands 765 765 789 +1. 790 +11. Get Firmware Version Info 766 766 767 - 768 - 769 -== 3.4 Get Firmware Version Info == 770 - 771 771 Feature: use downlink to get firmware version. 772 772 773 773 774 - (% style="color:#037691" %)**Downlink Command: 0x26**795 +**Downlink Command: 0x26** 775 775 776 776 777 777 |**Downlink Control Type**|**FPort**|**Type Code**|**Downlink payload size(bytes)**
- image-20220607153237-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.9 KB - Content
- image-20220607153759-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.2 KB - Content