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:** ... ... @@ -19,6 +19,8 @@ 19 19 == 1.1 What is LT Series I/O Controller == 20 20 21 21 ((( 21 + 22 + 22 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. 23 23 ))) 24 24 ... ... @@ -40,6 +40,8 @@ 40 40 41 41 ((( 42 42 2) User can set up a LoRaWAN gateway locally and configure the controller to connect to the gateway via wireless. 44 + 45 + 43 43 ))) 44 44 45 45 ((( ... ... @@ -48,6 +48,7 @@ 48 48 49 49 ))) 50 50 54 + 51 51 == 1.2 Specifications == 52 52 53 53 ((( ... ... @@ -162,10 +162,15 @@ 162 162 ))) 163 163 * ((( 164 164 Packet engine up to 256 bytes with CRC. 169 + 170 + 171 + 172 + 165 165 ))) 166 166 167 167 == 1.3 Features == 168 168 177 + 169 169 * LoRaWAN Class A & Class C protocol 170 170 * Optional Customized LoRa Protocol 171 171 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865 ... ... @@ -174,8 +174,13 @@ 174 174 * Firmware upgradable via program port 175 175 * Counting 176 176 186 + 187 + 188 + 189 + 177 177 == 1.4 Applications == 178 178 192 + 179 179 * Smart Buildings & Home Automation 180 180 * Logistics and Supply Chain Management 181 181 * Smart Metering ... ... @@ -183,8 +183,13 @@ 183 183 * Smart Cities 184 184 * Smart Factory 185 185 200 + 201 + 202 + 203 + 186 186 == 1.5 Hardware Variants == 187 187 206 + 188 188 (% border="1" style="background-color:#f7faff; width:500px" %) 189 189 |(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description** 190 190 |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)((( ... ... @@ -196,8 +196,12 @@ 196 196 * 1 x Counting Port 197 197 ))) 198 198 218 + 219 + 220 + 199 199 = 2. Power ON Device = 200 200 223 + 201 201 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. 202 202 203 203 ((( ... ... @@ -212,19 +212,24 @@ 212 212 213 213 == 3.1 How it works? == 214 214 238 + 215 215 ((( 216 -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. 217 217 ))) 218 218 219 219 ((( 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.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. 221 221 ))) 222 222 223 223 248 + 224 224 == 3.2 Example to join LoRaWAN network == 225 225 251 + 226 226 ((( 227 227 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 + 228 228 ))) 229 229 230 230 [[image:image-20220523172350-1.png||height="266" width="864"]] ... ... @@ -232,6 +232,8 @@ 232 232 233 233 ((( 234 234 The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN: 263 + 264 + 235 235 ))) 236 236 237 237 ((( ... ... @@ -269,14 +269,13 @@ 269 269 270 270 There are five working modes + one interrupt mode on LT for different type application: 271 271 272 -* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO 273 -* **MOD2**: Double DI Counting + DO + RO 274 -* **MOD3**: Single DI Counting + 2 x ACI + DO + RO 275 -* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO 276 -* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 277 -* **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 278 278 279 - 280 280 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 281 281 282 282 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -315,8 +315,6 @@ 315 315 * [1] RO1 relay channel is close and the RO1 LED is ON. 316 316 * [0] RO2 relay channel is open and RO2 LED is OFF; 317 317 318 - 319 - 320 320 **LT22222-L:** 321 321 322 322 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -332,7 +332,6 @@ 332 332 ** DO1 is high in case there is load between DO1 and V+. 333 333 ** DO1 LED is off in both case 334 334 335 - 336 336 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 337 337 338 338 ... ... @@ -369,12 +369,7 @@ 369 369 ((( 370 370 ((( 371 371 **AT+MOD=2** 372 -))) 373 -))) 374 374 375 -(% class="box infomessage" %) 376 -((( 377 -((( 378 378 **ATZ** 379 379 ))) 380 380 ))) ... ... @@ -387,49 +387,20 @@ 387 387 388 388 ((( 389 389 **For LT22222-L:** 390 -))) 391 391 392 -(% class="box infomessage" %) 393 -((( 394 -((( 395 -**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 396 -))) 397 -))) 398 398 399 -(% class="box infomessage" %) 400 -((( 401 -((( 402 -**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 403 -))) 404 -))) 413 +(% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (set DI1 port to trigger on low level, valid signal is 100ms) ** 405 405 406 -(% class="box infomessage" %) 407 -((( 408 -((( 409 -**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 410 -))) 411 -))) 415 +(% style="color:blue" %)**AT+TRIG1=1,100**(%%)** (set DI1 port to trigger on high level, valid signal is 100ms ) ** 412 412 413 -(% class="box infomessage" %) 414 -((( 415 -((( 416 -**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 417 -))) 418 -))) 417 +(% style="color:blue" %)**AT+TRIG2=0,100**(%%)** (set DI2 port to trigger on low level, valid signal is 100ms) ** 419 419 420 -(% class="box infomessage" %) 421 -((( 422 -((( 423 -**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 424 -))) 425 -))) 419 +(% style="color:blue" %)**AT+TRIG2=1,100**(%%)** (set DI2 port to trigger on high level, valid signal is 100ms ) ** 426 426 427 -(% class="box infomessage" %) 428 -((( 429 -((( 430 -**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)** 431 431 ))) 432 -))) 433 433 434 434 435 435 ... ... @@ -440,6 +440,8 @@ 440 440 [[image:image-20220523181246-5.png]] 441 441 442 442 ((( 435 + 436 + 443 443 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 444 444 ))) 445 445 ... ... @@ -453,6 +453,7 @@ 453 453 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 454 454 ))) 455 455 450 + 456 456 ((( 457 457 **To use counting mode, please run:** 458 458 ))) ... ... @@ -461,12 +461,7 @@ 461 461 ((( 462 462 ((( 463 463 **AT+MOD=3** 464 -))) 465 -))) 466 466 467 -(% class="box infomessage" %) 468 -((( 469 -((( 470 470 **ATZ** 471 471 ))) 472 472 ))) ... ... @@ -511,20 +511,13 @@ 511 511 ((( 512 512 ((( 513 513 **AT+MOD=4** 514 -))) 515 -))) 516 516 517 -(% class="box infomessage" %) 518 -((( 519 -((( 520 520 **ATZ** 521 521 ))) 522 522 ))) 523 523 524 -((( 525 - 526 -))) 527 527 510 + 528 528 ((( 529 529 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 530 530 ))) ... ... @@ -533,35 +533,16 @@ 533 533 534 534 535 535 **Plus below command for AVI1 Counting:** 536 -))) 537 537 538 -(% class="box infomessage" %) 539 -((( 540 -((( 541 -**AT+SETCNT=3,60 (set AVI Count to 60)** 542 -))) 543 -))) 544 544 545 -(% class="box infomessage" %) 546 -((( 547 -((( 548 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 549 -))) 550 -))) 521 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 551 551 552 -(% class="box infomessage" %) 553 -((( 554 -((( 555 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 556 -))) 557 -))) 523 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 558 558 559 -(% class="box infomessage" %) 560 -((( 561 -((( 562 -**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)** 563 563 ))) 564 -))) 565 565 566 566 567 567 ... ... @@ -598,12 +598,7 @@ 598 598 ((( 599 599 ((( 600 600 **AT+MOD=5** 601 -))) 602 -))) 603 603 604 -(% class="box infomessage" %) 605 -((( 606 -((( 607 607 **ATZ** 608 608 ))) 609 609 ))) ... ... @@ -621,8 +621,8 @@ 621 621 622 622 For example, if user has configured below commands: 623 623 624 -* **AT+MOD=1 ** **~-~->** The normal working mode 625 -* **AT+ADDMOD6=1** **~-~->** Enable trigger 583 +* **AT+MOD=1 ** **~-~->** The normal working mode 584 +* **AT+ADDMOD6=1** **~-~->** Enable trigger 626 626 627 627 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 628 628 ... ... @@ -629,8 +629,9 @@ 629 629 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 630 630 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.** 631 631 632 -**AT Command to set Trigger Condition**: 591 +(% style="color:#037691" %)**AT Command to set Trigger Condition**: 633 633 593 + 634 634 (% style="color:#4f81bd" %)**Trigger base on voltage**: 635 635 636 636 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> ... ... @@ -665,7 +665,7 @@ 665 665 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 666 666 667 667 668 -**Downlink Command to set Trigger Condition:** 628 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:** 669 669 670 670 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 671 671 ... ... @@ -770,9 +770,6 @@ 770 770 771 771 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 772 772 773 - 774 - 775 - 776 776 === 3.4.1 Common Commands === 777 777 778 778 They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] ... ... @@ -781,80 +781,68 @@ 781 781 782 782 === 3.4.2 Sensor related commands === 783 783 741 + 784 784 ==== 3.4.2.1 Set Transmit Interval ==== 785 785 786 786 Set device uplink interval. 787 787 788 -* AT Command: 746 +* (% style="color:#037691" %)**AT Command:** 789 789 790 -(% class="box infomessage" %) 791 -((( 792 792 **AT+TDC=N ** 793 -))) 794 794 750 + 795 795 **Example: **AT+TDC=30000. Means set interval to 30 seconds 796 796 797 797 798 -* Downlink Payload (prefix 0x01): 754 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):** 799 799 800 -(% class="box infomessage" %) 801 -((( 802 802 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 803 -))) 804 804 805 805 806 806 760 + 807 807 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 808 808 809 809 Set work mode. 810 810 811 -* AT Command: 765 +* (% style="color:#037691" %)**AT Command:** 812 812 813 -(% class="box infomessage" %) 814 -((( 815 815 **AT+MOD=N ** 816 -))) 817 817 769 + 818 818 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 819 819 820 820 821 -* Downlink Payload (prefix 0x0A): 773 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):** 822 822 823 -(% class="box infomessage" %) 824 -((( 825 -**0x0A aa ~/~/ Same as AT+MOD=aa** 826 -))) 775 +**0x0A aa ** ~/~/ Same as AT+MOD=aa 827 827 828 828 829 829 779 + 830 830 ==== 3.4.2.3 Poll an uplink ==== 831 831 832 -* AT Command: 782 +* (% style="color:#037691" %)**AT Command:** 833 833 834 834 There is no AT Command to poll uplink 835 835 836 836 837 -* Downlink Payload (prefix 0x08): 787 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):** 838 838 839 -(% class="box infomessage" %) 840 -((( 841 -**0x08 FF ~/~/ Poll an uplink,** 842 -))) 789 +**0x08 FF **~/~/ Poll an uplink 843 843 844 844 **Example**: 0x08FF, ask device to send an Uplink 845 845 846 846 847 847 795 + 848 848 ==== 3.4.2.4 Enable Trigger Mode ==== 849 849 850 850 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 851 851 852 -* AT Command: 800 +* (% style="color:#037691" %)**AT Command:** 853 853 854 -(% class="box infomessage" %) 855 -((( 856 856 **AT+ADDMOD6=1 or 0** 857 -))) 858 858 859 859 1: Enable Trigger Mode 860 860 ... ... @@ -861,43 +861,36 @@ 861 861 0: Disable Trigger Mode 862 862 863 863 864 -* Downlink Payload (prefix 0x0A 06): 809 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):** 865 865 866 -(% class="box infomessage" %) 867 -((( 868 -**0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 869 -))) 811 +**0x0A 06 aa ** ~/~/ Same as AT+ADDMOD6=aa 870 870 871 871 872 872 815 + 873 873 ==== 3.4.2.5 Poll trigger settings ==== 874 874 875 875 Poll trigger settings, 876 876 877 -* AT Command: 820 +* (% style="color:#037691" %)**AT Command:** 878 878 879 879 There is no AT Command for this feature. 880 880 881 881 882 -* Downlink Payload (prefix 0x AB 06): 825 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):** 883 883 884 -(% class="box infomessage" %) 885 -((( 886 -**0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 887 -))) 827 +**0xAB 06 **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command 888 888 889 889 890 890 831 + 891 891 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 892 892 893 893 Enable Disable DI1/DI2/DI2 as trigger, 894 894 895 -* AT Command: 836 +* (% style="color:#037691" %)**AT Command:** 896 896 897 -(% class="box infomessage" %) 898 -((( 899 899 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 900 -))) 901 901 902 902 903 903 **Example:** ... ... @@ -904,25 +904,20 @@ 904 904 905 905 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 906 906 907 -* Downlink Payload (prefix 0xAA 02): 845 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):** 908 908 909 -(% class="box infomessage" %) 910 -((( 911 -**0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 912 -))) 847 +**0xAA 02 aa bb **~/~/ Same as AT+DTRI=aa,bb 913 913 914 914 915 915 851 + 916 916 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 917 917 918 918 Set DI1 or DI3(for LT-33222-L) trigger. 919 919 920 -* AT Command: 856 +* (% style="color:#037691" %)**AT Command:** 921 921 922 -(% class="box infomessage" %) 923 -((( 924 924 **AT+TRIG1=a,b** 925 -))) 926 926 927 927 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 928 928 ... ... @@ -934,26 +934,18 @@ 934 934 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 935 935 936 936 937 -* 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) 938 938 939 -(% class="box infomessage" %) 940 -((( 941 -**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 942 -))) 943 - 944 - 945 - 946 946 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 947 947 948 948 Set DI2 trigger. 949 949 950 -* AT Command: 877 +* (% style="color:#037691" %)**AT Command:** 951 951 952 -(% class="box infomessage" %) 953 -((( 954 954 **AT+TRIG2=a,b** 955 -))) 956 956 881 + 957 957 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 958 958 959 959 b : delay timing. ... ... @@ -964,93 +964,78 @@ 964 964 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 965 965 966 966 967 -* Downlink Payload (prefix 0x09 02 ): 892 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):** 968 968 969 -(% class="box infomessage" %) 970 -((( 971 -**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 972 -))) 894 +**0x09 02 aa bb cc **~/~/ same as AT+TRIG1=aa,0x(bb cc) 973 973 974 974 975 975 898 + 976 976 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 977 977 978 978 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 979 979 980 -* AT Command :903 +* (% style="color:#037691" %)**AT Command** 981 981 982 -(% class="box infomessage" %) 983 -((( 984 -**AT+ACLIM. ** 985 -))) 905 +**AT+ACLIM** 986 986 987 987 988 -* Downlink Payload (prefix 0xAA 01 ) :908 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )** 989 989 990 -(% class="box infomessage" %) 991 -((( 992 -**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 993 -))) 910 +**0x AA 01 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 994 994 995 995 996 996 914 + 997 997 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 998 998 999 999 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1000 1000 1001 -* AT Command :919 +* (% style="color:#037691" %)**AT Command** 1002 1002 1003 -(% class="box infomessage" %) 1004 -((( 1005 -**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1006 -))) 921 +**AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1007 1007 1008 1008 1009 -* Downlink Payload (prefix 0xAA 00 ) :924 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )** 1010 1010 1011 -(% class="box infomessage" %) 1012 -((( 1013 -**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ** 1014 -))) 926 +**0x AA 00 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1015 1015 1016 1016 1017 1017 930 + 1018 1018 ==== 3.4.2.11 Trigger – Set minimum interval ==== 1019 1019 1020 -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. 1021 1021 1022 -* AT Command :935 +* (% style="color:#037691" %)**AT Command** 1023 1023 1024 -(% class="box infomessage" %) 1025 -((( 1026 -**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1027 -))) 937 +**AT+ATDC=5 ** Device won't response the second trigger within 5 minute after the first trigger. 1028 1028 1029 1029 1030 -* Downlink Payload (prefix 0xAC ) :940 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )** 1031 1031 1032 -(% class="box infomessage" %) 942 +**0x AC aa bb ** ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 943 + 1033 1033 ((( 1034 -**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 1035 1035 ))) 1036 1036 1037 1037 1038 1038 952 + 1039 1039 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 1040 1040 1041 -* AT Command :955 +* (% style="color:#037691" %)**AT Command** 1042 1042 1043 1043 There is no AT Command to control Digital Output 1044 1044 1045 1045 1046 -* Downlink Payload (prefix 0x02): 960 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)** 961 +* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 1047 1047 1048 -(% class="box infomessage" %) 1049 1049 ((( 1050 -**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 1051 -))) 1052 - 1053 -((( 1054 1054 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 1055 1055 ))) 1056 1056 ... ... @@ -1070,22 +1070,19 @@ 1070 1070 1071 1071 1072 1072 983 + 1073 1073 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 1074 1074 1075 -* AT Command :986 +* (% style="color:#037691" %)**AT Command** 1076 1076 1077 1077 There is no AT Command to control Digital Output 1078 1078 1079 1079 1080 -* Downlink Payload (prefix 0xA9) :991 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)** 1081 1081 1082 -(% class="box infomessage" %) 1083 -((( 1084 -((( 1085 -**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 1086 -))) 1087 -))) 993 +**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 1088 1088 995 + 1089 1089 This is to control the digital output time of DO pin. Include four bytes: 1090 1090 1091 1091 (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) ... ... @@ -1139,20 +1139,19 @@ 1139 1139 1140 1140 1141 1141 1049 + 1142 1142 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1143 1143 1144 -* AT Command: 1052 +* (% style="color:#037691" %)**AT Command:** 1145 1145 1146 1146 There is no AT Command to control Relay Output 1147 1147 1148 1148 1149 -* Downlink Payload (prefix 0x03): 1057 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):** 1150 1150 1151 -(% class="box infomessage" %) 1152 -((( 1153 -**0x03 aa bb ~/~/ Set RO1/RO2 output** 1154 -))) 1059 +**0x03 aa bb **~/~/ Set RO1/RO2 output 1155 1155 1061 + 1156 1156 ((( 1157 1157 If payload = 0x030100, it means set RO1 to close and RO2 to open. 1158 1158 ))) ... ... @@ -1169,20 +1169,19 @@ 1169 1169 1170 1170 1171 1171 1078 + 1172 1172 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1173 1173 1174 -* AT Command: 1081 +* (% style="color:#037691" %)**AT Command:** 1175 1175 1176 1176 There is no AT Command to control Relay Output 1177 1177 1178 1178 1179 -* Downlink Payload (prefix 0x05): 1086 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):** 1180 1180 1181 -(% class="box infomessage" %) 1182 -((( 1183 -**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1184 -))) 1088 +**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1185 1185 1090 + 1186 1186 This is to control the relay output time of relay. Include four bytes: 1187 1187 1188 1188 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1196,7 +1196,7 @@ 1196 1196 1197 1197 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1198 1198 1199 -[[image:image-20220 524093831-10.png]]1104 +[[image:image-20220714135731-1.png||height="406" width="627"]] 1200 1200 1201 1201 1202 1202 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms ... ... @@ -1206,53 +1206,46 @@ 1206 1206 1207 1207 **Example payload:** 1208 1208 1209 -**~1. 05 01 11 07 D 0**1114 +**~1. 05 01 11 07 D** 1210 1210 1211 -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. 1212 1212 1213 1213 **2. 05 01 10 07 D0** 1214 1214 1215 -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. 1216 1216 1217 1217 **3. 05 00 01 07 D0** 1218 1218 1219 -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. 1220 1220 1221 1221 **4. 05 00 00 07 D0** 1222 1222 1223 -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. 1224 1224 1225 1225 1226 1226 1132 + 1227 1227 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1228 1228 1229 1229 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1230 1230 1231 -* AT Command: 1137 +* (% style="color:#037691" %)**AT Command:** 1232 1232 1233 -(% class="box infomessage" %) 1234 -((( 1235 -**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1236 -))) 1139 +**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1237 1237 1238 1238 1239 -* Downlink Payload (prefix 0xA5): 1142 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):** 1240 1240 1241 -(% class="box infomessage" %) 1242 -((( 1243 -**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1244 -))) 1144 +**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1245 1245 1246 1246 1247 1247 1148 + 1248 1248 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1249 1249 1250 -* AT Command: 1151 +* (% style="color:#037691" %)**AT Command:** 1251 1251 1252 -(% class="box infomessage" %) 1253 -((( 1254 1254 **AT+SETCNT=aa,(bb cc dd ee) ** 1255 -))) 1256 1256 1257 1257 aa: 1: Set count1, 1258 1258 ... ... @@ -1263,51 +1263,40 @@ 1263 1263 Bb cc dd ee: number to be set 1264 1264 1265 1265 1266 -* Downlink Payload (prefix 0xA8): 1164 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):** 1267 1267 1268 -(% class="box infomessage" %) 1269 -((( 1270 -**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1271 -))) 1166 +**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1272 1272 1273 1273 1274 1274 1170 + 1275 1275 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1276 1276 1277 1277 Clear counting for counting mode 1278 1278 1279 -* AT Command: 1175 +* (% style="color:#037691" %)**AT Command:** 1280 1280 1281 -(% class="box infomessage" %) 1282 -((( 1283 -**AT+CLRCOUNT ~/~/ clear all counting** 1284 -))) 1177 +**AT+CLRCOUNT ** ~/~/ clear all counting 1285 1285 1286 -* Downlink Payload (prefix 0xA6): 1287 1287 1288 -(% class="box infomessage" %) 1289 -((( 1290 -**0x A6 01 ~/~/ clear all counting,** 1291 -))) 1180 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1292 1292 1182 +**0x A6 01 ** ~/~/ clear all counting 1293 1293 1294 1294 1185 + 1186 + 1295 1295 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1296 1296 1297 -* AT Command: 1189 +* (% style="color:#037691" %)**AT Command:** 1298 1298 1299 -(% class="box infomessage" %) 1300 -((( 1301 -**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1302 -))) 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) 1303 1303 1304 -* Downlink Payload (prefix 0xA7): 1305 1305 1306 -(% class="box infomessage" %) 1307 -((( 1308 -**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1309 -))) 1194 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1310 1310 1196 +**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1197 + 1311 1311 ((( 1312 1312 range: aa bb cc:0 to 16777215, (unit:second) 1313 1313 ... ... @@ -1315,6 +1315,7 @@ 1315 1315 ))) 1316 1316 1317 1317 1205 + 1318 1318 == 3.5 Integrate with Mydevice == 1319 1319 1320 1320 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: ... ... @@ -1327,12 +1327,11 @@ 1327 1327 (% 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: 1328 1328 ))) 1329 1329 1330 -[[image:1 653356737703-362.png||height="232" width="732"]]1218 +[[image:image-20220719105525-1.png||height="377" width="677"]] 1331 1331 1332 -[[image:image-20220524094641-11.png||height="390" width="723"]] 1333 1333 1334 1334 1335 -[[image:image-20220 524094641-12.png||height="402" width="718"]]1222 +[[image:image-20220719110247-2.png||height="388" width="683"]] 1336 1336 1337 1337 1338 1338 (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices. ... ... @@ -1544,6 +1544,7 @@ 1544 1544 [[image:image-20220524100748-11.png]] 1545 1545 1546 1546 1434 + 1547 1547 = 4. Use AT Command = 1548 1548 1549 1549 == 4.1 Access AT Command == ... ... @@ -1746,8 +1746,6 @@ 1746 1746 1747 1747 ((( 1748 1748 AT+CFG: Print all settings 1749 - 1750 - 1751 1751 ))) 1752 1752 1753 1753 ... ... @@ -1793,8 +1793,6 @@ 1793 1793 1794 1794 ((( 1795 1795 (% style="background-color:#dcdcdc" %)ATZ 1796 - 1797 - 1798 1798 ))) 1799 1799 1800 1800 ... ... @@ -1907,7 +1907,7 @@ 1907 1907 1908 1908 1909 1909 (% style="color:blue" %)**For LT-22222-L**(%%): 1910 -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. 1911 1911 ))) 1912 1912 1913 1913 [[image:image-20220524103407-12.png]] ... ... @@ -2001,17 +2001,28 @@ 2001 2001 == 5.5 Can i use point to point communication for LT-22222-L? == 2002 2002 2003 2003 Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] 1888 + 1889 + 2004 2004 ))) 2005 2005 2006 2006 ((( 2007 - 1893 +== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? == 2008 2008 1895 +If the device is not shut down, but directly powered off. 1896 + 1897 +It will default that this is a power-off state. 1898 + 1899 +In modes 2 to 5, DO RO status and pulse count are saved in flash. 1900 + 1901 +After restart, the status before power failure will be read from flash. 1902 + 1903 + 2009 2009 = 6. Trouble Shooting = 2010 2010 ))) 2011 2011 2012 2012 ((( 2013 2013 ((( 2014 -== 6.1 Downlink doesn ’t work, how to solve it? ==1909 +== 6.1 Downlink doesn't work, how to solve it? == 2015 2015 ))) 2016 2016 ))) 2017 2017 ... ... @@ -2032,7 +2032,7 @@ 2032 2032 ((( 2033 2033 2034 2034 2035 -== 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? == 2036 2036 ))) 2037 2037 2038 2038 ((( ... ... @@ -2040,24 +2040,22 @@ 2040 2040 ))) 2041 2041 2042 2042 2043 - 2044 2044 = 7. Order Info = 2045 2045 2046 2046 2047 2047 (% style="color:#4f81bd" %)**LT-22222-L-XXX:** 2048 2048 2049 - 2050 2050 (% style="color:#4f81bd" %)**XXX:** 2051 2051 2052 -* (% style="color: #4f81bd" %)**EU433**(%%): LT with frequency bands EU4332053 -* (% style="color: #4f81bd" %)**EU868**(%%): LT with frequency bands EU8682054 -* (% style="color: #4f81bd" %)**KR920**(%%): LT with frequency bands KR9202055 -* (% style="color: #4f81bd" %)**CN470**(%%): LT with frequency bands CN4702056 -* (% style="color: #4f81bd" %)**AS923**(%%): LT with frequency bands AS9232057 -* (% style="color: #4f81bd" %)**AU915**(%%): LT with frequency bands AU9152058 -* (% style="color: #4f81bd" %)**US915**(%%): LT with frequency bands US9152059 -* (% style="color: #4f81bd" %)**IN865**(%%): LT with frequency bands IN8652060 -* (% 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 2061 2061 2062 2062 = 8. Packing Info = 2063 2063
- 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