Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Mengting Qiu on 2025/06/04 18:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 4 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -11,12 +11,15 @@ 11 11 12 12 13 13 14 + 15 + 16 + 14 14 = 1.Introduction = 15 15 16 16 == 1.1 What is LT Series I/O Controller == 17 17 18 18 ((( 19 -The Dragino LT series I/O Modules are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as: analog current Input, analog voltage input, relay output, digital input and digital output etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring. 22 +The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring. 20 20 ))) 21 21 22 22 ((( ... ... @@ -24,7 +24,7 @@ 24 24 ))) 25 25 26 26 ((( 27 -The LT I/O Controllers is aiming to provide a s impleplugandplay, low cost installation by using LoRaWANwireless technology.30 +The LT I/O Controllers is aiming to provide an (% style="color:blue" %)**easy and low cost installation** (%%)by using LoRa wireless technology. 28 28 ))) 29 29 30 30 ((( ... ... @@ -41,11 +41,15 @@ 41 41 42 42 ((( 43 43 [[image:1653295757274-912.png]] 47 + 48 + 44 44 ))) 45 45 46 46 == 1.2 Specifications == 47 47 48 48 ((( 54 + 55 + 49 49 **Hardware System:** 50 50 ))) 51 51 ... ... @@ -151,6 +151,8 @@ 151 151 ))) 152 152 * ((( 153 153 Packet engine up to 256 bytes with CRC. 161 + 162 + 154 154 ))) 155 155 156 156 == 1.3 Features == ... ... @@ -185,6 +185,8 @@ 185 185 * 1 x Counting Port 186 186 ))) 187 187 197 + 198 + 188 188 = 2. Power ON Device = 189 189 190 190 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. ... ... @@ -195,6 +195,8 @@ 195 195 196 196 [[image:1653297104069-180.png]] 197 197 209 + 210 + 198 198 = 3. Operation Mode = 199 199 200 200 == 3.1 How it works? == ... ... @@ -204,9 +204,10 @@ 204 204 ))) 205 205 206 206 ((( 207 -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>> path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H4.UseATCommand]] to set the keys in the devices.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. 208 208 ))) 209 209 223 + 210 210 == 3.2 Example to join LoRaWAN network == 211 211 212 212 ((( ... ... @@ -215,12 +215,13 @@ 215 215 216 216 [[image:image-20220523172350-1.png||height="266" width="864"]] 217 217 232 + 218 218 ((( 219 219 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: 220 220 ))) 221 221 222 222 ((( 223 -**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. 224 224 ))) 225 225 226 226 ((( ... ... @@ -229,6 +229,7 @@ 229 229 230 230 [[image:1653297924498-393.png]] 231 231 247 + 232 232 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 233 233 234 234 Add APP EUI in the application. ... ... @@ -235,16 +235,20 @@ 235 235 236 236 [[image:1653297955910-247.png||height="321" width="716"]] 237 237 254 + 238 238 Add APP KEY and DEV EUI 239 239 240 240 [[image:1653298023685-319.png]] 241 241 259 + 242 242 ((( 243 -**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. 244 244 ))) 245 245 246 246 [[image:1653298044601-602.png||height="405" width="709"]] 247 247 266 + 267 + 248 248 == 3.3 Uplink Payload == 249 249 250 250 There are five working modes + one interrupt mode on LT for different type application: ... ... @@ -256,6 +256,8 @@ 256 256 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 257 257 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 258 258 279 + 280 + 259 259 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 260 260 261 261 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -263,6 +263,8 @@ 263 263 [[image:image-20220523174024-3.png]] 264 264 265 265 ((( 288 + 289 + 266 266 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 267 267 ))) 268 268 ... ... @@ -276,6 +276,7 @@ 276 276 277 277 For example if payload is: [[image:image-20220523175847-2.png]] 278 278 303 + 279 279 **The value for the interface is: ** 280 280 281 281 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -291,6 +291,7 @@ 291 291 * [1] RO1 relay channel is close and the RO1 LED is ON. 292 292 * [0] RO2 relay channel is open and RO2 LED is OFF; 293 293 319 + 294 294 **LT22222-L:** 295 295 296 296 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -306,8 +306,11 @@ 306 306 ** DO1 is high in case there is load between DO1 and V+. 307 307 ** DO1 LED is off in both case 308 308 335 + 336 + 309 309 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 310 310 339 + 311 311 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 312 312 313 313 ((( ... ... @@ -316,6 +316,7 @@ 316 316 317 317 [[image:image-20220523180452-3.png]] 318 318 348 + 319 319 ((( 320 320 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 321 321 ))) ... ... @@ -331,6 +331,8 @@ 331 331 ))) 332 332 333 333 ((( 364 + 365 + 334 334 **To use counting mode, please run:** 335 335 ))) 336 336 ... ... @@ -349,6 +349,8 @@ 349 349 ))) 350 350 351 351 ((( 384 + 385 + 352 352 (% style="color:#4f81bd" %)**AT Commands for counting:** 353 353 ))) 354 354 ... ... @@ -398,6 +398,8 @@ 398 398 ))) 399 399 ))) 400 400 435 + 436 + 401 401 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 402 402 403 403 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -437,11 +437,15 @@ 437 437 ))) 438 438 439 439 ((( 440 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]]. 476 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 477 + 478 + 441 441 ))) 442 442 481 + 443 443 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 444 444 484 + 445 445 **LT22222-L**: This mode the DI1 is used as a counting pin. 446 446 447 447 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. ... ... @@ -448,6 +448,7 @@ 448 448 449 449 [[image:image-20220523181903-8.png]] 450 450 491 + 451 451 ((( 452 452 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 453 453 ))) ... ... @@ -463,6 +463,8 @@ 463 463 ))) 464 464 465 465 ((( 507 + 508 + 466 466 **To use this mode, please run:** 467 467 ))) 468 468 ... ... @@ -485,10 +485,12 @@ 485 485 ))) 486 486 487 487 ((( 488 -Other AT Commands for counting are similar to [[MOD2 Counting Command>> path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]].531 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 489 489 ))) 490 490 491 491 ((( 535 + 536 + 492 492 **Plus below command for AVI1 Counting:** 493 493 ))) 494 494 ... ... @@ -520,13 +520,18 @@ 520 520 ))) 521 521 ))) 522 522 568 + 569 + 523 523 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 524 524 572 + 525 525 **LT22222-L**: This mode the DI1 is used as a counting pin. 526 526 527 527 [[image:image-20220523182334-9.png]] 528 528 529 529 ((( 578 + 579 + 530 530 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 531 531 ))) 532 532 ... ... @@ -541,6 +541,8 @@ 541 541 ))) 542 542 543 543 ((( 594 + 595 + 544 544 **To use this mode, please run:** 545 545 ))) 546 546 ... ... @@ -559,11 +559,14 @@ 559 559 ))) 560 560 561 561 ((( 562 -Other AT Commands for counting are similar to [[MOD2 Counting Command>> path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]].614 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 563 563 ))) 564 564 617 + 618 + 565 565 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 566 566 621 + 567 567 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 568 568 569 569 For example, if user has configured below commands: ... ... @@ -576,6 +576,7 @@ 576 576 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 577 577 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.** 578 578 634 + 579 579 **AT Command to set Trigger Condition**: 580 580 581 581 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -588,6 +588,8 @@ 588 588 589 589 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 590 590 647 + 648 + 591 591 (% style="color:#4f81bd" %)**Trigger base on current**: 592 592 593 593 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -596,6 +596,8 @@ 596 596 597 597 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 598 598 657 + 658 + 599 599 (% style="color:#4f81bd" %)**Trigger base on DI status**: 600 600 601 601 DI status trigger Flag. ... ... @@ -602,12 +602,13 @@ 602 602 603 603 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 604 604 665 + 605 605 **Example:** 606 606 607 607 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 608 608 609 609 610 -**Downlink Command to set Trigger Condition** 671 +**Downlink Command to set Trigger Condition:** 611 611 612 612 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 613 613 ... ... @@ -625,14 +625,18 @@ 625 625 626 626 Yy4 yy4: AC2 or AV2 high limit. 627 627 689 + 628 628 **Example1**: AA 00 13 88 00 00 00 00 00 00 629 629 630 630 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 631 631 694 + 632 632 **Example2**: AA 02 01 00 633 633 634 634 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 635 635 699 + 700 + 636 636 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 637 637 638 638 MOD6 Payload : total 11 bytes payload ... ... @@ -639,6 +639,7 @@ 639 639 640 640 [[image:image-20220524085923-1.png]] 641 641 707 + 642 642 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 643 643 644 644 [[image:image-20220524090106-2.png]] ... ... @@ -645,6 +645,7 @@ 645 645 646 646 * Each bits shows if the corresponding trigger has been configured. 647 647 714 + 648 648 **Example:** 649 649 650 650 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -656,6 +656,7 @@ 656 656 657 657 * Each bits shows which status has been trigger on this uplink. 658 658 726 + 659 659 **Example:** 660 660 661 661 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -667,6 +667,7 @@ 667 667 668 668 * Each bits shows which status has been trigger on this uplink. 669 669 738 + 670 670 **Example:** 671 671 672 672 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -682,12 +682,20 @@ 682 682 683 683 When device got this command, it will send the MOD6 payload. 684 684 754 + 755 + 685 685 === 3.3.7 Payload Decoder === 686 686 687 687 ((( 759 + 760 + 688 688 **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/]] 762 + 763 + 689 689 ))) 690 690 766 + 767 + 691 691 == 3.4 Configure LT via AT or Downlink == 692 692 693 693 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -696,14 +696,17 @@ 696 696 There are two kinds of Commands: 697 697 ))) 698 698 699 -* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands776 +* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, 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]] 700 700 701 701 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 702 702 780 + 703 703 === 3.4.1 Common Commands === 704 704 705 -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>> http://8.211.40.43:8080/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]783 +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]] 706 706 785 + 786 + 707 707 === 3.4.2 Sensor related commands === 708 708 709 709 ==== 3.4.2.1 Set Transmit Interval ==== ... ... @@ -719,6 +719,7 @@ 719 719 720 720 **Example: **AT+TDC=30000. Means set interval to 30 seconds 721 721 802 + 722 722 * Downlink Payload (prefix 0x01): 723 723 724 724 (% class="box infomessage" %) ... ... @@ -726,6 +726,8 @@ 726 726 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 727 727 ))) 728 728 810 + 811 + 729 729 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 730 730 731 731 Set work mode. ... ... @@ -739,6 +739,7 @@ 739 739 740 740 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 741 741 825 + 742 742 * Downlink Payload (prefix 0x0A): 743 743 744 744 (% class="box infomessage" %) ... ... @@ -746,6 +746,8 @@ 746 746 **0x0A aa ~/~/ Same as AT+MOD=aa** 747 747 ))) 748 748 833 + 834 + 749 749 ==== 3.4.2.3 Poll an uplink ==== 750 750 751 751 * AT Command: ... ... @@ -752,6 +752,7 @@ 752 752 753 753 There is no AT Command to poll uplink 754 754 841 + 755 755 * Downlink Payload (prefix 0x08): 756 756 757 757 (% class="box infomessage" %) ... ... @@ -761,9 +761,11 @@ 761 761 762 762 **Example**: 0x08FF, ask device to send an Uplink 763 763 851 + 852 + 764 764 ==== 3.4.2.4 Enable Trigger Mode ==== 765 765 766 -Use of trigger mode, please check [[ADDMOD6>> path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]855 +Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 767 767 768 768 * AT Command: 769 769 ... ... @@ -776,6 +776,7 @@ 776 776 777 777 0: Disable Trigger Mode 778 778 868 + 779 779 * Downlink Payload (prefix 0x0A 06): 780 780 781 781 (% class="box infomessage" %) ... ... @@ -783,6 +783,8 @@ 783 783 **0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 784 784 ))) 785 785 876 + 877 + 786 786 ==== 3.4.2.5 Poll trigger settings ==== 787 787 788 788 Poll trigger settings, ... ... @@ -791,6 +791,7 @@ 791 791 792 792 There is no AT Command for this feature. 793 793 886 + 794 794 * Downlink Payload (prefix 0x AB 06): 795 795 796 796 (% class="box infomessage" %) ... ... @@ -798,6 +798,8 @@ 798 798 **0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 799 799 ))) 800 800 894 + 895 + 801 801 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 802 802 803 803 Enable Disable DI1/DI2/DI2 as trigger, ... ... @@ -809,6 +809,7 @@ 809 809 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 810 810 ))) 811 811 907 + 812 812 **Example:** 813 813 814 814 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -820,6 +820,8 @@ 820 820 **0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 821 821 ))) 822 822 919 + 920 + 823 823 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 824 824 825 825 Set DI1 or DI3(for LT-33222-L) trigger. ... ... @@ -835,10 +835,12 @@ 835 835 836 836 b : delay timing. 837 837 936 + 838 838 **Example:** 839 839 840 840 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 841 841 941 + 842 842 * Downlink Payload (prefix 0x09 01 ): 843 843 844 844 (% class="box infomessage" %) ... ... @@ -846,6 +846,8 @@ 846 846 **0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 847 847 ))) 848 848 949 + 950 + 849 849 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 850 850 851 851 Set DI2 trigger. ... ... @@ -861,10 +861,12 @@ 861 861 862 862 b : delay timing. 863 863 966 + 864 864 **Example:** 865 865 866 866 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 867 867 971 + 868 868 * Downlink Payload (prefix 0x09 02 ): 869 869 870 870 (% class="box infomessage" %) ... ... @@ -872,9 +872,11 @@ 872 872 **0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 873 873 ))) 874 874 979 + 980 + 875 875 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 876 876 877 -Set current trigger , base on AC port. See [[trigger mode>> path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]983 +Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 878 878 879 879 * AT Command: 880 880 ... ... @@ -883,31 +883,37 @@ 883 883 **AT+ACLIM. ** 884 884 ))) 885 885 992 + 886 886 * Downlink Payload (prefix 0xAA 01 ): 887 887 888 888 (% class="box infomessage" %) 889 889 ((( 890 -**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>> url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]**997 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 891 891 ))) 892 892 1000 + 1001 + 893 893 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 894 894 895 -Set current trigger , base on AV port. See [[trigger mode>> url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]1004 +Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 896 896 897 897 * AT Command: 898 898 899 899 (% class="box infomessage" %) 900 900 ((( 901 -**AT+AVLIM. See [[trigger mode>> url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]**1010 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 902 902 ))) 903 903 1013 + 904 904 * Downlink Payload (prefix 0xAA 00 ): 905 905 906 906 (% class="box infomessage" %) 907 907 ((( 908 -**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>> url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] **1018 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ** 909 909 ))) 910 910 1021 + 1022 + 911 911 ==== 3.4.2.11 Trigger – Set minimum interval ==== 912 912 913 913 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. ... ... @@ -919,6 +919,7 @@ 919 919 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 920 920 ))) 921 921 1034 + 922 922 * Downlink Payload (prefix 0xAC ): 923 923 924 924 (% class="box infomessage" %) ... ... @@ -926,6 +926,8 @@ 926 926 **0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 927 927 ))) 928 928 1042 + 1043 + 929 929 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 930 930 931 931 * AT Command: ... ... @@ -932,6 +932,7 @@ 932 932 933 933 There is no AT Command to control Digital Output 934 934 1050 + 935 935 * Downlink Payload (prefix 0x02): 936 936 937 937 (% class="box infomessage" %) ... ... @@ -958,6 +958,7 @@ 958 958 ))) 959 959 960 960 1077 + 961 961 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 962 962 963 963 * AT Command: ... ... @@ -964,6 +964,7 @@ 964 964 965 965 There is no AT Command to control Digital Output 966 966 1084 + 967 967 * Downlink Payload (prefix 0xA9): 968 968 969 969 (% class="box infomessage" %) ... ... @@ -983,18 +983,22 @@ 983 983 984 984 00: DO pins will change to an inverter state after timeout 985 985 1104 + 986 986 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 987 987 988 988 [[image:image-20220524093238-6.png]] 989 989 1109 + 990 990 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 991 991 992 992 [[image:image-20220524093328-7.png]] 993 993 1114 + 994 994 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 995 995 996 996 [[image:image-20220524093351-8.png]] 997 997 1119 + 998 998 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 999 999 1000 1000 Latching time. Unit: ms ... ... @@ -1001,6 +1001,7 @@ 1001 1001 1002 1002 Device will upload a packet if downlink code executes successfully. 1003 1003 1126 + 1004 1004 **Example payload:** 1005 1005 1006 1006 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1020,12 +1020,14 @@ 1020 1020 DO1 pin no action, DO2 pin set low, DO3 pin set high, last 2 seconds, then DO1 pin no action, DO2 pin set high, DO3 pin set low 1021 1021 1022 1022 1023 -=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1024 1024 1147 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1148 + 1025 1025 * AT Command: 1026 1026 1027 1027 There is no AT Command to control Relay Output 1028 1028 1153 + 1029 1029 * Downlink Payload (prefix 0x03): 1030 1030 1031 1031 (% class="box infomessage" %) ... ... @@ -1048,6 +1048,7 @@ 1048 1048 Device will upload a packet if downlink code executes successfully. 1049 1049 1050 1050 1176 + 1051 1051 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1052 1052 1053 1053 * AT Command: ... ... @@ -1054,6 +1054,7 @@ 1054 1054 1055 1055 There is no AT Command to control Relay Output 1056 1056 1183 + 1057 1057 * Downlink Payload (prefix 0x05): 1058 1058 1059 1059 (% class="box infomessage" %) ... ... @@ -1071,14 +1071,17 @@ 1071 1071 1072 1072 00: Relays will change to an inverter state after timeout 1073 1073 1201 + 1074 1074 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1075 1075 1076 1076 [[image:image-20220524093831-10.png]] 1077 1077 1206 + 1078 1078 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1079 1079 1080 1080 Device will upload a packet if downlink code executes successfully. 1081 1081 1211 + 1082 1082 **Example payload:** 1083 1083 1084 1084 **~1. 05 01 11 07 D0** ... ... @@ -1098,17 +1098,19 @@ 1098 1098 Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO. 1099 1099 1100 1100 1231 + 1101 1101 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1102 1102 1103 -When voltage exceed the threshold, count. Feature see [[MOD4>> path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]]1234 +When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1104 1104 1105 1105 * AT Command: 1106 1106 1107 1107 (% class="box infomessage" %) 1108 1108 ((( 1109 -**AT+VOLMAX ~/~/ See [[MOD4>> path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]]**1240 +**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1110 1110 ))) 1111 1111 1243 + 1112 1112 * Downlink Payload (prefix 0xA5): 1113 1113 1114 1114 (% class="box infomessage" %) ... ... @@ -1116,6 +1116,8 @@ 1116 1116 **0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1117 1117 ))) 1118 1118 1251 + 1252 + 1119 1119 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1120 1120 1121 1121 * AT Command: ... ... @@ -1133,6 +1133,7 @@ 1133 1133 1134 1134 Bb cc dd ee: number to be set 1135 1135 1270 + 1136 1136 * Downlink Payload (prefix 0xA8): 1137 1137 1138 1138 (% class="box infomessage" %) ... ... @@ -1140,6 +1140,8 @@ 1140 1140 **0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1141 1141 ))) 1142 1142 1278 + 1279 + 1143 1143 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1144 1144 1145 1145 Clear counting for counting mode ... ... @@ -1158,6 +1158,8 @@ 1158 1158 **0x A6 01 ~/~/ clear all counting,** 1159 1159 ))) 1160 1160 1298 + 1299 + 1161 1161 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1162 1162 1163 1163 * AT Command: ... ... @@ -1174,18 +1174,23 @@ 1174 1174 **0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1175 1175 ))) 1176 1176 1316 +((( 1177 1177 range: aa bb cc:0 to 16777215, (unit:second) 1178 1178 1319 + 1320 +))) 1321 + 1322 + 1179 1179 == 3.5 Integrate with Mydevice == 1180 1180 1181 1181 Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps: 1182 1182 1183 1183 ((( 1184 -**Step 1**: Be sure that your device is programmed and properly connected to the network at this time. 1328 +(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the network at this time. 1185 1185 ))) 1186 1186 1187 1187 ((( 1188 -**Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps: 1332 +(% style="color:blue" %)**Step 2**(%%): To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps: 1189 1189 ))) 1190 1190 1191 1191 [[image:1653356737703-362.png||height="232" width="732"]] ... ... @@ -1192,28 +1192,38 @@ 1192 1192 1193 1193 [[image:image-20220524094641-11.png||height="390" width="723"]] 1194 1194 1339 + 1195 1195 [[image:image-20220524094641-12.png||height="402" width="718"]] 1196 1196 1197 -**Step 3**: Create an account or log in Mydevices. 1198 1198 1199 -**Step 4**:SearchLT-22222-L(forbothLT-22222-L / LT-33222-L) andadd DevEUI.(% style="display:none" %)1343 +(% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices. 1200 1200 1345 +(% style="color:blue" %)**Step 4**(%%): Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %) 1346 + 1201 1201 Search under The things network 1202 1202 1203 1203 [[image:1653356838789-523.png||height="337" width="740"]] 1204 1204 1351 + 1352 + 1205 1205 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 1206 1206 1207 1207 [[image:image-20220524094909-1.png||height="335" width="729"]] 1208 1208 1357 + 1209 1209 [[image:image-20220524094909-2.png||height="337" width="729"]] 1210 1210 1360 + 1211 1211 [[image:image-20220524094909-3.png||height="338" width="727"]] 1212 1212 1363 + 1213 1213 [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %) 1214 1214 1366 + 1215 1215 [[image:image-20220524094909-5.png||height="341" width="734"]] 1216 1216 1369 + 1370 + 1217 1217 == 3.6 Interface Detail == 1218 1218 1219 1219 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === ... ... @@ -1222,6 +1222,8 @@ 1222 1222 1223 1223 [[image:1653356991268-289.png]] 1224 1224 1379 + 1380 + 1225 1225 === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1226 1226 1227 1227 ((( ... ... @@ -1237,51 +1237,106 @@ 1237 1237 [[image:1653357170703-587.png]] 1238 1238 1239 1239 ((( 1396 +((( 1240 1240 When use need to connect a device to the DI port, both DI1+ and DI1- must be connected. 1241 1241 ))) 1399 +))) 1242 1242 1401 +((( 1402 + 1403 +))) 1243 1243 1244 -**Example1**: Connect to a Low active sensor. 1405 +((( 1406 +(% style="color:blue" %)**Example1**(%%): Connect to a Low active sensor. 1407 +))) 1245 1245 1409 +((( 1246 1246 This type of sensor will output a low signal GND when active. 1411 +))) 1247 1247 1248 -* Connect sensor’s output to DI1- 1249 -* Connect sensor’s VCC to DI1+. 1413 +* ((( 1414 +Connect sensor’s output to DI1- 1415 +))) 1416 +* ((( 1417 +Connect sensor’s VCC to DI1+. 1418 +))) 1250 1250 1251 -So when sensor active, the current between NEC2501 pin1 and pin2 is: 1420 +((( 1421 +So when sensor active, the current between NEC2501 pin1 and pin2 is: 1422 +))) 1252 1252 1253 -[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]] = DI1+ / 1K.** 1424 +((( 1425 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.** 1426 +))) 1254 1254 1255 -If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal. 1428 +((( 1429 +If DI1+ = 12v, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA , So the LT-22222-L will be able to detect this active signal. 1430 +))) 1256 1256 1432 +((( 1433 + 1434 +))) 1257 1257 1258 -**Example2**: Connect to a High active sensor. 1436 +((( 1437 +(% style="color:blue" %)**Example2**(%%): Connect to a High active sensor. 1438 +))) 1259 1259 1440 +((( 1260 1260 This type of sensor will output a high signal (example 24v) when active. 1442 +))) 1261 1261 1262 -* Connect sensor’s output to DI1+ 1263 -* Connect sensor’s GND DI1-. 1444 +* ((( 1445 +Connect sensor’s output to DI1+ 1446 +))) 1447 +* ((( 1448 +Connect sensor’s GND DI1-. 1449 +))) 1264 1264 1451 +((( 1265 1265 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1453 +))) 1266 1266 1267 -[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.** 1455 +((( 1456 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.** 1457 +))) 1268 1268 1269 -If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal. 1459 +((( 1460 +If **DI1+ = 24v**, the[[image:1653968155772-850.png||height="23" width="19"]] 24mA , So the LT-22222-L will be able to detect this high active signal. 1461 +))) 1270 1270 1463 +((( 1464 + 1465 +))) 1271 1271 1272 -**Example3**: Connect to a 220v high active sensor. 1467 +((( 1468 +(% style="color:blue" %)**Example3**(%%): Connect to a 220v high active sensor. 1469 +))) 1273 1273 1471 +((( 1274 1274 Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 1473 +))) 1275 1275 1276 -* Connect sensor’s output to DI1+ with a serial 50K resistor 1277 -* Connect sensor’s GND DI1-. 1475 +* ((( 1476 +Connect sensor’s output to DI1+ with a serial 50K resistor 1477 +))) 1478 +* ((( 1479 +Connect sensor’s GND DI1-. 1480 +))) 1278 1278 1482 +((( 1279 1279 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1484 +))) 1280 1280 1281 - [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.** 1486 +((( 1487 + [[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 51K.** 1488 +))) 1282 1282 1283 -If sensor output is 220v, the (% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K. = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely. 1490 +((( 1491 +If sensor output is 220v, the [[image:1653968155772-850.png||height="23" width="19"]](% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K. = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely. 1492 +))) 1284 1284 1494 + 1495 + 1285 1285 === 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1286 1286 1287 1287 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1288,12 +1288,15 @@ 1288 1288 1289 1289 [[image:1653357531600-905.png]] 1290 1290 1502 + 1503 + 1291 1291 === 3.6.4 Analog Input Interface === 1292 1292 1293 1293 The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is: 1294 1294 1295 -**AC2 = (IN2 voltage )/12** 1296 1296 1509 +(% style="color:blue" %)**AC2 = (IN2 voltage )/12** 1510 + 1297 1297 [[image:1653357592296-182.png]] 1298 1298 1299 1299 Example to connect a 4~~20mA sensor ... ... @@ -1300,21 +1300,24 @@ 1300 1300 1301 1301 We take the wind speed sensor as an example for reference only. 1302 1302 1303 -Specifications of the wind speed sensor: 1304 1304 1305 - Red:12~~24v1518 +**Specifications of the wind speed sensor:** 1306 1306 1307 - Yellow:4~~20mA1520 +Red: 12~~24v 1308 1308 1309 - Black:GND1522 +Yellow: 4~~20mA 1310 1310 1524 +Black: GND 1311 1311 1312 -Connection diagram: 1313 1313 1527 +**Connection diagram:** 1528 + 1314 1314 [[image:1653357640609-758.png]] 1315 1315 1316 1316 [[image:1653357648330-671.png||height="155" width="733"]] 1317 1317 1533 + 1534 + 1318 1318 === 3.6.5 Relay Output === 1319 1319 1320 1320 ((( ... ... @@ -1325,10 +1325,13 @@ 1325 1325 1326 1326 [[image:image-20220524100215-10.png||height="382" width="723"]] 1327 1327 1545 + 1546 + 1328 1328 == 3.7 LEDs Indicators == 1329 1329 1330 1330 [[image:image-20220524100748-11.png]] 1331 1331 1551 + 1332 1332 = 4. Use AT Command = 1333 1333 1334 1334 == 4.1 Access AT Command == ... ... @@ -1337,6 +1337,7 @@ 1337 1337 1338 1338 [[image:1653358238933-385.png]] 1339 1339 1560 + 1340 1340 ((( 1341 1341 In PC, User needs to set (% style="color:#4f81bd" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**)(%%) to active it. As shown below: 1342 1342 ))) ... ... @@ -1343,7 +1343,10 @@ 1343 1343 1344 1344 [[image:1653358355238-883.png]] 1345 1345 1567 + 1568 +((( 1346 1346 More detail AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 1570 +))) 1347 1347 1348 1348 ((( 1349 1349 AT+<CMD>? : Help on <CMD> ... ... @@ -1527,14 +1527,20 @@ 1527 1527 1528 1528 ((( 1529 1529 AT+CFG: Print all settings 1754 + 1755 + 1530 1530 ))) 1531 1531 1758 + 1759 + 1532 1532 == 4.2 Common AT Command Sequence == 1533 1533 1534 1534 === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1535 1535 1536 1536 ((( 1537 -If device has not joined network yet: 1765 + 1766 + 1767 +**If device has not joined network yet:** 1538 1538 ))) 1539 1539 1540 1540 ((( ... ... @@ -1559,7 +1559,7 @@ 1559 1559 1560 1560 1561 1561 ((( 1562 -If device already joined network: 1792 +**If device already joined network:** 1563 1563 ))) 1564 1564 1565 1565 ((( ... ... @@ -1568,12 +1568,18 @@ 1568 1568 1569 1569 ((( 1570 1570 (% style="background-color:#dcdcdc" %)ATZ 1801 + 1802 + 1571 1571 ))) 1572 1572 1805 + 1806 + 1573 1573 === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === 1574 1574 1575 1575 ((( 1576 -(% style="background-color:#dcdcdc" %) 123456(%%) Enter Password to have AT access. 1810 + 1811 + 1812 +(% style="background-color:#dcdcdc" %)123456(%%) Enter Password to have AT access. 1577 1577 ))) 1578 1578 1579 1579 ((( ... ... @@ -1581,7 +1581,7 @@ 1581 1581 ))) 1582 1582 1583 1583 ((( 1584 -(% style="background-color:#dcdcdc" %) 123456(%%) 1820 +(% style="background-color:#dcdcdc" %) 123456(%%) Enter Password to have AT access. 1585 1585 ))) 1586 1586 1587 1587 ((( ... ... @@ -1589,39 +1589,41 @@ 1589 1589 ))) 1590 1590 1591 1591 ((( 1592 -(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode 1828 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode 1593 1593 ))) 1594 1594 1595 1595 ((( 1596 -(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off 1832 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off 1597 1597 ))) 1598 1598 1599 1599 ((( 1600 -(% style="background-color:#dcdcdc" %) AT+DR=5(%%) Set Data Rate 1836 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%) Set Data Rate 1601 1601 ))) 1602 1602 1603 1603 ((( 1604 -(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%) Set transmit interval to 60 seconds 1840 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%) Set transmit interval to 60 seconds 1605 1605 ))) 1606 1606 1607 1607 ((( 1608 -(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 1844 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 1609 1609 ))) 1610 1610 1611 1611 ((( 1612 -(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1848 +(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1613 1613 ))) 1614 1614 1615 1615 ((( 1616 -(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%) Set RX2DR to match the downlink DR from server. see below 1852 +(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%) Set RX2DR to match the downlink DR from server. see below 1617 1617 ))) 1618 1618 1619 1619 ((( 1620 -(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%)Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal. 1856 +(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%) Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal. 1621 1621 ))) 1622 1622 1623 1623 ((( 1624 -(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1860 +(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1861 + 1862 + 1625 1625 ))) 1626 1626 1627 1627 ((( ... ... @@ -1643,6 +1643,7 @@ 1643 1643 1644 1644 ))) 1645 1645 1884 + 1646 1646 === 4.2.3 Change to Class A === 1647 1647 1648 1648 If sensor JOINED ... ... @@ -1649,23 +1649,30 @@ 1649 1649 (% style="background-color:#dcdcdc" %)AT+CLASS=A 1650 1650 ATZ 1651 1651 1891 + 1652 1652 = 5. FAQ = 1653 1653 1654 1654 == 5.1 How to upgrade the image? == 1655 1655 1896 + 1656 1656 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: 1657 1657 1658 1658 * Support new features 1659 1659 * For bug fix 1660 1660 * Change LoRaWAN bands. 1902 + 1661 1661 Below shows the hardware connection for how to upload an image to the LT: 1662 -* [[image:1653359603330-121.png]] 1663 1663 1905 +[[image:1653359603330-121.png]] 1906 + 1907 + 1664 1664 ((( 1665 -**Step1:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]]. 1666 -**Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1667 -**Step3: **Open flashloader; choose the correct COM port to update. 1668 -**For LT-22222-L**: 1909 +(% style="color:blue" %)**Step1**(%%)**:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]]. 1910 +(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1911 +(% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update. 1912 + 1913 + 1914 +(% style="color:blue" %)**For LT-22222-L**(%%): 1669 1669 Hold down the PRO button and then momentarily press the RST reset button and the **DO1 led** will change from OFF to ON. When **DO1 LED** is on, it means the device is in download mode. 1670 1670 ))) 1671 1671 ... ... @@ -1675,21 +1675,27 @@ 1675 1675 1676 1676 [[image:image-20220524104033-15.png]] 1677 1677 1924 + 1678 1678 (% style="color:red" %)**Notice**(%%): In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is: 1679 1679 1680 1680 [[image:1653360054704-518.png||height="186" width="745"]] 1681 1681 1929 + 1682 1682 ((( 1683 1683 ((( 1932 + 1933 + 1684 1684 == 5.2 How to change the LoRa Frequency Bands/Region? == 1685 1685 ))) 1686 1686 ))) 1687 1687 1688 1688 ((( 1689 -User can follow the introduction for [[how to upgrade image>> path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H5.1Howtoupgradetheimage3F]]. When download the images, choose the required image file for download.1939 +User can follow the introduction for [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download. 1690 1690 ))) 1691 1691 1692 1692 ((( 1943 + 1944 + 1693 1693 == 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? == 1694 1694 ))) 1695 1695 ... ... @@ -1702,6 +1702,8 @@ 1702 1702 ((( 1703 1703 ((( 1704 1704 Assume we have a LG02 working in the frequency 868400000 now , below is the step. 1957 + 1958 + 1705 1705 ))) 1706 1706 ))) 1707 1707 ... ... @@ -1717,23 +1717,25 @@ 1717 1717 (% style="color:red" %)Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN. 1718 1718 ))) 1719 1719 1974 + 1720 1720 ((( 1721 1721 (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 1722 1722 ))) 1723 1723 1724 1724 ((( 1725 -(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1726 -(% style="background-color:#dcdcdc" %)AT+FDR 1727 -(% style="background-color:#dcdcdc" %)123456 1728 -(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%)Set to ABP mode 1729 -(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%)Set the Adaptive Data Rate Off 1730 -(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band) 1731 -(% style="background-color:#dcdcdc" %)AT+TDC=60000 1732 -(% style="background-color:#dcdcdc" %)AT+CHS=868400000 1733 -(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1734 -(% style="background-color:#dcdcdc" %)ATZ 1980 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1981 +(% style="background-color:#dcdcdc" %)AT+FDR(%%) Reset Parameters to Factory Default, Keys Reserve 1982 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1983 +(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%) Set to ABP mode 1984 +(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%) Set the Adaptive Data Rate Off 1985 +(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band) 1986 +(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%) Set transmit interval to 60 seconds 1987 +(% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 1988 +(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1989 +(% style="background-color:#dcdcdc" %)ATZ (%%) Reset MCU 1735 1735 ))) 1736 1736 1992 + 1737 1737 ((( 1738 1738 As shown in below: 1739 1739 ))) ... ... @@ -1740,187 +1740,103 @@ 1740 1740 1741 1741 [[image:1653360498588-932.png||height="485" width="726"]] 1742 1742 1999 + 1743 1743 == 5.4 Can I see counting event in Serial? == 1744 1744 1745 1745 ((( 1746 1746 User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn’t support AT+DEBUG. User can update to latest firmware first. 1747 -))) 1748 1748 1749 -((( 1750 -= 6. Trouble Shooting = 1751 -))) 1752 1752 1753 -((( 1754 -((( 1755 -== 6.1 Downlink doesn’t work, how to solve it? == 1756 -))) 1757 -))) 2006 +== 5.5 Can i use point to point communication for LT-22222-L? == 1758 1758 1759 -((( 1760 -Please see this link for how to debug: 1761 - 1762 -[[http:~~/~~/8.211.40.43:8080/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/>>http://8.211.40.43:8080/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/]] 2008 +Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] 1763 1763 ))) 1764 1764 1765 1765 ((( 1766 -[[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work]] 1767 -))) 2012 + 1768 1768 1769 -((( 1770 -== 6.2 Have trouble to upload image. == 2014 += 6. Trouble Shooting = 1771 1771 ))) 1772 1772 1773 1773 ((( 1774 -See this link for trouble shooting: 1775 -))) 1776 - 1777 1777 ((( 1778 - [[http:~~/~~/wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting]]2019 +== 6.1 Downlink doesn’t work, how to solve it? == 1779 1779 ))) 1780 - 1781 -((( 1782 -== 6.3 Why I can’t join TTN in US915 /AU915 bands? == 1783 1783 ))) 1784 1784 1785 1785 ((( 1786 - It might be about the channels mapping.Please see this link for detail:2024 +Please see this link for how to debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]] 1787 1787 ))) 1788 1788 1789 1789 ((( 1790 -[[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band]] 1791 -))) 2028 + 1792 1792 1793 -((( 1794 -= 7. Order Info = 2030 +== 6.2 Have trouble to upload image. == 1795 1795 ))) 1796 1796 1797 1797 ((( 1798 -((( 1799 -(% style="color:#4f81bd" %)**LT-22222-L-XXX:** 2034 +See this link for trouble shooting: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]] 1800 1800 ))) 1801 -))) 1802 1802 1803 1803 ((( 1804 -((( 1805 -(% style="color:#4f81bd" %)**XXX:** 1806 -))) 1807 -))) 2038 + 1808 1808 1809 -((( 1810 -* ((( 1811 -(% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 2040 +== 6.3 Why I can’t join TTN in US915 /AU915 bands? == 1812 1812 ))) 1813 -))) 1814 1814 1815 1815 ((( 1816 -* ((( 1817 -(% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 2044 +It might be about the channels mapping. [[Please see this link for detail>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]] 1818 1818 ))) 1819 -))) 1820 1820 1821 -((( 1822 -* ((( 1823 -(% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 1824 -))) 1825 -))) 1826 1826 1827 -((( 1828 -* ((( 1829 -(% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 1830 -))) 1831 -))) 1832 1832 1833 -((( 1834 -* ((( 1835 -(% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 1836 -))) 1837 -))) 2049 += 7. Order Info = 1838 1838 1839 -((( 1840 -* ((( 1841 -(% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 1842 -))) 1843 -))) 1844 1844 1845 -((( 1846 -* ((( 1847 -(% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 1848 -))) 1849 -))) 2052 +(% style="color:#4f81bd" %)**LT-22222-L-XXX:** 1850 1850 1851 -((( 1852 -* ((( 1853 -(% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1854 -))) 1855 -))) 1856 1856 1857 -((( 1858 -* ((( 1859 -(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1860 -))) 2055 +(% style="color:#4f81bd" %)**XXX:** 1861 1861 2057 +* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 2058 +* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 2059 +* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 2060 +* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 2061 +* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 2062 +* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 2063 +* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 2064 +* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 2065 +* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 2066 + 1862 1862 = 8. Packing Info = 1863 -))) 1864 1864 1865 -((( 1866 -((( 2069 + 1867 1867 **Package Includes**: 1868 -))) 1869 -))) 1870 1870 1871 -((( 1872 -((( 1873 1873 * LT-22222-L I/O Controller x 1 1874 1874 * Stick Antenna for LoRa RF part x 1 1875 1875 * Bracket for controller x1 1876 1876 * Program cable x 1 1877 -))) 1878 -))) 1879 1879 1880 -((( 1881 -((( 1882 1882 **Dimension and weight**: 1883 -))) 1884 -))) 1885 1885 1886 -((( 1887 -((( 1888 1888 * Device Size: 13.5 x 7 x 3 cm 1889 1889 * Device Weight: 105g 1890 1890 * Package Size / pcs : 14.5 x 8 x 5 cm 1891 1891 * Weight / pcs : 170g 1892 -))) 1893 -))) 1894 1894 1895 -((( 1896 1896 = 9. Support = 1897 -))) 1898 1898 1899 1899 * ((( 1900 -((( 1901 1901 Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1902 1902 ))) 1903 -))) 1904 1904 * ((( 1905 -((( 1906 -Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to 2090 +Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 1907 1907 ))) 1908 -))) 1909 1909 1910 -((( 1911 -((( 1912 - [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 1913 -))) 1914 - 1915 -((( 1916 1916 = 10. Reference = 1917 1917 1918 -* Product Page: 1919 - 1920 -LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] 1921 - 2095 +* LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]] 1922 1922 * [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]] 1923 1923 * [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 1924 1924 * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]] 1925 -))) 1926 -)))
- 1653968155772-850.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +886 bytes - Content
- 1653968164738-884.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +886 bytes - Content
- 1653968172068-832.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +886 bytes - Content
- image-20220531113415-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +172 bytes - Content