<
From version < 83.11 >
edited by Xiaoling
on 2022/06/29 17:35
To version < 82.22 >
edited by Xiaoling
on 2022/06/20 11:57
>
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,7 @@
179 179  * Firmware upgradable via program port
180 180  * Counting
181 181  
184 +
182 182  == 1.4  Applications ==
183 183  
184 184  * Smart Buildings & Home Automation
... ... @@ -188,6 +188,7 @@
188 188  * Smart Cities
189 189  * Smart Factory
190 190  
194 +
191 191  == 1.5 Hardware Variants ==
192 192  
193 193  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -201,6 +201,9 @@
201 201  * 1 x Counting Port
202 202  )))
203 203  
208 +
209 +
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,15 +274,14 @@
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 -
286 286  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
287 287  
288 288  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -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;
... ... @@ -339,7 +339,6 @@
339 339  ** DO1 LED is off in both case
340 340  
341 341  
342 -
343 343  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
344 344  
345 345  
... ... @@ -389,20 +389,24 @@
389 389  
390 390  (((
391 391  **For LT22222-L:**
395 +)))
392 392  
397 +(% class="box infomessage" %)
398 +(((
399 +(((
400 +**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) **
402 +**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 ) **
404 +**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) **
406 +**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 ) **
408 +**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)**
410 +**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
405 405  )))
412 +)))
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:**
504 +)))
500 500  
506 +(% class="box infomessage" %)
507 +(((
508 +(((
509 +(% 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)**
511 +(% 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)**
513 +(% 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)**
515 +(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)**   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
509 509  )))
517 +)))
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
571 +* **AT+MOD=1 ** **~-~->** The normal working mode
572 +* **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>
... ... @@ -713,7 +713,6 @@
713 713  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
714 714  
715 715  
716 -
717 717  === 3.4.1 Common Commands ===
718 718  
719 719  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]]
... ... @@ -722,7 +722,6 @@
722 722  
723 723  === 3.4.2 Sensor related commands ===
724 724  
725 -
726 726  ==== 3.4.2.1 Set Transmit Interval ====
727 727  
728 728  Set device uplink interval.
... ... @@ -729,19 +729,23 @@
729 729  
730 730  * (% style="color:#037691" %)**AT Command:**
731 731  
735 +(% class="box infomessage" %)
736 +(((
732 732  **AT+TDC=N **
738 +)))
733 733  
734 -
735 735  **Example: **AT+TDC=30000. Means set interval to 30 seconds
736 736  
737 737  
738 738  * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
739 739  
745 +(% class="box infomessage" %)
746 +(((
740 740  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
748 +)))
741 741  
742 742  
743 743  
744 -
745 745  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
746 746  
747 747  Set work mode.
... ... @@ -748,42 +748,51 @@
748 748  
749 749  * (% style="color:#037691" %)**AT Command:**
750 750  
758 +(% class="box infomessage" %)
759 +(((
751 751  **AT+MOD=N  **
761 +)))
752 752  
753 -
754 754  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
755 755  
756 756  
757 757  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
758 758  
759 -**0x0A aa    ** ~/~/ Same as AT+MOD=aa
768 +(% class="box infomessage" %)
769 +(((
770 +**0x0A aa     ~/~/ Same as AT+MOD=aa**
771 +)))
760 760  
761 761  
762 762  
763 -
764 764  ==== 3.4.2.3 Poll an uplink ====
765 765  
766 -* (% style="color:#037691" %)**AT Command:**
777 +* (% style="color:#037691" %)AT Command:
767 767  
768 768  There is no AT Command to poll uplink
769 769  
770 770  
771 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
782 +* (% style="color:#037691" %)Downlink Payload (prefix 0x08):
772 772  
773 -**0x08 FF     **~/~/ Poll an uplink
784 +(% class="box infomessage" %)
785 +(((
786 +**0x08 FF     ~/~/ Poll an uplink,**
787 +)))
774 774  
775 775  **Example**: 0x08FF, ask device to send an Uplink
776 776  
777 777  
778 778  
779 -
780 780  ==== 3.4.2.4 Enable Trigger Mode ====
781 781  
782 782  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
783 783  
784 -* (% style="color:#037691" %)**AT Command:**
797 +* (% style="color:#037691" %)AT Command:
785 785  
799 +(% class="box infomessage" %)
800 +(((
786 786  **AT+ADDMOD6=1 or 0**
802 +)))
787 787  
788 788  1: Enable Trigger Mode
789 789  
... ... @@ -790,34 +790,38 @@
790 790  0: Disable Trigger Mode
791 791  
792 792  
793 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
809 +* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
794 794  
795 -**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
811 +(% class="box infomessage" %)
812 +(((
813 +**0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
814 +)))
796 796  
797 797  
798 798  
799 -
800 800  ==== 3.4.2.5 Poll trigger settings ====
801 801  
802 802  Poll trigger settings,
803 803  
804 -* (% style="color:#037691" %)**AT Command:**
822 +* (% style="color:#037691" %)AT Command:
805 805  
806 806  There is no AT Command for this feature.
807 807  
808 808  
809 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
827 +* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
810 810  
811 -**0xAB 06         **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
829 +(% class="box infomessage" %)
830 +(((
831 +**0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
832 +)))
812 812  
813 813  
814 814  
815 -
816 816  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
817 817  
818 818  Enable Disable DI1/DI2/DI2 as trigger,
819 819  
820 -* (% style="color:#037691" %)**AT Command:**
840 +* (% style="color:#037691" %)AT Command:
821 821  
822 822  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
823 823  
... ... @@ -826,7 +826,7 @@
826 826  
827 827  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
828 828  
829 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
849 +* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
830 830  
831 831  **0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
832 832  
... ... @@ -837,7 +837,7 @@
837 837  
838 838  Set DI1 or DI3(for LT-33222-L) trigger.
839 839  
840 -* (% style="color:#037691" %)**AT Command:**
860 +* (% style="color:#037691" %)AT Command:
841 841  
842 842  **AT+TRIG1=a,b**
843 843  
... ... @@ -854,6 +854,8 @@
854 854  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
855 855  * **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
856 856  
877 +
878 +
857 857  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
858 858  
859 859  Set DI2 trigger.
... ... @@ -914,11 +914,11 @@
914 914  
915 915  ==== 3.4.2.11 Trigger – Set minimum interval ====
916 916  
917 -Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger.
939 +Set AV and AC trigger minimum interval, system wont response to the second trigger within this set time after the first trigger.
918 918  
919 919  * (% style="color:#037691" %)**AT Command**
920 920  
921 -**AT+ATDC=5        ** Device won't response the second trigger within 5 minute after the first trigger.
943 +**AT+ATDC=5. Device wont response the second trigger within 5 minute after the first trigger.**
922 922  
923 923  
924 924  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
... ... @@ -925,15 +925,9 @@
925 925  
926 926  **0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
927 927  
928 -(((
929 -
930 930  
931 -(% style="color:red" %)Note: ATDC setting must be more than 5min
932 -)))
933 933  
934 934  
935 -
936 -
937 937  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
938 938  
939 939  * (% style="color:#037691" %)**AT Command**
... ... @@ -1120,7 +1120,7 @@
1120 1120  
1121 1121  * (% style="color:#037691" %)**AT Command:**
1122 1122  
1123 -**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1139 +(% style="color:#037691" %)**​​​​​​​**(%%)**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1124 1124  
1125 1125  
1126 1126  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
... ... @@ -1134,7 +1134,7 @@
1134 1134  
1135 1135  * (% style="color:#037691" %)**AT Command:**
1136 1136  
1137 -**AT+SETCNT=aa,(bb cc dd ee) **
1153 +(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1138 1138  
1139 1139  aa: 1: Set count1,
1140 1140  
... ... @@ -1158,7 +1158,7 @@
1158 1158  
1159 1159  * (% style="color:#037691" %)**AT Command:**
1160 1160  
1161 -**AT+CLRCOUNT ** ~/~/ clear all counting
1177 +(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1162 1162  
1163 1163  
1164 1164  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
... ... @@ -1416,7 +1416,6 @@
1416 1416  [[image:image-20220524100748-11.png]]
1417 1417  
1418 1418  
1419 -
1420 1420  = 4. Use AT Command =
1421 1421  
1422 1422  == 4.1 Access AT Command ==
... ... @@ -1619,6 +1619,8 @@
1619 1619  
1620 1620  (((
1621 1621  AT+CFG: Print all settings
1637 +
1638 +
1622 1622  )))
1623 1623  
1624 1624  
... ... @@ -1664,6 +1664,8 @@
1664 1664  
1665 1665  (((
1666 1666  (% style="background-color:#dcdcdc" %)ATZ
1684 +
1685 +
1667 1667  )))
1668 1668  
1669 1669  
... ... @@ -1870,8 +1870,6 @@
1870 1870  == 5.5 Can i use point to point communication for LT-22222-L? ==
1871 1871  
1872 1872  Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1873 -
1874 -
1875 1875  )))
1876 1876  
1877 1877  (((
... ... @@ -1885,7 +1885,6 @@
1885 1885  
1886 1886  After restart, the status before power failure will be read from flash.
1887 1887  
1888 -
1889 1889  = 6. Trouble Shooting =
1890 1890  )))
1891 1891  
... ... @@ -1920,8 +1920,10 @@
1920 1920  )))
1921 1921  
1922 1922  
1939 +
1923 1923  = 7. Order Info =
1924 1924  
1942 +
1925 1925  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
1926 1926  
1927 1927  
... ... @@ -1961,10 +1961,6 @@
1961 1961  )))
1962 1962  * (((
1963 1963  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 -
1968 1968  )))
1969 1969  
1970 1970  = 10. Reference​​​​​ =
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0