Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 3 removed)
Details
- Page properties
-
- Content
-
... ... @@ -1,6 +1,7 @@ 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 ** 4 4 5 5 6 6 **Table of Contents:** ... ... @@ -41,8 +41,6 @@ 41 41 42 42 ((( 43 43 2) User can set up a LoRaWAN gateway locally and configure the controller to connect to the gateway via wireless. 44 - 45 - 46 46 ))) 47 47 48 48 ((( ... ... @@ -174,7 +174,6 @@ 174 174 175 175 == 1.3 Features == 176 176 177 - 178 178 * LoRaWAN Class A & Class C protocol 179 179 * Optional Customized LoRa Protocol 180 180 * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865 ... ... @@ -186,10 +186,8 @@ 186 186 187 187 188 188 189 - 190 190 == 1.4 Applications == 191 191 192 - 193 193 * Smart Buildings & Home Automation 194 194 * Logistics and Supply Chain Management 195 195 * Smart Metering ... ... @@ -200,10 +200,8 @@ 200 200 201 201 202 202 203 - 204 204 == 1.5 Hardware Variants == 205 205 206 - 207 207 (% border="1" style="background-color:#f7faff; width:500px" %) 208 208 |(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description** 209 209 |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)((( ... ... @@ -217,10 +217,8 @@ 217 217 218 218 219 219 220 - 221 221 = 2. Power ON Device = 222 222 223 - 224 224 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. 225 225 226 226 ((( ... ... @@ -235,24 +235,19 @@ 235 235 236 236 == 3.1 How it works? == 237 237 238 - 239 239 ((( 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.231 +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. 241 241 ))) 242 242 243 243 ((( 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.235 +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. 245 245 ))) 246 246 247 247 248 - 249 249 == 3.2 Example to join LoRaWAN network == 250 250 251 - 252 252 ((( 253 253 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 - 256 256 ))) 257 257 258 258 [[image:image-20220523172350-1.png||height="266" width="864"]] ... ... @@ -260,8 +260,6 @@ 260 260 261 261 ((( 262 262 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 - 265 265 ))) 266 266 267 267 ((( ... ... @@ -299,13 +299,16 @@ 299 299 300 300 There are five working modes + one interrupt mode on LT for different type application: 301 301 302 -* (% style="color:blue" %)**MOD1**(%%): (default setting): 2 x ACI + 2AVI + DI + DO + RO303 -* (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO304 -* (% style="color:blue" %)**MOD3**(%%): Single DI Counting + 2 x ACI + DO + RO305 -* (% style="color:blue" %)**MOD4**(%%): Single DI Counting + 1 x Voltage Counting + DO + RO306 -* (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO307 -* (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5287 +* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO 288 +* **MOD2**: Double DI Counting + DO + RO 289 +* **MOD3**: Single DI Counting + 2 x ACI + DO + RO 290 +* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO 291 +* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 292 +* **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5 308 308 294 + 295 + 296 + 309 309 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 310 310 311 311 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. ... ... @@ -395,7 +395,12 @@ 395 395 ((( 396 396 ((( 397 397 **AT+MOD=2** 386 +))) 387 +))) 398 398 389 +(% class="box infomessage" %) 390 +((( 391 +((( 399 399 **ATZ** 400 400 ))) 401 401 ))) ... ... @@ -408,20 +408,49 @@ 408 408 409 409 ((( 410 410 **For LT22222-L:** 404 +))) 411 411 406 +(% class="box infomessage" %) 407 +((( 408 +((( 409 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) ** 410 +))) 411 +))) 412 412 413 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (set DI1 port to trigger on low level, valid signal is 100ms) ** 413 +(% class="box infomessage" %) 414 +((( 415 +((( 416 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) ** 417 +))) 418 +))) 414 414 415 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)** (set DI1 port to trigger on high level, valid signal is 100ms ) ** 420 +(% class="box infomessage" %) 421 +((( 422 +((( 423 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) ** 424 +))) 425 +))) 416 416 417 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)** (set DI2 port to trigger on low level, valid signal is 100ms) ** 427 +(% class="box infomessage" %) 428 +((( 429 +((( 430 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 431 +))) 432 +))) 418 418 419 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)** (set DI2 port to trigger on high level, valid signal is 100ms ) ** 434 +(% class="box infomessage" %) 435 +((( 436 +((( 437 +**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 438 +))) 439 +))) 420 420 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)** 441 +(% class="box infomessage" %) 442 +((( 443 +((( 444 +**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 424 424 ))) 446 +))) 425 425 426 426 427 427 ... ... @@ -432,8 +432,6 @@ 432 432 [[image:image-20220523181246-5.png]] 433 433 434 434 ((( 435 - 436 - 437 437 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 438 438 ))) 439 439 ... ... @@ -447,7 +447,6 @@ 447 447 (% style="color:red" %)Note: DO3 is not valid for LT-22222-L. 448 448 ))) 449 449 450 - 451 451 ((( 452 452 **To use counting mode, please run:** 453 453 ))) ... ... @@ -456,7 +456,12 @@ 456 456 ((( 457 457 ((( 458 458 **AT+MOD=3** 478 +))) 479 +))) 459 459 481 +(% class="box infomessage" %) 482 +((( 483 +((( 460 460 **ATZ** 461 461 ))) 462 462 ))) ... ... @@ -501,13 +501,20 @@ 501 501 ((( 502 502 ((( 503 503 **AT+MOD=4** 528 +))) 529 +))) 504 504 531 +(% class="box infomessage" %) 532 +((( 533 +((( 505 505 **ATZ** 506 506 ))) 507 507 ))) 508 508 538 +((( 539 + 540 +))) 509 509 510 - 511 511 ((( 512 512 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 513 513 ))) ... ... @@ -516,16 +516,35 @@ 516 516 517 517 518 518 **Plus below command for AVI1 Counting:** 550 +))) 519 519 552 +(% class="box infomessage" %) 553 +((( 554 +((( 555 +**AT+SETCNT=3,60 (set AVI Count to 60)** 556 +))) 557 +))) 520 520 521 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 559 +(% class="box infomessage" %) 560 +((( 561 +((( 562 +**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 563 +))) 564 +))) 522 522 523 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 566 +(% class="box infomessage" %) 567 +((( 568 +((( 569 +**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 570 +))) 571 +))) 524 524 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)** 573 +(% class="box infomessage" %) 574 +((( 575 +((( 576 +**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 528 528 ))) 578 +))) 529 529 530 530 531 531 ... ... @@ -562,7 +562,12 @@ 562 562 ((( 563 563 ((( 564 564 **AT+MOD=5** 615 +))) 616 +))) 565 565 618 +(% class="box infomessage" %) 619 +((( 620 +((( 566 566 **ATZ** 567 567 ))) 568 568 ))) ... ... @@ -580,8 +580,8 @@ 580 580 581 581 For example, if user has configured below commands: 582 582 583 -* **AT+MOD=1 ** 584 -* **AT+ADDMOD6=1** **~-~->** 638 +* **AT+MOD=1 ** **~-~->** The normal working mode 639 +* **AT+ADDMOD6=1** **~-~->** Enable trigger 585 585 586 586 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 587 587 ... ... @@ -588,9 +588,8 @@ 588 588 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 589 589 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.** 590 590 591 - (% style="color:#037691" %)**AT Command to set Trigger Condition**:646 +**AT Command to set Trigger Condition**: 592 592 593 - 594 594 (% style="color:#4f81bd" %)**Trigger base on voltage**: 595 595 596 596 Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH> ... ... @@ -625,7 +625,7 @@ 625 625 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 626 626 627 627 628 - (% style="color:#037691" %)**Downlink Command to set Trigger Condition:**682 +**Downlink Command to set Trigger Condition:** 629 629 630 630 Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM** 631 631 ... ... @@ -738,68 +738,80 @@ 738 738 739 739 === 3.4.2 Sensor related commands === 740 740 741 - 742 742 ==== 3.4.2.1 Set Transmit Interval ==== 743 743 744 744 Set device uplink interval. 745 745 746 -* (% style="color:#037691" %)**AT Command:**799 +* AT Command: 747 747 801 +(% class="box infomessage" %) 802 +((( 748 748 **AT+TDC=N ** 804 +))) 749 749 750 - 751 751 **Example: **AT+TDC=30000. Means set interval to 30 seconds 752 752 753 753 754 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**809 +* Downlink Payload (prefix 0x01): 755 755 811 +(% class="box infomessage" %) 812 +((( 756 756 **0x01 aa bb cc ~/~/ Same as AT+TDC=0x(aa bb cc)** 814 +))) 757 757 758 758 759 759 760 - 761 761 ==== 3.4.2.2 Set Work Mode (AT+MOD) ==== 762 762 763 763 Set work mode. 764 764 765 -* (% style="color:#037691" %)**AT Command:**822 +* AT Command: 766 766 824 +(% class="box infomessage" %) 825 +((( 767 767 **AT+MOD=N ** 827 +))) 768 768 769 - 770 770 **Example**: AT+MOD=2. Set work mode to Double DI counting mode 771 771 772 772 773 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**832 +* Downlink Payload (prefix 0x0A): 774 774 775 -**0x0A aa ** ~/~/ Same as AT+MOD=aa 834 +(% class="box infomessage" %) 835 +((( 836 +**0x0A aa ~/~/ Same as AT+MOD=aa** 837 +))) 776 776 777 777 778 778 779 - 780 780 ==== 3.4.2.3 Poll an uplink ==== 781 781 782 -* (% style="color:#037691" %)**AT Command:**843 +* AT Command: 783 783 784 784 There is no AT Command to poll uplink 785 785 786 786 787 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**848 +* Downlink Payload (prefix 0x08): 788 788 789 -**0x08 FF **~/~/ Poll an uplink 850 +(% class="box infomessage" %) 851 +((( 852 +**0x08 FF ~/~/ Poll an uplink,** 853 +))) 790 790 791 791 **Example**: 0x08FF, ask device to send an Uplink 792 792 793 793 794 794 795 - 796 796 ==== 3.4.2.4 Enable Trigger Mode ==== 797 797 798 798 Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 799 799 800 -* (% style="color:#037691" %)**AT Command:**863 +* AT Command: 801 801 865 +(% class="box infomessage" %) 866 +((( 802 802 **AT+ADDMOD6=1 or 0** 868 +))) 803 803 804 804 1: Enable Trigger Mode 805 805 ... ... @@ -806,36 +806,43 @@ 806 806 0: Disable Trigger Mode 807 807 808 808 809 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**875 +* Downlink Payload (prefix 0x0A 06): 810 810 811 -**0x0A 06 aa ** ~/~/ Same as AT+ADDMOD6=aa 877 +(% class="box infomessage" %) 878 +((( 879 +**0x0A 06 aa ~/~/ Same as AT+ADDMOD6=aa,** 880 +))) 812 812 813 813 814 814 815 - 816 816 ==== 3.4.2.5 Poll trigger settings ==== 817 817 818 818 Poll trigger settings, 819 819 820 -* (% style="color:#037691" %)**AT Command:**888 +* AT Command: 821 821 822 822 There is no AT Command for this feature. 823 823 824 824 825 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**893 +* Downlink Payload (prefix 0x AB 06): 826 826 827 -**0xAB 06 **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command 895 +(% class="box infomessage" %) 896 +((( 897 +**0xAB 06 ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command** 898 +))) 828 828 829 829 830 830 831 - 832 832 ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ==== 833 833 834 834 Enable Disable DI1/DI2/DI2 as trigger, 835 835 836 -* (% style="color:#037691" %)**AT Command:**906 +* AT Command: 837 837 908 +(% class="box infomessage" %) 909 +((( 838 838 **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >** 911 +))) 839 839 840 840 841 841 **Example:** ... ... @@ -842,20 +842,25 @@ 842 842 843 843 AT+ DTRI =1,0 (Enable DI1 trigger / disable DI2 trigger) 844 844 845 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**918 +* Downlink Payload (prefix 0xAA 02): 846 846 847 -**0xAA 02 aa bb **~/~/ Same as AT+DTRI=aa,bb 920 +(% class="box infomessage" %) 921 +((( 922 +**0xAA 02 aa bb ~/~/ Same as AT+DTRI=aa,bb** 923 +))) 848 848 849 849 850 850 851 - 852 852 ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ==== 853 853 854 854 Set DI1 or DI3(for LT-33222-L) trigger. 855 855 856 -* (% style="color:#037691" %)**AT Command:**931 +* AT Command: 857 857 933 +(% class="box infomessage" %) 934 +((( 858 858 **AT+TRIG1=a,b** 936 +))) 859 859 860 860 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 861 861 ... ... @@ -867,18 +867,26 @@ 867 867 AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) 868 868 869 869 870 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 871 -* **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 948 +* Downlink Payload (prefix 0x09 01 ): 872 872 950 +(% class="box infomessage" %) 951 +((( 952 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 953 +))) 954 + 955 + 956 + 873 873 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 874 874 875 875 Set DI2 trigger. 876 876 877 -* (% style="color:#037691" %)**AT Command:**961 +* AT Command: 878 878 963 +(% class="box infomessage" %) 964 +((( 879 879 **AT+TRIG2=a,b** 966 +))) 880 880 881 - 882 882 a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1). 883 883 884 884 b : delay timing. ... ... @@ -889,78 +889,93 @@ 889 889 AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms ) 890 890 891 891 892 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**978 +* Downlink Payload (prefix 0x09 02 ): 893 893 894 -**0x09 02 aa bb cc **~/~/ same as AT+TRIG1=aa,0x(bb cc) 980 +(% class="box infomessage" %) 981 +((( 982 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)** 983 +))) 895 895 896 896 897 897 898 - 899 899 ==== 3.4.2.9 Trigger – Set AC (current) as trigger ==== 900 900 901 901 Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 902 902 903 -* (% style="color:#037691" %)**AT Command**991 +* AT Command: 904 904 905 -**AT+ACLIM** 993 +(% class="box infomessage" %) 994 +((( 995 +**AT+ACLIM. ** 996 +))) 906 906 907 907 908 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**999 +* Downlink Payload (prefix 0xAA 01 ): 909 909 910 -**0x AA 01 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1001 +(% class="box infomessage" %) 1002 +((( 1003 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1004 +))) 911 911 912 912 913 913 914 - 915 915 ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ==== 916 916 917 917 Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 918 918 919 -* (% style="color:#037691" %)**AT Command**1012 +* AT Command: 920 920 921 -**AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1014 +(% class="box infomessage" %) 1015 +((( 1016 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]** 1017 +))) 922 922 923 923 924 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**1020 +* Downlink Payload (prefix 0xAA 00 ): 925 925 926 -**0x AA 00 aa bb cc dd ee ff gg hh ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] 1022 +(% class="box infomessage" %) 1023 +((( 1024 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] ** 1025 +))) 927 927 928 928 929 929 930 - 931 931 ==== 3.4.2.11 Trigger – Set minimum interval ==== 932 932 933 -Set AV and AC trigger minimum interval, system won 't response to the second trigger within this set time after the first trigger.1031 +Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger. 934 934 935 -* (% style="color:#037691" %)**AT Command**1033 +* AT Command: 936 936 937 -**AT+ATDC=5 ** Device won't response the second trigger within 5 minute after the first trigger. 1035 +(% class="box infomessage" %) 1036 +((( 1037 +**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.** 1038 +))) 938 938 939 939 940 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**1041 +* Downlink Payload (prefix 0xAC ): 941 941 942 -**0x AC aa bb ** ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min) 943 - 1043 +(% class="box infomessage" %) 944 944 ((( 945 - 946 - 947 -(% style="color:red" %)Note: ATDC setting must be more than 5min 1045 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb) . Unit (min)** 948 948 ))) 949 949 950 950 951 951 952 - 953 953 ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ==== 954 954 955 -* (% style="color:#037691" %)**AT Command**1052 +* AT Command: 956 956 957 957 There is no AT Command to control Digital Output 958 958 959 959 960 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)** 961 -* **0x02 aa bb cc **~/~/ Set DO1/DO2/DO3 output 1057 +* Downlink Payload (prefix 0x02): 962 962 1059 +(% class="box infomessage" %) 963 963 ((( 1061 +**0x02 aa bb cc ~/~/ Set DO1/DO2/DO3 output** 1062 +))) 1063 + 1064 +((( 964 964 If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low. 965 965 ))) 966 966 ... ... @@ -980,19 +980,22 @@ 980 980 981 981 982 982 983 - 984 984 ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ==== 985 985 986 -* (% style="color:#037691" %)**AT Command**1086 +* AT Command: 987 987 988 988 There is no AT Command to control Digital Output 989 989 990 990 991 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**1091 +* Downlink Payload (prefix 0xA9): 992 992 993 -**0xA9 aa bb cc **~/~/ Set DO1/DO2/DO3 output with time control 1093 +(% class="box infomessage" %) 1094 +((( 1095 +((( 1096 +**0xA9 aa bb cc ~/~/ Set DO1/DO2/DO3 output with time control** 1097 +))) 1098 +))) 994 994 995 - 996 996 This is to control the digital output time of DO pin. Include four bytes: 997 997 998 998 (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9) ... ... @@ -1046,19 +1046,20 @@ 1046 1046 1047 1047 1048 1048 1049 - 1050 1050 ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ==== 1051 1051 1052 -* (% style="color:#037691" %)**AT Command:**1155 +* AT Command: 1053 1053 1054 1054 There is no AT Command to control Relay Output 1055 1055 1056 1056 1057 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**1160 +* Downlink Payload (prefix 0x03): 1058 1058 1059 -**0x03 aa bb **~/~/ Set RO1/RO2 output 1162 +(% class="box infomessage" %) 1163 +((( 1164 +**0x03 aa bb ~/~/ Set RO1/RO2 output** 1165 +))) 1060 1060 1061 - 1062 1062 ((( 1063 1063 If payload = 0x030100, it means set RO1 to close and RO2 to open. 1064 1064 ))) ... ... @@ -1075,19 +1075,20 @@ 1075 1075 1076 1076 1077 1077 1078 - 1079 1079 ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ==== 1080 1080 1081 -* (% style="color:#037691" %)**AT Command:**1185 +* AT Command: 1082 1082 1083 1083 There is no AT Command to control Relay Output 1084 1084 1085 1085 1086 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**1190 +* Downlink Payload (prefix 0x05): 1087 1087 1088 -**0x05 aa bb cc dd **~/~/ Set RO1/RO2 relay with time control 1192 +(% class="box infomessage" %) 1193 +((( 1194 +**0x05 aa bb cc dd ~/~/ Set RO1/RO2 relay with time control:** 1195 +))) 1089 1089 1090 - 1091 1091 This is to control the relay output time of relay. Include four bytes: 1092 1092 1093 1093 (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05) ... ... @@ -1101,7 +1101,7 @@ 1101 1101 1102 1102 (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status: 1103 1103 1104 -[[image:image-20220 714135731-1.png||height="406" width="627"]]1210 +[[image:image-20220524093831-10.png]] 1105 1105 1106 1106 1107 1107 (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms ... ... @@ -1111,46 +1111,53 @@ 1111 1111 1112 1112 **Example payload:** 1113 1113 1114 -**~1. 05 01 11 07 D** 1220 +**~1. 05 01 11 07 D0** 1115 1115 1116 -Relay1 and Relay 2 will be set to N C, last 2 seconds, then change back to original state.1222 +Relay1 and Relay 2 will be set to NO , last 2 seconds, then change back to original state. 1117 1117 1118 1118 **2. 05 01 10 07 D0** 1119 1119 1120 -Relay1 will change to N C, Relay2 will change to NO, last 2 seconds, then both change back to original state.1226 +Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then both change back to original state. 1121 1121 1122 1122 **3. 05 00 01 07 D0** 1123 1123 1124 -Relay1 will change to N O, Relay2 will change to NC, last 2 seconds, then relay change to NC,Relay2 change to NO.1230 +Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then relay change to NO, Relay2 change to NC. 1125 1125 1126 1126 **4. 05 00 00 07 D0** 1127 1127 1128 -Relay 1 & relay2 will change to N O, last 2 seconds, then both change to NC.1234 +Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO. 1129 1129 1130 1130 1131 1131 1132 - 1133 1133 ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ==== 1134 1134 1135 1135 When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1136 1136 1137 -* (% style="color:#037691" %)**AT Command:**1242 +* AT Command: 1138 1138 1139 -**AT+VOLMAX ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]] 1244 +(% class="box infomessage" %) 1245 +((( 1246 +**AT+VOLMAX ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]** 1247 +))) 1140 1140 1141 1141 1142 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**1250 +* Downlink Payload (prefix 0xA5): 1143 1143 1144 -**0xA5 aa bb cc **~/~/ Same as AT+VOLMAX=(aa bb),cc 1252 +(% class="box infomessage" %) 1253 +((( 1254 +**0xA5 aa bb cc ~/~/ Same as AT+VOLMAX=(aa bb),cc** 1255 +))) 1145 1145 1146 1146 1147 1147 1148 - 1149 1149 ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ==== 1150 1150 1151 -* (% style="color:#037691" %)**AT Command:**1261 +* AT Command: 1152 1152 1263 +(% class="box infomessage" %) 1264 +((( 1153 1153 **AT+SETCNT=aa,(bb cc dd ee) ** 1266 +))) 1154 1154 1155 1155 aa: 1: Set count1, 1156 1156 ... ... @@ -1161,40 +1161,51 @@ 1161 1161 Bb cc dd ee: number to be set 1162 1162 1163 1163 1164 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**1277 +* Downlink Payload (prefix 0xA8): 1165 1165 1166 -**0x A8 aa bb cc dd ee **~/~/ same as AT+SETCNT=aa,(bb cc dd ee) 1279 +(% class="box infomessage" %) 1280 +((( 1281 +**0x A8 aa bb cc dd ee ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)** 1282 +))) 1167 1167 1168 1168 1169 1169 1170 - 1171 1171 ==== 3.4.2.18 Counting ~-~- Clear Counting ==== 1172 1172 1173 1173 Clear counting for counting mode 1174 1174 1175 -* (% style="color:#037691" %)**AT Command:**1290 +* AT Command: 1176 1176 1177 -**AT+CLRCOUNT ** ~/~/ clear all counting 1292 +(% class="box infomessage" %) 1293 +((( 1294 +**AT+CLRCOUNT ~/~/ clear all counting** 1295 +))) 1178 1178 1297 +* Downlink Payload (prefix 0xA6): 1179 1179 1180 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):** 1299 +(% class="box infomessage" %) 1300 +((( 1301 +**0x A6 01 ~/~/ clear all counting,** 1302 +))) 1181 1181 1182 -**0x A6 01 ** ~/~/ clear all counting 1183 1183 1184 1184 1185 - 1186 - 1187 1187 ==== 3.4.2.19 Counting ~-~- Change counting mode save time ==== 1188 1188 1189 -* (% style="color:#037691" %)**AT Command:**1308 +* AT Command: 1190 1190 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) 1310 +(% class="box infomessage" %) 1311 +((( 1312 +**AT+COUTIME=60 ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)** 1313 +))) 1192 1192 1315 +* Downlink Payload (prefix 0xA7): 1193 1193 1194 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):** 1317 +(% class="box infomessage" %) 1318 +((( 1319 +**0x A7 aa bb cc ~/~/ same as AT+COUTIME =aa bb cc,** 1320 +))) 1195 1195 1196 -**0x A7 aa bb cc **~/~/ same as AT+COUTIME =aa bb cc, 1197 - 1198 1198 ((( 1199 1199 range: aa bb cc:0 to 16777215, (unit:second) 1200 1200 ... ... @@ -1202,7 +1202,6 @@ 1202 1202 ))) 1203 1203 1204 1204 1205 - 1206 1206 == 3.5 Integrate with Mydevice == 1207 1207 1208 1208 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: ... ... @@ -1215,11 +1215,12 @@ 1215 1215 (% 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: 1216 1216 ))) 1217 1217 1218 -[[image: image-20220719105525-1.png||height="377" width="677"]]1341 +[[image:1653356737703-362.png||height="232" width="732"]] 1219 1219 1343 +[[image:image-20220524094641-11.png||height="390" width="723"]] 1220 1220 1221 1221 1222 -[[image:image-20220 719110247-2.png||height="388" width="683"]]1346 +[[image:image-20220524094641-12.png||height="402" width="718"]] 1223 1223 1224 1224 1225 1225 (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices. ... ... @@ -1431,7 +1431,6 @@ 1431 1431 [[image:image-20220524100748-11.png]] 1432 1432 1433 1433 1434 - 1435 1435 = 4. Use AT Command = 1436 1436 1437 1437 == 4.1 Access AT Command == ... ... @@ -1634,6 +1634,8 @@ 1634 1634 1635 1635 ((( 1636 1636 AT+CFG: Print all settings 1760 + 1761 + 1637 1637 ))) 1638 1638 1639 1639 ... ... @@ -1679,6 +1679,8 @@ 1679 1679 1680 1680 ((( 1681 1681 (% style="background-color:#dcdcdc" %)ATZ 1807 + 1808 + 1682 1682 ))) 1683 1683 1684 1684 ... ... @@ -1791,7 +1791,7 @@ 1791 1791 1792 1792 1793 1793 (% style="color:blue" %)**For LT-22222-L**(%%): 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.1921 +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. 1795 1795 ))) 1796 1796 1797 1797 [[image:image-20220524103407-12.png]] ... ... @@ -1885,8 +1885,6 @@ 1885 1885 == 5.5 Can i use point to point communication for LT-22222-L? == 1886 1886 1887 1887 Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] 1888 - 1889 - 1890 1890 ))) 1891 1891 1892 1892 ((( ... ... @@ -1900,13 +1900,12 @@ 1900 1900 1901 1901 After restart, the status before power failure will be read from flash. 1902 1902 1903 - 1904 1904 = 6. Trouble Shooting = 1905 1905 ))) 1906 1906 1907 1907 ((( 1908 1908 ((( 1909 -== 6.1 Downlink doesn 't work, how to solve it? ==2033 +== 6.1 Downlink doesn’t work, how to solve it? == 1910 1910 ))) 1911 1911 ))) 1912 1912 ... ... @@ -1927,7 +1927,7 @@ 1927 1927 ((( 1928 1928 1929 1929 1930 -== 6.3 Why I can 't join TTN in US915 /AU915 bands? ==2054 +== 6.3 Why I can’t join TTN in US915 /AU915 bands? == 1931 1931 ))) 1932 1932 1933 1933 ((( ... ... @@ -1935,22 +1935,24 @@ 1935 1935 ))) 1936 1936 1937 1937 2062 + 1938 1938 = 7. Order Info = 1939 1939 1940 1940 1941 1941 (% style="color:#4f81bd" %)**LT-22222-L-XXX:** 1942 1942 2068 + 1943 1943 (% style="color:#4f81bd" %)**XXX:** 1944 1944 1945 -* (% style="color: red" %)**EU433**(%%):1946 -* (% style="color: red" %)**EU868**(%%):1947 -* (% style="color: red" %)**KR920**(%%):1948 -* (% style="color: red" %)**CN470**(%%):1949 -* (% style="color: red" %)**AS923**(%%):1950 -* (% style="color: red" %)**AU915**(%%):1951 -* (% style="color: red" %)**US915**(%%):1952 -* (% style="color: red" %)**IN865**(%%):1953 -* (% style="color: red" %)**CN779**(%%):2071 +* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433 2072 +* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868 2073 +* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920 2074 +* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470 2075 +* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923 2076 +* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915 2077 +* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915 2078 +* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865 2079 +* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779 1954 1954 1955 1955 = 8. Packing Info = 1956 1956
- image-20220714135731-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -54.1 KB - Content
- image-20220719105525-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -165.5 KB - Content
- image-20220719110247-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -52.9 KB - Content