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

From version 82.23
edited by Xiaoling
on 2022/06/20 11:58
Change comment: There is no comment for this version
To version 83.11
edited by Xiaoling
on 2022/06/29 17:35
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:**
... ... @@ -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,7 +181,6 @@
181 181  * Firmware upgradable via program port
182 182  * Counting
183 183  
184 -
185 185  == 1.4  Applications ==
186 186  
187 187  * Smart Buildings & Home Automation
... ... @@ -191,7 +191,6 @@
191 191  * Smart Cities
192 192  * Smart Factory
193 193  
194 -
195 195  == 1.5 Hardware Variants ==
196 196  
197 197  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -205,9 +205,6 @@
205 205  * 1 x Counting Port
206 206  )))
207 207  
208 -
209 -
210 -
211 211  = 2. Power ON Device =
212 212  
213 213  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,11 +225,11 @@
225 225  == 3.1 How it works? ==
226 226  
227 227  (((
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. 
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. 
229 229  )))
230 230  
231 231  (((
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.
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.
233 233  )))
234 234  
235 235  
... ... @@ -281,14 +281,15 @@
281 281  
282 282  There are five working modes + one interrupt mode on LT for different type application:
283 283  
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
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
290 290  
291 291  
285 +
292 292  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
293 293  
294 294  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -327,6 +327,8 @@
327 327  * [1] RO1 relay channel is close and the RO1 LED is ON.
328 328  * [0] RO2 relay channel is open and RO2 LED is OFF;
329 329  
324 +
325 +
330 330  **LT22222-L:**
331 331  
332 332  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -343,6 +343,7 @@
343 343  ** DO1 LED is off in both case
344 344  
345 345  
342 +
346 346  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
347 347  
348 348  
... ... @@ -392,24 +392,20 @@
392 392  
393 393  (((
394 394  **For LT22222-L:**
395 -)))
396 396  
397 -(% class="box infomessage" %)
398 -(((
399 -(((
400 -**AT+TRIG1=0,100  (set DI1 port to trigger on low level, valid signal is 100ms) **
401 401  
402 -**AT+TRIG1=1,100  (set DI1 port to trigger on high level, valid signal is 100ms ) **
394 +(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
403 403  
404 -**AT+TRIG2=0,100  (set DI2 port to trigger on low level, valid signal is 100ms) **
396 +(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
405 405  
406 -**AT+TRIG2=1,100  (set DI2 port to trigger on high level, valid signal is 100ms ) **
398 +(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set DI2 port to trigger on low level, valid signal is 100ms) **
407 407  
408 -**AT+SETCNT=1,6  (Set COUNT1 value to 60)**
400 +(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set DI2 port to trigger on high level, valid signal is 100ms ) **
409 409  
410 -**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
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)**
411 411  )))
412 -)))
413 413  
414 414  
415 415  
... ... @@ -420,6 +420,8 @@
420 420  [[image:image-20220523181246-5.png]]
421 421  
422 422  (((
416 +
417 +
423 423  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
424 424  )))
425 425  
... ... @@ -433,6 +433,7 @@
433 433  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
434 434  )))
435 435  
431 +
436 436  (((
437 437  **To use counting mode, please run:**
438 438  )))
... ... @@ -501,11 +501,8 @@
501 501  
502 502  
503 503  **Plus below command for AVI1 Counting:**
504 -)))
505 505  
506 -(% class="box infomessage" %)
507 -(((
508 -(((
501 +
509 509  (% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
510 510  
511 511  (% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
... ... @@ -514,9 +514,9 @@
514 514  
515 515  (% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)**  (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
516 516  )))
517 -)))
518 518  
519 519  
512 +
520 520  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
521 521  
522 522  
... ... @@ -568,8 +568,8 @@
568 568  
569 569  For example, if user has configured below commands:
570 570  
571 -* **AT+MOD=1 ** **~-~->** The normal working mode
572 -* **AT+ADDMOD6=1**   **~-~->** Enable trigger
564 +* **AT+MOD=1 ** **~-~->**  The normal working mode
565 +* **AT+ADDMOD6=1**   **~-~->**  Enable trigger
573 573  
574 574  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
575 575  
... ... @@ -576,8 +576,10 @@
576 576  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
577 577  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.**
578 578  
572 +
579 579  (% style="color:#037691" %)**AT Command to set Trigger Condition**:
580 580  
575 +
581 581  (% style="color:#4f81bd" %)**Trigger base on voltage**:
582 582  
583 583  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
... ... @@ -718,6 +718,7 @@
718 718  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
719 719  
720 720  
716 +
721 721  === 3.4.1 Common Commands ===
722 722  
723 723  They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
... ... @@ -726,6 +726,7 @@
726 726  
727 727  === 3.4.2 Sensor related commands ===
728 728  
725 +
729 729  ==== 3.4.2.1 Set Transmit Interval ====
730 730  
731 731  Set device uplink interval.
... ... @@ -732,23 +732,19 @@
732 732  
733 733  * (% style="color:#037691" %)**AT Command:**
734 734  
735 -(% class="box infomessage" %)
736 -(((
737 737  **AT+TDC=N **
738 -)))
739 739  
734 +
740 740  **Example: **AT+TDC=30000. Means set interval to 30 seconds
741 741  
742 742  
743 743  * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
744 744  
745 -(% class="box infomessage" %)
746 -(((
747 747  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
748 -)))
749 749  
750 750  
751 751  
744 +
752 752  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
753 753  
754 754  Set work mode.
... ... @@ -755,51 +755,42 @@
755 755  
756 756  * (% style="color:#037691" %)**AT Command:**
757 757  
758 -(% class="box infomessage" %)
759 -(((
760 760  **AT+MOD=N  **
761 -)))
762 762  
753 +
763 763  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
764 764  
765 765  
766 766  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
767 767  
768 -(% class="box infomessage" %)
769 -(((
770 -**0x0A aa     ~/~/ Same as AT+MOD=aa**
771 -)))
759 +**0x0A aa    ** ~/~/ Same as AT+MOD=aa
772 772  
773 773  
774 774  
763 +
775 775  ==== 3.4.2.3 Poll an uplink ====
776 776  
777 -* (% style="color:#037691" %)AT Command:
766 +* (% style="color:#037691" %)**AT Command:**
778 778  
779 779  There is no AT Command to poll uplink
780 780  
781 781  
782 -* (% style="color:#037691" %)Downlink Payload (prefix 0x08):
771 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
783 783  
784 -(% class="box infomessage" %)
785 -(((
786 -**0x08 FF     ~/~/ Poll an uplink,**
787 -)))
773 +**0x08 FF     **~/~/ Poll an uplink
788 788  
789 789  **Example**: 0x08FF, ask device to send an Uplink
790 790  
791 791  
792 792  
779 +
793 793  ==== 3.4.2.4 Enable Trigger Mode ====
794 794  
795 795  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
796 796  
797 -* (% style="color:#037691" %)AT Command:
784 +* (% style="color:#037691" %)**AT Command:**
798 798  
799 -(% class="box infomessage" %)
800 -(((
801 801  **AT+ADDMOD6=1 or 0**
802 -)))
803 803  
804 804  1: Enable Trigger Mode
805 805  
... ... @@ -806,38 +806,34 @@
806 806  0: Disable Trigger Mode
807 807  
808 808  
809 -* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
793 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
810 810  
811 -(% class="box infomessage" %)
812 -(((
813 -**0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
814 -)))
795 +**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
815 815  
816 816  
817 817  
799 +
818 818  ==== 3.4.2.5 Poll trigger settings ====
819 819  
820 820  Poll trigger settings,
821 821  
822 -* (% style="color:#037691" %)AT Command:
804 +* (% style="color:#037691" %)**AT Command:**
823 823  
824 824  There is no AT Command for this feature.
825 825  
826 826  
827 -* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
809 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
828 828  
829 -(% class="box infomessage" %)
830 -(((
831 -**0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
832 -)))
811 +**0xAB 06         **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
833 833  
834 834  
835 835  
815 +
836 836  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
837 837  
838 838  Enable Disable DI1/DI2/DI2 as trigger,
839 839  
840 -* (% style="color:#037691" %)AT Command:
820 +* (% style="color:#037691" %)**AT Command:**
841 841  
842 842  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
843 843  
... ... @@ -846,7 +846,7 @@
846 846  
847 847  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
848 848  
849 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
829 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
850 850  
851 851  **0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
852 852  
... ... @@ -857,7 +857,7 @@
857 857  
858 858  Set DI1 or DI3(for LT-33222-L) trigger.
859 859  
860 -* (% style="color:#037691" %)AT Command:
840 +* (% style="color:#037691" %)**AT Command:**
861 861  
862 862  **AT+TRIG1=a,b**
863 863  
... ... @@ -874,8 +874,6 @@
874 874  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
875 875  * **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
876 876  
877 -
878 -
879 879  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
880 880  
881 881  Set DI2 trigger.
... ... @@ -936,11 +936,11 @@
936 936  
937 937  ==== 3.4.2.11 Trigger – Set minimum interval ====
938 938  
939 -Set AV and AC trigger minimum interval, system wont response to the second trigger within this set time after the first trigger.
917 +Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger.
940 940  
941 941  * (% style="color:#037691" %)**AT Command**
942 942  
943 -**AT+ATDC=5. Device wont response the second trigger within 5 minute after the first trigger.**
921 +**AT+ATDC=5        ** Device won't response the second trigger within 5 minute after the first trigger.
944 944  
945 945  
946 946  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
... ... @@ -947,9 +947,15 @@
947 947  
948 948  **0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
949 949  
928 +(((
929 +
950 950  
931 +(% style="color:red" %)Note: ATDC setting must be more than 5min
932 +)))
951 951  
952 952  
935 +
936 +
953 953  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
954 954  
955 955  * (% style="color:#037691" %)**AT Command**
... ... @@ -1136,7 +1136,7 @@
1136 1136  
1137 1137  * (% style="color:#037691" %)**AT Command:**
1138 1138  
1139 -(% style="color:#037691" %)**​​​​​​​**(%%)**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1123 +**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1140 1140  
1141 1141  
1142 1142  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
... ... @@ -1150,7 +1150,7 @@
1150 1150  
1151 1151  * (% style="color:#037691" %)**AT Command:**
1152 1152  
1153 -(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1137 +**AT+SETCNT=aa,(bb cc dd ee) **
1154 1154  
1155 1155  aa: 1: Set count1,
1156 1156  
... ... @@ -1174,7 +1174,7 @@
1174 1174  
1175 1175  * (% style="color:#037691" %)**AT Command:**
1176 1176  
1177 -(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1161 +**AT+CLRCOUNT ** ~/~/ clear all counting
1178 1178  
1179 1179  
1180 1180  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
... ... @@ -1432,6 +1432,7 @@
1432 1432  [[image:image-20220524100748-11.png]]
1433 1433  
1434 1434  
1419 +
1435 1435  = 4. Use AT Command =
1436 1436  
1437 1437  == 4.1 Access AT Command ==
... ... @@ -1634,8 +1634,6 @@
1634 1634  
1635 1635  (((
1636 1636  AT+CFG: Print all settings
1637 -
1638 -
1639 1639  )))
1640 1640  
1641 1641  
... ... @@ -1681,8 +1681,6 @@
1681 1681  
1682 1682  (((
1683 1683  (% style="background-color:#dcdcdc" %)ATZ
1684 -
1685 -
1686 1686  )))
1687 1687  
1688 1688  
... ... @@ -1889,6 +1889,8 @@
1889 1889  == 5.5 Can i use point to point communication for LT-22222-L? ==
1890 1890  
1891 1891  Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1873 +
1874 +
1892 1892  )))
1893 1893  
1894 1894  (((
... ... @@ -1902,6 +1902,7 @@
1902 1902  
1903 1903  After restart, the status before power failure will be read from flash.
1904 1904  
1888 +
1905 1905  = 6. Trouble Shooting =
1906 1906  )))
1907 1907  
... ... @@ -1936,10 +1936,8 @@
1936 1936  )))
1937 1937  
1938 1938  
1939 -
1940 1940  = 7. Order Info =
1941 1941  
1942 -
1943 1943  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
1944 1944  
1945 1945  
... ... @@ -1979,6 +1979,10 @@
1979 1979  )))
1980 1980  * (((
1981 1981  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]]
1964 +
1965 +
1966 +
1967 +
1982 1982  )))
1983 1983  
1984 1984  = 10. Reference​​​​​ =