Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -48,7 +48,6 @@ 48 48 49 49 ))) 50 50 51 - 52 52 == 1.2 Specifications == 53 53 54 54 ((( ... ... @@ -77,8 +77,6 @@ 77 77 ))) 78 78 79 79 ((( 80 - 81 - 82 82 **Interface for Model: LT22222-L:** 83 83 ))) 84 84 ... ... @@ -102,8 +102,6 @@ 102 102 ))) 103 103 104 104 ((( 105 - 106 - 107 107 **LoRa Spec:** 108 108 ))) 109 109 ... ... @@ -163,9 +163,10 @@ 163 163 ))) 164 164 * ((( 165 165 Packet engine up to 256 bytes with CRC. 161 + 162 + 166 166 ))) 167 167 168 - 169 169 == 1.3 Features == 170 170 171 171 * LoRaWAN Class A & Class C protocol ... ... @@ -176,7 +176,6 @@ 176 176 * Firmware upgradable via program port 177 177 * Counting 178 178 179 - 180 180 == 1.4 Applications == 181 181 182 182 * Smart Buildings & Home Automation ... ... @@ -186,7 +186,6 @@ 186 186 * Smart Cities 187 187 * Smart Factory 188 188 189 - 190 190 == 1.5 Hardware Variants == 191 191 192 192 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -200,7 +200,6 @@ 200 200 * 1 x Counting Port 201 201 ))) 202 202 203 - 204 204 = 2. Power ON Device = 205 205 206 206 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. ... ... @@ -223,9 +223,12 @@ 223 223 224 224 ((( 225 225 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 + 226 226 ))) 227 227 228 228 224 + 229 229 == 3.2 Example to join LoRaWAN network == 230 230 231 231 ((( ... ... @@ -234,13 +234,12 @@ 234 234 235 235 [[image:image-20220523172350-1.png||height="266" width="864"]] 236 236 237 - 238 238 ((( 239 239 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: 240 240 ))) 241 241 242 242 ((( 243 - (% 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. 244 244 ))) 245 245 246 246 ((( ... ... @@ -249,7 +249,6 @@ 249 249 250 250 [[image:1653297924498-393.png]] 251 251 252 - 253 253 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 254 254 255 255 Add APP EUI in the application. ... ... @@ -263,7 +263,7 @@ 263 263 264 264 265 265 ((( 266 - (% 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. 267 267 ))) 268 268 269 269 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -288,8 +288,6 @@ 288 288 [[image:image-20220523174024-3.png]] 289 289 290 290 ((( 291 - 292 - 293 293 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 294 294 ))) 295 295 ... ... @@ -303,7 +303,6 @@ 303 303 304 304 For example if payload is: [[image:image-20220523175847-2.png]] 305 305 306 - 307 307 **The value for the interface is: ** 308 308 309 309 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -336,7 +336,6 @@ 336 336 337 337 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 338 338 339 - 340 340 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 341 341 342 342 ((( ... ... @@ -345,7 +345,6 @@ 345 345 346 346 [[image:image-20220523180452-3.png]] 347 347 348 - 349 349 ((( 350 350 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 351 351 ))) ... ... @@ -361,8 +361,6 @@ 361 361 ))) 362 362 363 363 ((( 364 - 365 - 366 366 **To use counting mode, please run:** 367 367 ))) 368 368 ... ... @@ -381,8 +381,6 @@ 381 381 ))) 382 382 383 383 ((( 384 - 385 - 386 386 (% style="color:#4f81bd" %)**AT Commands for counting:** 387 387 ))) 388 388 ... ... @@ -474,6 +474,8 @@ 474 474 475 475 ((( 476 476 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 462 + 463 + 477 477 ))) 478 478 479 479 ... ... @@ -480,7 +480,6 @@ 480 480 481 481 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 482 482 483 - 484 484 **LT22222-L**: This mode the DI1 is used as a counting pin. 485 485 486 486 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. ... ... @@ -487,7 +487,6 @@ 487 487 488 488 [[image:image-20220523181903-8.png]] 489 489 490 - 491 491 ((( 492 492 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 493 493 ))) ... ... @@ -503,8 +503,6 @@ 503 503 ))) 504 504 505 505 ((( 506 - 507 - 508 508 **To use this mode, please run:** 509 509 ))) 510 510 ... ... @@ -531,8 +531,6 @@ 531 531 ))) 532 532 533 533 ((( 534 - 535 - 536 536 **Plus below command for AVI1 Counting:** 537 537 ))) 538 538 ... ... @@ -568,14 +568,11 @@ 568 568 569 569 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 570 570 571 - 572 572 **LT22222-L**: This mode the DI1 is used as a counting pin. 573 573 574 574 [[image:image-20220523182334-9.png]] 575 575 576 576 ((( 577 - 578 - 579 579 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 580 580 ))) 581 581 ... ... @@ -590,8 +590,6 @@ 590 590 ))) 591 591 592 592 ((( 593 - 594 - 595 595 **To use this mode, please run:** 596 596 ))) 597 597 ... ... @@ -617,7 +617,6 @@ 617 617 618 618 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 619 619 620 - 621 621 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 622 622 623 623 For example, if user has configured below commands: ... ... @@ -625,11 +625,13 @@ 625 625 * **AT+MOD=1 ** **~-~->** The normal working mode 626 626 * **AT+ADDMOD6=1** **~-~->** Enable trigger 627 627 603 + 628 628 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 629 629 630 630 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 631 631 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.** 632 632 609 + 633 633 **AT Command to set Trigger Condition**: 634 634 635 635 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -643,7 +643,6 @@ 643 643 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 644 644 645 645 646 - 647 647 (% style="color:#4f81bd" %)**Trigger base on current**: 648 648 649 649 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -653,7 +653,6 @@ 653 653 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 654 654 655 655 656 - 657 657 (% style="color:#4f81bd" %)**Trigger base on DI status**: 658 658 659 659 DI status trigger Flag. ... ... @@ -660,13 +660,12 @@ 660 660 661 661 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 662 662 663 - 664 664 **Example:** 665 665 666 666 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 667 667 668 668 669 -**Downlink Command to set Trigger Condition :**643 +**Downlink Command to set Trigger Condition** 670 670 671 671 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 672 672 ... ... @@ -695,7 +695,6 @@ 695 695 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 696 696 697 697 698 - 699 699 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 700 700 701 701 MOD6 Payload : total 11 bytes payload ... ... @@ -709,6 +709,7 @@ 709 709 710 710 * Each bits shows if the corresponding trigger has been configured. 711 711 685 + 712 712 **Example:** 713 713 714 714 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -720,6 +720,7 @@ 720 720 721 721 * Each bits shows which status has been trigger on this uplink. 722 722 697 + 723 723 **Example:** 724 724 725 725 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -731,6 +731,7 @@ 731 731 732 732 * Each bits shows which status has been trigger on this uplink. 733 733 709 + 734 734 **Example:** 735 735 736 736 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -751,8 +751,6 @@ 751 751 === 3.3.7 Payload Decoder === 752 752 753 753 ((( 754 - 755 - 756 756 **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/]] 757 757 758 758 ... ... @@ -759,6 +759,7 @@ 759 759 ))) 760 760 761 761 736 + 762 762 == 3.4 Configure LT via AT or Downlink == 763 763 764 764 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -771,6 +771,8 @@ 771 771 772 772 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 773 773 749 + 750 + 774 774 === 3.4.1 Common Commands === 775 775 776 776 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]] ... ... @@ -2002,16 +2002,8 @@ 2002 2002 ))) 2003 2003 2004 2004 ((( 2005 - ==5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==1982 + 2006 2006 2007 -If the device is not shut down, but directly powered off. 2008 - 2009 -It will default that this is a power-off state. 2010 - 2011 -In modes 2 to 5, DO RO status and pulse count are saved in flash. 2012 - 2013 -After restart, the status before power failure will be read from flash. 2014 - 2015 2015 = 6. Trouble Shooting = 2016 2016 ))) 2017 2017