Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -76,8 +76,6 @@ 76 76 ))) 77 77 78 78 ((( 79 - 80 - 81 81 **Interface for Model: LT22222-L:** 82 82 ))) 83 83 ... ... @@ -101,8 +101,6 @@ 101 101 ))) 102 102 103 103 ((( 104 - 105 - 106 106 **LoRa Spec:** 107 107 ))) 108 108 ... ... @@ -162,6 +162,8 @@ 162 162 ))) 163 163 * ((( 164 164 Packet engine up to 256 bytes with CRC. 161 + 162 + 165 165 ))) 166 166 167 167 == 1.3 Features == ... ... @@ -218,9 +218,12 @@ 218 218 219 219 ((( 220 220 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 + 221 221 ))) 222 222 223 223 224 + 224 224 == 3.2 Example to join LoRaWAN network == 225 225 226 226 ((( ... ... @@ -229,13 +229,12 @@ 229 229 230 230 [[image:image-20220523172350-1.png||height="266" width="864"]] 231 231 232 - 233 233 ((( 234 234 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: 235 235 ))) 236 236 237 237 ((( 238 - (% 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. 239 239 ))) 240 240 241 241 ((( ... ... @@ -244,7 +244,6 @@ 244 244 245 245 [[image:1653297924498-393.png]] 246 246 247 - 248 248 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 249 249 250 250 Add APP EUI in the application. ... ... @@ -258,7 +258,7 @@ 258 258 259 259 260 260 ((( 261 - (% 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. 262 262 ))) 263 263 264 264 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -283,8 +283,6 @@ 283 283 [[image:image-20220523174024-3.png]] 284 284 285 285 ((( 286 - 287 - 288 288 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 289 289 ))) 290 290 ... ... @@ -298,7 +298,6 @@ 298 298 299 299 For example if payload is: [[image:image-20220523175847-2.png]] 300 300 301 - 302 302 **The value for the interface is: ** 303 303 304 304 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -314,7 +314,6 @@ 314 314 * [1] RO1 relay channel is close and the RO1 LED is ON. 315 315 * [0] RO2 relay channel is open and RO2 LED is OFF; 316 316 317 - 318 318 **LT22222-L:** 319 319 320 320 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -332,7 +332,6 @@ 332 332 333 333 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 334 334 335 - 336 336 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 337 337 338 338 ((( ... ... @@ -341,7 +341,6 @@ 341 341 342 342 [[image:image-20220523180452-3.png]] 343 343 344 - 345 345 ((( 346 346 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 347 347 ))) ... ... @@ -357,8 +357,6 @@ 357 357 ))) 358 358 359 359 ((( 360 - 361 - 362 362 **To use counting mode, please run:** 363 363 ))) 364 364 ... ... @@ -377,8 +377,6 @@ 377 377 ))) 378 378 379 379 ((( 380 - 381 - 382 382 (% style="color:#4f81bd" %)**AT Commands for counting:** 383 383 ))) 384 384 ... ... @@ -470,6 +470,8 @@ 470 470 471 471 ((( 472 472 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 462 + 463 + 473 473 ))) 474 474 475 475 ... ... @@ -476,7 +476,6 @@ 476 476 477 477 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 478 478 479 - 480 480 **LT22222-L**: This mode the DI1 is used as a counting pin. 481 481 482 482 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. ... ... @@ -483,7 +483,6 @@ 483 483 484 484 [[image:image-20220523181903-8.png]] 485 485 486 - 487 487 ((( 488 488 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 489 489 ))) ... ... @@ -499,8 +499,6 @@ 499 499 ))) 500 500 501 501 ((( 502 - 503 - 504 504 **To use this mode, please run:** 505 505 ))) 506 506 ... ... @@ -527,8 +527,6 @@ 527 527 ))) 528 528 529 529 ((( 530 - 531 - 532 532 **Plus below command for AVI1 Counting:** 533 533 ))) 534 534 ... ... @@ -564,7 +564,6 @@ 564 564 565 565 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 566 566 567 - 568 568 **LT22222-L**: This mode the DI1 is used as a counting pin. 569 569 570 570 [[image:image-20220523182334-9.png]] ... ... @@ -613,7 +613,6 @@ 613 613 614 614 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 615 615 616 - 617 617 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 618 618 619 619 For example, if user has configured below commands: ... ... @@ -621,11 +621,13 @@ 621 621 * **AT+MOD=1 ** **~-~->** The normal working mode 622 622 * **AT+ADDMOD6=1** **~-~->** Enable trigger 623 623 607 + 624 624 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 625 625 626 626 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 627 627 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.** 628 628 613 + 629 629 **AT Command to set Trigger Condition**: 630 630 631 631 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -639,7 +639,6 @@ 639 639 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 640 640 641 641 642 - 643 643 (% style="color:#4f81bd" %)**Trigger base on current**: 644 644 645 645 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -649,7 +649,6 @@ 649 649 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 650 650 651 651 652 - 653 653 (% style="color:#4f81bd" %)**Trigger base on DI status**: 654 654 655 655 DI status trigger Flag. ... ... @@ -656,13 +656,12 @@ 656 656 657 657 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 658 658 659 - 660 660 **Example:** 661 661 662 662 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 663 663 664 664 665 -**Downlink Command to set Trigger Condition :**647 +**Downlink Command to set Trigger Condition** 666 666 667 667 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 668 668 ... ... @@ -691,7 +691,6 @@ 691 691 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 692 692 693 693 694 - 695 695 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 696 696 697 697 MOD6 Payload : total 11 bytes payload ... ... @@ -705,6 +705,7 @@ 705 705 706 706 * Each bits shows if the corresponding trigger has been configured. 707 707 689 + 708 708 **Example:** 709 709 710 710 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -716,6 +716,7 @@ 716 716 717 717 * Each bits shows which status has been trigger on this uplink. 718 718 701 + 719 719 **Example:** 720 720 721 721 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -727,6 +727,7 @@ 727 727 728 728 * Each bits shows which status has been trigger on this uplink. 729 729 713 + 730 730 **Example:** 731 731 732 732 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -747,8 +747,6 @@ 747 747 === 3.3.7 Payload Decoder === 748 748 749 749 ((( 750 - 751 - 752 752 **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/]] 753 753 754 754 ... ... @@ -755,6 +755,7 @@ 755 755 ))) 756 756 757 757 740 + 758 758 == 3.4 Configure LT via AT or Downlink == 759 759 760 760 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands