Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Mengting Qiu on 2025/06/04 18:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 8 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,8 +4,13 @@ 4 4 **LT-22222-L LoRa IO Controller User Manual ** 5 5 6 6 7 +**Table of Contents:** 7 7 9 +{{toc/}} 8 8 11 + 12 + 13 + 9 9 = 1.Introduction = 10 10 11 11 == 1.1 What is LT Series I/O Controller == ... ... @@ -385,99 +385,77 @@ 385 385 386 386 **LT22222-L**: This mode the DI1 is used as a counting pin. 387 387 388 -(% border="1" style="background-color:#f7faff" %) 389 -|(% style="width:93px" %)Size(bytes)|(% style="width:112px" %)2|(% style="width:105px" %)2|(% style="width:449px" %)2|2|1|1|1 390 -|(% style="width:93px" %)Value|(% style="width:112px" %)AVI1 voltage|(% style="width:105px" %)AVI2 voltage|(% style="width:449px" %)ACI1 Current| | | | 391 -|(% style="width:93px" %)Value|(% style="width:112px" %)((( 392 -AVI1 voltage 393 -)))|(% style="width:105px" %)((( 394 -AVI2 voltage 395 -)))|(% style="width:449px" %)((( 396 -ACI1 Current 397 -)))|COUNT1|DIDORO*|((( 398 -Reserve 393 +[[image:image-20220523182334-9.png]] 399 399 400 - 401 -)))|MOD 395 +((( 396 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 397 +))) 402 402 403 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 404 - 405 -(% border="1" style="background-color:#f7faff" %) 406 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 407 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 408 - 409 409 * RO is for relay. ROx=1 : close,ROx=0 always open. 410 410 * FIRST: Indicate this is the first packet after join network. 411 411 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 412 412 413 -Note: DO3 is not valid for LT-22222-L. 403 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 414 414 405 +**To use this mode, please run:** 415 415 416 -To use this mode, please run: 407 +(% class="box infomessage" %) 408 +((( 409 +**AT+MOD=5** 410 +))) 417 417 418 -AT+MOD=5 412 +(% class="box infomessage" %) 413 +((( 414 +**ATZ** 415 +))) 419 419 420 -ATZ 421 - 422 - 423 423 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 424 424 419 +=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 425 425 421 +(% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 426 426 427 - 428 - 429 -1. 430 -11. 431 -111. AT+ADDMOD=6. (Trigger Mode, Optional) 432 - 433 -**This mode is an optional mode for trigger purpose. It can run together with other mode.** 434 - 435 435 For example, if user has configured below commands: 436 436 437 -* AT+MOD=1 àThe normal working mode438 -* AT+ADDMOD6=1 àEnable trigger425 +* **AT+MOD=1 ** **~-~->** The normal working mode 426 +* **AT+ADDMOD6=1** **~-~->** Enable trigger 439 439 440 440 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 441 441 442 -1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN **unconfirmed** data type 443 -1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN **CONFIRMED data type.** 430 +1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type 431 +1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.** 444 444 445 445 **AT Command to set Trigger Condition**: 446 446 447 -**Trigger base on voltage**: 435 +(% style="color:#4f81bd" %)**Trigger base on voltage**: 448 448 449 449 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> 450 450 451 -Example: 439 +**Example:** 452 452 453 453 AT+AVLIM=3000,6000,0,2000 (If AVI1 voltage lower than 3v or higher than 6v. or AV2 voltage is higher than 2v, LT will trigger Uplink) 454 454 455 455 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 456 456 445 +(% style="color:#4f81bd" %)**Trigger base on current**: 457 457 458 -**Trigger base on current**: 459 - 460 460 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> 461 461 462 -Example: 449 +**Example:** 463 463 464 464 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 465 465 453 +(% style="color:#4f81bd" %)**Trigger base on DI status**: 466 466 467 -**Trigger base on DI status**: 468 - 469 469 DI status trigger Flag. 470 470 471 471 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 472 472 473 -Example: 459 +**Example:** 474 474 475 475 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 476 476 477 477 478 - 479 - 480 - 481 481 **Downlink Command to set Trigger Condition** 482 482 483 483 Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]] ... ... @@ -496,9 +496,8 @@ 496 496 497 497 Yy4 yy4: AC2 or AV2 high limit. 498 498 482 +**Example1**: AA 00 13 88 00 00 00 00 00 00 499 499 500 -Example1: AA 00 13 88 00 00 00 00 00 00 501 - 502 502 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 503 503 504 504 Example2: AA 02 01 00 ... ... @@ -505,134 +505,41 @@ 505 505 506 506 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 507 507 490 +(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 508 508 509 - 510 - 511 -**Trigger Settings Payload Explanation:** 512 - 513 513 MOD6 Payload : total 11 bytes payload 514 514 515 -(% border="1" style="background-color:#f7faff" %) 516 -|Size(bytes)|1|1|1|6|1|1 517 -|Value|((( 518 -TRI_A 494 +[[image:image-20220524085923-1.png]] 519 519 520 -FLAG 521 -)))|((( 522 -TRI_A 496 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 523 523 524 -Status 525 -)))|((( 526 -TRI_DI 498 +[[image:image-20220524090106-2.png]] 527 527 528 -FLAG+STA 529 -)))|Reserve|Enable/Disable MOD6|((( 530 -MOD 531 - 532 -(6) 533 -))) 534 - 535 -**TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below 536 - 537 -(% border="1" style="background-color:#f7faff" %) 538 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 539 -|((( 540 -AV1_ 541 - 542 -LOW 543 -)))|((( 544 -AV1_ 545 - 546 -HIGH 547 -)))|((( 548 -AV2_ 549 - 550 -LOW 551 -)))|((( 552 -AV2_ 553 - 554 -HIGH 555 -)))|((( 556 -AC1_ 557 - 558 -LOW 559 -)))|((( 560 -AC1_ 561 - 562 -HIGH 563 -)))|((( 564 -AC2_ 565 - 566 -LOW 567 -)))|((( 568 -AC2_ 569 - 570 -HIGH 571 -))) 572 - 573 573 * Each bits shows if the corresponding trigger has been configured. 574 574 575 -Example: 502 +**Example:** 576 576 577 577 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW 578 578 579 579 580 -**TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below 507 +(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below 581 581 582 -(% border="1" style="background-color:#f7faff" %) 583 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 584 -|((( 585 -AV1_ 509 +[[image:image-20220524090249-3.png]] 586 586 587 -LOW 588 -)))|((( 589 -AV1_ 590 - 591 -HIGH 592 -)))|((( 593 -AV2_ 594 - 595 -LOW 596 -)))|((( 597 -AV2_ 598 - 599 -HIGH 600 -)))|((( 601 -AC1_ 602 - 603 -LOW 604 -)))|((( 605 -AC1_ 606 - 607 -HIGH 608 -)))|((( 609 -AC2_ 610 - 611 -LOW 612 -)))|((( 613 -AC2_ 614 - 615 -HIGH 616 -))) 617 - 618 618 * Each bits shows which status has been trigger on this uplink. 619 619 620 -Example: 513 +**Example:** 621 621 622 622 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. 623 623 624 624 518 +(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 625 625 520 +[[image:image-20220524090456-4.png]] 626 626 627 -**TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below 628 - 629 -(% border="1" style="background-color:#f7faff" %) 630 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 631 -|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG 632 - 633 633 * Each bits shows which status has been trigger on this uplink. 634 634 635 -Example: 524 +**Example:** 636 636 637 637 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. 638 638 ... ... @@ -639,117 +639,117 @@ 639 639 00000101: Means both DI1 and DI2 trigger are enabled. 640 640 641 641 642 -**Enable/Disable MOD6 **: 0x01: MOD6 is enable. 0x00: MOD6 is disable. 531 +(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable. 643 643 644 - 645 645 Downlink command to poll MOD6 status: 646 646 647 -AB 06 535 +**AB 06** 648 648 649 649 When device got this command, it will send the MOD6 payload. 650 650 539 +=== 3.3.7 Payload Decoder === 651 651 652 -1. 653 -11. 654 -111. Payload Decoder 655 - 541 +((( 656 656 **Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]] 543 +))) 657 657 545 +== 3.4 Configure LT via AT or Downlink == 658 658 547 +User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands 659 659 660 - 661 - 662 - 663 - 664 -1. 665 -11. Configure LT via AT or Downlink 666 - 667 -User can configure LT I/O Controller via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands 668 - 549 +((( 669 669 There are two kinds of Commands: 551 +))) 670 670 671 -* **Common Commands**: They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands 553 +* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands 672 672 673 -* **Sensor Related Commands**: These commands are special designed for LT-22222-L. User can see these commands below: 555 +* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 674 674 675 -1. 676 -11. 677 -111. Common Commands: 557 +=== 3.4.1 Common Commands === 678 678 679 -They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: http: ~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands559 +They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>http://8.211.40.43:8080/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 680 680 561 +=== 3.4.2 Sensor related commands === 681 681 682 -1. 683 -11. 684 -111. Sensor related commands: 563 +==== 3.4.2.1 Set Transmit Interval ==== 685 685 686 -==== Set Transmit Interval ==== 687 - 688 688 Set device uplink interval. 689 689 690 690 * AT Command: 691 691 692 -AT+TDC=N 569 +(% class="box infomessage" %) 570 +((( 571 +**AT+TDC=N ** 572 +))) 693 693 694 -Example: AT+TDC=30000. Means set interval to 30 seconds 574 +**Example: **AT+TDC=30000. Means set interval to 30 seconds 695 695 696 - 697 697 * Downlink Payload (prefix 0x01): 698 698 699 -0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc) 578 +(% class="box infomessage" %) 579 +((( 580 +**0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 581 +))) 700 700 583 +==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 701 701 702 -==== Set Work Mode (AT+MOD) ==== 703 - 704 704 Set work mode. 705 705 706 706 * AT Command: 707 707 708 -AT+MOD=N 589 +(% class="box infomessage" %) 590 +((( 591 +**AT+MOD=N ** 592 +))) 709 709 710 -Example: AT+MOD=2. Set work mode to Double DI counting mode 594 +**Example**: AT+MOD=2. Set work mode to Double DI counting mode 711 711 712 - 713 713 * Downlink Payload (prefix 0x0A): 714 714 715 -0x0A aa ~/~/ Same as AT+MOD=aa 598 +(% class="box infomessage" %) 599 +((( 600 +**0x0A aa ~/~/ Same as AT+MOD=aa** 601 +))) 716 716 603 +==== 3.4.2.3 Poll an uplink ==== 717 717 718 - 719 -==== Poll an uplink ==== 720 - 721 721 * AT Command: 722 722 723 723 There is no AT Command to poll uplink 724 724 725 - 726 726 * Downlink Payload (prefix 0x08): 727 727 728 -0x08 FF ~/~/ Poll an uplink, 611 +(% class="box infomessage" %) 612 +((( 613 +**0x08 FF ~/~/ Poll an uplink,** 614 +))) 729 729 730 -Example: 0x08FF, ask device to send an Uplink 616 +**Example**: 0x08FF, ask device to send an Uplink 731 731 618 +==== 3.4.2.4 Enable Trigger Mode ==== 732 732 733 - ====Enable====620 +Use of trigger mode, please check [[ADDMOD6>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 734 734 735 -Use of trigger mode, please check [[ADDMOD6>>path:#MOD6]] 736 - 737 737 * AT Command: 738 738 739 -AT+ADDMOD6=1 or 0 624 +(% class="box infomessage" %) 625 +((( 626 +**AT+ADDMOD6=1 or 0** 627 +))) 740 740 741 741 1: Enable Trigger Mode 742 742 743 743 0: Disable Trigger Mode 744 744 745 - 746 746 * Downlink Payload (prefix 0x0A 06): 747 747 748 -0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa, 635 +(% class="box infomessage" %) 636 +((( 637 +**0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 638 +))) 749 749 640 +==== 3.4.2.5 Poll trigger settings ==== 750 750 751 -==== Poll trigger settings ==== 752 - 753 753 Poll trigger settings, 754 754 755 755 * AT Command: ... ... @@ -756,186 +756,206 @@ 756 756 757 757 There is no AT Command for this feature. 758 758 759 - 760 760 * Downlink Payload (prefix 0x AB 06): 761 761 762 -0xAB 06 ~/~/ Poll trigger settings, device will uplink [[trigger settings>>path:#Trigger_Settings]] once receive this command 650 +(% class="box infomessage" %) 651 +((( 652 +**0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 653 +))) 763 763 655 +==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 764 764 765 -==== Enable / Disable DI1/DI2/DI3 as trigger ==== 766 - 767 767 Enable Disable DI1/DI2/DI2 as trigger, 768 768 769 769 * AT Command: 770 770 771 -Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 661 +(% class="box infomessage" %) 662 +((( 663 +**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 664 +))) 772 772 773 -Example: 666 +**Example:** 774 774 775 775 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 776 776 777 - 778 - 779 779 * Downlink Payload (prefix 0xAA 02): 780 780 781 -0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb 672 +(% class="box infomessage" %) 673 +((( 674 +**0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 675 +))) 782 782 677 +==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 783 783 784 - 785 -==== Trigger1 – Set DI1 or DI3 as trigger ==== 786 - 787 787 Set DI1 or DI3(for LT-33222-L) trigger. 788 788 789 789 * AT Command: 790 790 791 -AT+TRIG1=a,b 683 +(% class="box infomessage" %) 684 +((( 685 +**AT+TRIG1=a,b** 686 +))) 792 792 793 793 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 794 794 795 795 b : delay timing. 796 796 797 -Example: 692 +**Example:** 798 798 799 799 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 800 800 801 - 802 802 * Downlink Payload (prefix 0x09 01 ): 803 803 804 -0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc) 698 +(% class="box infomessage" %) 699 +((( 700 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 701 +))) 805 805 703 +==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 806 806 807 -==== Trigger2 – Set DI2 as trigger ==== 808 - 809 809 Set DI2 trigger. 810 810 811 811 * AT Command: 812 812 813 -AT+TRIG2=a,b 709 +(% class="box infomessage" %) 710 +((( 711 +**AT+TRIG2=a,b** 712 +))) 814 814 815 815 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 816 816 817 817 b : delay timing. 818 818 819 -Example: 718 +**Example:** 820 820 821 821 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 822 822 823 - 824 824 * Downlink Payload (prefix 0x09 02 ): 825 825 826 -0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc) 724 +(% class="box infomessage" %) 725 +((( 726 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 727 +))) 827 827 729 +==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 828 828 829 - ====Trigger–SetAC(current)astrigger====731 +Set current trigger , base on AC port. See [[trigger mode>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 830 830 831 -Set current trigger , base on AC port. See [[trigger mode>>path:#MOD6]] 832 - 833 833 * AT Command: 834 834 835 -AT+ACLIM. See [[trigger mode>>path:#MOD6]] 735 +(% class="box infomessage" %) 736 +((( 737 +**AT+ACLIM. ** 738 +))) 836 836 837 - 838 838 * Downlink Payload (prefix 0xAA 01 ): 839 839 840 -0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>path:#MOD6]] 742 +(% class="box infomessage" %) 743 +((( 744 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]** 745 +))) 841 841 747 +==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 842 842 843 - ====Trigger–SetAV(voltage)astrigger====749 +Set current trigger , base on AV port. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] 844 844 845 -Set current trigger , base on AV port. See [[trigger mode>>path:#MOD6]] 846 - 847 847 * AT Command: 848 848 849 -AT+AVLIM. See [[trigger mode>>path:#MOD6]] 753 +(% class="box infomessage" %) 754 +((( 755 +**AT+AVLIM. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]** 756 +))) 850 850 851 - 852 852 * Downlink Payload (prefix 0xAA 00 ): 853 853 854 -0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>path:#MOD6]] 760 +(% class="box infomessage" %) 761 +((( 762 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] ** 763 +))) 855 855 856 -==== Trigger – Set minimum interval ==== 765 +==== 3.4.2.11 Trigger – Set minimum interval ==== 857 857 858 858 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 859 859 860 860 * AT Command: 861 861 862 -AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger. 771 +(% class="box infomessage" %) 772 +((( 773 +**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 774 +))) 863 863 864 - 865 865 * Downlink Payload (prefix 0xAC ): 866 866 867 -0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 778 +(% class="box infomessage" %) 779 +((( 780 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 781 +))) 868 868 783 +==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 869 869 870 -==== DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 871 - 872 872 * AT Command: 873 873 874 874 There is no AT Command to control Digital Output 875 875 876 - 877 877 * Downlink Payload (prefix 0x02): 878 878 879 -0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output 791 +(% class="box infomessage" %) 792 +((( 793 +**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 794 +))) 880 880 796 +((( 881 881 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 798 +))) 882 882 800 +((( 883 883 01: Low, 00: High , 11: No action 802 +))) 884 884 885 -(% border="1" style="background-color:#f7faff" %) 886 -|Downlink Code|DO1|DO2|DO3 887 -|02 01 00 11|Low|High|No Action 888 -|02 00 11 01|High|No Action|Low 889 -|02 11 01 00|No Action|Low|High 804 +[[image:image-20220524092754-5.png]] 890 890 891 -Note: For LT-22222-L, there is no DO3, the last byte can use any value. 806 +((( 807 +(% style="color:red" %)Note: For LT-22222-L, there is no DO3, the last byte can use any value. 808 +))) 892 892 893 -Device will upload a packet if downlink code executes successfully. 810 +((( 811 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully. 812 +))) 894 894 895 895 815 +==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 896 896 897 - 898 - 899 -==== DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 900 - 901 901 * AT Command: 902 902 903 903 There is no AT Command to control Digital Output 904 904 905 - 906 906 * Downlink Payload (prefix 0xA9): 907 907 908 -0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control 823 +(% class="box infomessage" %) 824 +((( 825 +**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 826 +))) 909 909 910 910 This is to control the digital output time of DO pin. Include four bytes: 911 911 912 -**First Byte:** Type code (0xA9) 830 +(% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) 913 913 914 -**Second Byte**: Inverter Mode 832 +(% style="color:#4f81bd" %)**Second Byte**(%%): Inverter Mode 915 915 916 916 01: DO pins will change back to original state after timeout. 917 917 918 918 00: DO pins will change to an inverter state after timeout 919 919 838 +(% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 920 920 921 - **Third Byte**:Control Methodand Ports status:840 +[[image:image-20220524093238-6.png]] 922 922 923 -(% border="1" style="background-color:#f7faff" %) 924 -|Second Byte|Status 925 -|0x01|DO1 set to low 926 -|0x00|DO1 set to high 927 -|0x11|DO1 NO Action 842 +(% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 928 928 929 - **Fourth Byte**:Control Methodand Ports status:844 +[[image:image-20220524093328-7.png]] 930 930 931 -(% border="1" style="background-color:#f7faff" %) 932 -|Second Byte|Status 933 -|0x01|DO2 set to low 934 -|0x00|DO2 set to high 935 -|0x11|DO2 NO Action 846 +(% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 936 936 937 -**Fifth Byte**: Control Method and Ports status: 938 - 939 939 (% border="1" style="background-color:#f7faff" %) 940 940 |Second Byte|Status 941 941 |0x01|DO3 set to low ... ... @@ -942,7 +942,7 @@ 942 942 |0x00|DO3 set to high 943 943 |0x11|DO3 NO Action 944 944 945 -**Sixth and Seventh Byte**: 854 +(% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 946 946 947 947 Latching time. Unit: ms 948 948 ... ... @@ -1139,7 +1139,7 @@ 1139 1139 1140 1140 1141 1141 1142 -1. 1051 +1. 1143 1143 11. Integrate with Mydevice 1144 1144 1145 1145 Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps: ... ... @@ -1197,7 +1197,7 @@ 1197 1197 1198 1198 1199 1199 1. 1200 -11. 1109 +11. 1201 1201 111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1202 1202 1203 1203 The DI port of LT-22222-L can support NPN or PNP output sensor. ... ... @@ -1251,8 +1251,8 @@ 1251 1251 If sensor output is 220v, the //IF//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely. 1252 1252 1253 1253 1254 -1. 1255 -11. 1163 +1. 1164 +11. 1256 1256 111. Digital Output Port: DO1/DO2 /DO3 1257 1257 1258 1258 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1263,7 +1263,7 @@ 1263 1263 1264 1264 1265 1265 1. 1266 -11. 1175 +11. 1267 1267 111. Analog Input Interface 1268 1268 1269 1269 The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is: ... ... @@ -1296,7 +1296,7 @@ 1296 1296 1297 1297 1298 1298 1. 1299 -11. 1208 +11. 1300 1300 111. Relay Output 1301 1301 1302 1302 The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below: ... ... @@ -1456,7 +1456,7 @@ 1456 1456 1457 1457 1458 1458 1459 -1. 1368 +1. 1460 1460 11. Common AT Command Sequence 1461 1461 111. Multi-channel ABP mode (Use with SX1301/LG308) 1462 1462 ... ... @@ -1479,8 +1479,8 @@ 1479 1479 1480 1480 ATZ 1481 1481 1482 -1. 1483 -11. 1391 +1. 1392 +11. 1484 1484 111. Single-channel ABP mode (Use with LG01/LG02) 1485 1485 1486 1486 123456 Enter Password to have AT access. ... ... @@ -1520,7 +1520,7 @@ 1520 1520 1521 1521 1522 1522 1. 1523 -11. 1432 +11. 1524 1524 111. Change to Class A 1525 1525 1526 1526 If sensor JOINED ... ... @@ -1535,7 +1535,7 @@ 1535 1535 1536 1536 1. FAQ 1537 1537 1538 -1. 1447 +1. 1539 1539 11. How to upgrade the image? 1540 1540 1541 1541 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: ... ... @@ -1594,7 +1594,7 @@ 1594 1594 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1595 1595 1596 1596 1597 -1. 1506 +1. 1598 1598 11. How to set up LT to work with Single Channel Gateway such as LG01/LG02? 1599 1599 1600 1600 In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency. ... ... @@ -1653,7 +1653,7 @@ 1653 1653 [[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work]] 1654 1654 1655 1655 1656 -1. 1565 +1. 1657 1657 11. Have trouble to upload image. 1658 1658 1659 1659 See this link for trouble shooting: ... ... @@ -1661,7 +1661,7 @@ 1661 1661 [[http:~~/~~/wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting]] 1662 1662 1663 1663 1664 -1. 1573 +1. 1665 1665 11. Why I can’t join TTN in US915 /AU915 bands? 1666 1666 1667 1667 It might be about the channels mapping. Please see this link for detail:
- image-20220523182334-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.4 KB - Content
- image-20220524085923-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.4 KB - Content
- image-20220524090106-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.2 KB - Content
- image-20220524090249-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.8 KB - Content
- image-20220524090456-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.1 KB - Content
- image-20220524092754-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +7.8 KB - Content
- image-20220524093238-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.0 KB - Content
- image-20220524093328-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +6.1 KB - Content