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, 3 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,7 +1,6 @@ 1 1 (% style="text-align:center" %) 2 2 [[image:image-20220523163353-1.jpeg||height="604" width="500"]] 3 3 4 -**LT-22222-L LoRa IO Controller User Manual ** 5 5 6 6 7 7 **Table of Contents:** ... ... @@ -42,6 +42,8 @@ 42 42 43 43 ((( 44 44 2) User can set up a LoRaWAN gateway locally and configure the controller to connect to the gateway via wireless. 44 + 45 + 45 45 ))) 46 46 47 47 ((( ... ... @@ -165,10 +165,15 @@ 165 165 ))) 166 166 * ((( 167 167 Packet engine up to 256 bytes with CRC. 169 + 170 + 171 + 172 + 168 168 ))) 169 169 170 170 == 1.3 Features == 171 171 177 + 172 172 * LoRaWAN Class A & Class C protocol 173 173 * Optional Customized LoRa Protocol 174 174 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865 ... ... @@ -177,8 +177,13 @@ 177 177 * Firmware upgradable via program port 178 178 * Counting 179 179 186 + 187 + 188 + 189 + 180 180 == 1.4 Applications == 181 181 192 + 182 182 * Smart Buildings & Home Automation 183 183 * Logistics and Supply Chain Management 184 184 * Smart Metering ... ... @@ -186,8 +186,13 @@ 186 186 * Smart Cities 187 187 * Smart Factory 188 188 200 + 201 + 202 + 203 + 189 189 == 1.5 Hardware Variants == 190 190 206 + 191 191 (% border="1" style="background-color:#f7faff; width:500px" %) 192 192 |(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description** 193 193 |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)((( ... ... @@ -199,8 +199,12 @@ 199 199 * 1 x Counting Port 200 200 ))) 201 201 218 + 219 + 220 + 202 202 = 2. Power ON Device = 203 203 223 + 204 204 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. 205 205 206 206 ((( ... ... @@ -215,19 +215,24 @@ 215 215 216 216 == 3.1 How it works? == 217 217 238 + 218 218 ((( 219 -The LT is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the LT. It will auto join the network via OTAA. For LT-22222-L, the LED will show the Join status: After power on **TX LED** will fast blink 5 times, LT-22222-L will enter working mode and start to JOIN LoRaWAN network. **TX LED** will be on for 5 seconds after joined in network. When there is message from server, the **RX LED**will be on for 1 second.240 +The LT is configured as LoRaWAN OTAA Class C mode by default. It has OTAA keys to join network. To connect a local LoRaWAN network, user just need to input the OTAA keys in the network server and power on the LT. It will auto join the network via OTAA. For LT-22222-L, the LED will show the Join status: After power on (% style="color:green" %)**TX LED**(%%) will fast blink 5 times, LT-22222-L will enter working mode and start to JOIN LoRaWAN network. (% style="color:green" %)**TX LED**(%%) will be on for 5 seconds after joined in network. When there is message from server, the RX LED will be on for 1 second. 220 220 ))) 221 221 222 222 ((( 223 -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.244 +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. 224 224 ))) 225 225 226 226 248 + 227 227 == 3.2 Example to join LoRaWAN network == 228 228 251 + 229 229 ((( 230 230 This chapter shows an example for how to join the TTN LoRaWAN Network. Below is the network structure, we use our LG308 as LoRaWAN gateway here. 254 + 255 + 231 231 ))) 232 232 233 233 [[image:image-20220523172350-1.png||height="266" width="864"]] ... ... @@ -235,6 +235,8 @@ 235 235 236 236 ((( 237 237 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: 263 + 264 + 238 238 ))) 239 239 240 240 ((( ... ... @@ -272,12 +272,12 @@ 272 272 273 273 There are five working modes + one interrupt mode on LT for different type application: 274 274 275 -* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO 276 -* **MOD2**: Double DI Counting + DO + RO 277 -* **MOD3**: Single DI Counting + 2 x ACI + DO + RO 278 -* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO 279 -* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 280 -* **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 302 +* (% style="color:blue" %)**MOD1**(%%): (default setting): 2 x ACI + 2AVI + DI + DO + RO 303 +* (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO 304 +* (% style="color:blue" %)**MOD3**(%%): Single DI Counting + 2 x ACI + DO + RO 305 +* (% style="color:blue" %)**MOD4**(%%): Single DI Counting + 1 x Voltage Counting + DO + RO 306 +* (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 307 +* (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5 281 281 282 282 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 283 283 ... ... @@ -368,12 +368,7 @@ 368 368 ((( 369 369 ((( 370 370 **AT+MOD=2** 371 -))) 372 -))) 373 373 374 -(% class="box infomessage" %) 375 -((( 376 -((( 377 377 **ATZ** 378 378 ))) 379 379 ))) ... ... @@ -386,49 +386,20 @@ 386 386 387 387 ((( 388 388 **For LT22222-L:** 389 -))) 390 390 391 -(% class="box infomessage" %) 392 -((( 393 -((( 394 -**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 395 -))) 396 -))) 397 397 398 -(% class="box infomessage" %) 399 -((( 400 -((( 401 -**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 402 -))) 403 -))) 413 +(% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (set DI1 port to trigger on low level, valid signal is 100ms) ** 404 404 405 -(% class="box infomessage" %) 406 -((( 407 -((( 408 -**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 409 -))) 410 -))) 415 +(% style="color:blue" %)**AT+TRIG1=1,100**(%%)** (set DI1 port to trigger on high level, valid signal is 100ms ) ** 411 411 412 -(% class="box infomessage" %) 413 -((( 414 -((( 415 -**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 416 -))) 417 -))) 417 +(% style="color:blue" %)**AT+TRIG2=0,100**(%%)** (set DI2 port to trigger on low level, valid signal is 100ms) ** 418 418 419 -(% class="box infomessage" %) 420 -((( 421 -((( 422 -**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 423 -))) 424 -))) 419 +(% style="color:blue" %)**AT+TRIG2=1,100**(%%)** (set DI2 port to trigger on high level, valid signal is 100ms ) ** 425 425 426 -(% class="box infomessage" %) 427 -((( 428 -((( 429 -**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 421 +(% style="color:blue" %)**AT+SETCNT=1,60**(%%)** (Set COUNT1 value to 60)** 422 + 423 +(% style="color:blue" %)**AT+SETCNT=2,60**(%%)** (Set COUNT2 value to 60)** 430 430 ))) 431 -))) 432 432 433 433 434 434 ... ... @@ -439,6 +439,8 @@ 439 439 [[image:image-20220523181246-5.png]] 440 440 441 441 ((( 435 + 436 + 442 442 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 443 443 ))) 444 444 ... ... @@ -452,6 +452,7 @@ 452 452 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 453 453 ))) 454 454 450 + 455 455 ((( 456 456 **To use counting mode, please run:** 457 457 ))) ... ... @@ -460,12 +460,7 @@ 460 460 ((( 461 461 ((( 462 462 **AT+MOD=3** 463 -))) 464 -))) 465 465 466 -(% class="box infomessage" %) 467 -((( 468 -((( 469 469 **ATZ** 470 470 ))) 471 471 ))) ... ... @@ -510,20 +510,13 @@ 510 510 ((( 511 511 ((( 512 512 **AT+MOD=4** 513 -))) 514 -))) 515 515 516 -(% class="box infomessage" %) 517 -((( 518 -((( 519 519 **ATZ** 520 520 ))) 521 521 ))) 522 522 523 -((( 524 - 525 -))) 526 526 510 + 527 527 ((( 528 528 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 529 529 ))) ... ... @@ -532,35 +532,16 @@ 532 532 533 533 534 534 **Plus below command for AVI1 Counting:** 535 -))) 536 536 537 -(% class="box infomessage" %) 538 -((( 539 -((( 540 -**AT+SETCNT=3,60 (set AVI Count to 60)** 541 -))) 542 -))) 543 543 544 -(% class="box infomessage" %) 545 -((( 546 -((( 547 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 548 -))) 549 -))) 521 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 550 550 551 -(% class="box infomessage" %) 552 -((( 553 -((( 554 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 555 -))) 556 -))) 523 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 557 557 558 -(% class="box infomessage" %) 559 -((( 560 -((( 561 -**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 525 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)** (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 526 + 527 +(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)** (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 562 562 ))) 563 -))) 564 564 565 565 566 566 ... ... @@ -597,12 +597,7 @@ 597 597 ((( 598 598 ((( 599 599 **AT+MOD=5** 600 -))) 601 -))) 602 602 603 -(% class="box infomessage" %) 604 -((( 605 -((( 606 606 **ATZ** 607 607 ))) 608 608 ))) ... ... @@ -620,8 +620,8 @@ 620 620 621 621 For example, if user has configured below commands: 622 622 623 -* **AT+MOD=1 ** **~-~->** The normal working mode 624 -* **AT+ADDMOD6=1** **~-~->** Enable trigger 583 +* **AT+MOD=1 ** **~-~->** The normal working mode 584 +* **AT+ADDMOD6=1** **~-~->** Enable trigger 625 625 626 626 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 627 627 ... ... @@ -628,8 +628,9 @@ 628 628 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 629 629 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.** 630 630 631 -**AT Command to set Trigger Condition**: 591 +(% style="color:#037691" %)**AT Command to set Trigger Condition**: 632 632 593 + 633 633 (% style="color:#4f81bd" %)**Trigger base on voltage**: 634 634 635 635 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> ... ... @@ -664,7 +664,7 @@ 664 664 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 665 665 666 666 667 -**Downlink Command to set Trigger Condition:** 628 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 668 668 669 669 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 670 670 ... ... @@ -777,80 +777,68 @@ 777 777 778 778 === 3.4.2 Sensor related commands === 779 779 741 + 780 780 ==== 3.4.2.1 Set Transmit Interval ==== 781 781 782 782 Set device uplink interval. 783 783 784 -* AT Command: 746 +* (% style="color:#037691" %)**AT Command:** 785 785 786 -(% class="box infomessage" %) 787 -((( 788 788 **AT+TDC=N ** 789 -))) 790 790 750 + 791 791 **Example: **AT+TDC=30000. Means set interval to 30 seconds 792 792 793 793 794 -* Downlink Payload (prefix 0x01): 754 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 795 795 796 -(% class="box infomessage" %) 797 -((( 798 798 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 799 -))) 800 800 801 801 802 802 760 + 803 803 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 804 804 805 805 Set work mode. 806 806 807 -* AT Command: 765 +* (% style="color:#037691" %)**AT Command:** 808 808 809 -(% class="box infomessage" %) 810 -((( 811 811 **AT+MOD=N ** 812 -))) 813 813 769 + 814 814 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 815 815 816 816 817 -* Downlink Payload (prefix 0x0A): 773 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 818 818 819 -(% class="box infomessage" %) 820 -((( 821 -**0x0A aa ~/~/ Same as AT+MOD=aa** 822 -))) 775 +**0x0A aa ** ~/~/ Same as AT+MOD=aa 823 823 824 824 825 825 779 + 826 826 ==== 3.4.2.3 Poll an uplink ==== 827 827 828 -* AT Command: 782 +* (% style="color:#037691" %)**AT Command:** 829 829 830 830 There is no AT Command to poll uplink 831 831 832 832 833 -* Downlink Payload (prefix 0x08): 787 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):** 834 834 835 -(% class="box infomessage" %) 836 -((( 837 -**0x08 FF ~/~/ Poll an uplink,** 838 -))) 789 +**0x08 FF **~/~/ Poll an uplink 839 839 840 840 **Example**: 0x08FF, ask device to send an Uplink 841 841 842 842 843 843 795 + 844 844 ==== 3.4.2.4 Enable Trigger Mode ==== 845 845 846 846 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 847 847 848 -* AT Command: 800 +* (% style="color:#037691" %)**AT Command:** 849 849 850 -(% class="box infomessage" %) 851 -((( 852 852 **AT+ADDMOD6=1 or 0** 853 -))) 854 854 855 855 1: Enable Trigger Mode 856 856 ... ... @@ -857,43 +857,36 @@ 857 857 0: Disable Trigger Mode 858 858 859 859 860 -* Downlink Payload (prefix 0x0A 06): 809 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):** 861 861 862 -(% class="box infomessage" %) 863 -((( 864 -**0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 865 -))) 811 +**0x0A 06 aa ** ~/~/ Same as AT+ADDMOD6=aa 866 866 867 867 868 868 815 + 869 869 ==== 3.4.2.5 Poll trigger settings ==== 870 870 871 871 Poll trigger settings, 872 872 873 -* AT Command: 820 +* (% style="color:#037691" %)**AT Command:** 874 874 875 875 There is no AT Command for this feature. 876 876 877 877 878 -* Downlink Payload (prefix 0x AB 06): 825 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):** 879 879 880 -(% class="box infomessage" %) 881 -((( 882 -**0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 883 -))) 827 +**0xAB 06 **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command 884 884 885 885 886 886 831 + 887 887 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 888 888 889 889 Enable Disable DI1/DI2/DI2 as trigger, 890 890 891 -* AT Command: 836 +* (% style="color:#037691" %)**AT Command:** 892 892 893 -(% class="box infomessage" %) 894 -((( 895 895 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 896 -))) 897 897 898 898 899 899 **Example:** ... ... @@ -900,25 +900,20 @@ 900 900 901 901 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 902 902 903 -* Downlink Payload (prefix 0xAA 02): 845 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):** 904 904 905 -(% class="box infomessage" %) 906 -((( 907 -**0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 908 -))) 847 +**0xAA 02 aa bb **~/~/ Same as AT+DTRI=aa,bb 909 909 910 910 911 911 851 + 912 912 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 913 913 914 914 Set DI1 or DI3(for LT-33222-L) trigger. 915 915 916 -* AT Command: 856 +* (% style="color:#037691" %)**AT Command:** 917 917 918 -(% class="box infomessage" %) 919 -((( 920 920 **AT+TRIG1=a,b** 921 -))) 922 922 923 923 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 924 924 ... ... @@ -930,26 +930,18 @@ 930 930 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 931 931 932 932 933 -* Downlink Payload (prefix 0x09 01 ): 870 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 871 +* **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 934 934 935 -(% class="box infomessage" %) 936 -((( 937 -**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 938 -))) 939 - 940 - 941 - 942 942 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 943 943 944 944 Set DI2 trigger. 945 945 946 -* AT Command: 877 +* (% style="color:#037691" %)**AT Command:** 947 947 948 -(% class="box infomessage" %) 949 -((( 950 950 **AT+TRIG2=a,b** 951 -))) 952 952 881 + 953 953 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 954 954 955 955 b : delay timing. ... ... @@ -960,93 +960,78 @@ 960 960 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 961 961 962 962 963 -* Downlink Payload (prefix 0x09 02 ): 892 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):** 964 964 965 -(% class="box infomessage" %) 966 -((( 967 -**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 968 -))) 894 +**0x09 02 aa bb cc **~/~/ same as AT+TRIG1=aa,0x(bb cc) 969 969 970 970 971 971 898 + 972 972 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 973 973 974 974 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 975 975 976 -* AT Command :903 +* (% style="color:#037691" %)**AT Command** 977 977 978 -(% class="box infomessage" %) 979 -((( 980 -**AT+ACLIM. ** 981 -))) 905 +**AT+ACLIM** 982 982 983 983 984 -* Downlink Payload (prefix 0xAA 01 ) :908 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )** 985 985 986 -(% class="box infomessage" %) 987 -((( 988 -**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 989 -))) 910 +**0x AA 01 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 990 990 991 991 992 992 914 + 993 993 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 994 994 995 995 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 996 996 997 -* AT Command :919 +* (% style="color:#037691" %)**AT Command** 998 998 999 -(% class="box infomessage" %) 1000 -((( 1001 -**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1002 -))) 921 +**AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1003 1003 1004 1004 1005 -* Downlink Payload (prefix 0xAA 00 ) :924 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )** 1006 1006 1007 -(% class="box infomessage" %) 1008 -((( 1009 -**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ** 1010 -))) 926 +**0x AA 00 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1011 1011 1012 1012 1013 1013 930 + 1014 1014 ==== 3.4.2.11 Trigger – Set minimum interval ==== 1015 1015 1016 -Set AV and AC trigger minimum interval, system won ’t response to the second trigger within this set time after the first trigger.933 +Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger. 1017 1017 1018 -* AT Command :935 +* (% style="color:#037691" %)**AT Command** 1019 1019 1020 -(% class="box infomessage" %) 1021 -((( 1022 -**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1023 -))) 937 +**AT+ATDC=5 ** Device won't response the second trigger within 5 minute after the first trigger. 1024 1024 1025 1025 1026 -* Downlink Payload (prefix 0xAC ) :940 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )** 1027 1027 1028 -(% class="box infomessage" %) 942 +**0x AC aa bb ** ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 943 + 1029 1029 ((( 1030 -**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 945 + 946 + 947 +(% style="color:red" %)Note: ATDC setting must be more than 5min 1031 1031 ))) 1032 1032 1033 1033 1034 1034 952 + 1035 1035 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1036 1036 1037 -* AT Command :955 +* (% style="color:#037691" %)**AT Command** 1038 1038 1039 1039 There is no AT Command to control Digital Output 1040 1040 1041 1041 1042 -* Downlink Payload (prefix 0x02): 960 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)** 961 +* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 1043 1043 1044 -(% class="box infomessage" %) 1045 1045 ((( 1046 -**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 1047 -))) 1048 - 1049 -((( 1050 1050 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 1051 1051 ))) 1052 1052 ... ... @@ -1066,22 +1066,19 @@ 1066 1066 1067 1067 1068 1068 983 + 1069 1069 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1070 1070 1071 -* AT Command :986 +* (% style="color:#037691" %)**AT Command** 1072 1072 1073 1073 There is no AT Command to control Digital Output 1074 1074 1075 1075 1076 -* Downlink Payload (prefix 0xA9) :991 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)** 1077 1077 1078 -(% class="box infomessage" %) 1079 -((( 1080 -((( 1081 -**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 1082 -))) 1083 -))) 993 +**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 1084 1084 995 + 1085 1085 This is to control the digital output time of DO pin. Include four bytes: 1086 1086 1087 1087 (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) ... ... @@ -1135,20 +1135,19 @@ 1135 1135 1136 1136 1137 1137 1049 + 1138 1138 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1139 1139 1140 -* AT Command: 1052 +* (% style="color:#037691" %)**AT Command:** 1141 1141 1142 1142 There is no AT Command to control Relay Output 1143 1143 1144 1144 1145 -* Downlink Payload (prefix 0x03): 1057 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):** 1146 1146 1147 -(% class="box infomessage" %) 1148 -((( 1149 -**0x03 aa bb ~/~/ Set RO1/RO2 output** 1150 -))) 1059 +**0x03 aa bb **~/~/ Set RO1/RO2 output 1151 1151 1061 + 1152 1152 ((( 1153 1153 If payload = 0x030100, it means set RO1 to close and RO2 to open. 1154 1154 ))) ... ... @@ -1165,20 +1165,19 @@ 1165 1165 1166 1166 1167 1167 1078 + 1168 1168 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1169 1169 1170 -* AT Command: 1081 +* (% style="color:#037691" %)**AT Command:** 1171 1171 1172 1172 There is no AT Command to control Relay Output 1173 1173 1174 1174 1175 -* Downlink Payload (prefix 0x05): 1086 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1176 1176 1177 -(% class="box infomessage" %) 1178 -((( 1179 -**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1180 -))) 1088 +**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1181 1181 1090 + 1182 1182 This is to control the relay output time of relay. Include four bytes: 1183 1183 1184 1184 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1192,7 +1192,7 @@ 1192 1192 1193 1193 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1194 1194 1195 -[[image:image-20220 524093831-10.png]]1104 +[[image:image-20220714135731-1.png||height="406" width="627"]] 1196 1196 1197 1197 1198 1198 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms ... ... @@ -1202,53 +1202,46 @@ 1202 1202 1203 1203 **Example payload:** 1204 1204 1205 -**~1. 05 01 11 07 D 0**1114 +**~1. 05 01 11 07 D** 1206 1206 1207 -Relay1 and Relay 2 will be set to N O, last 2 seconds, then change back to original state.1116 +Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state. 1208 1208 1209 1209 **2. 05 01 10 07 D0** 1210 1210 1211 -Relay1 will change to N O, Relay2 will change to NC, last 2 seconds, then both change back to original state.1120 +Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then both change back to original state. 1212 1212 1213 1213 **3. 05 00 01 07 D0** 1214 1214 1215 -Relay1 will change to N C, Relay2 will change to NO, last 2 seconds, then relay change to NO,C.1124 +Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then relay change to NC,Relay2 change to NO. 1216 1216 1217 1217 **4. 05 00 00 07 D0** 1218 1218 1219 -Relay 1 & relay2 will change to N C, last 2 seconds, then both change to NO.1128 +Relay 1 & relay2 will change to NO, last 2 seconds, then both change to NC. 1220 1220 1221 1221 1222 1222 1132 + 1223 1223 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1224 1224 1225 1225 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1226 1226 1227 -* AT Command: 1137 +* (% style="color:#037691" %)**AT Command:** 1228 1228 1229 -(% class="box infomessage" %) 1230 -((( 1231 -**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1232 -))) 1139 +**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1233 1233 1234 1234 1235 -* Downlink Payload (prefix 0xA5): 1142 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):** 1236 1236 1237 -(% class="box infomessage" %) 1238 -((( 1239 -**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1240 -))) 1144 +**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1241 1241 1242 1242 1243 1243 1148 + 1244 1244 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1245 1245 1246 -* AT Command: 1151 +* (% style="color:#037691" %)**AT Command:** 1247 1247 1248 -(% class="box infomessage" %) 1249 -((( 1250 1250 **AT+SETCNT=aa,(bb cc dd ee) ** 1251 -))) 1252 1252 1253 1253 aa: 1: Set count1, 1254 1254 ... ... @@ -1259,51 +1259,40 @@ 1259 1259 Bb cc dd ee: number to be set 1260 1260 1261 1261 1262 -* Downlink Payload (prefix 0xA8): 1164 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):** 1263 1263 1264 -(% class="box infomessage" %) 1265 -((( 1266 -**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1267 -))) 1166 +**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1268 1268 1269 1269 1270 1270 1170 + 1271 1271 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1272 1272 1273 1273 Clear counting for counting mode 1274 1274 1275 -* AT Command: 1175 +* (% style="color:#037691" %)**AT Command:** 1276 1276 1277 -(% class="box infomessage" %) 1278 -((( 1279 -**AT+CLRCOUNT ~/~/ clear all counting** 1280 -))) 1177 +**AT+CLRCOUNT ** ~/~/ clear all counting 1281 1281 1282 -* Downlink Payload (prefix 0xA6): 1283 1283 1284 -(% class="box infomessage" %) 1285 -((( 1286 -**0x A6 01 ~/~/ clear all counting,** 1287 -))) 1180 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1288 1288 1182 +**0x A6 01 ** ~/~/ clear all counting 1289 1289 1290 1290 1185 + 1186 + 1291 1291 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1292 1292 1293 -* AT Command: 1189 +* (% style="color:#037691" %)**AT Command:** 1294 1294 1295 -(% class="box infomessage" %) 1296 -((( 1297 -**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1298 -))) 1191 +**AT+COUTIME=60 **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 1299 1299 1300 -* Downlink Payload (prefix 0xA7): 1301 1301 1302 -(% class="box infomessage" %) 1303 -((( 1304 -**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1305 -))) 1194 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1306 1306 1196 +**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1197 + 1307 1307 ((( 1308 1308 range: aa bb cc:0 to 16777215, (unit:second) 1309 1309 ... ... @@ -1311,6 +1311,7 @@ 1311 1311 ))) 1312 1312 1313 1313 1205 + 1314 1314 == 3.5 Integrate with Mydevice == 1315 1315 1316 1316 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: ... ... @@ -1323,12 +1323,11 @@ 1323 1323 (% 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: 1324 1324 ))) 1325 1325 1326 -[[image:1 653356737703-362.png||height="232" width="732"]]1218 +[[image:image-20220719105525-1.png||height="377" width="677"]] 1327 1327 1328 -[[image:image-20220524094641-11.png||height="390" width="723"]] 1329 1329 1330 1330 1331 -[[image:image-20220 524094641-12.png||height="402" width="718"]]1222 +[[image:image-20220719110247-2.png||height="388" width="683"]] 1332 1332 1333 1333 1334 1334 (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices. ... ... @@ -1540,6 +1540,7 @@ 1540 1540 [[image:image-20220524100748-11.png]] 1541 1541 1542 1542 1434 + 1543 1543 = 4. Use AT Command = 1544 1544 1545 1545 == 4.1 Access AT Command == ... ... @@ -1742,8 +1742,6 @@ 1742 1742 1743 1743 ((( 1744 1744 AT+CFG: Print all settings 1745 - 1746 - 1747 1747 ))) 1748 1748 1749 1749 ... ... @@ -1789,8 +1789,6 @@ 1789 1789 1790 1790 ((( 1791 1791 (% style="background-color:#dcdcdc" %)ATZ 1792 - 1793 - 1794 1794 ))) 1795 1795 1796 1796 ... ... @@ -1903,7 +1903,7 @@ 1903 1903 1904 1904 1905 1905 (% style="color:blue" %)**For LT-22222-L**(%%): 1906 -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. 1794 +Hold down the PRO button and then momentarily press the RST reset button and the (% style="color:red" %)**DO1 led**(%%) will change from OFF to ON. When (% style="color:red" %)**DO1 LED**(%%) is on, it means the device is in download mode. 1907 1907 ))) 1908 1908 1909 1909 [[image:image-20220524103407-12.png]] ... ... @@ -1997,6 +1997,8 @@ 1997 1997 == 5.5 Can i use point to point communication for LT-22222-L? == 1998 1998 1999 1999 Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] 1888 + 1889 + 2000 2000 ))) 2001 2001 2002 2002 ((( ... ... @@ -2010,12 +2010,13 @@ 2010 2010 2011 2011 After restart, the status before power failure will be read from flash. 2012 2012 1903 + 2013 2013 = 6. Trouble Shooting = 2014 2014 ))) 2015 2015 2016 2016 ((( 2017 2017 ((( 2018 -== 6.1 Downlink doesn ’t work, how to solve it? ==1909 +== 6.1 Downlink doesn't work, how to solve it? == 2019 2019 ))) 2020 2020 ))) 2021 2021 ... ... @@ -2036,7 +2036,7 @@ 2036 2036 ((( 2037 2037 2038 2038 2039 -== 6.3 Why I can ’t join TTN in US915 /AU915 bands? ==1930 +== 6.3 Why I can't join TTN in US915 /AU915 bands? == 2040 2040 ))) 2041 2041 2042 2042 ((( ... ... @@ -2044,24 +2044,22 @@ 2044 2044 ))) 2045 2045 2046 2046 2047 - 2048 2048 = 7. Order Info = 2049 2049 2050 2050 2051 2051 (% style="color:#4f81bd" %)**LT-22222-L-XXX:** 2052 2052 2053 - 2054 2054 (% style="color:#4f81bd" %)**XXX:** 2055 2055 2056 -* (% style="color: #4f81bd" %)**EU433**(%%): LT with frequency bands EU4332057 -* (% style="color: #4f81bd" %)**EU868**(%%): LT with frequency bands EU8682058 -* (% style="color: #4f81bd" %)**KR920**(%%): LT with frequency bands KR9202059 -* (% style="color: #4f81bd" %)**CN470**(%%): LT with frequency bands CN4702060 -* (% style="color: #4f81bd" %)**AS923**(%%): LT with frequency bands AS9232061 -* (% style="color: #4f81bd" %)**AU915**(%%): LT with frequency bands AU9152062 -* (% style="color: #4f81bd" %)**US915**(%%): LT with frequency bands US9152063 -* (% style="color: #4f81bd" %)**IN865**(%%): LT with frequency bands IN8652064 -* (% style="color: #4f81bd" %)**CN779**(%%): LT with frequency bands CN7791945 +* (% style="color:red" %)**EU433**(%%): LT with frequency bands EU433 1946 +* (% style="color:red" %)**EU868**(%%): LT with frequency bands EU868 1947 +* (% style="color:red" %)**KR920**(%%): LT with frequency bands KR920 1948 +* (% style="color:red" %)**CN470**(%%): LT with frequency bands CN470 1949 +* (% style="color:red" %)**AS923**(%%): LT with frequency bands AS923 1950 +* (% style="color:red" %)**AU915**(%%): LT with frequency bands AU915 1951 +* (% style="color:red" %)**US915**(%%): LT with frequency bands US915 1952 +* (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 1953 +* (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2065 2065 2066 2066 = 8. Packing Info = 2067 2067
- image-20220714135731-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +54.1 KB - Content
- image-20220719105525-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +165.5 KB - Content
- image-20220719110247-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.9 KB - Content