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
-
... ... @@ -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,11 +163,10 @@ 163 163 ))) 164 164 * ((( 165 165 Packet engine up to 256 bytes with CRC. 161 + 162 + 166 166 ))) 167 167 168 - 169 - 170 - 171 171 == 1.3 Features == 172 172 173 173 * LoRaWAN Class A & Class C protocol ... ... @@ -178,9 +178,6 @@ 178 178 * Firmware upgradable via program port 179 179 * Counting 180 180 181 - 182 - 183 - 184 184 == 1.4 Applications == 185 185 186 186 * Smart Buildings & Home Automation ... ... @@ -190,9 +190,6 @@ 190 190 * Smart Cities 191 191 * Smart Factory 192 192 193 - 194 - 195 - 196 196 == 1.5 Hardware Variants == 197 197 198 198 (% border="1" style="background-color:#f7faff; width:500px" %) ... ... @@ -206,9 +206,6 @@ 206 206 * 1 x Counting Port 207 207 ))) 208 208 209 - 210 - 211 - 212 212 = 2. Power ON Device = 213 213 214 214 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. ... ... @@ -231,9 +231,12 @@ 231 231 232 232 ((( 233 233 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 + 234 234 ))) 235 235 236 236 224 + 237 237 == 3.2 Example to join LoRaWAN network == 238 238 239 239 ((( ... ... @@ -242,13 +242,12 @@ 242 242 243 243 [[image:image-20220523172350-1.png||height="266" width="864"]] 244 244 245 - 246 246 ((( 247 247 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: 248 248 ))) 249 249 250 250 ((( 251 - (% 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. 252 252 ))) 253 253 254 254 ((( ... ... @@ -257,7 +257,6 @@ 257 257 258 258 [[image:1653297924498-393.png]] 259 259 260 - 261 261 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 262 262 263 263 Add APP EUI in the application. ... ... @@ -271,7 +271,7 @@ 271 271 272 272 273 273 ((( 274 - (% 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. 275 275 ))) 276 276 277 277 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -296,8 +296,6 @@ 296 296 [[image:image-20220523174024-3.png]] 297 297 298 298 ((( 299 - 300 - 301 301 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 302 302 ))) 303 303 ... ... @@ -311,7 +311,6 @@ 311 311 312 312 For example if payload is: [[image:image-20220523175847-2.png]] 313 313 314 - 315 315 **The value for the interface is: ** 316 316 317 317 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -344,7 +344,6 @@ 344 344 345 345 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 346 346 347 - 348 348 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 349 349 350 350 ((( ... ... @@ -353,7 +353,6 @@ 353 353 354 354 [[image:image-20220523180452-3.png]] 355 355 356 - 357 357 ((( 358 358 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 359 359 ))) ... ... @@ -369,8 +369,6 @@ 369 369 ))) 370 370 371 371 ((( 372 - 373 - 374 374 **To use counting mode, please run:** 375 375 ))) 376 376 ... ... @@ -389,8 +389,6 @@ 389 389 ))) 390 390 391 391 ((( 392 - 393 - 394 394 (% style="color:#4f81bd" %)**AT Commands for counting:** 395 395 ))) 396 396 ... ... @@ -482,6 +482,8 @@ 482 482 483 483 ((( 484 484 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 462 + 463 + 485 485 ))) 486 486 487 487 ... ... @@ -488,7 +488,6 @@ 488 488 489 489 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 490 490 491 - 492 492 **LT22222-L**: This mode the DI1 is used as a counting pin. 493 493 494 494 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. ... ... @@ -495,7 +495,6 @@ 495 495 496 496 [[image:image-20220523181903-8.png]] 497 497 498 - 499 499 ((( 500 500 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 501 501 ))) ... ... @@ -511,8 +511,6 @@ 511 511 ))) 512 512 513 513 ((( 514 - 515 - 516 516 **To use this mode, please run:** 517 517 ))) 518 518 ... ... @@ -539,8 +539,6 @@ 539 539 ))) 540 540 541 541 ((( 542 - 543 - 544 544 **Plus below command for AVI1 Counting:** 545 545 ))) 546 546 ... ... @@ -576,7 +576,6 @@ 576 576 577 577 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 578 578 579 - 580 580 **LT22222-L**: This mode the DI1 is used as a counting pin. 581 581 582 582 [[image:image-20220523182334-9.png]] ... ... @@ -625,7 +625,6 @@ 625 625 626 626 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 627 627 628 - 629 629 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 630 630 631 631 For example, if user has configured below commands: ... ... @@ -633,11 +633,13 @@ 633 633 * **AT+MOD=1 ** **~-~->** The normal working mode 634 634 * **AT+ADDMOD6=1** **~-~->** Enable trigger 635 635 607 + 636 636 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 637 637 638 638 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 639 639 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.** 640 640 613 + 641 641 **AT Command to set Trigger Condition**: 642 642 643 643 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -651,7 +651,6 @@ 651 651 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 652 652 653 653 654 - 655 655 (% style="color:#4f81bd" %)**Trigger base on current**: 656 656 657 657 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -661,7 +661,6 @@ 661 661 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 662 662 663 663 664 - 665 665 (% style="color:#4f81bd" %)**Trigger base on DI status**: 666 666 667 667 DI status trigger Flag. ... ... @@ -668,13 +668,12 @@ 668 668 669 669 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 670 670 671 - 672 672 **Example:** 673 673 674 674 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 675 675 676 676 677 -**Downlink Command to set Trigger Condition :**647 +**Downlink Command to set Trigger Condition** 678 678 679 679 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 680 680 ... ... @@ -703,7 +703,6 @@ 703 703 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 704 704 705 705 706 - 707 707 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 708 708 709 709 MOD6 Payload : total 11 bytes payload ... ... @@ -717,6 +717,7 @@ 717 717 718 718 * Each bits shows if the corresponding trigger has been configured. 719 719 689 + 720 720 **Example:** 721 721 722 722 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -728,6 +728,7 @@ 728 728 729 729 * Each bits shows which status has been trigger on this uplink. 730 730 701 + 731 731 **Example:** 732 732 733 733 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -739,6 +739,7 @@ 739 739 740 740 * Each bits shows which status has been trigger on this uplink. 741 741 713 + 742 742 **Example:** 743 743 744 744 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -759,8 +759,6 @@ 759 759 === 3.3.7 Payload Decoder === 760 760 761 761 ((( 762 - 763 - 764 764 **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/]] 765 765 766 766 ... ... @@ -767,6 +767,7 @@ 767 767 ))) 768 768 769 769 740 + 770 770 == 3.4 Configure LT via AT or Downlink == 771 771 772 772 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -780,6 +780,7 @@ 780 780 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 781 781 782 782 754 + 783 783 === 3.4.1 Common Commands === 784 784 785 785 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]]