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,9 +181,6 @@ 181 181 * Firmware upgradable via program port 182 182 * Counting 183 183 184 - 185 - 186 - 187 187 == 1.4 Applications == 188 188 189 189 * Smart Buildings & Home Automation ... ... @@ -193,9 +193,6 @@ 193 193 * Smart Cities 194 194 * Smart Factory 195 195 196 - 197 - 198 - 199 199 == 1.5 Hardware Variants == 200 200 201 201 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -209,7 +209,6 @@ 209 209 * 1 x Counting Port 210 210 ))) 211 211 212 - 213 213 = 2. Power ON Device = 214 214 215 215 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. ... ... @@ -232,9 +232,12 @@ 232 232 233 233 ((( 234 234 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 + 235 235 ))) 236 236 237 237 224 + 238 238 == 3.2 Example to join LoRaWAN network == 239 239 240 240 ((( ... ... @@ -243,13 +243,12 @@ 243 243 244 244 [[image:image-20220523172350-1.png||height="266" width="864"]] 245 245 246 - 247 247 ((( 248 248 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: 249 249 ))) 250 250 251 251 ((( 252 - (% 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. 253 253 ))) 254 254 255 255 ((( ... ... @@ -258,7 +258,6 @@ 258 258 259 259 [[image:1653297924498-393.png]] 260 260 261 - 262 262 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 263 263 264 264 Add APP EUI in the application. ... ... @@ -272,7 +272,7 @@ 272 272 273 273 274 274 ((( 275 - (% 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. 276 276 ))) 277 277 278 278 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -290,10 +290,6 @@ 290 290 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 291 291 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 292 292 293 - 294 - 295 - 296 - 297 297 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 298 298 299 299 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -301,8 +301,6 @@ 301 301 [[image:image-20220523174024-3.png]] 302 302 303 303 ((( 304 - 305 - 306 306 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 307 307 ))) 308 308 ... ... @@ -316,7 +316,6 @@ 316 316 317 317 For example if payload is: [[image:image-20220523175847-2.png]] 318 318 319 - 320 320 **The value for the interface is: ** 321 321 322 322 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -347,13 +347,8 @@ 347 347 ** DO1 is high in case there is load between DO1 and V+. 348 348 ** DO1 LED is off in both case 349 349 350 - 351 - 352 - 353 - 354 354 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 355 355 356 - 357 357 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 358 358 359 359 ((( ... ... @@ -362,7 +362,6 @@ 362 362 363 363 [[image:image-20220523180452-3.png]] 364 364 365 - 366 366 ((( 367 367 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 368 368 ))) ... ... @@ -378,8 +378,6 @@ 378 378 ))) 379 379 380 380 ((( 381 - 382 - 383 383 **To use counting mode, please run:** 384 384 ))) 385 385 ... ... @@ -387,33 +387,65 @@ 387 387 ((( 388 388 ((( 389 389 **AT+MOD=2** 360 +))) 361 +))) 390 390 363 +(% class="box infomessage" %) 364 +((( 365 +((( 391 391 **ATZ** 392 392 ))) 393 393 ))) 394 394 395 395 ((( 396 - 397 - 398 398 (% style="color:#4f81bd" %)**AT Commands for counting:** 399 399 ))) 400 400 401 401 ((( 402 402 **For LT22222-L:** 376 +))) 403 403 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 +))) 404 404 405 -(% 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 +))) 406 406 407 -(% 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 +))) 408 408 409 -(% 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 +))) 410 410 411 -(% 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 +))) 412 412 413 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)** (Set COUNT1 value to 60)** 414 - 415 -(% 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)** 416 416 ))) 418 +))) 417 417 418 418 419 419 ... ... @@ -445,7 +445,12 @@ 445 445 ((( 446 446 ((( 447 447 **AT+MOD=3** 450 +))) 451 +))) 448 448 453 +(% class="box infomessage" %) 454 +((( 455 +((( 449 449 **ATZ** 450 450 ))) 451 451 ))) ... ... @@ -452,6 +452,8 @@ 452 452 453 453 ((( 454 454 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 462 + 463 + 455 455 ))) 456 456 457 457 ... ... @@ -458,7 +458,6 @@ 458 458 459 459 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 460 460 461 - 462 462 **LT22222-L**: This mode the DI1 is used as a counting pin. 463 463 464 464 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. ... ... @@ -465,7 +465,6 @@ 465 465 466 466 [[image:image-20220523181903-8.png]] 467 467 468 - 469 469 ((( 470 470 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 471 471 ))) ... ... @@ -481,8 +481,6 @@ 481 481 ))) 482 482 483 483 ((( 484 - 485 - 486 486 **To use this mode, please run:** 487 487 ))) 488 488 ... ... @@ -490,44 +490,65 @@ 490 490 ((( 491 491 ((( 492 492 **AT+MOD=4** 498 +))) 499 +))) 493 493 501 +(% class="box infomessage" %) 502 +((( 503 +((( 494 494 **ATZ** 495 495 ))) 496 496 ))) 497 497 508 +((( 509 + 510 +))) 498 498 499 - 500 500 ((( 501 501 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 502 502 ))) 503 503 504 504 ((( 505 - 506 - 507 507 **Plus below command for AVI1 Counting:** 518 +))) 508 508 520 +(% class="box infomessage" %) 521 +((( 522 +((( 523 +**AT+SETCNT=3,60 (set AVI Count to 60)** 524 +))) 525 +))) 509 509 510 -(% 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 +))) 511 511 512 -(% 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 +))) 513 513 514 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 515 - 516 -(% 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)** 517 517 ))) 546 +))) 518 518 519 519 520 520 521 521 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 522 522 523 - 524 524 **LT22222-L**: This mode the DI1 is used as a counting pin. 525 525 526 526 [[image:image-20220523182334-9.png]] 527 527 528 528 ((( 529 - 530 - 531 531 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 532 532 ))) 533 533 ... ... @@ -542,8 +542,6 @@ 542 542 ))) 543 543 544 544 ((( 545 - 546 - 547 547 **To use this mode, please run:** 548 548 ))) 549 549 ... ... @@ -551,7 +551,12 @@ 551 551 ((( 552 552 ((( 553 553 **AT+MOD=5** 578 +))) 579 +))) 554 554 581 +(% class="box infomessage" %) 582 +((( 583 +((( 555 555 **ATZ** 556 556 ))) 557 557 ))) ... ... @@ -558,6 +558,8 @@ 558 558 559 559 ((( 560 560 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 590 + 591 + 561 561 ))) 562 562 563 563 ... ... @@ -564,7 +564,6 @@ 564 564 565 565 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 566 566 567 - 568 568 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 569 569 570 570 For example, if user has configured below commands: ... ... @@ -577,7 +577,7 @@ 577 577 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 578 578 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.** 579 579 580 - (% style="color:#037691" %)**AT Command to set Trigger Condition**:610 +**AT Command to set Trigger Condition**: 581 581 582 582 (% style="color:#4f81bd" %)**Trigger base on voltage**: 583 583 ... ... @@ -590,7 +590,6 @@ 590 590 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 591 591 592 592 593 - 594 594 (% style="color:#4f81bd" %)**Trigger base on current**: 595 595 596 596 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -600,7 +600,6 @@ 600 600 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 601 601 602 602 603 - 604 604 (% style="color:#4f81bd" %)**Trigger base on DI status**: 605 605 606 606 DI status trigger Flag. ... ... @@ -607,13 +607,12 @@ 607 607 608 608 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 609 609 610 - 611 611 **Example:** 612 612 613 613 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 614 614 615 615 616 - (% style="color:#037691" %)**Downlink Command to set Trigger Condition:**643 +**Downlink Command to set Trigger Condition** 617 617 618 618 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 619 619 ... ... @@ -631,18 +631,15 @@ 631 631 632 632 Yy4 yy4: AC2 or AV2 high limit. 633 633 634 - 635 635 **Example1**: AA 00 13 88 00 00 00 00 00 00 636 636 637 637 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 638 638 639 - 640 640 **Example2**: AA 02 01 00 641 641 642 642 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 643 643 644 644 645 - 646 646 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 647 647 648 648 MOD6 Payload : total 11 bytes payload ... ... @@ -656,6 +656,7 @@ 656 656 657 657 * Each bits shows if the corresponding trigger has been configured. 658 658 683 + 659 659 **Example:** 660 660 661 661 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -698,8 +698,6 @@ 698 698 === 3.3.7 Payload Decoder === 699 699 700 700 ((( 701 - 702 - 703 703 **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/]] 704 704 705 705 ... ... @@ -706,6 +706,7 @@ 706 706 ))) 707 707 708 708 732 + 709 709 == 3.4 Configure LT via AT or Downlink == 710 710 711 711 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -720,8 +720,6 @@ 720 720 721 721 722 722 723 - 724 - 725 725 === 3.4.1 Common Commands === 726 726 727 727 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]] ... ... @@ -734,50 +734,61 @@ 734 734 735 735 Set device uplink interval. 736 736 737 -* (% style="color:#037691" %)**AT Command:**759 +* AT Command: 738 738 761 +(% class="box infomessage" %) 762 +((( 739 739 **AT+TDC=N ** 764 +))) 740 740 741 - 742 742 **Example: **AT+TDC=30000. Means set interval to 30 seconds 743 743 744 744 745 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**769 +* Downlink Payload (prefix 0x01): 746 746 771 +(% class="box infomessage" %) 772 +((( 747 747 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 774 +))) 748 748 749 749 750 750 751 - 752 752 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 753 753 754 754 Set work mode. 755 755 756 -* (% style="color:#037691" %)**AT Command:**782 +* AT Command: 757 757 784 +(% class="box infomessage" %) 785 +((( 758 758 **AT+MOD=N ** 787 +))) 759 759 760 - 761 761 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 762 762 763 763 764 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**792 +* Downlink Payload (prefix 0x0A): 765 765 766 -**0x0A aa ** ~/~/ Same as AT+MOD=aa 794 +(% class="box infomessage" %) 795 +((( 796 +**0x0A aa ~/~/ Same as AT+MOD=aa** 797 +))) 767 767 768 768 769 769 770 - 771 771 ==== 3.4.2.3 Poll an uplink ==== 772 772 773 -* (% style="color:#037691" %)**AT Command:**803 +* AT Command: 774 774 775 775 There is no AT Command to poll uplink 776 776 777 777 778 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**808 +* Downlink Payload (prefix 0x08): 779 779 780 -**0x08 FF **~/~/ Poll an uplink 810 +(% class="box infomessage" %) 811 +((( 812 +**0x08 FF ~/~/ Poll an uplink,** 813 +))) 781 781 782 782 **Example**: 0x08FF, ask device to send an Uplink 783 783 ... ... @@ -787,9 +787,12 @@ 787 787 788 788 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 789 789 790 -* (% style="color:#037691" %)**AT Command:**823 +* AT Command: 791 791 825 +(% class="box infomessage" %) 826 +((( 792 792 **AT+ADDMOD6=1 or 0** 828 +))) 793 793 794 794 1: Enable Trigger Mode 795 795 ... ... @@ -796,36 +796,43 @@ 796 796 0: Disable Trigger Mode 797 797 798 798 799 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**835 +* Downlink Payload (prefix 0x0A 06): 800 800 801 -**0x0A 06 aa ** ~/~/ Same as AT+ADDMOD6=aa 837 +(% class="box infomessage" %) 838 +((( 839 +**0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 840 +))) 802 802 803 803 804 804 805 - 806 806 ==== 3.4.2.5 Poll trigger settings ==== 807 807 808 808 Poll trigger settings, 809 809 810 -* (% style="color:#037691" %)**AT Command:**848 +* AT Command: 811 811 812 812 There is no AT Command for this feature. 813 813 814 814 815 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**853 +* Downlink Payload (prefix 0x AB 06): 816 816 817 -**0xAB 06 **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command 855 +(% class="box infomessage" %) 856 +((( 857 +**0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 858 +))) 818 818 819 819 820 820 821 - 822 822 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 823 823 824 824 Enable Disable DI1/DI2/DI2 as trigger, 825 825 826 -* (% style="color:#037691" %)**AT Command:**866 +* AT Command: 827 827 868 +(% class="box infomessage" %) 869 +((( 828 828 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 871 +))) 829 829 830 830 831 831 **Example:** ... ... @@ -832,20 +832,25 @@ 832 832 833 833 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 834 834 835 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**878 +* Downlink Payload (prefix 0xAA 02): 836 836 837 -**0xAA 02 aa bb **~/~/ Same as AT+DTRI=aa,bb 880 +(% class="box infomessage" %) 881 +((( 882 +**0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 883 +))) 838 838 839 839 840 840 841 - 842 842 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 843 843 844 844 Set DI1 or DI3(for LT-33222-L) trigger. 845 845 846 -* (% style="color:#037691" %)**AT Command:**891 +* AT Command: 847 847 893 +(% class="box infomessage" %) 894 +((( 848 848 **AT+TRIG1=a,b** 896 +))) 849 849 850 850 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 851 851 ... ... @@ -857,19 +857,26 @@ 857 857 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 858 858 859 859 860 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 861 -* **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 908 +* Downlink Payload (prefix 0x09 01 ): 862 862 910 +(% class="box infomessage" %) 911 +((( 912 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 913 +))) 863 863 915 + 916 + 864 864 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 865 865 866 866 Set DI2 trigger. 867 867 868 -* (% style="color:#037691" %)**AT Command:**921 +* AT Command: 869 869 923 +(% class="box infomessage" %) 924 +((( 870 870 **AT+TRIG2=a,b** 926 +))) 871 871 872 - 873 873 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 874 874 875 875 b : delay timing. ... ... @@ -880,72 +880,93 @@ 880 880 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 881 881 882 882 883 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**938 +* Downlink Payload (prefix 0x09 02 ): 884 884 885 -**0x09 02 aa bb cc **~/~/ same as AT+TRIG1=aa,0x(bb cc) 940 +(% class="box infomessage" %) 941 +((( 942 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 943 +))) 886 886 887 887 888 888 889 - 890 890 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 891 891 892 892 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 893 893 894 -* (% style="color:#037691" %)**AT Command**951 +* AT Command: 895 895 896 -**AT+ACLIM** 953 +(% class="box infomessage" %) 954 +((( 955 +**AT+ACLIM. ** 956 +))) 897 897 898 898 899 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**959 +* Downlink Payload (prefix 0xAA 01 ): 900 900 901 -**0x AA 01 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 961 +(% class="box infomessage" %) 962 +((( 963 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 964 +))) 902 902 903 903 904 904 905 - 906 906 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 907 907 908 908 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 909 909 910 -* (% style="color:#037691" %)**AT Command**972 +* AT Command: 911 911 912 -**AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 974 +(% class="box infomessage" %) 975 +((( 976 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 977 +))) 913 913 914 914 915 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**980 +* Downlink Payload (prefix 0xAA 00 ): 916 916 917 -**0x AA 00 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 982 +(% class="box infomessage" %) 983 +((( 984 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ** 985 +))) 918 918 919 919 920 920 921 - 922 922 ==== 3.4.2.11 Trigger – Set minimum interval ==== 923 923 924 -Set AV and AC trigger minimum interval, system won 't response to the second trigger within this set time after the first trigger.991 +Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 925 925 926 -* (% style="color:#037691" %)**AT Command**993 +* AT Command: 927 927 928 -**AT+ATDC=5 ** Device won't response the second trigger within 5 minute after the first trigger. 995 +(% class="box infomessage" %) 996 +((( 997 +**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 998 +))) 929 929 930 930 931 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**1001 +* Downlink Payload (prefix 0xAC ): 932 932 933 -**0x AC aa bb ** ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 1003 +(% class="box infomessage" %) 1004 +((( 1005 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 1006 +))) 934 934 935 935 936 936 937 - 938 938 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 939 939 940 -* (% style="color:#037691" %)**AT Command**1012 +* AT Command: 941 941 942 942 There is no AT Command to control Digital Output 943 943 944 944 945 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)** 946 -* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 1017 +* Downlink Payload (prefix 0x02): 947 947 1019 +(% class="box infomessage" %) 948 948 ((( 1021 +**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 1022 +))) 1023 + 1024 +((( 949 949 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 950 950 ))) 951 951 ... ... @@ -965,19 +965,22 @@ 965 965 966 966 967 967 968 - 969 969 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 970 970 971 -* (% style="color:#037691" %)**AT Command**1046 +* AT Command: 972 972 973 973 There is no AT Command to control Digital Output 974 974 975 975 976 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**1051 +* Downlink Payload (prefix 0xA9): 977 977 978 -**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 1053 +(% class="box infomessage" %) 1054 +((( 1055 +((( 1056 +**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 1057 +))) 1058 +))) 979 979 980 - 981 981 This is to control the digital output time of DO pin. Include four bytes: 982 982 983 983 (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) ... ... @@ -1031,19 +1031,20 @@ 1031 1031 1032 1032 1033 1033 1034 - 1035 1035 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1036 1036 1037 -* (% style="color:#037691" %)**AT Command:**1115 +* AT Command: 1038 1038 1039 1039 There is no AT Command to control Relay Output 1040 1040 1041 1041 1042 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**1120 +* Downlink Payload (prefix 0x03): 1043 1043 1044 -**0x03 aa bb **~/~/ Set RO1/RO2 output 1122 +(% class="box infomessage" %) 1123 +((( 1124 +**0x03 aa bb ~/~/ Set RO1/RO2 output** 1125 +))) 1045 1045 1046 - 1047 1047 ((( 1048 1048 If payload = 0x030100, it means set RO1 to close and RO2 to open. 1049 1049 ))) ... ... @@ -1060,19 +1060,20 @@ 1060 1060 1061 1061 1062 1062 1063 - 1064 1064 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1065 1065 1066 -* (% style="color:#037691" %)**AT Command:**1145 +* AT Command: 1067 1067 1068 1068 There is no AT Command to control Relay Output 1069 1069 1070 1070 1071 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**1150 +* Downlink Payload (prefix 0x05): 1072 1072 1073 -**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1152 +(% class="box infomessage" %) 1153 +((( 1154 +**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1155 +))) 1074 1074 1075 - 1076 1076 This is to control the relay output time of relay. Include four bytes: 1077 1077 1078 1078 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1114,28 +1114,35 @@ 1114 1114 1115 1115 1116 1116 1117 - 1118 1118 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1119 1119 1120 1120 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1121 1121 1122 -* (% style="color:#037691" %)**AT Command:**1202 +* AT Command: 1123 1123 1124 -**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1204 +(% class="box infomessage" %) 1205 +((( 1206 +**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1207 +))) 1125 1125 1126 1126 1127 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**1210 +* Downlink Payload (prefix 0xA5): 1128 1128 1129 -**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1212 +(% class="box infomessage" %) 1213 +((( 1214 +**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1215 +))) 1130 1130 1131 1131 1132 1132 1133 - 1134 1134 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1135 1135 1136 -* (% style="color:#037691" %)**AT Command:**1221 +* AT Command: 1137 1137 1223 +(% class="box infomessage" %) 1224 +((( 1138 1138 **AT+SETCNT=aa,(bb cc dd ee) ** 1226 +))) 1139 1139 1140 1140 aa: 1: Set count1, 1141 1141 ... ... @@ -1146,40 +1146,51 @@ 1146 1146 Bb cc dd ee: number to be set 1147 1147 1148 1148 1149 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**1237 +* Downlink Payload (prefix 0xA8): 1150 1150 1151 -**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1239 +(% class="box infomessage" %) 1240 +((( 1241 +**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1242 +))) 1152 1152 1153 1153 1154 1154 1155 - 1156 1156 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1157 1157 1158 1158 Clear counting for counting mode 1159 1159 1160 -* (% style="color:#037691" %)**AT Command:**1250 +* AT Command: 1161 1161 1162 -**AT+CLRCOUNT ** ~/~/ clear all counting 1252 +(% class="box infomessage" %) 1253 +((( 1254 +**AT+CLRCOUNT ~/~/ clear all counting** 1255 +))) 1163 1163 1257 +* Downlink Payload (prefix 0xA6): 1164 1164 1165 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1259 +(% class="box infomessage" %) 1260 +((( 1261 +**0x A6 01 ~/~/ clear all counting,** 1262 +))) 1166 1166 1167 -**0x A6 01 ** ~/~/ clear all counting 1168 1168 1169 1169 1170 - 1171 - 1172 1172 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1173 1173 1174 -* (% style="color:#037691" %)**AT Command:**1268 +* AT Command: 1175 1175 1176 -**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1270 +(% class="box infomessage" %) 1271 +((( 1272 +**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1273 +))) 1177 1177 1275 +* Downlink Payload (prefix 0xA7): 1178 1178 1179 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1277 +(% class="box infomessage" %) 1278 +((( 1279 +**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1280 +))) 1180 1180 1181 -**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1182 - 1183 1183 ((( 1184 1184 range: aa bb cc:0 to 16777215, (unit:second) 1185 1185 ... ... @@ -1187,7 +1187,6 @@ 1187 1187 ))) 1188 1188 1189 1189 1190 - 1191 1191 == 3.5 Integrate with Mydevice == 1192 1192 1193 1193 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: ... ... @@ -1417,7 +1417,6 @@ 1417 1417 [[image:image-20220524100748-11.png]] 1418 1418 1419 1419 1420 - 1421 1421 = 4. Use AT Command = 1422 1422 1423 1423 == 4.1 Access AT Command == ... ... @@ -1620,6 +1620,8 @@ 1620 1620 1621 1621 ((( 1622 1622 AT+CFG: Print all settings 1720 + 1721 + 1623 1623 ))) 1624 1624 1625 1625 ... ... @@ -1665,6 +1665,8 @@ 1665 1665 1666 1666 ((( 1667 1667 (% style="background-color:#dcdcdc" %)ATZ 1767 + 1768 + 1668 1668 ))) 1669 1669 1670 1670 ... ... @@ -1871,22 +1871,11 @@ 1871 1871 == 5.5 Can i use point to point communication for LT-22222-L? == 1872 1872 1873 1873 Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] 1874 - 1875 - 1876 1876 ))) 1877 1877 1878 1878 ((( 1879 - ==5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==1978 + 1880 1880 1881 -If the device is not shut down, but directly powered off. 1882 - 1883 -It will default that this is a power-off state. 1884 - 1885 -In modes 2 to 5, DO RO status and pulse count are saved in flash. 1886 - 1887 -After restart, the status before power failure will be read from flash. 1888 - 1889 - 1890 1890 = 6. Trouble Shooting = 1891 1891 ))) 1892 1892 ... ... @@ -1921,8 +1921,10 @@ 1921 1921 ))) 1922 1922 1923 1923 2014 + 1924 1924 = 7. Order Info = 1925 1925 2017 + 1926 1926 (% style="color:#4f81bd" %)**LT-22222-L-XXX:** 1927 1927 1928 1928 ... ... @@ -1938,7 +1938,6 @@ 1938 1938 * (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1939 1939 * (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1940 1940 1941 - 1942 1942 = 8. Packing Info = 1943 1943 1944 1944 ... ... @@ -1956,7 +1956,6 @@ 1956 1956 * Package Size / pcs : 14.5 x 8 x 5 cm 1957 1957 * Weight / pcs : 170g 1958 1958 1959 - 1960 1960 = 9. Support = 1961 1961 1962 1962 * ((( ... ... @@ -1964,10 +1964,6 @@ 1964 1964 ))) 1965 1965 * ((( 1966 1966 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]] 1967 - 1968 - 1969 - 1970 - 1971 1971 ))) 1972 1972 1973 1973 = 10. Reference =