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 ((( ... ... @@ -221,7 +221,7 @@ 221 221 ))) 222 222 223 223 ((( 224 -**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. 225 225 ))) 226 226 227 227 ((( ... ... @@ -230,6 +230,7 @@ 230 230 231 231 [[image:1653297924498-393.png]] 232 232 247 + 233 233 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 234 234 235 235 Add APP EUI in the application. ... ... @@ -236,16 +236,20 @@ 236 236 237 237 [[image:1653297955910-247.png||height="321" width="716"]] 238 238 254 + 239 239 Add APP KEY and DEV EUI 240 240 241 241 [[image:1653298023685-319.png]] 242 242 259 + 243 243 ((( 244 -**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. 245 245 ))) 246 246 247 247 [[image:1653298044601-602.png||height="405" width="709"]] 248 248 266 + 267 + 249 249 == 3.3 Uplink Payload == 250 250 251 251 There are five working modes + one interrupt mode on LT for different type application: ... ... @@ -257,6 +257,8 @@ 257 257 * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 258 258 * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 259 259 279 + 280 + 260 260 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 261 261 262 262 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -264,6 +264,8 @@ 264 264 [[image:image-20220523174024-3.png]] 265 265 266 266 ((( 288 + 289 + 267 267 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 268 268 ))) 269 269 ... ... @@ -277,6 +277,7 @@ 277 277 278 278 For example if payload is: [[image:image-20220523175847-2.png]] 279 279 303 + 280 280 **The value for the interface is: ** 281 281 282 282 AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V ... ... @@ -292,6 +292,7 @@ 292 292 * [1] RO1 relay channel is close and the RO1 LED is ON. 293 293 * [0] RO2 relay channel is open and RO2 LED is OFF; 294 294 319 + 295 295 **LT22222-L:** 296 296 297 297 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -307,8 +307,11 @@ 307 307 ** DO1 is high in case there is load between DO1 and V+. 308 308 ** DO1 LED is off in both case 309 309 335 + 336 + 310 310 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 311 311 339 + 312 312 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 313 313 314 314 ((( ... ... @@ -317,6 +317,7 @@ 317 317 318 318 [[image:image-20220523180452-3.png]] 319 319 348 + 320 320 ((( 321 321 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 322 322 ))) ... ... @@ -332,6 +332,8 @@ 332 332 ))) 333 333 334 334 ((( 364 + 365 + 335 335 **To use counting mode, please run:** 336 336 ))) 337 337 ... ... @@ -350,6 +350,8 @@ 350 350 ))) 351 351 352 352 ((( 384 + 385 + 353 353 (% style="color:#4f81bd" %)**AT Commands for counting:** 354 354 ))) 355 355 ... ... @@ -399,6 +399,8 @@ 399 399 ))) 400 400 ))) 401 401 435 + 436 + 402 402 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 403 403 404 404 **LT22222-L**: This mode the DI1 is used as a counting pin. ... ... @@ -438,11 +438,15 @@ 438 438 ))) 439 439 440 440 ((( 441 -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 + 442 442 ))) 443 443 481 + 444 444 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 445 445 484 + 446 446 **LT22222-L**: This mode the DI1 is used as a counting pin. 447 447 448 448 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. ... ... @@ -449,6 +449,7 @@ 449 449 450 450 [[image:image-20220523181903-8.png]] 451 451 491 + 452 452 ((( 453 453 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 454 454 ))) ... ... @@ -464,6 +464,8 @@ 464 464 ))) 465 465 466 466 ((( 507 + 508 + 467 467 **To use this mode, please run:** 468 468 ))) 469 469 ... ... @@ -486,10 +486,12 @@ 486 486 ))) 487 487 488 488 ((( 489 -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"]]. 490 490 ))) 491 491 492 492 ((( 535 + 536 + 493 493 **Plus below command for AVI1 Counting:** 494 494 ))) 495 495 ... ... @@ -521,13 +521,18 @@ 521 521 ))) 522 522 ))) 523 523 568 + 569 + 524 524 === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 525 525 572 + 526 526 **LT22222-L**: This mode the DI1 is used as a counting pin. 527 527 528 528 [[image:image-20220523182334-9.png]] 529 529 530 530 ((( 578 + 579 + 531 531 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 532 532 ))) 533 533 ... ... @@ -542,6 +542,8 @@ 542 542 ))) 543 543 544 544 ((( 594 + 595 + 545 545 **To use this mode, please run:** 546 546 ))) 547 547 ... ... @@ -560,11 +560,14 @@ 560 560 ))) 561 561 562 562 ((( 563 -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"]]. 564 564 ))) 565 565 617 + 618 + 566 566 === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 567 567 621 + 568 568 (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 569 569 570 570 For example, if user has configured below commands: ... ... @@ -577,6 +577,7 @@ 577 577 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 578 578 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.** 579 579 634 + 580 580 **AT Command to set Trigger Condition**: 581 581 582 582 (% style="color:#4f81bd" %)**Trigger base on voltage**: ... ... @@ -589,6 +589,8 @@ 589 589 590 590 AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 591 591 647 + 648 + 592 592 (% style="color:#4f81bd" %)**Trigger base on current**: 593 593 594 594 Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH> ... ... @@ -597,6 +597,8 @@ 597 597 598 598 AT+ACLIM=10000,15000,0,0 (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink) 599 599 657 + 658 + 600 600 (% style="color:#4f81bd" %)**Trigger base on DI status**: 601 601 602 602 DI status trigger Flag. ... ... @@ -603,12 +603,13 @@ 603 603 604 604 Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG > 605 605 665 + 606 606 **Example:** 607 607 608 608 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 609 609 610 610 611 -**Downlink Command to set Trigger Condition** 671 +**Downlink Command to set Trigger Condition:** 612 612 613 613 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 614 614 ... ... @@ -626,14 +626,18 @@ 626 626 627 627 Yy4 yy4: AC2 or AV2 high limit. 628 628 689 + 629 629 **Example1**: AA 00 13 88 00 00 00 00 00 00 630 630 631 631 Same as AT+AVLIM=5000,0,0,0 (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore) 632 632 694 + 633 633 **Example2**: AA 02 01 00 634 634 635 635 Same as AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 636 636 699 + 700 + 637 637 (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:** 638 638 639 639 MOD6 Payload : total 11 bytes payload ... ... @@ -640,6 +640,7 @@ 640 640 641 641 [[image:image-20220524085923-1.png]] 642 642 707 + 643 643 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 644 644 645 645 [[image:image-20220524090106-2.png]] ... ... @@ -646,6 +646,7 @@ 646 646 647 647 * Each bits shows if the corresponding trigger has been configured. 648 648 714 + 649 649 **Example:** 650 650 651 651 10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW ... ... @@ -657,6 +657,7 @@ 657 657 658 658 * Each bits shows which status has been trigger on this uplink. 659 659 726 + 660 660 **Example:** 661 661 662 662 10000000: Means this packet is trigger by AC1_LOW. Means voltage too low. ... ... @@ -668,6 +668,7 @@ 668 668 669 669 * Each bits shows which status has been trigger on this uplink. 670 670 738 + 671 671 **Example:** 672 672 673 673 00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1. ... ... @@ -683,12 +683,20 @@ 683 683 684 684 When device got this command, it will send the MOD6 payload. 685 685 754 + 755 + 686 686 === 3.3.7 Payload Decoder === 687 687 688 688 ((( 759 + 760 + 689 689 **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 + 690 690 ))) 691 691 766 + 767 + 692 692 == 3.4 Configure LT via AT or Downlink == 693 693 694 694 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands ... ... @@ -697,14 +697,17 @@ 697 697 There are two kinds of Commands: 698 698 ))) 699 699 700 -* (% 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]] 701 701 702 702 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 703 703 780 + 704 704 === 3.4.1 Common Commands === 705 705 706 -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]] 707 707 785 + 786 + 708 708 === 3.4.2 Sensor related commands === 709 709 710 710 ==== 3.4.2.1 Set Transmit Interval ==== ... ... @@ -720,6 +720,7 @@ 720 720 721 721 **Example: **AT+TDC=30000. Means set interval to 30 seconds 722 722 802 + 723 723 * Downlink Payload (prefix 0x01): 724 724 725 725 (% class="box infomessage" %) ... ... @@ -727,6 +727,8 @@ 727 727 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 728 728 ))) 729 729 810 + 811 + 730 730 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 731 731 732 732 Set work mode. ... ... @@ -740,6 +740,7 @@ 740 740 741 741 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 742 742 825 + 743 743 * Downlink Payload (prefix 0x0A): 744 744 745 745 (% class="box infomessage" %) ... ... @@ -747,6 +747,8 @@ 747 747 **0x0A aa ~/~/ Same as AT+MOD=aa** 748 748 ))) 749 749 833 + 834 + 750 750 ==== 3.4.2.3 Poll an uplink ==== 751 751 752 752 * AT Command: ... ... @@ -753,6 +753,7 @@ 753 753 754 754 There is no AT Command to poll uplink 755 755 841 + 756 756 * Downlink Payload (prefix 0x08): 757 757 758 758 (% class="box infomessage" %) ... ... @@ -762,9 +762,11 @@ 762 762 763 763 **Example**: 0x08FF, ask device to send an Uplink 764 764 851 + 852 + 765 765 ==== 3.4.2.4 Enable Trigger Mode ==== 766 766 767 -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"]] 768 768 769 769 * AT Command: 770 770 ... ... @@ -777,6 +777,7 @@ 777 777 778 778 0: Disable Trigger Mode 779 779 868 + 780 780 * Downlink Payload (prefix 0x0A 06): 781 781 782 782 (% class="box infomessage" %) ... ... @@ -784,6 +784,8 @@ 784 784 **0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 785 785 ))) 786 786 876 + 877 + 787 787 ==== 3.4.2.5 Poll trigger settings ==== 788 788 789 789 Poll trigger settings, ... ... @@ -792,6 +792,7 @@ 792 792 793 793 There is no AT Command for this feature. 794 794 886 + 795 795 * Downlink Payload (prefix 0x AB 06): 796 796 797 797 (% class="box infomessage" %) ... ... @@ -799,6 +799,8 @@ 799 799 **0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 800 800 ))) 801 801 894 + 895 + 802 802 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 803 803 804 804 Enable Disable DI1/DI2/DI2 as trigger, ... ... @@ -810,6 +810,7 @@ 810 810 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 811 811 ))) 812 812 907 + 813 813 **Example:** 814 814 815 815 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) ... ... @@ -821,6 +821,8 @@ 821 821 **0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 822 822 ))) 823 823 919 + 920 + 824 824 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 825 825 826 826 Set DI1 or DI3(for LT-33222-L) trigger. ... ... @@ -836,10 +836,12 @@ 836 836 837 837 b : delay timing. 838 838 936 + 839 839 **Example:** 840 840 841 841 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 842 842 941 + 843 843 * Downlink Payload (prefix 0x09 01 ): 844 844 845 845 (% class="box infomessage" %) ... ... @@ -847,6 +847,8 @@ 847 847 **0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 848 848 ))) 849 849 949 + 950 + 850 850 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 851 851 852 852 Set DI2 trigger. ... ... @@ -862,10 +862,12 @@ 862 862 863 863 b : delay timing. 864 864 966 + 865 865 **Example:** 866 866 867 867 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 868 868 971 + 869 869 * Downlink Payload (prefix 0x09 02 ): 870 870 871 871 (% class="box infomessage" %) ... ... @@ -873,9 +873,11 @@ 873 873 **0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 874 874 ))) 875 875 979 + 980 + 876 876 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 877 877 878 -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"]] 879 879 880 880 * AT Command: 881 881 ... ... @@ -884,31 +884,37 @@ 884 884 **AT+ACLIM. ** 885 885 ))) 886 886 992 + 887 887 * Downlink Payload (prefix 0xAA 01 ): 888 888 889 889 (% class="box infomessage" %) 890 890 ((( 891 -**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"]]** 892 892 ))) 893 893 1000 + 1001 + 894 894 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 895 895 896 -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"]] 897 897 898 898 * AT Command: 899 899 900 900 (% class="box infomessage" %) 901 901 ((( 902 -**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"]]** 903 903 ))) 904 904 1013 + 905 905 * Downlink Payload (prefix 0xAA 00 ): 906 906 907 907 (% class="box infomessage" %) 908 908 ((( 909 -**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"]] ** 910 910 ))) 911 911 1021 + 1022 + 912 912 ==== 3.4.2.11 Trigger – Set minimum interval ==== 913 913 914 914 Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. ... ... @@ -920,6 +920,7 @@ 920 920 **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 921 921 ))) 922 922 1034 + 923 923 * Downlink Payload (prefix 0xAC ): 924 924 925 925 (% class="box infomessage" %) ... ... @@ -927,6 +927,8 @@ 927 927 **0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 928 928 ))) 929 929 1042 + 1043 + 930 930 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 931 931 932 932 * AT Command: ... ... @@ -933,6 +933,7 @@ 933 933 934 934 There is no AT Command to control Digital Output 935 935 1050 + 936 936 * Downlink Payload (prefix 0x02): 937 937 938 938 (% class="box infomessage" %) ... ... @@ -959,6 +959,7 @@ 959 959 ))) 960 960 961 961 1077 + 962 962 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 963 963 964 964 * AT Command: ... ... @@ -965,6 +965,7 @@ 965 965 966 966 There is no AT Command to control Digital Output 967 967 1084 + 968 968 * Downlink Payload (prefix 0xA9): 969 969 970 970 (% class="box infomessage" %) ... ... @@ -984,18 +984,22 @@ 984 984 985 985 00: DO pins will change to an inverter state after timeout 986 986 1104 + 987 987 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 988 988 989 989 [[image:image-20220524093238-6.png]] 990 990 1109 + 991 991 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 992 992 993 993 [[image:image-20220524093328-7.png]] 994 994 1114 + 995 995 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 996 996 997 997 [[image:image-20220524093351-8.png]] 998 998 1119 + 999 999 (% style="color:#4f81bd" %)**Sixth and Seventh Byte**: 1000 1000 1001 1001 Latching time. Unit: ms ... ... @@ -1002,6 +1002,7 @@ 1002 1002 1003 1003 Device will upload a packet if downlink code executes successfully. 1004 1004 1126 + 1005 1005 **Example payload:** 1006 1006 1007 1007 **~1. A9 01 01 01 01 07 D0** ... ... @@ -1021,12 +1021,14 @@ 1021 1021 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 1022 1022 1023 1023 1024 -=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 === 1025 1025 1147 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1148 + 1026 1026 * AT Command: 1027 1027 1028 1028 There is no AT Command to control Relay Output 1029 1029 1153 + 1030 1030 * Downlink Payload (prefix 0x03): 1031 1031 1032 1032 (% class="box infomessage" %) ... ... @@ -1049,6 +1049,7 @@ 1049 1049 Device will upload a packet if downlink code executes successfully. 1050 1050 1051 1051 1176 + 1052 1052 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1053 1053 1054 1054 * AT Command: ... ... @@ -1055,6 +1055,7 @@ 1055 1055 1056 1056 There is no AT Command to control Relay Output 1057 1057 1183 + 1058 1058 * Downlink Payload (prefix 0x05): 1059 1059 1060 1060 (% class="box infomessage" %) ... ... @@ -1072,14 +1072,17 @@ 1072 1072 1073 1073 00: Relays will change to an inverter state after timeout 1074 1074 1201 + 1075 1075 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1076 1076 1077 1077 [[image:image-20220524093831-10.png]] 1078 1078 1206 + 1079 1079 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms 1080 1080 1081 1081 Device will upload a packet if downlink code executes successfully. 1082 1082 1211 + 1083 1083 **Example payload:** 1084 1084 1085 1085 **~1. 05 01 11 07 D0** ... ... @@ -1099,17 +1099,19 @@ 1099 1099 Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO. 1100 1100 1101 1101 1231 + 1102 1102 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1103 1103 1104 -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"]] 1105 1105 1106 1106 * AT Command: 1107 1107 1108 1108 (% class="box infomessage" %) 1109 1109 ((( 1110 -**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"]]** 1111 1111 ))) 1112 1112 1243 + 1113 1113 * Downlink Payload (prefix 0xA5): 1114 1114 1115 1115 (% class="box infomessage" %) ... ... @@ -1117,6 +1117,8 @@ 1117 1117 **0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1118 1118 ))) 1119 1119 1251 + 1252 + 1120 1120 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1121 1121 1122 1122 * AT Command: ... ... @@ -1134,6 +1134,7 @@ 1134 1134 1135 1135 Bb cc dd ee: number to be set 1136 1136 1270 + 1137 1137 * Downlink Payload (prefix 0xA8): 1138 1138 1139 1139 (% class="box infomessage" %) ... ... @@ -1141,6 +1141,8 @@ 1141 1141 **0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1142 1142 ))) 1143 1143 1278 + 1279 + 1144 1144 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1145 1145 1146 1146 Clear counting for counting mode ... ... @@ -1159,6 +1159,8 @@ 1159 1159 **0x A6 01 ~/~/ clear all counting,** 1160 1160 ))) 1161 1161 1298 + 1299 + 1162 1162 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1163 1163 1164 1164 * AT Command: ... ... @@ -1175,42 +1175,61 @@ 1175 1175 **0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1176 1176 ))) 1177 1177 1316 +((( 1178 1178 range: aa bb cc:0 to 16777215, (unit:second) 1179 1179 1319 + 1320 +))) 1321 + 1322 + 1180 1180 == 3.5 Integrate with Mydevice == 1181 1181 1182 1182 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: 1183 1183 1184 -**Step 1**: Be sure that your device is programmed and properly connected to the network at this time. 1327 +((( 1328 +(% style="color:blue" %)**Step 1**(%%): Be sure that your device is programmed and properly connected to the network at this time. 1329 +))) 1185 1185 1186 -**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: 1331 +((( 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: 1333 +))) 1187 1187 1188 1188 [[image:1653356737703-362.png||height="232" width="732"]] 1189 1189 1190 1190 [[image:image-20220524094641-11.png||height="390" width="723"]] 1191 1191 1339 + 1192 1192 [[image:image-20220524094641-12.png||height="402" width="718"]] 1193 1193 1194 -**Step 3**: Create an account or log in Mydevices. 1195 1195 1196 -**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. 1197 1197 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 + 1198 1198 Search under The things network 1199 1199 1200 1200 [[image:1653356838789-523.png||height="337" width="740"]] 1201 1201 1351 + 1352 + 1202 1202 After added, the sensor data arrive TTN, it will also arrive and show in Mydevices. 1203 1203 1204 1204 [[image:image-20220524094909-1.png||height="335" width="729"]] 1205 1205 1357 + 1206 1206 [[image:image-20220524094909-2.png||height="337" width="729"]] 1207 1207 1360 + 1208 1208 [[image:image-20220524094909-3.png||height="338" width="727"]] 1209 1209 1363 + 1210 1210 [[image:image-20220524094909-4.png||height="339" width="728"]](% style="display:none" %) 1211 1211 1366 + 1212 1212 [[image:image-20220524094909-5.png||height="341" width="734"]] 1213 1213 1369 + 1370 + 1214 1214 == 3.6 Interface Detail == 1215 1215 1216 1216 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === ... ... @@ -1219,6 +1219,8 @@ 1219 1219 1220 1220 [[image:1653356991268-289.png]] 1221 1221 1379 + 1380 + 1222 1222 === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1223 1223 1224 1224 ((( ... ... @@ -1234,51 +1234,106 @@ 1234 1234 [[image:1653357170703-587.png]] 1235 1235 1236 1236 ((( 1396 +((( 1237 1237 When use need to connect a device to the DI port, both DI1+ and DI1- must be connected. 1238 1238 ))) 1399 +))) 1239 1239 1401 +((( 1402 + 1403 +))) 1240 1240 1241 -**Example1**: Connect to a Low active sensor. 1405 +((( 1406 +(% style="color:blue" %)**Example1**(%%): Connect to a Low active sensor. 1407 +))) 1242 1242 1409 +((( 1243 1243 This type of sensor will output a low signal GND when active. 1411 +))) 1244 1244 1245 -* Connect sensor’s output to DI1- 1246 -* Connect sensor’s VCC to DI1+. 1413 +* ((( 1414 +Connect sensor’s output to DI1- 1415 +))) 1416 +* ((( 1417 +Connect sensor’s VCC to DI1+. 1418 +))) 1247 1247 1248 -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 +))) 1249 1249 1250 -[[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 +))) 1251 1251 1252 -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 +))) 1253 1253 1432 +((( 1433 + 1434 +))) 1254 1254 1255 -**Example2**: Connect to a High active sensor. 1436 +((( 1437 +(% style="color:blue" %)**Example2**(%%): Connect to a High active sensor. 1438 +))) 1256 1256 1440 +((( 1257 1257 This type of sensor will output a high signal (example 24v) when active. 1442 +))) 1258 1258 1259 -* Connect sensor’s output to DI1+ 1260 -* Connect sensor’s GND DI1-. 1444 +* ((( 1445 +Connect sensor’s output to DI1+ 1446 +))) 1447 +* ((( 1448 +Connect sensor’s GND DI1-. 1449 +))) 1261 1261 1451 +((( 1262 1262 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1453 +))) 1263 1263 1264 -[[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 +))) 1265 1265 1266 -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 +))) 1267 1267 1463 +((( 1464 + 1465 +))) 1268 1268 1269 -**Example3**: Connect to a 220v high active sensor. 1467 +((( 1468 +(% style="color:blue" %)**Example3**(%%): Connect to a 220v high active sensor. 1469 +))) 1270 1270 1471 +((( 1271 1271 Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 1473 +))) 1272 1272 1273 -* Connect sensor’s output to DI1+ with a serial 50K resistor 1274 -* 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 +))) 1275 1275 1482 +((( 1276 1276 So when sensor active, the current between NEC2501 pin1 and pin2 is: 1484 +))) 1277 1277 1278 - [[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 +))) 1279 1279 1280 -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 +))) 1281 1281 1494 + 1495 + 1282 1282 === 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1283 1283 1284 1284 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1285,12 +1285,15 @@ 1285 1285 1286 1286 [[image:1653357531600-905.png]] 1287 1287 1502 + 1503 + 1288 1288 === 3.6.4 Analog Input Interface === 1289 1289 1290 1290 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: 1291 1291 1292 -**AC2 = (IN2 voltage )/12** 1293 1293 1509 +(% style="color:blue" %)**AC2 = (IN2 voltage )/12** 1510 + 1294 1294 [[image:1653357592296-182.png]] 1295 1295 1296 1296 Example to connect a 4~~20mA sensor ... ... @@ -1297,21 +1297,24 @@ 1297 1297 1298 1298 We take the wind speed sensor as an example for reference only. 1299 1299 1300 -Specifications of the wind speed sensor: 1301 1301 1302 - Red:12~~24v1518 +**Specifications of the wind speed sensor:** 1303 1303 1304 - Yellow:4~~20mA1520 +Red: 12~~24v 1305 1305 1306 - Black:GND1522 +Yellow: 4~~20mA 1307 1307 1524 +Black: GND 1308 1308 1309 -Connection diagram: 1310 1310 1527 +**Connection diagram:** 1528 + 1311 1311 [[image:1653357640609-758.png]] 1312 1312 1313 1313 [[image:1653357648330-671.png||height="155" width="733"]] 1314 1314 1533 + 1534 + 1315 1315 === 3.6.5 Relay Output === 1316 1316 1317 1317 ((( ... ... @@ -1322,10 +1322,13 @@ 1322 1322 1323 1323 [[image:image-20220524100215-10.png||height="382" width="723"]] 1324 1324 1545 + 1546 + 1325 1325 == 3.7 LEDs Indicators == 1326 1326 1327 1327 [[image:image-20220524100748-11.png]] 1328 1328 1551 + 1329 1329 = 4. Use AT Command = 1330 1330 1331 1331 == 4.1 Access AT Command == ... ... @@ -1334,6 +1334,7 @@ 1334 1334 1335 1335 [[image:1653358238933-385.png]] 1336 1336 1560 + 1337 1337 ((( 1338 1338 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: 1339 1339 ))) ... ... @@ -1340,7 +1340,10 @@ 1340 1340 1341 1341 [[image:1653358355238-883.png]] 1342 1342 1567 + 1568 +((( 1343 1343 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 +))) 1344 1344 1345 1345 ((( 1346 1346 AT+<CMD>? : Help on <CMD> ... ... @@ -1524,14 +1524,20 @@ 1524 1524 1525 1525 ((( 1526 1526 AT+CFG: Print all settings 1754 + 1755 + 1527 1527 ))) 1528 1528 1758 + 1759 + 1529 1529 == 4.2 Common AT Command Sequence == 1530 1530 1531 1531 === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) === 1532 1532 1533 1533 ((( 1534 -If device has not joined network yet: 1765 + 1766 + 1767 +**If device has not joined network yet:** 1535 1535 ))) 1536 1536 1537 1537 ((( ... ... @@ -1556,7 +1556,7 @@ 1556 1556 1557 1557 1558 1558 ((( 1559 -If device already joined network: 1792 +**If device already joined network:** 1560 1560 ))) 1561 1561 1562 1562 ((( ... ... @@ -1565,12 +1565,18 @@ 1565 1565 1566 1566 ((( 1567 1567 (% style="background-color:#dcdcdc" %)ATZ 1801 + 1802 + 1568 1568 ))) 1569 1569 1805 + 1806 + 1570 1570 === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) === 1571 1571 1572 1572 ((( 1573 -(% 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. 1574 1574 ))) 1575 1575 1576 1576 ((( ... ... @@ -1578,7 +1578,7 @@ 1578 1578 ))) 1579 1579 1580 1580 ((( 1581 -(% style="background-color:#dcdcdc" %) 123456(%%) 1820 +(% style="background-color:#dcdcdc" %) 123456(%%) Enter Password to have AT access. 1582 1582 ))) 1583 1583 1584 1584 ((( ... ... @@ -1586,39 +1586,41 @@ 1586 1586 ))) 1587 1587 1588 1588 ((( 1589 -(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode 1828 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode 1590 1590 ))) 1591 1591 1592 1592 ((( 1593 -(% 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 1594 1594 ))) 1595 1595 1596 1596 ((( 1597 -(% style="background-color:#dcdcdc" %) AT+DR=5(%%) Set Data Rate 1836 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%) Set Data Rate 1598 1598 ))) 1599 1599 1600 1600 ((( 1601 -(% 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 1602 1602 ))) 1603 1603 1604 1604 ((( 1605 -(% 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 1606 1606 ))) 1607 1607 1608 1608 ((( 1609 -(% 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) 1610 1610 ))) 1611 1611 1612 1612 ((( 1613 -(% 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 1614 1614 ))) 1615 1615 1616 1616 ((( 1617 -(% 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. 1618 1618 ))) 1619 1619 1620 1620 ((( 1621 -(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1860 +(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1861 + 1862 + 1622 1622 ))) 1623 1623 1624 1624 ((( ... ... @@ -1640,6 +1640,7 @@ 1640 1640 1641 1641 ))) 1642 1642 1884 + 1643 1643 === 4.2.3 Change to Class A === 1644 1644 1645 1645 If sensor JOINED ... ... @@ -1646,23 +1646,30 @@ 1646 1646 (% style="background-color:#dcdcdc" %)AT+CLASS=A 1647 1647 ATZ 1648 1648 1891 + 1649 1649 = 5. FAQ = 1650 1650 1651 1651 == 5.1 How to upgrade the image? == 1652 1652 1896 + 1653 1653 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: 1654 1654 1655 1655 * Support new features 1656 1656 * For bug fix 1657 1657 * Change LoRaWAN bands. 1902 + 1658 1658 Below shows the hardware connection for how to upload an image to the LT: 1659 -* [[image:1653359603330-121.png]] 1660 1660 1905 +[[image:1653359603330-121.png]] 1906 + 1907 + 1661 1661 ((( 1662 -**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]]. 1663 -**Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]. 1664 -**Step3: **Open flashloader; choose the correct COM port to update. 1665 -**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**(%%): 1666 1666 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. 1667 1667 ))) 1668 1668 ... ... @@ -1672,21 +1672,27 @@ 1672 1672 1673 1673 [[image:image-20220524104033-15.png]] 1674 1674 1924 + 1675 1675 (% 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: 1676 1676 1677 1677 [[image:1653360054704-518.png||height="186" width="745"]] 1678 1678 1929 + 1679 1679 ((( 1680 1680 ((( 1932 + 1933 + 1681 1681 == 5.2 How to change the LoRa Frequency Bands/Region? == 1682 1682 ))) 1683 1683 ))) 1684 1684 1685 1685 ((( 1686 -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. 1687 1687 ))) 1688 1688 1689 1689 ((( 1943 + 1944 + 1690 1690 == 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? == 1691 1691 ))) 1692 1692 ... ... @@ -1699,6 +1699,8 @@ 1699 1699 ((( 1700 1700 ((( 1701 1701 Assume we have a LG02 working in the frequency 868400000 now , below is the step. 1957 + 1958 + 1702 1702 ))) 1703 1703 ))) 1704 1704 ... ... @@ -1714,23 +1714,25 @@ 1714 1714 (% 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. 1715 1715 ))) 1716 1716 1974 + 1717 1717 ((( 1718 1718 (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands: 1719 1719 ))) 1720 1720 1721 1721 ((( 1722 -(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 1723 -(% style="background-color:#dcdcdc" %)AT+FDR 1724 -(% style="background-color:#dcdcdc" %)123456 1725 -(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%)Set to ABP mode 1726 -(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%)Set the Adaptive Data Rate Off 1727 -(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band) 1728 -(% style="background-color:#dcdcdc" %)AT+TDC=60000 1729 -(% style="background-color:#dcdcdc" %)AT+CHS=868400000 1730 -(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 1731 -(% 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 1732 1732 ))) 1733 1733 1992 + 1734 1734 ((( 1735 1735 As shown in below: 1736 1736 ))) ... ... @@ -1737,187 +1737,103 @@ 1737 1737 1738 1738 [[image:1653360498588-932.png||height="485" width="726"]] 1739 1739 1999 + 1740 1740 == 5.4 Can I see counting event in Serial? == 1741 1741 1742 1742 ((( 1743 1743 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. 1744 -))) 1745 1745 1746 -((( 1747 -= 6. Trouble Shooting = 1748 -))) 1749 1749 1750 -((( 1751 -((( 1752 -== 6.1 Downlink doesn’t work, how to solve it? == 1753 -))) 1754 -))) 2006 +== 5.5 Can i use point to point communication for LT-22222-L? == 1755 1755 1756 -((( 1757 -Please see this link for how to debug: 1758 - 1759 -[[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]] 1760 1760 ))) 1761 1761 1762 1762 ((( 1763 -[[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]] 1764 -))) 2012 + 1765 1765 1766 -((( 1767 -== 6.2 Have trouble to upload image. == 2014 += 6. Trouble Shooting = 1768 1768 ))) 1769 1769 1770 1770 ((( 1771 -See this link for trouble shooting: 1772 -))) 1773 - 1774 1774 ((( 1775 - [[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? == 1776 1776 ))) 1777 - 1778 -((( 1779 -== 6.3 Why I can’t join TTN in US915 /AU915 bands? == 1780 1780 ))) 1781 1781 1782 1782 ((( 1783 - 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"]] 1784 1784 ))) 1785 1785 1786 1786 ((( 1787 -[[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]] 1788 -))) 2028 + 1789 1789 1790 -((( 1791 -= 7. Order Info = 2030 +== 6.2 Have trouble to upload image. == 1792 1792 ))) 1793 1793 1794 1794 ((( 1795 -((( 1796 -(% 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]] 1797 1797 ))) 1798 -))) 1799 1799 1800 1800 ((( 1801 -((( 1802 -(% style="color:#4f81bd" %)**XXX:** 1803 -))) 1804 -))) 2038 + 1805 1805 1806 -((( 1807 -* ((( 1808 -(% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 2040 +== 6.3 Why I can’t join TTN in US915 /AU915 bands? == 1809 1809 ))) 1810 -))) 1811 1811 1812 1812 ((( 1813 -* ((( 1814 -(% 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"]] 1815 1815 ))) 1816 -))) 1817 1817 1818 -((( 1819 -* ((( 1820 -(% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 1821 -))) 1822 -))) 1823 1823 1824 -((( 1825 -* ((( 1826 -(% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 1827 -))) 1828 -))) 1829 1829 1830 -((( 1831 -* ((( 1832 -(% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 1833 -))) 1834 -))) 2049 += 7. Order Info = 1835 1835 1836 -((( 1837 -* ((( 1838 -(% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 1839 -))) 1840 -))) 1841 1841 1842 -((( 1843 -* ((( 1844 -(% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 1845 -))) 1846 -))) 2052 +(% style="color:#4f81bd" %)**LT-22222-L-XXX:** 1847 1847 1848 -((( 1849 -* ((( 1850 -(% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 1851 -))) 1852 -))) 1853 1853 1854 -((( 1855 -* ((( 1856 -(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1857 -))) 2055 +(% style="color:#4f81bd" %)**XXX:** 1858 1858 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 + 1859 1859 = 8. Packing Info = 1860 -))) 1861 1861 1862 -((( 1863 -((( 2069 + 1864 1864 **Package Includes**: 1865 -))) 1866 -))) 1867 1867 1868 -((( 1869 -((( 1870 1870 * LT-22222-L I/O Controller x 1 1871 1871 * Stick Antenna for LoRa RF part x 1 1872 1872 * Bracket for controller x1 1873 1873 * Program cable x 1 1874 -))) 1875 -))) 1876 1876 1877 -((( 1878 -((( 1879 1879 **Dimension and weight**: 1880 -))) 1881 -))) 1882 1882 1883 -((( 1884 -((( 1885 1885 * Device Size: 13.5 x 7 x 3 cm 1886 1886 * Device Weight: 105g 1887 1887 * Package Size / pcs : 14.5 x 8 x 5 cm 1888 1888 * Weight / pcs : 170g 1889 -))) 1890 -))) 1891 1891 1892 -((( 1893 1893 = 9. Support = 1894 -))) 1895 1895 1896 1896 * ((( 1897 -((( 1898 1898 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. 1899 1899 ))) 1900 -))) 1901 1901 * ((( 1902 -((( 1903 -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]] 1904 1904 ))) 1905 -))) 1906 1906 1907 -((( 1908 -((( 1909 - [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]] 1910 -))) 1911 - 1912 -((( 1913 1913 = 10. Reference = 1914 1914 1915 -* Product Page: 1916 - 1917 -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]] 1918 - 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]] 1919 1919 * [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]] 1920 1920 * [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 1921 1921 * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]] 1922 -))) 1923 -)))
- 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