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,6 +76,8 @@ 76 76 ))) 77 77 78 78 ((( 79 + 80 + 79 79 **Interface for Model: LT22222-L:** 80 80 ))) 81 81 ... ... @@ -99,6 +99,8 @@ 99 99 ))) 100 100 101 101 ((( 104 + 105 + 102 102 **LoRa Spec:** 103 103 ))) 104 104 ... ... @@ -158,8 +158,6 @@ 158 158 ))) 159 159 * ((( 160 160 Packet engine up to 256 bytes with CRC. 161 - 162 - 163 163 ))) 164 164 165 165 == 1.3 Features == ... ... @@ -216,12 +216,9 @@ 216 216 217 217 ((( 218 218 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 - 225 225 == 3.2 Example to join LoRaWAN network == 226 226 227 227 ((( ... ... @@ -230,12 +230,13 @@ 230 230 231 231 [[image:image-20220523172350-1.png||height="266" width="864"]] 232 232 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 -**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller. 238 +(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller. 239 239 ))) 240 240 241 241 ((( ... ... @@ -244,6 +244,7 @@ 244 244 245 245 [[image:1653297924498-393.png]] 246 246 247 + 247 247 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 248 248 249 249 Add APP EUI in the application. ... ... @@ -257,7 +257,7 @@ 257 257 258 258 259 259 ((( 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. 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. 261 261 ))) 262 262 263 263 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -282,6 +282,8 @@ 282 282 [[image:image-20220523174024-3.png]] 283 283 284 284 ((( 286 + 287 + 285 285 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 286 286 ))) 287 287 ... ... @@ -295,6 +295,7 @@ 295 295 296 296 For example if payload is: [[image:image-20220523175847-2.png]] 297 297 301 + 298 298 **The value for the interface is: ** 299 299 300 300 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -310,6 +310,7 @@ 310 310 * [1] RO1 relay channel is close and the RO1 LED is ON. 311 311 * [0] RO2 relay channel is open and RO2 LED is OFF; 312 312 317 + 313 313 **LT22222-L:** 314 314 315 315 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -327,6 +327,7 @@ 327 327 328 328 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 329 329 335 + 330 330 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 331 331 332 332 ((( ... ... @@ -335,6 +335,7 @@ 335 335 336 336 [[image:image-20220523180452-3.png]] 337 337 344 + 338 338 ((( 339 339 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 340 340 ))) ... ... @@ -350,6 +350,8 @@ 350 350 ))) 351 351 352 352 ((( 360 + 361 + 353 353 **To use counting mode, please run:** 354 354 ))) 355 355 ... ... @@ -368,6 +368,8 @@ 368 368 ))) 369 369 370 370 ((( 380 + 381 + 371 371 (% style="color:#4f81bd" %)**AT Commands for counting:** 372 372 ))) 373 373 ... ... @@ -459,8 +459,6 @@ 459 459 460 460 ((( 461 461 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 462 - 463 - 464 464 ))) 465 465 466 466 ... ... @@ -467,6 +467,7 @@ 467 467 468 468 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 469 469 479 + 470 470 **LT22222-L**: This mode the DI1 is used as a counting pin. 471 471 472 472 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. ... ... @@ -473,6 +473,7 @@ 473 473 474 474 [[image:image-20220523181903-8.png]] 475 475 486 + 476 476 ((( 477 477 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 478 478 ))) ... ... @@ -488,6 +488,8 @@ 488 488 ))) 489 489 490 490 ((( 502 + 503 + 491 491 **To use this mode, please run:** 492 492 ))) 493 493 ... ... @@ -514,6 +514,8 @@ 514 514 ))) 515 515 516 516 ((( 530 + 531 + 517 517 **Plus below command for AVI1 Counting:** 518 518 ))) 519 519 ... ... @@ -549,11 +549,14 @@ 549 549 550 550 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 551 551 567 + 552 552 **LT22222-L**: This mode the DI1 is used as a counting pin. 553 553 554 554 [[image:image-20220523182334-9.png]] 555 555 556 556 ((( 573 + 574 + 557 557 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 558 558 ))) 559 559 ... ... @@ -568,6 +568,8 @@ 568 568 ))) 569 569 570 570 ((( 589 + 590 + 571 571 **To use this mode, please run:** 572 572 ))) 573 573 ... ... @@ -593,6 +593,7 @@ 593 593 594 594 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 595 595 616 + 596 596 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 597 597 598 598 For example, if user has configured below commands: ... ... @@ -600,13 +600,11 @@ 600 600 * **AT+MOD=1 ** **~-~->** The normal working mode 601 601 * **AT+ADDMOD6=1** **~-~->** Enable trigger 602 602 603 - 604 604 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 605 605 606 606 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 607 607 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.** 608 608 609 - 610 610 **AT Command to set Trigger Condition**: 611 611 612 612 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -620,6 +620,7 @@ 620 620 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 621 621 622 622 642 + 623 623 (% style="color:#4f81bd" %)**Trigger base on current**: 624 624 625 625 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -629,6 +629,7 @@ 629 629 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 630 630 631 631 652 + 632 632 (% style="color:#4f81bd" %)**Trigger base on DI status**: 633 633 634 634 DI status trigger Flag. ... ... @@ -635,12 +635,13 @@ 635 635 636 636 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 637 637 659 + 638 638 **Example:** 639 639 640 640 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 641 641 642 642 643 -**Downlink Command to set Trigger Condition** 665 +**Downlink Command to set Trigger Condition:** 644 644 645 645 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 646 646 ... ... @@ -669,6 +669,7 @@ 669 669 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 670 670 671 671 694 + 672 672 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 673 673 674 674 MOD6 Payload : total 11 bytes payload ... ... @@ -682,7 +682,6 @@ 682 682 683 683 * Each bits shows if the corresponding trigger has been configured. 684 684 685 - 686 686 **Example:** 687 687 688 688 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -694,7 +694,6 @@ 694 694 695 695 * Each bits shows which status has been trigger on this uplink. 696 696 697 - 698 698 **Example:** 699 699 700 700 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -706,7 +706,6 @@ 706 706 707 707 * Each bits shows which status has been trigger on this uplink. 708 708 709 - 710 710 **Example:** 711 711 712 712 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -727,6 +727,8 @@ 727 727 === 3.3.7 Payload Decoder === 728 728 729 729 ((( 750 + 751 + 730 730 **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/]] 731 731 732 732 ... ... @@ -733,7 +733,6 @@ 733 733 ))) 734 734 735 735 736 - 737 737 == 3.4 Configure LT via AT or Downlink == 738 738 739 739 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands