Last modified by Mengting Qiu on 2025/06/04 18:42

From version 82.4
edited by Xiaoling
on 2022/06/20 11:17
Change comment: There is no comment for this version
To version 90.2
edited by Xiaoling
on 2022/08/18 11:36
Change comment: There is no comment for this version

Summary

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  (((
... ... @@ -173,6 +173,7 @@
173 173  
174 174  == 1.3 Features ==
175 175  
177 +
176 176  * LoRaWAN Class A & Class C protocol
177 177  * Optional Customized LoRa Protocol
178 178  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865
... ... @@ -181,8 +181,13 @@
181 181  * Firmware upgradable via program port
182 182  * Counting
183 183  
186 +
187 +
188 +
189 +
184 184  == 1.4  Applications ==
185 185  
192 +
186 186  * Smart Buildings & Home Automation
187 187  * Logistics and Supply Chain Management
188 188  * Smart Metering
... ... @@ -190,8 +190,13 @@
190 190  * Smart Cities
191 191  * Smart Factory
192 192  
200 +
201 +
202 +
203 +
193 193  == 1.5 Hardware Variants ==
194 194  
206 +
195 195  (% border="1" style="background-color:#f7faff; width:500px" %)
196 196  |(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description**
197 197  |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)(((
... ... @@ -203,8 +203,12 @@
203 203  * 1 x Counting Port
204 204  )))
205 205  
218 +
219 +
220 +
206 206  = 2. Power ON Device =
207 207  
223 +
208 208  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.
209 209  
210 210  (((
... ... @@ -219,19 +219,24 @@
219 219  
220 220  == 3.1 How it works? ==
221 221  
238 +
222 222  (((
223 -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. 
224 224  )))
225 225  
226 226  (((
227 -In case user cant 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.
228 228  )))
229 229  
230 230  
248 +
231 231  == 3.2 Example to join LoRaWAN network ==
232 232  
251 +
233 233  (((
234 234  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 +
235 235  )))
236 236  
237 237  [[image:image-20220523172350-1.png||height="266" width="864"]]
... ... @@ -239,6 +239,8 @@
239 239  
240 240  (((
241 241  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 +
242 242  )))
243 243  
244 244  (((
... ... @@ -276,12 +276,12 @@
276 276  
277 277  There are five working modes + one interrupt mode on LT for different type application:
278 278  
279 -* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO
280 -* **MOD2**: Double DI Counting + DO + RO
281 -* **MOD3**: Single DI Counting + 2 x ACI + DO + RO
282 -* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO
283 -* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
284 -* **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
285 285  
286 286  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
287 287  
... ... @@ -372,12 +372,7 @@
372 372  (((
373 373  (((
374 374  **AT+MOD=2**
375 -)))
376 -)))
377 377  
378 -(% class="box infomessage" %)
379 -(((
380 -(((
381 381  **ATZ**
382 382  )))
383 383  )))
... ... @@ -390,49 +390,20 @@
390 390  
391 391  (((
392 392  **For LT22222-L:**
393 -)))
394 394  
395 -(% class="box infomessage" %)
396 -(((
397 -(((
398 -**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
399 -)))
400 -)))
401 401  
402 -(% class="box infomessage" %)
403 -(((
404 -(((
405 -**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
406 -)))
407 -)))
413 +(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
408 408  
409 -(% class="box infomessage" %)
410 -(((
411 -(((
412 -**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
413 -)))
414 -)))
415 +(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
415 415  
416 -(% class="box infomessage" %)
417 -(((
418 -(((
419 -**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
420 -)))
421 -)))
417 +(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set DI2 port to trigger on low level, valid signal is 100ms) **
422 422  
423 -(% class="box infomessage" %)
424 -(((
425 -(((
426 -**AT+SETCNT=1,60   (Set COUNT1 value to 60)**
427 -)))
428 -)))
419 +(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set DI2 port to trigger on high level, valid signal is 100ms ) **
429 429  
430 -(% class="box infomessage" %)
431 -(((
432 -(((
433 -**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)**
434 434  )))
435 -)))
436 436  
437 437  
438 438  
... ... @@ -443,6 +443,8 @@
443 443  [[image:image-20220523181246-5.png]]
444 444  
445 445  (((
435 +
436 +
446 446  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
447 447  )))
448 448  
... ... @@ -456,6 +456,7 @@
456 456  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
457 457  )))
458 458  
450 +
459 459  (((
460 460  **To use counting mode, please run:**
461 461  )))
... ... @@ -464,12 +464,7 @@
464 464  (((
465 465  (((
466 466  **AT+MOD=3**
467 -)))
468 -)))
469 469  
470 -(% class="box infomessage" %)
471 -(((
472 -(((
473 473  **ATZ**
474 474  )))
475 475  )))
... ... @@ -514,20 +514,13 @@
514 514  (((
515 515  (((
516 516  **AT+MOD=4**
517 -)))
518 -)))
519 519  
520 -(% class="box infomessage" %)
521 -(((
522 -(((
523 523  **ATZ**
524 524  )))
525 525  )))
526 526  
527 -(((
528 -
529 -)))
530 530  
510 +
531 531  (((
532 532  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
533 533  )))
... ... @@ -536,35 +536,16 @@
536 536  
537 537  
538 538  **Plus below command for AVI1 Counting:**
539 -)))
540 540  
541 -(% class="box infomessage" %)
542 -(((
543 -(((
544 -**AT+SETCNT=3,60   (set AVI Count to 60)**
545 -)))
546 -)))
547 547  
548 -(% class="box infomessage" %)
549 -(((
550 -(((
551 -**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
552 -)))
553 -)))
521 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
554 554  
555 -(% class="box infomessage" %)
556 -(((
557 -(((
558 -**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
559 -)))
560 -)))
523 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
561 561  
562 -(% class="box infomessage" %)
563 -(((
564 -(((
565 -**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)**
566 566  )))
567 -)))
568 568  
569 569  
570 570  
... ... @@ -601,12 +601,7 @@
601 601  (((
602 602  (((
603 603  **AT+MOD=5**
604 -)))
605 -)))
606 606  
607 -(% class="box infomessage" %)
608 -(((
609 -(((
610 610  **ATZ**
611 611  )))
612 612  )))
... ... @@ -624,8 +624,8 @@
624 624  
625 625  For example, if user has configured below commands:
626 626  
627 -* **AT+MOD=1 ** **~-~->** The normal working mode
628 -* **AT+ADDMOD6=1**   **~-~->** Enable trigger
583 +* **AT+MOD=1 ** **~-~->**  The normal working mode
584 +* **AT+ADDMOD6=1**   **~-~->**  Enable trigger
629 629  
630 630  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
631 631  
... ... @@ -632,8 +632,9 @@
632 632  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
633 633  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.**
634 634  
635 -**AT Command to set Trigger Condition**:
591 +(% style="color:#037691" %)**AT Command to set Trigger Condition**:
636 636  
593 +
637 637  (% style="color:#4f81bd" %)**Trigger base on voltage**:
638 638  
639 639  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
... ... @@ -668,7 +668,7 @@
668 668  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
669 669  
670 670  
671 -**Downlink Command to set Trigger Condition:**
628 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
672 672  
673 673  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
674 674  
... ... @@ -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 wont 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-20220524093831-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 D0**
1114 +**~1. 05 01 11 07 D**
1210 1210  
1211 -Relay1 and Relay 2 will be set to NO , 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 NO, 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 NC, Relay2 will change to NO, last 2 seconds, then relay change to NO, Relay2 change to NC.
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 NC, 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:1653356737703-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-20220524094641-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,6 +2001,8 @@
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  (((
... ... @@ -2014,12 +2014,13 @@
2014 2014  
2015 2015  After restart, the status before power failure will be read from flash.
2016 2016  
1903 +
2017 2017  = 6. Trouble Shooting =
2018 2018  )))
2019 2019  
2020 2020  (((
2021 2021  (((
2022 -== 6.1 Downlink doesnt work, how to solve it? ==
1909 +== 6.1 Downlink doesn't work, how to solve it? ==
2023 2023  )))
2024 2024  )))
2025 2025  
... ... @@ -2040,7 +2040,7 @@
2040 2040  (((
2041 2041  
2042 2042  
2043 -== 6.3 Why I cant join TTN in US915 /AU915 bands? ==
1930 +== 6.3 Why I can't join TTN in US915 /AU915 bands? ==
2044 2044  )))
2045 2045  
2046 2046  (((
... ... @@ -2048,24 +2048,22 @@
2048 2048  )))
2049 2049  
2050 2050  
2051 -
2052 2052  = 7. Order Info =
2053 2053  
2054 2054  
2055 2055  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
2056 2056  
2057 -
2058 2058  (% style="color:#4f81bd" %)**XXX:**
2059 2059  
2060 -* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
2061 -* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
2062 -* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
2063 -* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
2064 -* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
2065 -* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
2066 -* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
2067 -* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
2068 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1945 +* (% 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
2069 2069  
2070 2070  = 8. Packing Info =
2071 2071  
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