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

From version 82.8
edited by Xiaoling
on 2022/06/20 11:18
Change comment: There is no comment for this version
To version 90.1
edited by Bei Jinggeng
on 2022/07/19 11:07
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
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:**
... ... @@ -167,7 +167,6 @@
167 167  Packet engine up to 256 bytes with CRC.
168 168  
169 169  
170 -
171 171  
172 172  )))
173 173  
... ... @@ -181,9 +181,6 @@
181 181  * Firmware upgradable via program port
182 182  * Counting
183 183  
184 -
185 -
186 -
187 187  == 1.4  Applications ==
188 188  
189 189  * Smart Buildings & Home Automation
... ... @@ -193,9 +193,6 @@
193 193  * Smart Cities
194 194  * Smart Factory
195 195  
196 -
197 -
198 -
199 199  == 1.5 Hardware Variants ==
200 200  
201 201  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -209,8 +209,6 @@
209 209  * 1 x Counting Port
210 210  )))
211 211  
212 -
213 -
214 214  = 2. Power ON Device =
215 215  
216 216  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.
... ... @@ -228,11 +228,11 @@
228 228  == 3.1 How it works? ==
229 229  
230 230  (((
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. 
221 +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. 
232 232  )))
233 233  
234 234  (((
235 -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.
225 +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.
236 236  )))
237 237  
238 238  
... ... @@ -284,16 +284,13 @@
284 284  
285 285  There are five working modes + one interrupt mode on LT for different type application:
286 286  
287 -* **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
277 +* (% style="color:blue" %)**MOD1**(%%): (default setting): 2 x ACI + 2AVI + DI + DO + RO
278 +* (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO
279 +* (% style="color:blue" %)**MOD3**(%%): Single DI Counting + 2 x ACI + DO + RO
280 +* (% style="color:blue" %)**MOD4**(%%): Single DI Counting + 1 x Voltage Counting + DO + RO
281 +* (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
282 +* (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
293 293  
294 -
295 -
296 -
297 297  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
298 298  
299 299  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -383,12 +383,7 @@
383 383  (((
384 384  (((
385 385  **AT+MOD=2**
386 -)))
387 -)))
388 388  
389 -(% class="box infomessage" %)
390 -(((
391 -(((
392 392  **ATZ**
393 393  )))
394 394  )))
... ... @@ -401,49 +401,20 @@
401 401  
402 402  (((
403 403  **For LT22222-L:**
404 -)))
405 405  
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 -(% class="box infomessage" %)
414 -(((
415 -(((
416 -**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
417 -)))
418 -)))
388 +(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
419 419  
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 -)))
390 +(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
426 426  
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 -)))
392 +(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set DI2 port to trigger on low level, valid signal is 100ms) **
433 433  
434 -(% class="box infomessage" %)
435 -(((
436 -(((
437 -**AT+SETCNT=1,60   (Set COUNT1 value to 60)**
438 -)))
439 -)))
394 +(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set DI2 port to trigger on high level, valid signal is 100ms ) **
440 440  
441 -(% class="box infomessage" %)
442 -(((
443 -(((
444 -**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
396 +(% style="color:blue" %)**AT+SETCNT=1,60**(%%)**   (Set COUNT1 value to 60)**
397 +
398 +(% style="color:blue" %)**AT+SETCNT=2,60**(%%)**   (Set COUNT2 value to 60)**
445 445  )))
446 -)))
447 447  
448 448  
449 449  
... ... @@ -454,6 +454,8 @@
454 454  [[image:image-20220523181246-5.png]]
455 455  
456 456  (((
410 +
411 +
457 457  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
458 458  )))
459 459  
... ... @@ -467,6 +467,7 @@
467 467  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
468 468  )))
469 469  
425 +
470 470  (((
471 471  **To use counting mode, please run:**
472 472  )))
... ... @@ -475,12 +475,7 @@
475 475  (((
476 476  (((
477 477  **AT+MOD=3**
478 -)))
479 -)))
480 480  
481 -(% class="box infomessage" %)
482 -(((
483 -(((
484 484  **ATZ**
485 485  )))
486 486  )))
... ... @@ -525,20 +525,13 @@
525 525  (((
526 526  (((
527 527  **AT+MOD=4**
528 -)))
529 -)))
530 530  
531 -(% class="box infomessage" %)
532 -(((
533 -(((
534 534  **ATZ**
535 535  )))
536 536  )))
537 537  
538 -(((
539 -
540 -)))
541 541  
485 +
542 542  (((
543 543  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
544 544  )))
... ... @@ -547,35 +547,16 @@
547 547  
548 548  
549 549  **Plus below command for AVI1 Counting:**
550 -)))
551 551  
552 -(% class="box infomessage" %)
553 -(((
554 -(((
555 -**AT+SETCNT=3,60   (set AVI Count to 60)**
556 -)))
557 -)))
558 558  
559 -(% class="box infomessage" %)
560 -(((
561 -(((
562 -**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
563 -)))
564 -)))
496 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
565 565  
566 -(% class="box infomessage" %)
567 -(((
568 -(((
569 -**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
570 -)))
571 -)))
498 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
572 572  
573 -(% class="box infomessage" %)
574 -(((
575 -(((
576 -**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
500 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**  (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
501 +
502 +(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)**  (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
577 577  )))
578 -)))
579 579  
580 580  
581 581  
... ... @@ -612,12 +612,7 @@
612 612  (((
613 613  (((
614 614  **AT+MOD=5**
615 -)))
616 -)))
617 617  
618 -(% class="box infomessage" %)
619 -(((
620 -(((
621 621  **ATZ**
622 622  )))
623 623  )))
... ... @@ -635,8 +635,8 @@
635 635  
636 636  For example, if user has configured below commands:
637 637  
638 -* **AT+MOD=1 ** **~-~->** The normal working mode
639 -* **AT+ADDMOD6=1**   **~-~->** Enable trigger
558 +* **AT+MOD=1 ** **~-~->**  The normal working mode
559 +* **AT+ADDMOD6=1**   **~-~->**  Enable trigger
640 640  
641 641  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
642 642  
... ... @@ -643,8 +643,9 @@
643 643  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
644 644  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.**
645 645  
646 -**AT Command to set Trigger Condition**:
566 +(% style="color:#037691" %)**AT Command to set Trigger Condition**:
647 647  
568 +
648 648  (% style="color:#4f81bd" %)**Trigger base on voltage**:
649 649  
650 650  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
... ... @@ -679,7 +679,7 @@
679 679  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
680 680  
681 681  
682 -**Downlink Command to set Trigger Condition:**
603 +(% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
683 683  
684 684  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
685 685  
... ... @@ -792,80 +792,68 @@
792 792  
793 793  === 3.4.2 Sensor related commands ===
794 794  
716 +
795 795  ==== 3.4.2.1 Set Transmit Interval ====
796 796  
797 797  Set device uplink interval.
798 798  
799 -* AT Command:
721 +* (% style="color:#037691" %)**AT Command:**
800 800  
801 -(% class="box infomessage" %)
802 -(((
803 803  **AT+TDC=N **
804 -)))
805 805  
725 +
806 806  **Example: **AT+TDC=30000. Means set interval to 30 seconds
807 807  
808 808  
809 -* Downlink Payload (prefix 0x01):
729 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
810 810  
811 -(% class="box infomessage" %)
812 -(((
813 813  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
814 -)))
815 815  
816 816  
817 817  
735 +
818 818  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
819 819  
820 820  Set work mode.
821 821  
822 -* AT Command:
740 +* (% style="color:#037691" %)**AT Command:**
823 823  
824 -(% class="box infomessage" %)
825 -(((
826 826  **AT+MOD=N  **
827 -)))
828 828  
744 +
829 829  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
830 830  
831 831  
832 -* Downlink Payload (prefix 0x0A):
748 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
833 833  
834 -(% class="box infomessage" %)
835 -(((
836 -**0x0A aa     ~/~/ Same as AT+MOD=aa**
837 -)))
750 +**0x0A aa    ** ~/~/ Same as AT+MOD=aa
838 838  
839 839  
840 840  
754 +
841 841  ==== 3.4.2.3 Poll an uplink ====
842 842  
843 -* AT Command:
757 +* (% style="color:#037691" %)**AT Command:**
844 844  
845 845  There is no AT Command to poll uplink
846 846  
847 847  
848 -* Downlink Payload (prefix 0x08):
762 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
849 849  
850 -(% class="box infomessage" %)
851 -(((
852 -**0x08 FF     ~/~/ Poll an uplink,**
853 -)))
764 +**0x08 FF     **~/~/ Poll an uplink
854 854  
855 855  **Example**: 0x08FF, ask device to send an Uplink
856 856  
857 857  
858 858  
770 +
859 859  ==== 3.4.2.4 Enable Trigger Mode ====
860 860  
861 861  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
862 862  
863 -* AT Command:
775 +* (% style="color:#037691" %)**AT Command:**
864 864  
865 -(% class="box infomessage" %)
866 -(((
867 867  **AT+ADDMOD6=1 or 0**
868 -)))
869 869  
870 870  1: Enable Trigger Mode
871 871  
... ... @@ -872,43 +872,36 @@
872 872  0: Disable Trigger Mode
873 873  
874 874  
875 -* Downlink Payload (prefix 0x0A 06):
784 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
876 876  
877 -(% class="box infomessage" %)
878 -(((
879 -**0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
880 -)))
786 +**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
881 881  
882 882  
883 883  
790 +
884 884  ==== 3.4.2.5 Poll trigger settings ====
885 885  
886 886  Poll trigger settings,
887 887  
888 -* AT Command:
795 +* (% style="color:#037691" %)**AT Command:**
889 889  
890 890  There is no AT Command for this feature.
891 891  
892 892  
893 -* Downlink Payload (prefix 0x AB 06):
800 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
894 894  
895 -(% class="box infomessage" %)
896 -(((
897 -**0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
898 -)))
802 +**0xAB 06         **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
899 899  
900 900  
901 901  
806 +
902 902  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
903 903  
904 904  Enable Disable DI1/DI2/DI2 as trigger,
905 905  
906 -* AT Command:
811 +* (% style="color:#037691" %)**AT Command:**
907 907  
908 -(% class="box infomessage" %)
909 -(((
910 910  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
911 -)))
912 912  
913 913  
914 914  **Example:**
... ... @@ -915,25 +915,20 @@
915 915  
916 916  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
917 917  
918 -* Downlink Payload (prefix 0xAA 02):
820 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
919 919  
920 -(% class="box infomessage" %)
921 -(((
922 -**0xAA 02 aa bb  ~/~/ Same as AT+DTRI=aa,bb**
923 -)))
822 +**0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
924 924  
925 925  
926 926  
826 +
927 927  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
928 928  
929 929  Set DI1 or DI3(for LT-33222-L) trigger.
930 930  
931 -* AT Command:
831 +* (% style="color:#037691" %)**AT Command:**
932 932  
933 -(% class="box infomessage" %)
934 -(((
935 935  **AT+TRIG1=a,b**
936 -)))
937 937  
938 938  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
939 939  
... ... @@ -945,26 +945,18 @@
945 945  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
946 946  
947 947  
948 -* Downlink Payload (prefix 0x09 01 ):
845 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
846 +* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
949 949  
950 -(% class="box infomessage" %)
951 -(((
952 -**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
953 -)))
954 -
955 -
956 -
957 957  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
958 958  
959 959  Set DI2 trigger.
960 960  
961 -* AT Command:
852 +* (% style="color:#037691" %)**AT Command:**
962 962  
963 -(% class="box infomessage" %)
964 -(((
965 965  **AT+TRIG2=a,b**
966 -)))
967 967  
856 +
968 968  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
969 969  
970 970  b : delay timing.
... ... @@ -975,93 +975,78 @@
975 975  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
976 976  
977 977  
978 -* Downlink Payload (prefix 0x09 02 ):
867 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
979 979  
980 -(% class="box infomessage" %)
981 -(((
982 -**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
983 -)))
869 +**0x09 02 aa bb cc           **~/~/ same as AT+TRIG1=aa,0x(bb cc)
984 984  
985 985  
986 986  
873 +
987 987  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
988 988  
989 989  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
990 990  
991 -* AT Command:
878 +* (% style="color:#037691" %)**AT Command**
992 992  
993 -(% class="box infomessage" %)
994 -(((
995 -**AT+ACLIM. **
996 -)))
880 +**AT+ACLIM**
997 997  
998 998  
999 -* Downlink Payload (prefix 0xAA 01 ):
883 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
1000 1000  
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 -)))
885 +**0x AA 01 aa bb cc dd ee ff gg hh        ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1005 1005  
1006 1006  
1007 1007  
889 +
1008 1008  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
1009 1009  
1010 1010  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1011 1011  
1012 -* AT Command:
894 +* (% style="color:#037691" %)**AT Command**
1013 1013  
1014 -(% class="box infomessage" %)
1015 -(((
1016 -**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1017 -)))
896 +**AT+AVLIM  See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1018 1018  
1019 1019  
1020 -* Downlink Payload (prefix 0xAA 00 ):
899 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
1021 1021  
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 -)))
901 +**0x AA 00 aa bb cc dd ee ff gg hh    ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1026 1026  
1027 1027  
1028 1028  
905 +
1029 1029  ==== 3.4.2.11 Trigger – Set minimum interval ====
1030 1030  
1031 -Set AV and AC trigger minimum interval, system wont response to the second trigger within this set time after the first trigger.
908 +Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger.
1032 1032  
1033 -* AT Command:
910 +* (% style="color:#037691" %)**AT Command**
1034 1034  
1035 -(% class="box infomessage" %)
1036 -(((
1037 -**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1038 -)))
912 +**AT+ATDC=5        ** Device won't response the second trigger within 5 minute after the first trigger.
1039 1039  
1040 1040  
1041 -* Downlink Payload (prefix 0xAC ):
915 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
1042 1042  
1043 -(% class="box infomessage" %)
917 +**0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
918 +
1044 1044  (((
1045 -**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)**
920 +
921 +
922 +(% style="color:red" %)Note: ATDC setting must be more than 5min
1046 1046  )))
1047 1047  
1048 1048  
1049 1049  
927 +
1050 1050  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1051 1051  
1052 -* AT Command:
930 +* (% style="color:#037691" %)**AT Command**
1053 1053  
1054 1054  There is no AT Command to control Digital Output
1055 1055  
1056 1056  
1057 -* Downlink Payload (prefix 0x02):
935 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
936 +* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
1058 1058  
1059 -(% class="box infomessage" %)
1060 1060  (((
1061 -**0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
1062 -)))
1063 -
1064 -(((
1065 1065  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
1066 1066  )))
1067 1067  
... ... @@ -1081,22 +1081,19 @@
1081 1081  
1082 1082  
1083 1083  
958 +
1084 1084  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1085 1085  
1086 -* AT Command:
961 +* (% style="color:#037691" %)**AT Command**
1087 1087  
1088 1088  There is no AT Command to control Digital Output
1089 1089  
1090 1090  
1091 -* Downlink Payload (prefix 0xA9):
966 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1092 1092  
1093 -(% class="box infomessage" %)
1094 -(((
1095 -(((
1096 -**0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
1097 -)))
1098 -)))
968 +**0xA9 aa bb cc     **~/~/ Set DO1/DO2/DO3 output with time control
1099 1099  
970 +
1100 1100  This is to control the digital output time of DO pin. Include four bytes:
1101 1101  
1102 1102  (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
... ... @@ -1150,20 +1150,19 @@
1150 1150  
1151 1151  
1152 1152  
1024 +
1153 1153  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1154 1154  
1155 -* AT Command:
1027 +* (% style="color:#037691" %)**AT Command:**
1156 1156  
1157 1157  There is no AT Command to control Relay Output
1158 1158  
1159 1159  
1160 -* Downlink Payload (prefix 0x03):
1032 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1161 1161  
1162 -(% class="box infomessage" %)
1163 -(((
1164 -**0x03 aa bb     ~/~/ Set RO1/RO2 output**
1165 -)))
1034 +**0x03 aa bb     **~/~/ Set RO1/RO2 output
1166 1166  
1036 +
1167 1167  (((
1168 1168  If payload = 0x030100, it means set RO1 to close and RO2 to open.
1169 1169  )))
... ... @@ -1180,20 +1180,19 @@
1180 1180  
1181 1181  
1182 1182  
1053 +
1183 1183  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1184 1184  
1185 -* AT Command:
1056 +* (% style="color:#037691" %)**AT Command:**
1186 1186  
1187 1187  There is no AT Command to control Relay Output
1188 1188  
1189 1189  
1190 -* Downlink Payload (prefix 0x05):
1061 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1191 1191  
1192 -(% class="box infomessage" %)
1193 -(((
1194 -**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
1195 -)))
1063 +**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1196 1196  
1065 +
1197 1197  This is to control the relay output time of relay. Include four bytes:
1198 1198  
1199 1199  (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
... ... @@ -1207,7 +1207,7 @@
1207 1207  
1208 1208  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1209 1209  
1210 -[[image:image-20220524093831-10.png]]
1079 +[[image:image-20220714135731-1.png||height="406" width="627"]]
1211 1211  
1212 1212  
1213 1213  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
... ... @@ -1217,53 +1217,46 @@
1217 1217  
1218 1218  **Example payload:**
1219 1219  
1220 -**~1. 05 01 11 07 D0**
1089 +**~1. 05 01 11 07 D**
1221 1221  
1222 -Relay1 and Relay 2 will be set to NO , last 2 seconds, then change back to original state.
1091 +Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state.
1223 1223  
1224 1224  **2. 05 01 10 07 D0**
1225 1225  
1226 -Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then both change back to original state.
1095 +Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then both change back to original state.
1227 1227  
1228 1228  **3. 05 00 01 07 D0**
1229 1229  
1230 -Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then relay change to NO, Relay2 change to NC.
1099 +Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then relay change to NC,Relay2 change to NO.
1231 1231  
1232 1232  **4. 05 00 00 07 D0**
1233 1233  
1234 -Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1103 +Relay 1 & relay2 will change to NO, last 2 seconds, then both change to NC.
1235 1235  
1236 1236  
1237 1237  
1107 +
1238 1238  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1239 1239  
1240 1240  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1241 1241  
1242 -* AT Command:
1112 +* (% style="color:#037691" %)**AT Command:**
1243 1243  
1244 -(% class="box infomessage" %)
1245 -(((
1246 -**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1247 -)))
1114 +**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1248 1248  
1249 1249  
1250 -* Downlink Payload (prefix 0xA5):
1117 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1251 1251  
1252 -(% class="box infomessage" %)
1253 -(((
1254 -**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
1255 -)))
1119 +**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1256 1256  
1257 1257  
1258 1258  
1123 +
1259 1259  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1260 1260  
1261 -* AT Command:
1126 +* (% style="color:#037691" %)**AT Command:**
1262 1262  
1263 -(% class="box infomessage" %)
1264 -(((
1265 1265  **AT+SETCNT=aa,(bb cc dd ee) **
1266 -)))
1267 1267  
1268 1268  aa: 1: Set count1,
1269 1269  
... ... @@ -1274,51 +1274,40 @@
1274 1274  Bb cc dd ee: number to be set
1275 1275  
1276 1276  
1277 -* Downlink Payload (prefix 0xA8):
1139 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1278 1278  
1279 -(% class="box infomessage" %)
1280 -(((
1281 -**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
1282 -)))
1141 +**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1283 1283  
1284 1284  
1285 1285  
1145 +
1286 1286  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1287 1287  
1288 1288  Clear counting for counting mode
1289 1289  
1290 -* AT Command:
1150 +* (% style="color:#037691" %)**AT Command:**
1291 1291  
1292 -(% class="box infomessage" %)
1293 -(((
1294 -**AT+CLRCOUNT ~/~/ clear all counting**
1295 -)))
1152 +**AT+CLRCOUNT ** ~/~/ clear all counting
1296 1296  
1297 -* Downlink Payload (prefix 0xA6):
1298 1298  
1299 -(% class="box infomessage" %)
1300 -(((
1301 -**0x A6 01     ~/~/ clear all counting,**
1302 -)))
1155 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1303 1303  
1157 +**0x A6 01    ** ~/~/ clear all counting
1304 1304  
1305 1305  
1160 +
1161 +
1306 1306  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1307 1307  
1308 -* AT Command:
1164 +* (% style="color:#037691" %)**AT Command:**
1309 1309  
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 -)))
1166 +**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1314 1314  
1315 -* Downlink Payload (prefix 0xA7):
1316 1316  
1317 -(% class="box infomessage" %)
1318 -(((
1319 -**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1320 -)))
1169 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1321 1321  
1171 +**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1172 +
1322 1322  (((
1323 1323  range: aa bb cc:0 to 16777215,  (unit:second)
1324 1324  
... ... @@ -1326,6 +1326,7 @@
1326 1326  )))
1327 1327  
1328 1328  
1180 +
1329 1329  == 3.5 Integrate with Mydevice ==
1330 1330  
1331 1331  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:
... ... @@ -1338,12 +1338,11 @@
1338 1338  (% 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:
1339 1339  )))
1340 1340  
1341 -[[image:1653356737703-362.png||height="232" width="732"]]
1193 +[[image:image-20220719105525-1.png||height="377" width="677"]]
1342 1342  
1343 -[[image:image-20220524094641-11.png||height="390" width="723"]]
1344 1344  
1345 1345  
1346 -[[image:image-20220524094641-12.png||height="402" width="718"]]
1197 +[[image:image-20220719110247-2.png||height="388" width="683"]]
1347 1347  
1348 1348  
1349 1349  (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
... ... @@ -1555,6 +1555,7 @@
1555 1555  [[image:image-20220524100748-11.png]]
1556 1556  
1557 1557  
1409 +
1558 1558  = 4. Use AT Command =
1559 1559  
1560 1560  == 4.1 Access AT Command ==
... ... @@ -1757,8 +1757,6 @@
1757 1757  
1758 1758  (((
1759 1759  AT+CFG: Print all settings
1760 -
1761 -
1762 1762  )))
1763 1763  
1764 1764  
... ... @@ -1804,8 +1804,6 @@
1804 1804  
1805 1805  (((
1806 1806  (% style="background-color:#dcdcdc" %)ATZ
1807 -
1808 -
1809 1809  )))
1810 1810  
1811 1811  
... ... @@ -1918,7 +1918,7 @@
1918 1918  
1919 1919  
1920 1920  (% style="color:blue" %)**For LT-22222-L**(%%):
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.
1769 +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.
1922 1922  )))
1923 1923  
1924 1924   [[image:image-20220524103407-12.png]]
... ... @@ -2012,6 +2012,8 @@
2012 2012  == 5.5 Can i use point to point communication for LT-22222-L? ==
2013 2013  
2014 2014  Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1863 +
1864 +
2015 2015  )))
2016 2016  
2017 2017  (((
... ... @@ -2025,12 +2025,13 @@
2025 2025  
2026 2026  After restart, the status before power failure will be read from flash.
2027 2027  
1878 +
2028 2028  = 6. Trouble Shooting =
2029 2029  )))
2030 2030  
2031 2031  (((
2032 2032  (((
2033 -== 6.1 Downlink doesnt work, how to solve it? ==
1884 +== 6.1 Downlink doesn't work, how to solve it? ==
2034 2034  )))
2035 2035  )))
2036 2036  
... ... @@ -2051,7 +2051,7 @@
2051 2051  (((
2052 2052  
2053 2053  
2054 -== 6.3 Why I cant join TTN in US915 /AU915 bands? ==
1905 +== 6.3 Why I can't join TTN in US915 /AU915 bands? ==
2055 2055  )))
2056 2056  
2057 2057  (((
... ... @@ -2059,25 +2059,24 @@
2059 2059  )))
2060 2060  
2061 2061  
2062 -
2063 2063  = 7. Order Info =
2064 2064  
2065 2065  
2066 2066  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
2067 2067  
2068 -
2069 2069  (% style="color:#4f81bd" %)**XXX:**
2070 2070  
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
1920 +* (% style="color:red" %)**EU433**(%%):  LT with frequency bands EU433
1921 +* (% style="color:red" %)**EU868**(%%):  LT with frequency bands EU868
1922 +* (% style="color:red" %)**KR920**(%%):  LT with frequency bands KR920
1923 +* (% style="color:red" %)**CN470**(%%):  LT with frequency bands CN470
1924 +* (% style="color:red" %)**AS923**(%%):  LT with frequency bands AS923
1925 +* (% style="color:red" %)**AU915**(%%):  LT with frequency bands AU915
1926 +* (% style="color:red" %)**US915**(%%):  LT with frequency bands US915
1927 +* (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
1928 +* (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
2080 2080  
1930 +
2081 2081  = 8. Packing Info =
2082 2082  
2083 2083  
... ... @@ -2095,6 +2095,7 @@
2095 2095  * Package Size / pcs : 14.5 x 8 x 5 cm
2096 2096  * Weight / pcs : 170g
2097 2097  
1948 +
2098 2098  = 9. Support =
2099 2099  
2100 2100  * (((
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