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)
Details
- Page properties
-
- Content
-
... ... @@ -19,8 +19,6 @@ 19 19 == 1.1 What is LT Series I/O Controller == 20 20 21 21 ((( 22 - 23 - 24 24 The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring. 25 25 ))) 26 26 ... ... @@ -50,7 +50,6 @@ 50 50 51 51 ))) 52 52 53 - 54 54 == 1.2 Specifications == 55 55 56 56 ((( ... ... @@ -79,8 +79,6 @@ 79 79 ))) 80 80 81 81 ((( 82 - 83 - 84 84 **Interface for Model: LT22222-L:** 85 85 ))) 86 86 ... ... @@ -104,8 +104,6 @@ 104 104 ))) 105 105 106 106 ((( 107 - 108 - 109 109 **LoRa Spec:** 110 110 ))) 111 111 ... ... @@ -166,8 +166,6 @@ 166 166 * ((( 167 167 Packet engine up to 256 bytes with CRC. 168 168 169 - 170 - 171 171 172 172 ))) 173 173 ... ... @@ -181,10 +181,6 @@ 181 181 * Firmware upgradable via program port 182 182 * Counting 183 183 184 - 185 - 186 - 187 - 188 188 == 1.4 Applications == 189 189 190 190 * Smart Buildings & Home Automation ... ... @@ -194,10 +194,6 @@ 194 194 * Smart Cities 195 195 * Smart Factory 196 196 197 - 198 - 199 - 200 - 201 201 == 1.5 Hardware Variants == 202 202 203 203 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -211,7 +211,6 @@ 211 211 * 1 x Counting Port 212 212 ))) 213 213 214 - 215 215 = 2. Power ON Device = 216 216 217 217 The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller. ... ... @@ -234,9 +234,12 @@ 234 234 235 235 ((( 236 236 In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>||anchor="H4.UseATCommand"]] to set the keys in the devices. 219 + 220 + 237 237 ))) 238 238 239 239 224 + 240 240 == 3.2 Example to join LoRaWAN network == 241 241 242 242 ((( ... ... @@ -245,13 +245,12 @@ 245 245 246 246 [[image:image-20220523172350-1.png||height="266" width="864"]] 247 247 248 - 249 249 ((( 250 250 The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN: 251 251 ))) 252 252 253 253 ((( 254 - (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.238 +**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller. 255 255 ))) 256 256 257 257 ((( ... ... @@ -260,7 +260,6 @@ 260 260 261 261 [[image:1653297924498-393.png]] 262 262 263 - 264 264 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 265 265 266 266 Add APP EUI in the application. ... ... @@ -274,7 +274,7 @@ 274 274 275 275 276 276 ((( 277 - (% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.260 +**Step 2**: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel. 278 278 ))) 279 279 280 280 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -299,8 +299,6 @@ 299 299 [[image:image-20220523174024-3.png]] 300 300 301 301 ((( 302 - 303 - 304 304 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 305 305 ))) 306 306 ... ... @@ -314,7 +314,6 @@ 314 314 315 315 For example if payload is: [[image:image-20220523175847-2.png]] 316 316 317 - 318 318 **The value for the interface is: ** 319 319 320 320 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -347,7 +347,6 @@ 347 347 348 348 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 349 349 350 - 351 351 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 352 352 353 353 ((( ... ... @@ -356,7 +356,6 @@ 356 356 357 357 [[image:image-20220523180452-3.png]] 358 358 359 - 360 360 ((( 361 361 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 362 362 ))) ... ... @@ -372,8 +372,6 @@ 372 372 ))) 373 373 374 374 ((( 375 - 376 - 377 377 **To use counting mode, please run:** 378 378 ))) 379 379 ... ... @@ -381,33 +381,65 @@ 381 381 ((( 382 382 ((( 383 383 **AT+MOD=2** 360 +))) 361 +))) 384 384 363 +(% class="box infomessage" %) 364 +((( 365 +((( 385 385 **ATZ** 386 386 ))) 387 387 ))) 388 388 389 389 ((( 390 - 391 - 392 392 (% style="color:#4f81bd" %)**AT Commands for counting:** 393 393 ))) 394 394 395 395 ((( 396 396 **For LT22222-L:** 376 +))) 397 397 378 +(% class="box infomessage" %) 379 +((( 380 +((( 381 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 382 +))) 383 +))) 398 398 399 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (set DI1 port to trigger on low level, valid signal is 100ms) ** 385 +(% class="box infomessage" %) 386 +((( 387 +((( 388 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 389 +))) 390 +))) 400 400 401 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)** (set DI1 port to trigger on high level, valid signal is 100ms ) ** 392 +(% class="box infomessage" %) 393 +((( 394 +((( 395 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 396 +))) 397 +))) 402 402 403 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)** (set DI2 port to trigger on low level, valid signal is 100ms) ** 399 +(% class="box infomessage" %) 400 +((( 401 +((( 402 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 403 +))) 404 +))) 404 404 405 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)** (set DI2 port to trigger on high level, valid signal is 100ms ) ** 406 +(% class="box infomessage" %) 407 +((( 408 +((( 409 +**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 410 +))) 411 +))) 406 406 407 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)** (Set COUNT1 value to 60)** 408 - 409 -(% style="color:blue" %)**AT+SETCNT=2,60**(%%)** (Set COUNT2 value to 60)** 413 +(% class="box infomessage" %) 414 +((( 415 +((( 416 +**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 410 410 ))) 418 +))) 411 411 412 412 413 413 ... ... @@ -439,7 +439,12 @@ 439 439 ((( 440 440 ((( 441 441 **AT+MOD=3** 450 +))) 451 +))) 442 442 453 +(% class="box infomessage" %) 454 +((( 455 +((( 443 443 **ATZ** 444 444 ))) 445 445 ))) ... ... @@ -446,6 +446,8 @@ 446 446 447 447 ((( 448 448 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 462 + 463 + 449 449 ))) 450 450 451 451 ... ... @@ -452,7 +452,6 @@ 452 452 453 453 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 454 454 455 - 456 456 **LT22222-L**: This mode the DI1 is used as a counting pin. 457 457 458 458 The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour. ... ... @@ -459,7 +459,6 @@ 459 459 460 460 [[image:image-20220523181903-8.png]] 461 461 462 - 463 463 ((( 464 464 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 465 465 ))) ... ... @@ -475,8 +475,6 @@ 475 475 ))) 476 476 477 477 ((( 478 - 479 - 480 480 **To use this mode, please run:** 481 481 ))) 482 482 ... ... @@ -484,37 +484,60 @@ 484 484 ((( 485 485 ((( 486 486 **AT+MOD=4** 498 +))) 499 +))) 487 487 501 +(% class="box infomessage" %) 502 +((( 503 +((( 488 488 **ATZ** 489 489 ))) 490 490 ))) 491 491 508 +((( 509 + 510 +))) 492 492 493 - 494 494 ((( 495 495 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 496 496 ))) 497 497 498 498 ((( 499 - 500 - 501 501 **Plus below command for AVI1 Counting:** 518 +))) 502 502 520 +(% class="box infomessage" %) 521 +((( 522 +((( 523 +**AT+SETCNT=3,60 (set AVI Count to 60)** 524 +))) 525 +))) 503 503 504 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 527 +(% class="box infomessage" %) 528 +((( 529 +((( 530 +**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 531 +))) 532 +))) 505 505 506 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 534 +(% class="box infomessage" %) 535 +((( 536 +((( 537 +**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 538 +))) 539 +))) 507 507 508 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 509 - 510 -(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 541 +(% class="box infomessage" %) 542 +((( 543 +((( 544 +**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 511 511 ))) 546 +))) 512 512 513 513 514 514 515 515 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 516 516 517 - 518 518 **LT22222-L**: This mode the DI1 is used as a counting pin. 519 519 520 520 [[image:image-20220523182334-9.png]] ... ... @@ -545,7 +545,12 @@ 545 545 ((( 546 546 ((( 547 547 **AT+MOD=5** 582 +))) 583 +))) 548 548 585 +(% class="box infomessage" %) 586 +((( 587 +((( 549 549 **ATZ** 550 550 ))) 551 551 ))) ... ... @@ -558,7 +558,6 @@ 558 558 559 559 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 560 560 561 - 562 562 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 563 563 564 564 For example, if user has configured below commands: ... ... @@ -566,13 +566,15 @@ 566 566 * **AT+MOD=1 ** **~-~->** The normal working mode 567 567 * **AT+ADDMOD6=1** **~-~->** Enable trigger 568 568 607 + 569 569 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 570 570 571 571 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 572 572 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.** 573 573 574 -(% style="color:#037691" %)**AT Command to set Trigger Condition**: 575 575 614 +**AT Command to set Trigger Condition**: 615 + 576 576 (% style="color:#4f81bd" %)**Trigger base on voltage**: 577 577 578 578 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> ... ... @@ -584,7 +584,6 @@ 584 584 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 585 585 586 586 587 - 588 588 (% style="color:#4f81bd" %)**Trigger base on current**: 589 589 590 590 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -594,7 +594,6 @@ 594 594 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 595 595 596 596 597 - 598 598 (% style="color:#4f81bd" %)**Trigger base on DI status**: 599 599 600 600 DI status trigger Flag. ... ... @@ -601,13 +601,12 @@ 601 601 602 602 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 603 603 604 - 605 605 **Example:** 606 606 607 607 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 608 608 609 609 610 - (% style="color:#037691" %)**Downlink Command to set Trigger Condition:**647 +**Downlink Command to set Trigger Condition** 611 611 612 612 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 613 613 ... ... @@ -636,7 +636,6 @@ 636 636 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 637 637 638 638 639 - 640 640 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 641 641 642 642 MOD6 Payload : total 11 bytes payload ... ... @@ -650,6 +650,7 @@ 650 650 651 651 * Each bits shows if the corresponding trigger has been configured. 652 652 689 + 653 653 **Example:** 654 654 655 655 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -661,6 +661,7 @@ 661 661 662 662 * Each bits shows which status has been trigger on this uplink. 663 663 701 + 664 664 **Example:** 665 665 666 666 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -672,6 +672,7 @@ 672 672 673 673 * Each bits shows which status has been trigger on this uplink. 674 674 713 + 675 675 **Example:** 676 676 677 677 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -692,8 +692,6 @@ 692 692 === 3.3.7 Payload Decoder === 693 693 694 694 ((( 695 - 696 - 697 697 **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/]] 698 698 699 699 ... ... @@ -700,6 +700,7 @@ 700 700 ))) 701 701 702 702 740 + 703 703 == 3.4 Configure LT via AT or Downlink == 704 704 705 705 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -712,6 +712,8 @@ 712 712 713 713 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 714 714 753 + 754 + 715 715 === 3.4.1 Common Commands === 716 716 717 717 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>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] ... ... @@ -724,50 +724,61 @@ 724 724 725 725 Set device uplink interval. 726 726 727 -* (% style="color:#037691" %)**AT Command:**767 +* AT Command: 728 728 769 +(% class="box infomessage" %) 770 +((( 729 729 **AT+TDC=N ** 772 +))) 730 730 731 - 732 732 **Example: **AT+TDC=30000. Means set interval to 30 seconds 733 733 734 734 735 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**777 +* Downlink Payload (prefix 0x01): 736 736 779 +(% class="box infomessage" %) 780 +((( 737 737 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 782 +))) 738 738 739 739 740 740 741 - 742 742 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 743 743 744 744 Set work mode. 745 745 746 -* (% style="color:#037691" %)**AT Command:**790 +* AT Command: 747 747 792 +(% class="box infomessage" %) 793 +((( 748 748 **AT+MOD=N ** 795 +))) 749 749 750 - 751 751 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 752 752 753 753 754 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**800 +* Downlink Payload (prefix 0x0A): 755 755 756 -**0x0A aa ** ~/~/ Same as AT+MOD=aa 802 +(% class="box infomessage" %) 803 +((( 804 +**0x0A aa ~/~/ Same as AT+MOD=aa** 805 +))) 757 757 758 758 759 759 760 - 761 761 ==== 3.4.2.3 Poll an uplink ==== 762 762 763 -* (% style="color:#037691" %)**AT Command:**811 +* AT Command: 764 764 765 765 There is no AT Command to poll uplink 766 766 767 767 768 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**816 +* Downlink Payload (prefix 0x08): 769 769 770 -**0x08 FF **~/~/ Poll an uplink 818 +(% class="box infomessage" %) 819 +((( 820 +**0x08 FF ~/~/ Poll an uplink,** 821 +))) 771 771 772 772 **Example**: 0x08FF, ask device to send an Uplink 773 773 ... ... @@ -777,9 +777,12 @@ 777 777 778 778 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 779 779 780 -* (% style="color:#037691" %)**AT Command:**831 +* AT Command: 781 781 833 +(% class="box infomessage" %) 834 +((( 782 782 **AT+ADDMOD6=1 or 0** 836 +))) 783 783 784 784 1: Enable Trigger Mode 785 785 ... ... @@ -786,36 +786,43 @@ 786 786 0: Disable Trigger Mode 787 787 788 788 789 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**843 +* Downlink Payload (prefix 0x0A 06): 790 790 791 -**0x0A 06 aa ** ~/~/ Same as AT+ADDMOD6=aa 845 +(% class="box infomessage" %) 846 +((( 847 +**0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 848 +))) 792 792 793 793 794 794 795 - 796 796 ==== 3.4.2.5 Poll trigger settings ==== 797 797 798 798 Poll trigger settings, 799 799 800 -* (% style="color:#037691" %)**AT Command:**856 +* AT Command: 801 801 802 802 There is no AT Command for this feature. 803 803 804 804 805 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**861 +* Downlink Payload (prefix 0x AB 06): 806 806 807 -**0xAB 06 **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command 863 +(% class="box infomessage" %) 864 +((( 865 +**0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 866 +))) 808 808 809 809 810 810 811 - 812 812 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 813 813 814 814 Enable Disable DI1/DI2/DI2 as trigger, 815 815 816 -* (% style="color:#037691" %)**AT Command:**874 +* AT Command: 817 817 876 +(% class="box infomessage" %) 877 +((( 818 818 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 879 +))) 819 819 820 820 821 821 **Example:** ... ... @@ -822,20 +822,25 @@ 822 822 823 823 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 824 824 825 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**886 +* Downlink Payload (prefix 0xAA 02): 826 826 827 -**0xAA 02 aa bb **~/~/ Same as AT+DTRI=aa,bb 888 +(% class="box infomessage" %) 889 +((( 890 +**0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 891 +))) 828 828 829 829 830 830 831 - 832 832 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 833 833 834 834 Set DI1 or DI3(for LT-33222-L) trigger. 835 835 836 -* (% style="color:#037691" %)**AT Command:**899 +* AT Command: 837 837 901 +(% class="box infomessage" %) 902 +((( 838 838 **AT+TRIG1=a,b** 904 +))) 839 839 840 840 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 841 841 ... ... @@ -847,20 +847,26 @@ 847 847 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 848 848 849 849 850 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 851 -* **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 916 +* Downlink Payload (prefix 0x09 01 ): 852 852 918 +(% class="box infomessage" %) 919 +((( 920 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 921 +))) 853 853 854 854 924 + 855 855 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 856 856 857 857 Set DI2 trigger. 858 858 859 -* (% style="color:#037691" %)**AT Command:**929 +* AT Command: 860 860 931 +(% class="box infomessage" %) 932 +((( 861 861 **AT+TRIG2=a,b** 934 +))) 862 862 863 - 864 864 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 865 865 866 866 b : delay timing. ... ... @@ -871,72 +871,93 @@ 871 871 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 872 872 873 873 874 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**946 +* Downlink Payload (prefix 0x09 02 ): 875 875 876 -**0x09 02 aa bb cc **~/~/ same as AT+TRIG1=aa,0x(bb cc) 948 +(% class="box infomessage" %) 949 +((( 950 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 951 +))) 877 877 878 878 879 879 880 - 881 881 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 882 882 883 883 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 884 884 885 -* (% style="color:#037691" %)**AT Command**959 +* AT Command: 886 886 887 -**AT+ACLIM** 961 +(% class="box infomessage" %) 962 +((( 963 +**AT+ACLIM. ** 964 +))) 888 888 889 889 890 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**967 +* Downlink Payload (prefix 0xAA 01 ): 891 891 892 -**0x AA 01 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 969 +(% class="box infomessage" %) 970 +((( 971 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 972 +))) 893 893 894 894 895 895 896 - 897 897 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 898 898 899 899 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 900 900 901 -* (% style="color:#037691" %)**AT Command**980 +* AT Command: 902 902 903 -**AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 982 +(% class="box infomessage" %) 983 +((( 984 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 985 +))) 904 904 905 905 906 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**988 +* Downlink Payload (prefix 0xAA 00 ): 907 907 908 -**0x AA 00 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 990 +(% class="box infomessage" %) 991 +((( 992 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ** 993 +))) 909 909 910 910 911 911 912 - 913 913 ==== 3.4.2.11 Trigger – Set minimum interval ==== 914 914 915 -Set AV and AC trigger minimum interval, system won 't response to the second trigger within this set time after the first trigger.999 +Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 916 916 917 -* (% style="color:#037691" %)**AT Command**1001 +* AT Command: 918 918 919 -**AT+ATDC=5 ** Device won't response the second trigger within 5 minute after the first trigger. 1003 +(% class="box infomessage" %) 1004 +((( 1005 +**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1006 +))) 920 920 921 921 922 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**1009 +* Downlink Payload (prefix 0xAC ): 923 923 924 -**0x AC aa bb ** ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 1011 +(% class="box infomessage" %) 1012 +((( 1013 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 1014 +))) 925 925 926 926 927 927 928 - 929 929 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 930 930 931 -* (% style="color:#037691" %)**AT Command**1020 +* AT Command: 932 932 933 933 There is no AT Command to control Digital Output 934 934 935 935 936 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)** 937 -* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 1025 +* Downlink Payload (prefix 0x02): 938 938 1027 +(% class="box infomessage" %) 939 939 ((( 1029 +**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 1030 +))) 1031 + 1032 +((( 940 940 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 941 941 ))) 942 942 ... ... @@ -956,19 +956,22 @@ 956 956 957 957 958 958 959 - 960 960 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 961 961 962 -* (% style="color:#037691" %)**AT Command**1054 +* AT Command: 963 963 964 964 There is no AT Command to control Digital Output 965 965 966 966 967 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**1059 +* Downlink Payload (prefix 0xA9): 968 968 969 -**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 1061 +(% class="box infomessage" %) 1062 +((( 1063 +((( 1064 +**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 1065 +))) 1066 +))) 970 970 971 - 972 972 This is to control the digital output time of DO pin. Include four bytes: 973 973 974 974 (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) ... ... @@ -1022,19 +1022,20 @@ 1022 1022 1023 1023 1024 1024 1025 - 1026 1026 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1027 1027 1028 -* (% style="color:#037691" %)**AT Command:**1123 +* AT Command: 1029 1029 1030 1030 There is no AT Command to control Relay Output 1031 1031 1032 1032 1033 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**1128 +* Downlink Payload (prefix 0x03): 1034 1034 1035 -**0x03 aa bb **~/~/ Set RO1/RO2 output 1130 +(% class="box infomessage" %) 1131 +((( 1132 +**0x03 aa bb ~/~/ Set RO1/RO2 output** 1133 +))) 1036 1036 1037 - 1038 1038 ((( 1039 1039 If payload = 0x030100, it means set RO1 to close and RO2 to open. 1040 1040 ))) ... ... @@ -1051,19 +1051,20 @@ 1051 1051 1052 1052 1053 1053 1054 - 1055 1055 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1056 1056 1057 -* (% style="color:#037691" %)**AT Command:**1153 +* AT Command: 1058 1058 1059 1059 There is no AT Command to control Relay Output 1060 1060 1061 1061 1062 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**1158 +* Downlink Payload (prefix 0x05): 1063 1063 1064 -**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1160 +(% class="box infomessage" %) 1161 +((( 1162 +**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1163 +))) 1065 1065 1066 - 1067 1067 This is to control the relay output time of relay. Include four bytes: 1068 1068 1069 1069 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1105,28 +1105,35 @@ 1105 1105 1106 1106 1107 1107 1108 - 1109 1109 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1110 1110 1111 1111 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1112 1112 1113 -* (% style="color:#037691" %)**AT Command:**1210 +* AT Command: 1114 1114 1115 -**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1212 +(% class="box infomessage" %) 1213 +((( 1214 +**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1215 +))) 1116 1116 1117 1117 1118 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**1218 +* Downlink Payload (prefix 0xA5): 1119 1119 1120 -**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1220 +(% class="box infomessage" %) 1221 +((( 1222 +**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1223 +))) 1121 1121 1122 1122 1123 1123 1124 - 1125 1125 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1126 1126 1127 -* (% style="color:#037691" %)**AT Command:**1229 +* AT Command: 1128 1128 1231 +(% class="box infomessage" %) 1232 +((( 1129 1129 **AT+SETCNT=aa,(bb cc dd ee) ** 1234 +))) 1130 1130 1131 1131 aa: 1: Set count1, 1132 1132 ... ... @@ -1137,40 +1137,51 @@ 1137 1137 Bb cc dd ee: number to be set 1138 1138 1139 1139 1140 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**1245 +* Downlink Payload (prefix 0xA8): 1141 1141 1142 -**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1247 +(% class="box infomessage" %) 1248 +((( 1249 +**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1250 +))) 1143 1143 1144 1144 1145 1145 1146 - 1147 1147 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1148 1148 1149 1149 Clear counting for counting mode 1150 1150 1151 -* (% style="color:#037691" %)**AT Command:**1258 +* AT Command: 1152 1152 1153 -**AT+CLRCOUNT ** ~/~/ clear all counting 1260 +(% class="box infomessage" %) 1261 +((( 1262 +**AT+CLRCOUNT ~/~/ clear all counting** 1263 +))) 1154 1154 1265 +* Downlink Payload (prefix 0xA6): 1155 1155 1156 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1267 +(% class="box infomessage" %) 1268 +((( 1269 +**0x A6 01 ~/~/ clear all counting,** 1270 +))) 1157 1157 1158 -**0x A6 01 ** ~/~/ clear all counting 1159 1159 1160 1160 1161 - 1162 - 1163 1163 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1164 1164 1165 -* (% style="color:#037691" %)**AT Command:**1276 +* AT Command: 1166 1166 1167 -**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1278 +(% class="box infomessage" %) 1279 +((( 1280 +**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1281 +))) 1168 1168 1283 +* Downlink Payload (prefix 0xA7): 1169 1169 1170 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1285 +(% class="box infomessage" %) 1286 +((( 1287 +**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1288 +))) 1171 1171 1172 -**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1173 - 1174 1174 ((( 1175 1175 range: aa bb cc:0 to 16777215, (unit:second) 1176 1176 ... ... @@ -1178,7 +1178,6 @@ 1178 1178 ))) 1179 1179 1180 1180 1181 - 1182 1182 == 3.5 Integrate with Mydevice == 1183 1183 1184 1184 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: ... ... @@ -1408,7 +1408,6 @@ 1408 1408 [[image:image-20220524100748-11.png]] 1409 1409 1410 1410 1411 - 1412 1412 = 4. Use AT Command = 1413 1413 1414 1414 == 4.1 Access AT Command == ... ... @@ -1611,6 +1611,8 @@ 1611 1611 1612 1612 ((( 1613 1613 AT+CFG: Print all settings 1728 + 1729 + 1614 1614 ))) 1615 1615 1616 1616 ... ... @@ -1656,6 +1656,8 @@ 1656 1656 1657 1657 ((( 1658 1658 (% style="background-color:#dcdcdc" %)ATZ 1775 + 1776 + 1659 1659 ))) 1660 1660 1661 1661 ... ... @@ -1862,22 +1862,11 @@ 1862 1862 == 5.5 Can i use point to point communication for LT-22222-L? == 1863 1863 1864 1864 Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] 1865 - 1866 - 1867 1867 ))) 1868 1868 1869 1869 ((( 1870 - ==5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==1986 + 1871 1871 1872 -If the device is not shut down, but directly powered off. 1873 - 1874 -It will default that this is a power-off state. 1875 - 1876 -In modes 2 to 5, DO RO status and pulse count are saved in flash. 1877 - 1878 -After restart, the status before power failure will be read from flash. 1879 - 1880 - 1881 1881 = 6. Trouble Shooting = 1882 1882 ))) 1883 1883 ... ... @@ -1931,8 +1931,6 @@ 1931 1931 * (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1932 1932 * (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1933 1933 1934 - 1935 - 1936 1936 = 8. Packing Info = 1937 1937 1938 1938 ... ... @@ -1950,8 +1950,6 @@ 1950 1950 * Package Size / pcs : 14.5 x 8 x 5 cm 1951 1951 * Weight / pcs : 170g 1952 1952 1953 - 1954 - 1955 1955 = 9. Support = 1956 1956 1957 1957 * ((( ... ... @@ -1959,10 +1959,6 @@ 1959 1959 ))) 1960 1960 * ((( 1961 1961 Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 1962 - 1963 - 1964 - 1965 - 1966 1966 ))) 1967 1967 1968 1968 = 10. Reference =