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"]] ... ... @@ -276,8 +276,6 @@ 276 276 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 277 277 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 278 278 279 - 280 - 281 281 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 282 282 283 283 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -285,8 +285,6 @@ 285 285 [[image:image-20220523174024-3.png]] 286 286 287 287 ((( 288 - 289 - 290 290 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 291 291 ))) 292 292 ... ... @@ -300,7 +300,6 @@ 300 300 301 301 For example if payload is: [[image:image-20220523175847-2.png]] 302 302 303 - 304 304 **The value for the interface is: ** 305 305 306 306 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -331,11 +331,8 @@ 331 331 ** DO1 is high in case there is load between DO1 and V+. 332 332 ** DO1 LED is off in both case 333 333 334 - 335 - 336 336 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 337 337 338 - 339 339 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 340 340 341 341 ((( ... ... @@ -344,7 +344,6 @@ 344 344 345 345 [[image:image-20220523180452-3.png]] 346 346 347 - 348 348 ((( 349 349 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 350 350 ))) ... ... @@ -360,8 +360,6 @@ 360 360 ))) 361 361 362 362 ((( 363 - 364 - 365 365 **To use counting mode, please run:** 366 366 ))) 367 367 ... ... @@ -380,8 +380,6 @@ 380 380 ))) 381 381 382 382 ((( 383 - 384 - 385 385 (% style="color:#4f81bd" %)**AT Commands for counting:** 386 386 ))) 387 387 ... ... @@ -481,7 +481,6 @@ 481 481 482 482 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 483 483 484 - 485 485 **LT22222-L**: This mode the DI1 is used as a counting pin. 486 486 487 487 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. ... ... @@ -488,7 +488,6 @@ 488 488 489 489 [[image:image-20220523181903-8.png]] 490 490 491 - 492 492 ((( 493 493 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 494 494 ))) ... ... @@ -569,7 +569,6 @@ 569 569 570 570 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 571 571 572 - 573 573 **LT22222-L**: This mode the DI1 is used as a counting pin. 574 574 575 575 [[image:image-20220523182334-9.png]] ... ... @@ -618,7 +618,6 @@ 618 618 619 619 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 620 620 621 - 622 622 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 623 623 624 624 For example, if user has configured below commands: ... ... @@ -626,11 +626,13 @@ 626 626 * **AT+MOD=1 ** **~-~->** The normal working mode 627 627 * **AT+ADDMOD6=1** **~-~->** Enable trigger 628 628 611 + 629 629 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 630 630 631 631 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 632 632 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.** 633 633 617 + 634 634 **AT Command to set Trigger Condition**: 635 635 636 636 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -644,7 +644,6 @@ 644 644 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 645 645 646 646 647 - 648 648 (% style="color:#4f81bd" %)**Trigger base on current**: 649 649 650 650 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -654,7 +654,6 @@ 654 654 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 655 655 656 656 657 - 658 658 (% style="color:#4f81bd" %)**Trigger base on DI status**: 659 659 660 660 DI status trigger Flag. ... ... @@ -661,13 +661,12 @@ 661 661 662 662 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 663 663 664 - 665 665 **Example:** 666 666 667 667 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 668 668 669 669 670 -**Downlink Command to set Trigger Condition :**651 +**Downlink Command to set Trigger Condition** 671 671 672 672 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 673 673 ... ... @@ -696,7 +696,6 @@ 696 696 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 697 697 698 698 699 - 700 700 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 701 701 702 702 MOD6 Payload : total 11 bytes payload ... ... @@ -710,6 +710,7 @@ 710 710 711 711 * Each bits shows if the corresponding trigger has been configured. 712 712 693 + 713 713 **Example:** 714 714 715 715 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -721,6 +721,7 @@ 721 721 722 722 * Each bits shows which status has been trigger on this uplink. 723 723 705 + 724 724 **Example:** 725 725 726 726 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -732,6 +732,7 @@ 732 732 733 733 * Each bits shows which status has been trigger on this uplink. 734 734 717 + 735 735 **Example:** 736 736 737 737 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -752,8 +752,6 @@ 752 752 === 3.3.7 Payload Decoder === 753 753 754 754 ((( 755 - 756 - 757 757 **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/]] 758 758 759 759 ... ... @@ -773,6 +773,8 @@ 773 773 774 774 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 775 775 757 + 758 + 776 776 === 3.4.1 Common Commands === 777 777 778 778 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]]