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 ((( ... ... @@ -78,9 +78,8 @@ 78 78 ))) 79 79 ))) 80 80 81 -((( 82 - 83 83 79 +((( 84 84 **Interface for Model: LT22222-L:** 85 85 ))) 86 86 ... ... @@ -103,9 +103,8 @@ 103 103 Power Input 7~~ 24V DC. 104 104 ))) 105 105 106 -((( 107 - 108 108 103 +((( 109 109 **LoRa Spec:** 110 110 ))) 111 111 ... ... @@ -166,11 +166,11 @@ 166 166 * ((( 167 167 Packet engine up to 256 bytes with CRC. 168 168 169 - 170 - 171 171 172 172 ))) 173 173 167 + 168 + 174 174 == 1.3 Features == 175 175 176 176 * LoRaWAN Class A & Class C protocol ... ... @@ -181,6 +181,8 @@ 181 181 * Firmware upgradable via program port 182 182 * Counting 183 183 179 + 180 + 184 184 == 1.4 Applications == 185 185 186 186 * Smart Buildings & Home Automation ... ... @@ -190,6 +190,8 @@ 190 190 * Smart Cities 191 191 * Smart Factory 192 192 190 + 191 + 193 193 == 1.5 Hardware Variants == 194 194 195 195 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -227,9 +227,12 @@ 227 227 228 228 ((( 229 229 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. 229 + 230 + 230 230 ))) 231 231 232 232 234 + 233 233 == 3.2 Example to join LoRaWAN network == 234 234 235 235 ((( ... ... @@ -238,13 +238,12 @@ 238 238 239 239 [[image:image-20220523172350-1.png||height="266" width="864"]] 240 240 241 - 242 242 ((( 243 243 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: 244 244 ))) 245 245 246 246 ((( 247 - (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.248 +**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller. 248 248 ))) 249 249 250 250 ((( ... ... @@ -253,7 +253,6 @@ 253 253 254 254 [[image:1653297924498-393.png]] 255 255 256 - 257 257 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 258 258 259 259 Add APP EUI in the application. ... ... @@ -267,7 +267,7 @@ 267 267 268 268 269 269 ((( 270 - (% 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.270 +**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. 271 271 ))) 272 272 273 273 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -285,6 +285,8 @@ 285 285 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 286 286 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 287 287 288 + 289 + 288 288 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 289 289 290 290 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -292,8 +292,6 @@ 292 292 [[image:image-20220523174024-3.png]] 293 293 294 294 ((( 295 - 296 - 297 297 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 298 298 ))) 299 299 ... ... @@ -307,7 +307,6 @@ 307 307 308 308 For example if payload is: [[image:image-20220523175847-2.png]] 309 309 310 - 311 311 **The value for the interface is: ** 312 312 313 313 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -323,6 +323,7 @@ 323 323 * [1] RO1 relay channel is close and the RO1 LED is ON. 324 324 * [0] RO2 relay channel is open and RO2 LED is OFF; 325 325 325 + 326 326 **LT22222-L:** 327 327 328 328 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -338,9 +338,10 @@ 338 338 ** DO1 is high in case there is load between DO1 and V+. 339 339 ** DO1 LED is off in both case 340 340 341 -=== 3.3.2 AT+MOD~=2, (Double DI Counting) === 342 342 343 343 343 +=== 3.3.2 AT+MOD~=2, (Double DI Counting) === 344 + 344 344 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 345 345 346 346 ((( ... ... @@ -349,7 +349,6 @@ 349 349 350 350 [[image:image-20220523180452-3.png]] 351 351 352 - 353 353 ((( 354 354 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 355 355 ))) ... ... @@ -365,8 +365,6 @@ 365 365 ))) 366 366 367 367 ((( 368 - 369 - 370 370 **To use counting mode, please run:** 371 371 ))) 372 372 ... ... @@ -374,33 +374,65 @@ 374 374 ((( 375 375 ((( 376 376 **AT+MOD=2** 375 +))) 376 +))) 377 377 378 +(% class="box infomessage" %) 379 +((( 380 +((( 378 378 **ATZ** 379 379 ))) 380 380 ))) 381 381 382 382 ((( 383 - 384 - 385 385 (% style="color:#4f81bd" %)**AT Commands for counting:** 386 386 ))) 387 387 388 388 ((( 389 389 **For LT22222-L:** 391 +))) 390 390 393 +(% class="box infomessage" %) 394 +((( 395 +((( 396 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 397 +))) 398 +))) 391 391 392 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (set DI1 port to trigger on low level, valid signal is 100ms) ** 400 +(% class="box infomessage" %) 401 +((( 402 +((( 403 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 404 +))) 405 +))) 393 393 394 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)** (set DI1 port to trigger on high level, valid signal is 100ms ) ** 407 +(% class="box infomessage" %) 408 +((( 409 +((( 410 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 411 +))) 412 +))) 395 395 396 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)** (set DI2 port to trigger on low level, valid signal is 100ms) ** 414 +(% class="box infomessage" %) 415 +((( 416 +((( 417 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 418 +))) 419 +))) 397 397 398 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)** (set DI2 port to trigger on high level, valid signal is 100ms ) ** 421 +(% class="box infomessage" %) 422 +((( 423 +((( 424 +**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 425 +))) 426 +))) 399 399 400 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)** (Set COUNT1 value to 60)** 401 - 402 -(% style="color:blue" %)**AT+SETCNT=2,60**(%%)** (Set COUNT2 value to 60)** 428 +(% class="box infomessage" %) 429 +((( 430 +((( 431 +**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 403 403 ))) 433 +))) 404 404 405 405 406 406 ... ... @@ -432,7 +432,12 @@ 432 432 ((( 433 433 ((( 434 434 **AT+MOD=3** 465 +))) 466 +))) 435 435 468 +(% class="box infomessage" %) 469 +((( 470 +((( 436 436 **ATZ** 437 437 ))) 438 438 ))) ... ... @@ -439,6 +439,8 @@ 439 439 440 440 ((( 441 441 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 477 + 478 + 442 442 ))) 443 443 444 444 ... ... @@ -445,7 +445,6 @@ 445 445 446 446 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 447 447 448 - 449 449 **LT22222-L**: This mode the DI1 is used as a counting pin. 450 450 451 451 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. ... ... @@ -452,7 +452,6 @@ 452 452 453 453 [[image:image-20220523181903-8.png]] 454 454 455 - 456 456 ((( 457 457 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 458 458 ))) ... ... @@ -468,8 +468,6 @@ 468 468 ))) 469 469 470 470 ((( 471 - 472 - 473 473 **To use this mode, please run:** 474 474 ))) 475 475 ... ... @@ -477,44 +477,65 @@ 477 477 ((( 478 478 ((( 479 479 **AT+MOD=4** 513 +))) 514 +))) 480 480 516 +(% class="box infomessage" %) 517 +((( 518 +((( 481 481 **ATZ** 482 482 ))) 483 483 ))) 484 484 523 +((( 524 + 525 +))) 485 485 486 - 487 487 ((( 488 488 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 489 489 ))) 490 490 491 491 ((( 492 - 493 - 494 494 **Plus below command for AVI1 Counting:** 533 +))) 495 495 535 +(% class="box infomessage" %) 536 +((( 537 +((( 538 +**AT+SETCNT=3,60 (set AVI Count to 60)** 539 +))) 540 +))) 496 496 497 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 542 +(% class="box infomessage" %) 543 +((( 544 +((( 545 +**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 546 +))) 547 +))) 498 498 499 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 549 +(% class="box infomessage" %) 550 +((( 551 +((( 552 +**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 553 +))) 554 +))) 500 500 501 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 502 - 503 -(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 556 +(% class="box infomessage" %) 557 +((( 558 +((( 559 +**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 504 504 ))) 561 +))) 505 505 506 506 507 507 508 508 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 509 509 510 - 511 511 **LT22222-L**: This mode the DI1 is used as a counting pin. 512 512 513 513 [[image:image-20220523182334-9.png]] 514 514 515 515 ((( 516 - 517 - 518 518 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 519 519 ))) 520 520 ... ... @@ -529,8 +529,6 @@ 529 529 ))) 530 530 531 531 ((( 532 - 533 - 534 534 **To use this mode, please run:** 535 535 ))) 536 536 ... ... @@ -538,7 +538,12 @@ 538 538 ((( 539 539 ((( 540 540 **AT+MOD=5** 593 +))) 594 +))) 541 541 596 +(% class="box infomessage" %) 597 +((( 598 +((( 542 542 **ATZ** 543 543 ))) 544 544 ))) ... ... @@ -545,6 +545,8 @@ 545 545 546 546 ((( 547 547 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 605 + 606 + 548 548 ))) 549 549 550 550 ... ... @@ -551,7 +551,6 @@ 551 551 552 552 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 553 553 554 - 555 555 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 556 556 557 557 For example, if user has configured below commands: ... ... @@ -564,9 +564,8 @@ 564 564 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 565 565 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.** 566 566 625 +**AT Command to set Trigger Condition**: 567 567 568 -(% style="color:#037691" %)**AT Command to set Trigger Condition**: 569 - 570 570 (% style="color:#4f81bd" %)**Trigger base on voltage**: 571 571 572 572 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> ... ... @@ -578,7 +578,6 @@ 578 578 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 579 579 580 580 581 - 582 582 (% style="color:#4f81bd" %)**Trigger base on current**: 583 583 584 584 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -588,7 +588,6 @@ 588 588 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 589 589 590 590 591 - 592 592 (% style="color:#4f81bd" %)**Trigger base on DI status**: 593 593 594 594 DI status trigger Flag. ... ... @@ -595,13 +595,12 @@ 595 595 596 596 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 597 597 598 - 599 599 **Example:** 600 600 601 601 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 602 602 603 603 604 - (% style="color:#037691" %)**Downlink Command to set Trigger Condition:**658 +**Downlink Command to set Trigger Condition** 605 605 606 606 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 607 607 ... ... @@ -619,18 +619,14 @@ 619 619 620 620 Yy4 yy4: AC2 or AV2 high limit. 621 621 622 - 623 623 **Example1**: AA 00 13 88 00 00 00 00 00 00 624 624 625 625 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 626 626 627 - 628 628 **Example2**: AA 02 01 00 629 629 630 630 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 631 631 632 - 633 - 634 634 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 635 635 636 636 MOD6 Payload : total 11 bytes payload ... ... @@ -637,7 +637,6 @@ 637 637 638 638 [[image:image-20220524085923-1.png]] 639 639 640 - 641 641 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 642 642 643 643 [[image:image-20220524090106-2.png]] ... ... @@ -686,8 +686,6 @@ 686 686 === 3.3.7 Payload Decoder === 687 687 688 688 ((( 689 - 690 - 691 691 **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/]] 692 692 693 693 ... ... @@ -694,6 +694,7 @@ 694 694 ))) 695 695 696 696 744 + 697 697 == 3.4 Configure LT via AT or Downlink == 698 698 699 699 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -706,6 +706,8 @@ 706 706 707 707 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 708 708 757 + 758 + 709 709 === 3.4.1 Common Commands === 710 710 711 711 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]] ... ... @@ -718,7 +718,7 @@ 718 718 719 719 Set device uplink interval. 720 720 721 -* (% style="color:#037691" %)**AT Command:**771 +* AT Command: 722 722 723 723 (% class="box infomessage" %) 724 724 ((( ... ... @@ -727,9 +727,8 @@ 727 727 728 728 **Example: **AT+TDC=30000. Means set interval to 30 seconds 729 729 780 +* Downlink Payload (prefix 0x01): 730 730 731 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 732 - 733 733 (% class="box infomessage" %) 734 734 ((( 735 735 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** ... ... @@ -741,7 +741,7 @@ 741 741 742 742 Set work mode. 743 743 744 -* (% style="color:#037691" %)**AT Command:**793 +* AT Command: 745 745 746 746 (% class="box infomessage" %) 747 747 ((( ... ... @@ -750,9 +750,8 @@ 750 750 751 751 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 752 752 802 +* Downlink Payload (prefix 0x0A): 753 753 754 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 755 - 756 756 (% class="box infomessage" %) 757 757 ((( 758 758 **0x0A aa ~/~/ Same as AT+MOD=aa** ... ... @@ -762,13 +762,12 @@ 762 762 763 763 ==== 3.4.2.3 Poll an uplink ==== 764 764 765 -* (% style="color:#037691" %)AT Command:813 +* AT Command: 766 766 767 767 There is no AT Command to poll uplink 768 768 817 +* Downlink Payload (prefix 0x08): 769 769 770 -* (% style="color:#037691" %)Downlink Payload (prefix 0x08): 771 - 772 772 (% class="box infomessage" %) 773 773 ((( 774 774 **0x08 FF ~/~/ Poll an uplink,** ... ... @@ -782,7 +782,7 @@ 782 782 783 783 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 784 784 785 -* (% style="color:#037691" %)AT Command:832 +* AT Command: 786 786 787 787 (% class="box infomessage" %) 788 788 ((( ... ... @@ -793,9 +793,8 @@ 793 793 794 794 0: Disable Trigger Mode 795 795 843 +* Downlink Payload (prefix 0x0A 06): 796 796 797 -* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06): 798 - 799 799 (% class="box infomessage" %) 800 800 ((( 801 801 **0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** ... ... @@ -807,13 +807,12 @@ 807 807 808 808 Poll trigger settings, 809 809 810 -* (% style="color:#037691" %)AT Command:856 +* AT Command: 811 811 812 812 There is no AT Command for this feature. 813 813 860 +* Downlink Payload (prefix 0x AB 06): 814 814 815 -* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06): 816 - 817 817 (% class="box infomessage" %) 818 818 ((( 819 819 **0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** ... ... @@ -825,127 +825,154 @@ 825 825 826 826 Enable Disable DI1/DI2/DI2 as trigger, 827 827 828 -* (% style="color:#037691" %)AT Command:873 +* AT Command: 829 829 875 +(% class="box infomessage" %) 876 +((( 830 830 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 878 +))) 831 831 832 - 833 833 **Example:** 834 834 835 835 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 836 836 837 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):884 +* Downlink Payload (prefix 0xAA 02): 838 838 839 -**0xAA 02 aa bb **~/~/ Same as AT+DTRI=aa,bb 886 +(% class="box infomessage" %) 887 +((( 888 +**0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 889 +))) 840 840 841 841 842 842 843 - 844 844 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 845 845 846 846 Set DI1 or DI3(for LT-33222-L) trigger. 847 847 848 -* (% style="color:#037691" %)AT Command:897 +* AT Command: 849 849 899 +(% class="box infomessage" %) 900 +((( 850 850 **AT+TRIG1=a,b** 902 +))) 851 851 852 852 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 853 853 854 854 b : delay timing. 855 855 856 - 857 857 **Example:** 858 858 859 859 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 860 860 912 +* Downlink Payload (prefix 0x09 01 ): 861 861 862 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 863 -* **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 914 +(% class="box infomessage" %) 915 +((( 916 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 917 +))) 864 864 865 865 920 + 866 866 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 867 867 868 868 Set DI2 trigger. 869 869 870 -* (% style="color:#037691" %)**AT Command:**925 +* AT Command: 871 871 927 +(% class="box infomessage" %) 928 +((( 872 872 **AT+TRIG2=a,b** 930 +))) 873 873 874 - 875 875 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 876 876 877 877 b : delay timing. 878 878 879 - 880 880 **Example:** 881 881 882 882 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 883 883 940 +* Downlink Payload (prefix 0x09 02 ): 884 884 885 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):** 942 +(% class="box infomessage" %) 943 +((( 944 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 945 +))) 886 886 887 -**0x09 02 aa bb cc **~/~/ same as AT+TRIG1=aa,0x(bb cc) 888 888 889 889 890 - 891 - 892 892 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 893 893 894 894 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 895 895 896 -* (% style="color:#037691" %)**AT Command**953 +* AT Command: 897 897 898 -**AT+ACLIM** 955 +(% class="box infomessage" %) 956 +((( 957 +**AT+ACLIM. ** 958 +))) 899 899 960 +* Downlink Payload (prefix 0xAA 01 ): 900 900 901 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )** 962 +(% class="box infomessage" %) 963 +((( 964 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 965 +))) 902 902 903 -**0x AA 01 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 904 904 905 905 906 - 907 - 908 908 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 909 909 910 910 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 911 911 912 -* (% style="color:#037691" %)**AT Command**973 +* AT Command: 913 913 914 -**AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 975 +(% class="box infomessage" %) 976 +((( 977 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 978 +))) 915 915 980 +* Downlink Payload (prefix 0xAA 00 ): 916 916 917 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )** 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 -**0x AA 00 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 920 920 921 921 922 - 923 - 924 924 ==== 3.4.2.11 Trigger – Set minimum interval ==== 925 925 926 926 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 927 927 928 -* (% style="color:#037691" %)**AT Command**993 +* AT Command: 929 929 995 +(% class="box infomessage" %) 996 +((( 930 930 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 998 +))) 931 931 1000 +* Downlink Payload (prefix 0xAC ): 932 932 933 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )** 1002 +(% class="box infomessage" %) 1003 +((( 1004 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 1005 +))) 934 934 935 -**0x AC aa bb ** ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 936 936 937 937 938 - 939 - 940 940 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 941 941 942 -* (% style="color:#037691" %)**AT Command**1011 +* AT Command: 943 943 944 944 There is no AT Command to control Digital Output 945 945 1015 +* Downlink Payload (prefix 0x02): 946 946 947 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)** 948 -* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 1017 +(% class="box infomessage" %) 1018 +((( 1019 +**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 1020 +))) 949 949 950 950 ((( 951 951 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. ... ... @@ -967,19 +967,21 @@ 967 967 968 968 969 969 970 - 971 971 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 972 972 973 -* (% style="color:#037691" %)**AT Command**1044 +* AT Command: 974 974 975 975 There is no AT Command to control Digital Output 976 976 1048 +* Downlink Payload (prefix 0xA9): 977 977 978 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)** 1050 +(% class="box infomessage" %) 1051 +((( 1052 +((( 1053 +**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 1054 +))) 1055 +))) 979 979 980 -**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 981 - 982 - 983 983 This is to control the digital output time of DO pin. Include four bytes: 984 984 985 985 (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) ... ... @@ -990,22 +990,18 @@ 990 990 991 991 00: DO pins will change to an inverter state after timeout 992 992 993 - 994 994 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 995 995 996 996 [[image:image-20220524093238-6.png]] 997 997 998 - 999 999 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1000 1000 1001 1001 [[image:image-20220524093328-7.png]] 1002 1002 1003 - 1004 1004 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1005 1005 1006 1006 [[image:image-20220524093351-8.png]] 1007 1007 1008 - 1009 1009 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1010 1010 1011 1011 Latching time. Unit: ms ... ... @@ -1012,7 +1012,6 @@ 1012 1012 1013 1013 Device will upload a packet if downlink code executes successfully. 1014 1014 1015 - 1016 1016 **Example payload:** 1017 1017 1018 1018 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1032,20 +1032,19 @@ 1032 1032 DO1 pin no action, DO2 pin set low, DO3 pin set high, last 2 seconds, then DO1 pin no action, DO2 pin set high, DO3 pin set low 1033 1033 1034 1034 1104 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1035 1035 1106 +* AT Command: 1036 1036 1037 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1038 - 1039 -* (% style="color:#037691" %)**AT Command:** 1040 - 1041 1041 There is no AT Command to control Relay Output 1042 1042 1110 +* Downlink Payload (prefix 0x03): 1043 1043 1044 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):** 1112 +(% class="box infomessage" %) 1113 +((( 1114 +**0x03 aa bb ~/~/ Set RO1/RO2 output** 1115 +))) 1045 1045 1046 -**0x03 aa bb **~/~/ Set RO1/RO2 output 1047 - 1048 - 1049 1049 ((( 1050 1050 If payload = 0x030100, it means set RO1 to close and RO2 to open. 1051 1051 ))) ... ... @@ -1061,20 +1061,19 @@ 1061 1061 Device will upload a packet if downlink code executes successfully. 1062 1062 1063 1063 1064 - 1065 - 1066 1066 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1067 1067 1068 -* (% style="color:#037691" %)**AT Command:**1134 +* AT Command: 1069 1069 1070 1070 There is no AT Command to control Relay Output 1071 1071 1138 +* Downlink Payload (prefix 0x05): 1072 1072 1073 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1140 +(% class="box infomessage" %) 1141 +((( 1142 +**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1143 +))) 1074 1074 1075 -**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1076 - 1077 - 1078 1078 This is to control the relay output time of relay. Include four bytes: 1079 1079 1080 1080 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1085,17 +1085,14 @@ 1085 1085 1086 1086 00: Relays will change to an inverter state after timeout 1087 1087 1088 - 1089 1089 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1090 1090 1091 1091 [[image:image-20220524093831-10.png]] 1092 1092 1093 - 1094 1094 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1095 1095 1096 1096 Device will upload a packet if downlink code executes successfully. 1097 1097 1098 - 1099 1099 **Example payload:** 1100 1100 1101 1101 **~1. 05 01 11 07 D0** ... ... @@ -1115,29 +1115,33 @@ 1115 1115 Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO. 1116 1116 1117 1117 1118 - 1119 - 1120 1120 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1121 1121 1122 1122 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1123 1123 1124 -* (% style="color:#037691" %)**AT Command:**1186 +* AT Command: 1125 1125 1126 -**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1188 +(% class="box infomessage" %) 1189 +((( 1190 +**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1191 +))) 1127 1127 1193 +* Downlink Payload (prefix 0xA5): 1128 1128 1129 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):** 1195 +(% class="box infomessage" %) 1196 +((( 1197 +**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1198 +))) 1130 1130 1131 -**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1132 1132 1133 - 1134 - 1135 - 1136 1136 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1137 1137 1138 -* (% style="color:#037691" %)**AT Command:**1203 +* AT Command: 1139 1139 1140 -(% style="color:#037691" %)****(%%)**AT+SETCNT=aa,(bb cc dd ee) ** 1205 +(% class="box infomessage" %) 1206 +((( 1207 +**AT+SETCNT=aa,(bb cc dd ee) ** 1208 +))) 1141 1141 1142 1142 aa: 1: Set count1, 1143 1143 ... ... @@ -1147,41 +1147,49 @@ 1147 1147 1148 1148 Bb cc dd ee: number to be set 1149 1149 1218 +* Downlink Payload (prefix 0xA8): 1150 1150 1151 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):** 1220 +(% class="box infomessage" %) 1221 +((( 1222 +**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1223 +))) 1152 1152 1153 -**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1154 1154 1155 - 1156 - 1157 - 1158 1158 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1159 1159 1160 1160 Clear counting for counting mode 1161 1161 1162 -* (% style="color:#037691" %)**AT Command:**1230 +* AT Command: 1163 1163 1164 -(% style="color:#037691" %)(%%)**AT+CLRCOUNT ** ~/~/ clear all counting 1232 +(% class="box infomessage" %) 1233 +((( 1234 +**AT+CLRCOUNT ~/~/ clear all counting** 1235 +))) 1165 1165 1237 +* Downlink Payload (prefix 0xA6): 1166 1166 1167 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1239 +(% class="box infomessage" %) 1240 +((( 1241 +**0x A6 01 ~/~/ clear all counting,** 1242 +))) 1168 1168 1169 -**0x A6 01 ** ~/~/ clear all counting 1170 1170 1171 - 1172 - 1173 - 1174 1174 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1175 1175 1176 -* (% style="color:#037691" %)**AT Command:**1247 +* AT Command: 1177 1177 1178 -**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1249 +(% class="box infomessage" %) 1250 +((( 1251 +**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1252 +))) 1179 1179 1254 +* Downlink Payload (prefix 0xA7): 1180 1180 1181 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1256 +(% class="box infomessage" %) 1257 +((( 1258 +**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1259 +))) 1182 1182 1183 -**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1184 - 1185 1185 ((( 1186 1186 range: aa bb cc:0 to 16777215, (unit:second) 1187 1187 ... ... @@ -1188,18 +1188,16 @@ 1188 1188 1189 1189 ))) 1190 1190 1191 - 1192 - 1193 1193 == 3.5 Integrate with Mydevice == 1194 1194 1195 1195 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: 1196 1196 1197 1197 ((( 1198 - (% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the network at this time.1272 +**Step 1**: Be sure that your device is programmed and properly connected to the network at this time. 1199 1199 ))) 1200 1200 1201 1201 ((( 1202 - (% style="color:blue" %)**Step 2**(%%): To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:1276 +**Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps: 1203 1203 ))) 1204 1204 1205 1205 [[image:1653356737703-362.png||height="232" width="732"]] ... ... @@ -1206,13 +1206,12 @@ 1206 1206 1207 1207 [[image:image-20220524094641-11.png||height="390" width="723"]] 1208 1208 1209 - 1210 1210 [[image:image-20220524094641-12.png||height="402" width="718"]] 1211 1211 1212 1212 1213 - (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.1286 +**Step 3**: Create an account or log in Mydevices. 1214 1214 1215 - (% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)1288 +**Step 4**: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %) 1216 1216 1217 1217 Search under The things network 1218 1218 ... ... @@ -1219,25 +1219,19 @@ 1219 1219 [[image:1653356838789-523.png||height="337" width="740"]] 1220 1220 1221 1221 1222 - 1223 1223 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 1224 1224 1225 1225 [[image:image-20220524094909-1.png||height="335" width="729"]] 1226 1226 1227 - 1228 1228 [[image:image-20220524094909-2.png||height="337" width="729"]] 1229 1229 1230 - 1231 1231 [[image:image-20220524094909-3.png||height="338" width="727"]] 1232 1232 1233 - 1234 1234 [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %) 1235 1235 1236 - 1237 1237 [[image:image-20220524094909-5.png||height="341" width="734"]] 1238 1238 1239 1239 1240 - 1241 1241 == 3.6 Interface Detail == 1242 1242 1243 1243 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === ... ... @@ -1247,7 +1247,6 @@ 1247 1247 [[image:1653356991268-289.png]] 1248 1248 1249 1249 1250 - 1251 1251 === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1252 1252 1253 1253 ((( ... ... @@ -1273,7 +1273,7 @@ 1273 1273 ))) 1274 1274 1275 1275 ((( 1276 - (% style="color:blue" %)**Example1**(%%): Connect to a Low active sensor.1342 +**Example1**: Connect to a Low active sensor. 1277 1277 ))) 1278 1278 1279 1279 ((( ... ... @@ -1304,7 +1304,7 @@ 1304 1304 ))) 1305 1305 1306 1306 ((( 1307 - (% style="color:blue" %)**Example2**(%%): Connect to a High active sensor.1373 +**Example2**: Connect to a High active sensor. 1308 1308 ))) 1309 1309 1310 1310 ((( ... ... @@ -1335,7 +1335,7 @@ 1335 1335 ))) 1336 1336 1337 1337 ((( 1338 - (% style="color:blue" %)**Example3**(%%): Connect to a 220v high active sensor.1404 +**Example3**: Connect to a 220v high active sensor. 1339 1339 ))) 1340 1340 1341 1341 ((( ... ... @@ -1362,7 +1362,6 @@ 1362 1362 ))) 1363 1363 1364 1364 1365 - 1366 1366 === 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1367 1367 1368 1368 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1370,14 +1370,12 @@ 1370 1370 [[image:1653357531600-905.png]] 1371 1371 1372 1372 1373 - 1374 1374 === 3.6.4 Analog Input Interface === 1375 1375 1376 1376 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: 1377 1377 1442 +**AC2 = (IN2 voltage )/12** 1378 1378 1379 -(% style="color:blue" %)**AC2 = (IN2 voltage )/12** 1380 - 1381 1381 [[image:1653357592296-182.png]] 1382 1382 1383 1383 Example to connect a 4~~20mA sensor ... ... @@ -1384,24 +1384,22 @@ 1384 1384 1385 1385 We take the wind speed sensor as an example for reference only. 1386 1386 1450 +Specifications of the wind speed sensor: 1387 1387 1388 - **Specifications of the windspeed sensor:**1452 +Red:12~~24v 1389 1389 1390 - Red:12~~24v1454 +Yellow:4~~20mA 1391 1391 1392 - Yellow:4~~20mA1456 +Black:GND 1393 1393 1394 -Black: GND 1395 1395 1459 +Connection diagram: 1396 1396 1397 -**Connection diagram:** 1398 - 1399 1399 [[image:1653357640609-758.png]] 1400 1400 1401 1401 [[image:1653357648330-671.png||height="155" width="733"]] 1402 1402 1403 1403 1404 - 1405 1405 === 3.6.5 Relay Output === 1406 1406 1407 1407 ((( ... ... @@ -1413,7 +1413,6 @@ 1413 1413 [[image:image-20220524100215-10.png||height="382" width="723"]] 1414 1414 1415 1415 1416 - 1417 1417 == 3.7 LEDs Indicators == 1418 1418 1419 1419 [[image:image-20220524100748-11.png]] ... ... @@ -1427,7 +1427,6 @@ 1427 1427 1428 1428 [[image:1653358238933-385.png]] 1429 1429 1430 - 1431 1431 ((( 1432 1432 In PC, User needs to set (% style="color:#4f81bd" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**)(%%) to active it. As shown below: 1433 1433 ))) ... ... @@ -1434,7 +1434,6 @@ 1434 1434 1435 1435 [[image:1653358355238-883.png]] 1436 1436 1437 - 1438 1438 ((( 1439 1439 More detail AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 1440 1440 ))) ... ... @@ -1625,16 +1625,12 @@ 1625 1625 1626 1626 ))) 1627 1627 1628 - 1629 - 1630 1630 == 4.2 Common AT Command Sequence == 1631 1631 1632 1632 === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1633 1633 1634 1634 ((( 1635 - 1636 - 1637 -**If device has not joined network yet:** 1691 +If device has not joined network yet: 1638 1638 ))) 1639 1639 1640 1640 ((( ... ... @@ -1659,7 +1659,7 @@ 1659 1659 1660 1660 1661 1661 ((( 1662 - **If device already joined network:**1716 +If device already joined network: 1663 1663 ))) 1664 1664 1665 1665 ((( ... ... @@ -1672,14 +1672,10 @@ 1672 1672 1673 1673 ))) 1674 1674 1675 - 1676 - 1677 1677 === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === 1678 1678 1679 1679 ((( 1680 - 1681 - 1682 -(% style="background-color:#dcdcdc" %)123456(%%) Enter Password to have AT access. 1732 +(% style="background-color:#dcdcdc" %) 123456(%%) Enter Password to have AT access. 1683 1683 ))) 1684 1684 1685 1685 ((( ... ... @@ -1687,7 +1687,7 @@ 1687 1687 ))) 1688 1688 1689 1689 ((( 1690 -(% style="background-color:#dcdcdc" %) 123456(%%) 1740 +(% style="background-color:#dcdcdc" %) 123456(%%) Enter Password to have AT access. 1691 1691 ))) 1692 1692 1693 1693 ((( ... ... @@ -1695,41 +1695,39 @@ 1695 1695 ))) 1696 1696 1697 1697 ((( 1698 -(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) 1748 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode 1699 1699 ))) 1700 1700 1701 1701 ((( 1702 -(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) 1752 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off 1703 1703 ))) 1704 1704 1705 1705 ((( 1706 -(% style="background-color:#dcdcdc" %) AT+DR=5(%%) 1756 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%) Set Data Rate 1707 1707 ))) 1708 1708 1709 1709 ((( 1710 -(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%) 1760 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%) Set transmit interval to 60 seconds 1711 1711 ))) 1712 1712 1713 1713 ((( 1714 -(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) 1764 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 1715 1715 ))) 1716 1716 1717 1717 ((( 1718 -(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) 1768 +(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1719 1719 ))) 1720 1720 1721 1721 ((( 1722 -(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%) 1772 +(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%) Set RX2DR to match the downlink DR from server. see below 1723 1723 ))) 1724 1724 1725 1725 ((( 1726 -(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%) 1776 +(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%)Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal. 1727 1727 ))) 1728 1728 1729 1729 ((( 1730 -(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1731 - 1732 - 1780 +(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1733 1733 ))) 1734 1734 1735 1735 ((( ... ... @@ -1751,7 +1751,6 @@ 1751 1751 1752 1752 ))) 1753 1753 1754 - 1755 1755 === 4.2.3 Change to Class A === 1756 1756 1757 1757 If sensor JOINED ... ... @@ -1763,25 +1763,19 @@ 1763 1763 1764 1764 == 5.1 How to upgrade the image? == 1765 1765 1766 - 1767 1767 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: 1768 1768 1769 1769 * Support new features 1770 1770 * For bug fix 1771 1771 * Change LoRaWAN bands. 1772 - 1773 1773 Below shows the hardware connection for how to upload an image to the LT: 1819 +* [[image:1653359603330-121.png]] 1774 1774 1775 -[[image:1653359603330-121.png]] 1776 - 1777 - 1778 1778 ((( 1779 -(% style="color:blue" %)**Step1**(%%)**:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]]. 1780 -(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1781 -(% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update. 1782 - 1783 - 1784 -(% style="color:blue" %)**For LT-22222-L**(%%): 1822 +**Step1:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]]. 1823 +**Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1824 +**Step3: **Open flashloader; choose the correct COM port to update. 1825 +**For LT-22222-L**: 1785 1785 Hold down the PRO button and then momentarily press the RST reset button and the **DO1 led** will change from OFF to ON. When **DO1 LED** is on, it means the device is in download mode. 1786 1786 ))) 1787 1787 ... ... @@ -1791,7 +1791,6 @@ 1791 1791 1792 1792 [[image:image-20220524104033-15.png]] 1793 1793 1794 - 1795 1795 (% style="color:red" %)**Notice**(%%): In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is: 1796 1796 1797 1797 [[image:1653360054704-518.png||height="186" width="745"]] ... ... @@ -1799,8 +1799,6 @@ 1799 1799 1800 1800 ((( 1801 1801 ((( 1802 - 1803 - 1804 1804 == 5.2 How to change the LoRa Frequency Bands/Region? == 1805 1805 ))) 1806 1806 ))) ... ... @@ -1807,11 +1807,11 @@ 1807 1807 1808 1808 ((( 1809 1809 User can follow the introduction for [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 1810 -))) 1811 1811 1812 -((( 1813 1813 1850 +))) 1814 1814 1852 +((( 1815 1815 == 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? == 1816 1816 ))) 1817 1817 ... ... @@ -1824,8 +1824,6 @@ 1824 1824 ((( 1825 1825 ((( 1826 1826 Assume we have a LG02 working in the frequency 868400000 now , below is the step. 1827 - 1828 - 1829 1829 ))) 1830 1830 ))) 1831 1831 ... ... @@ -1841,25 +1841,23 @@ 1841 1841 (% style="color:red" %)Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN. 1842 1842 ))) 1843 1843 1844 - 1845 1845 ((( 1846 1846 (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 1847 1847 ))) 1848 1848 1849 1849 ((( 1850 -(% style="background-color:#dcdcdc" %)123456 (%%) 1851 -(% style="background-color:#dcdcdc" %)AT+FDR(%%) 1852 -(% style="background-color:#dcdcdc" %)123456 (%%) 1853 -(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%) 1854 -(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%) 1855 -(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) 1856 -(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%) 1857 -(% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%) 1858 -(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) 1859 -(% style="background-color:#dcdcdc" %)ATZ (%%) 1885 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1886 +(% style="background-color:#dcdcdc" %)AT+FDR (%%) Reset Parameters to Factory Default, Keys Reserve 1887 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1888 +(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%)Set to ABP mode 1889 +(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%)Set the Adaptive Data Rate Off 1890 +(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band) 1891 +(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%)Set transmit interval to 60 seconds 1892 +(% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz 1893 +(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1894 +(% style="background-color:#dcdcdc" %)ATZ (%%)Reset MCU 1860 1860 ))) 1861 1861 1862 - 1863 1863 ((( 1864 1864 As shown in below: 1865 1865 ))) ... ... @@ -1876,19 +1876,11 @@ 1876 1876 == 5.5 Can i use point to point communication for LT-22222-L? == 1877 1877 1878 1878 Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] 1913 + 1914 + 1879 1879 ))) 1880 1880 1881 1881 ((( 1882 -== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? == 1883 - 1884 -If the device is not shut down, but directly powered off. 1885 - 1886 -It will default that this is a power-off state. 1887 - 1888 -In modes 2 to 5, DO RO status and pulse count are saved in flash. 1889 - 1890 -After restart, the status before power failure will be read from flash. 1891 - 1892 1892 = 6. Trouble Shooting = 1893 1893 ))) 1894 1894 ... ... @@ -1900,11 +1900,11 @@ 1900 1900 1901 1901 ((( 1902 1902 Please see this link for how to debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]] 1903 -))) 1904 1904 1905 -((( 1906 1906 1931 +))) 1907 1907 1933 +((( 1908 1908 == 6.2 Have trouble to upload image. == 1909 1909 ))) 1910 1910 ... ... @@ -1914,7 +1914,9 @@ 1914 1914 1915 1915 ((( 1916 1916 1943 +))) 1917 1917 1945 +((( 1918 1918 == 6.3 Why I can’t join TTN in US915 /AU915 bands? == 1919 1919 ))) 1920 1920 ... ... @@ -1922,55 +1922,147 @@ 1922 1922 It might be about the channels mapping. [[Please see this link for detail>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]] 1923 1923 ))) 1924 1924 1953 +((( 1954 + 1955 +))) 1925 1925 1926 - 1957 +((( 1927 1927 = 7. Order Info = 1959 +))) 1928 1928 1929 - 1961 +((( 1962 +((( 1930 1930 (% style="color:#4f81bd" %)**LT-22222-L-XXX:** 1964 +))) 1965 +))) 1931 1931 1932 - 1967 +((( 1968 +((( 1933 1933 (% style="color:#4f81bd" %)**XXX:** 1970 +))) 1971 +))) 1934 1934 1935 -* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 1936 -* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 1937 -* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 1938 -* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 1939 -* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 1940 -* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 1941 -* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 1942 -* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1943 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1973 +((( 1974 +* ((( 1975 +(% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 1976 +))) 1977 +))) 1944 1944 1945 -= 8. Packing Info = 1979 +((( 1980 +* ((( 1981 +(% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 1982 +))) 1983 +))) 1946 1946 1985 +((( 1986 +* ((( 1987 +(% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 1988 +))) 1989 +))) 1947 1947 1991 +((( 1992 +* ((( 1993 +(% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 1994 +))) 1995 +))) 1996 + 1997 +((( 1998 +* ((( 1999 +(% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 2000 +))) 2001 +))) 2002 + 2003 +((( 2004 +* ((( 2005 +(% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 2006 +))) 2007 +))) 2008 + 2009 +((( 2010 +* ((( 2011 +(% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 2012 +))) 2013 +))) 2014 + 2015 +((( 2016 +* ((( 2017 +(% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 2018 +))) 2019 +))) 2020 + 2021 +((( 2022 +* ((( 2023 +(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 2024 + 2025 + 2026 +))) 2027 + 2028 += 8. Packing Info = 2029 +))) 2030 + 2031 +((( 2032 +((( 1948 1948 **Package Includes**: 2034 +))) 2035 +))) 1949 1949 2037 +((( 2038 +((( 1950 1950 * LT-22222-L I/O Controller x 1 1951 1951 * Stick Antenna for LoRa RF part x 1 1952 1952 * Bracket for controller x1 1953 1953 * Program cable x 1 2043 +))) 2044 +))) 1954 1954 2046 +((( 2047 +((( 1955 1955 **Dimension and weight**: 2049 +))) 2050 +))) 1956 1956 2052 +((( 2053 +((( 1957 1957 * Device Size: 13.5 x 7 x 3 cm 1958 1958 * Device Weight: 105g 1959 1959 * Package Size / pcs : 14.5 x 8 x 5 cm 1960 1960 * Weight / pcs : 170g 1961 1961 2059 + 2060 +))) 2061 +))) 2062 + 2063 +((( 1962 1962 = 9. Support = 2065 +))) 1963 1963 1964 1964 * ((( 2068 +((( 1965 1965 Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1966 1966 ))) 2071 +))) 1967 1967 * ((( 1968 -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]] 2073 +((( 2074 +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 1969 1969 ))) 2076 +))) 1970 1970 2078 +((( 2079 +((( 2080 + [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 2081 + 2082 + 2083 +))) 2084 + 2085 +((( 1971 1971 = 10. Reference = 1972 1972 1973 -* LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] 2088 +* Product Page: 2089 + 2090 +LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] 2091 + 1974 1974 * [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]] 1975 1975 * [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 1976 1976 * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]] 2095 +))) 2096 +)))