<
From version < 83.10 >
edited by Xiaoling
on 2022/06/29 17:30
To version < 82.21 >
edited by Xiaoling
on 2022/06/20 11:54
>
Change comment: There is no comment for this version

Summary

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:**
... ... @@ -166,6 +166,7 @@
166 166  Packet engine up to 256 bytes with CRC.
167 167  
168 168  
170 +
169 169  
170 170  )))
171 171  
... ... @@ -179,6 +179,8 @@
179 179  * Firmware upgradable via program port
180 180  * Counting
181 181  
184 +
185 +
182 182  == 1.4  Applications ==
183 183  
184 184  * Smart Buildings & Home Automation
... ... @@ -188,6 +188,8 @@
188 188  * Smart Cities
189 189  * Smart Factory
190 190  
195 +
196 +
191 191  == 1.5 Hardware Variants ==
192 192  
193 193  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -201,6 +201,7 @@
201 201  * 1 x Counting Port
202 202  )))
203 203  
210 +
204 204  = 2. Power ON Device =
205 205  
206 206  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.
... ... @@ -218,11 +218,11 @@
218 218  == 3.1 How it works? ==
219 219  
220 220  (((
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. 
228 +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. 
222 222  )))
223 223  
224 224  (((
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.
232 +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.
226 226  )))
227 227  
228 228  
... ... @@ -274,12 +274,12 @@
274 274  
275 275  There are five working modes + one interrupt mode on LT for different type application:
276 276  
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
284 +* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO
285 +* **MOD2**: Double DI Counting + DO + RO
286 +* **MOD3**: Single DI Counting + 2 x ACI + DO + RO
287 +* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO
288 +* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
289 +* **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
283 283  
284 284  
285 285  
... ... @@ -321,8 +321,6 @@
321 321  * [1] RO1 relay channel is close and the RO1 LED is ON.
322 322  * [0] RO2 relay channel is open and RO2 LED is OFF;
323 323  
324 -
325 -
326 326  **LT22222-L:**
327 327  
328 328  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -389,20 +389,24 @@
389 389  
390 390  (((
391 391  **For LT22222-L:**
397 +)))
392 392  
399 +(% class="box infomessage" %)
400 +(((
401 +(((
402 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
393 393  
394 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
404 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
395 395  
396 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
406 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
397 397  
398 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set DI2 port to trigger on low level, valid signal is 100ms) **
408 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
399 399  
400 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set DI2 port to trigger on high level, valid signal is 100ms ) **
410 +**AT+SETCNT=1,6  (Set COUNT1 value to 60)**
401 401  
402 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)**   (Set COUNT1 value to 60)**
403 -
404 -(% style="color:blue" %)**AT+SETCNT=2,60**(%%)**   (Set COUNT2 value to 60)**
412 +**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
405 405  )))
414 +)))
406 406  
407 407  
408 408  
... ... @@ -413,8 +413,6 @@
413 413  [[image:image-20220523181246-5.png]]
414 414  
415 415  (((
416 -
417 -
418 418  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
419 419  )))
420 420  
... ... @@ -428,7 +428,6 @@
428 428  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
429 429  )))
430 430  
431 -
432 432  (((
433 433  **To use counting mode, please run:**
434 434  )))
... ... @@ -497,19 +497,22 @@
497 497  
498 498  
499 499  **Plus below command for AVI1 Counting:**
506 +)))
500 500  
508 +(% class="box infomessage" %)
509 +(((
510 +(((
511 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**   (set AVI Count to 60)**
501 501  
502 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
513 +(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
503 503  
504 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
515 +(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
505 505  
506 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**  (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
507 -
508 -(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)**  (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
517 +(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)**   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
509 509  )))
519 +)))
510 510  
511 511  
512 -
513 513  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
514 514  
515 515  
... ... @@ -561,8 +561,8 @@
561 561  
562 562  For example, if user has configured below commands:
563 563  
564 -* **AT+MOD=1 ** **~-~->**  The normal working mode
565 -* **AT+ADDMOD6=1**   **~-~->**  Enable trigger
573 +* **AT+MOD=1 ** **~-~->** The normal working mode
574 +* **AT+ADDMOD6=1**   **~-~->** Enable trigger
566 566  
567 567  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
568 568  
... ... @@ -569,10 +569,8 @@
569 569  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
570 570  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.**
571 571  
572 -
573 573  (% style="color:#037691" %)**AT Command to set Trigger Condition**:
574 574  
575 -
576 576  (% style="color:#4f81bd" %)**Trigger base on voltage**:
577 577  
578 578  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
... ... @@ -728,19 +728,23 @@
728 728  
729 729  * (% style="color:#037691" %)**AT Command:**
730 730  
738 +(% class="box infomessage" %)
739 +(((
731 731  **AT+TDC=N **
741 +)))
732 732  
733 -
734 734  **Example: **AT+TDC=30000. Means set interval to 30 seconds
735 735  
736 736  
737 737  * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
738 738  
748 +(% class="box infomessage" %)
749 +(((
739 739  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
751 +)))
740 740  
741 741  
742 742  
743 -
744 744  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
745 745  
746 746  Set work mode.
... ... @@ -747,29 +747,36 @@
747 747  
748 748  * (% style="color:#037691" %)**AT Command:**
749 749  
761 +(% class="box infomessage" %)
762 +(((
750 750  **AT+MOD=N  **
764 +)))
751 751  
752 -
753 753  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
754 754  
755 755  
756 756  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
757 757  
758 -**0x0A aa    ** ~/~/ Same as AT+MOD=aa
771 +(% class="box infomessage" %)
772 +(((
773 +**0x0A aa     ~/~/ Same as AT+MOD=aa**
774 +)))
759 759  
760 760  
761 761  
762 -
763 763  ==== 3.4.2.3 Poll an uplink ====
764 764  
765 -* (% style="color:#037691" %)**AT Command:**
780 +* (% style="color:#037691" %)AT Command:
766 766  
767 767  There is no AT Command to poll uplink
768 768  
769 769  
770 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
785 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08):
771 771  
772 -**0x08 FF     **~/~/ Poll an uplink
787 +(% class="box infomessage" %)
788 +(((
789 +**0x08 FF     ~/~/ Poll an uplink,**
790 +)))
773 773  
774 774  **Example**: 0x08FF, ask device to send an Uplink
775 775  
... ... @@ -779,9 +779,12 @@
779 779  
780 780  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
781 781  
782 -* (% style="color:#037691" %)**AT Command:**
800 +* (% style="color:#037691" %)AT Command:
783 783  
802 +(% class="box infomessage" %)
803 +(((
784 784  **AT+ADDMOD6=1 or 0**
805 +)))
785 785  
786 786  1: Enable Trigger Mode
787 787  
... ... @@ -788,34 +788,38 @@
788 788  0: Disable Trigger Mode
789 789  
790 790  
791 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
812 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
792 792  
793 -**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
814 +(% class="box infomessage" %)
815 +(((
816 +**0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
817 +)))
794 794  
795 795  
796 796  
797 -
798 798  ==== 3.4.2.5 Poll trigger settings ====
799 799  
800 800  Poll trigger settings,
801 801  
802 -* (% style="color:#037691" %)**AT Command:**
825 +* (% style="color:#037691" %)AT Command:
803 803  
804 804  There is no AT Command for this feature.
805 805  
806 806  
807 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
830 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
808 808  
809 -**0xAB 06         **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
832 +(% class="box infomessage" %)
833 +(((
834 +**0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
835 +)))
810 810  
811 811  
812 812  
813 -
814 814  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
815 815  
816 816  Enable Disable DI1/DI2/DI2 as trigger,
817 817  
818 -* (% style="color:#037691" %)**AT Command:**
843 +* (% style="color:#037691" %)AT Command:
819 819  
820 820  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
821 821  
... ... @@ -824,9 +824,9 @@
824 824  
825 825  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
826 826  
827 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
852 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
828 828  
829 -**0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
854 +**0xAA 02 aa bb  **~/~/ Same as AT+DTRI=aa,bb
830 830  
831 831  
832 832  
... ... @@ -835,7 +835,7 @@
835 835  
836 836  Set DI1 or DI3(for LT-33222-L) trigger.
837 837  
838 -* (% style="color:#037691" %)**AT Command:**
863 +* (% style="color:#037691" %)AT Command:
839 839  
840 840  **AT+TRIG1=a,b**
841 841  
... ... @@ -850,8 +850,11 @@
850 850  
851 851  
852 852  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
853 -* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
878 +* **0x09 01 aa bb cc  ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
854 854  
880 +
881 +
882 +
855 855  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
856 856  
857 857  Set DI2 trigger.
... ... @@ -873,7 +873,7 @@
873 873  
874 874  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
875 875  
876 -**0x09 02 aa bb cc           **~/~/ same as AT+TRIG1=aa,0x(bb cc)
904 +**0x09 02 aa bb cc  **~/~/ same as AT+TRIG1=aa,0x(bb cc)
877 877  
878 878  
879 879  
... ... @@ -889,7 +889,7 @@
889 889  
890 890  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
891 891  
892 -**0x AA 01 aa bb cc dd ee ff gg hh        ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
920 +**0x AA 01 aa bb cc dd ee ff gg hh  ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
893 893  
894 894  
895 895  
... ... @@ -905,7 +905,7 @@
905 905  
906 906  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
907 907  
908 -**0x AA 00 aa bb cc dd ee ff gg hh    ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
936 +**0x AA 00 aa bb cc dd ee ff gg hh  ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
909 909  
910 910  
911 911  
... ... @@ -912,25 +912,20 @@
912 912  
913 913  ==== 3.4.2.11 Trigger – Set minimum interval ====
914 914  
915 -Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger.
943 +Set AV and AC trigger minimum interval, system wont response to the second trigger within this set time after the first trigger.
916 916  
917 917  * (% style="color:#037691" %)**AT Command**
918 918  
919 -**AT+ATDC=5        ** Device won't response the second trigger within 5 minute after the first trigger.
947 +**AT+ATDC=5. Device wont response the second trigger within 5 minute after the first trigger.**
920 920  
921 921  
922 922  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
923 923  
924 -**0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
952 +**0x AC aa bb  ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
925 925  
926 -(((
927 -
928 928  
929 -(% style="color:red" %)Note: ATDC setting must be more than 5min
930 -)))
931 931  
932 932  
933 -
934 934  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
935 935  
936 936  * (% style="color:#037691" %)**AT Command**
... ... @@ -941,6 +941,7 @@
941 941  * (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
942 942  * **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
943 943  
967 +
944 944  (((
945 945  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
946 946  )))
... ... @@ -1117,7 +1117,7 @@
1117 1117  
1118 1118  * (% style="color:#037691" %)**AT Command:**
1119 1119  
1120 -**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1144 +(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1121 1121  
1122 1122  
1123 1123  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
... ... @@ -1131,7 +1131,7 @@
1131 1131  
1132 1132  * (% style="color:#037691" %)**AT Command:**
1133 1133  
1134 -**AT+SETCNT=aa,(bb cc dd ee) **
1158 +(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1135 1135  
1136 1136  aa: 1: Set count1,
1137 1137  
... ... @@ -1155,7 +1155,7 @@
1155 1155  
1156 1156  * (% style="color:#037691" %)**AT Command:**
1157 1157  
1158 -**AT+CLRCOUNT ** ~/~/ clear all counting
1182 +(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1159 1159  
1160 1160  
1161 1161  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
... ... @@ -1413,7 +1413,6 @@
1413 1413  [[image:image-20220524100748-11.png]]
1414 1414  
1415 1415  
1416 -
1417 1417  = 4. Use AT Command =
1418 1418  
1419 1419  == 4.1 Access AT Command ==
... ... @@ -1616,6 +1616,8 @@
1616 1616  
1617 1617  (((
1618 1618  AT+CFG: Print all settings
1642 +
1643 +
1619 1619  )))
1620 1620  
1621 1621  
... ... @@ -1661,6 +1661,8 @@
1661 1661  
1662 1662  (((
1663 1663  (% style="background-color:#dcdcdc" %)ATZ
1689 +
1690 +
1664 1664  )))
1665 1665  
1666 1666  
... ... @@ -1867,8 +1867,6 @@
1867 1867  == 5.5 Can i use point to point communication for LT-22222-L? ==
1868 1868  
1869 1869  Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1870 -
1871 -
1872 1872  )))
1873 1873  
1874 1874  (((
... ... @@ -1882,7 +1882,6 @@
1882 1882  
1883 1883  After restart, the status before power failure will be read from flash.
1884 1884  
1885 -
1886 1886  = 6. Trouble Shooting =
1887 1887  )))
1888 1888  
... ... @@ -1917,8 +1917,10 @@
1917 1917  )))
1918 1918  
1919 1919  
1944 +
1920 1920  = 7. Order Info =
1921 1921  
1947 +
1922 1922  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
1923 1923  
1924 1924  
... ... @@ -1958,10 +1958,6 @@
1958 1958  )))
1959 1959  * (((
1960 1960  Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
1961 -
1962 -
1963 -
1964 -
1965 1965  )))
1966 1966  
1967 1967  = 10. Reference​​​​​ =
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0