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

From version 82.28
edited by Xiaoling
on 2022/06/20 13:33
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" %)(((
... ... @@ -205,8 +205,10 @@
205 205  
206 206  
207 207  
220 +
208 208  = 2. Power ON Device =
209 209  
223 +
210 210  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.
211 211  
212 212  (((
... ... @@ -221,19 +221,24 @@
221 221  
222 222  == 3.1 How it works? ==
223 223  
238 +
224 224  (((
225 -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. 
226 226  )))
227 227  
228 228  (((
229 -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.
230 230  )))
231 231  
232 232  
248 +
233 233  == 3.2 Example to join LoRaWAN network ==
234 234  
251 +
235 235  (((
236 236  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 +
237 237  )))
238 238  
239 239  [[image:image-20220523172350-1.png||height="266" width="864"]]
... ... @@ -241,6 +241,8 @@
241 241  
242 242  (((
243 243  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 +
244 244  )))
245 245  
246 246  (((
... ... @@ -278,12 +278,12 @@
278 278  
279 279  There are five working modes + one interrupt mode on LT for different type application:
280 280  
281 -* **MOD1**: (default setting): 2 x ACI + 2AVI + DI + DO + RO
282 -* **MOD2**: Double DI Counting + DO + RO
283 -* **MOD3**: Single DI Counting + 2 x ACI + DO + RO
284 -* **MOD4**: Single DI Counting + 1 x Voltage Counting + DO + RO
285 -* **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
286 -* **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
287 287  
288 288  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
289 289  
... ... @@ -411,6 +411,8 @@
411 411  [[image:image-20220523181246-5.png]]
412 412  
413 413  (((
435 +
436 +
414 414  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
415 415  )))
416 416  
... ... @@ -424,6 +424,7 @@
424 424  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
425 425  )))
426 426  
450 +
427 427  (((
428 428  **To use counting mode, please run:**
429 429  )))
... ... @@ -556,8 +556,8 @@
556 556  
557 557  For example, if user has configured below commands:
558 558  
559 -* **AT+MOD=1 ** **~-~->** The normal working mode
560 -* **AT+ADDMOD6=1**   **~-~->** Enable trigger
583 +* **AT+MOD=1 ** **~-~->**  The normal working mode
584 +* **AT+ADDMOD6=1**   **~-~->**  Enable trigger
561 561  
562 562  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
563 563  
... ... @@ -564,9 +564,9 @@
564 564  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
565 565  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.**
566 566  
567 -
568 568  (% style="color:#037691" %)**AT Command to set Trigger Condition**:
569 569  
593 +
570 570  (% style="color:#4f81bd" %)**Trigger base on voltage**:
571 571  
572 572  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
... ... @@ -714,6 +714,7 @@
714 714  
715 715  === 3.4.2 Sensor related commands ===
716 716  
741 +
717 717  ==== 3.4.2.1 Set Transmit Interval ====
718 718  
719 719  Set device uplink interval.
... ... @@ -720,23 +720,19 @@
720 720  
721 721  * (% style="color:#037691" %)**AT Command:**
722 722  
723 -(% class="box infomessage" %)
724 -(((
725 725  **AT+TDC=N **
726 -)))
727 727  
750 +
728 728  **Example: **AT+TDC=30000. Means set interval to 30 seconds
729 729  
730 730  
731 731  * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
732 732  
733 -(% class="box infomessage" %)
734 -(((
735 735  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
736 -)))
737 737  
738 738  
739 739  
760 +
740 740  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
741 741  
742 742  Set work mode.
... ... @@ -743,51 +743,42 @@
743 743  
744 744  * (% style="color:#037691" %)**AT Command:**
745 745  
746 -(% class="box infomessage" %)
747 -(((
748 748  **AT+MOD=N  **
749 -)))
750 750  
769 +
751 751  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
752 752  
753 753  
754 754  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
755 755  
756 -(% class="box infomessage" %)
757 -(((
758 -**0x0A aa     ~/~/ Same as AT+MOD=aa**
759 -)))
775 +**0x0A aa    ** ~/~/ Same as AT+MOD=aa
760 760  
761 761  
762 762  
779 +
763 763  ==== 3.4.2.3 Poll an uplink ====
764 764  
765 -* (% style="color:#037691" %)AT Command:
782 +* (% 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):
787 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
771 771  
772 -(% class="box infomessage" %)
773 -(((
774 -**0x08 FF     ~/~/ Poll an uplink,**
775 -)))
789 +**0x08 FF     **~/~/ Poll an uplink
776 776  
777 777  **Example**: 0x08FF, ask device to send an Uplink
778 778  
779 779  
780 780  
795 +
781 781  ==== 3.4.2.4 Enable Trigger Mode ====
782 782  
783 783  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
784 784  
785 -* (% style="color:#037691" %)AT Command:
800 +* (% style="color:#037691" %)**AT Command:**
786 786  
787 -(% class="box infomessage" %)
788 -(((
789 789  **AT+ADDMOD6=1 or 0**
790 -)))
791 791  
792 792  1: Enable Trigger Mode
793 793  
... ... @@ -794,38 +794,34 @@
794 794  0: Disable Trigger Mode
795 795  
796 796  
797 -* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
809 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
798 798  
799 -(% class="box infomessage" %)
800 -(((
801 -**0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
802 -)))
811 +**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
803 803  
804 804  
805 805  
815 +
806 806  ==== 3.4.2.5 Poll trigger settings ====
807 807  
808 808  Poll trigger settings,
809 809  
810 -* (% style="color:#037691" %)AT Command:
820 +* (% style="color:#037691" %)**AT Command:**
811 811  
812 812  There is no AT Command for this feature.
813 813  
814 814  
815 -* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
825 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
816 816  
817 -(% class="box infomessage" %)
818 -(((
819 -**0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
820 -)))
827 +**0xAB 06         **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
821 821  
822 822  
823 823  
831 +
824 824  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
825 825  
826 826  Enable Disable DI1/DI2/DI2 as trigger,
827 827  
828 -* (% style="color:#037691" %)AT Command:
836 +* (% style="color:#037691" %)**AT Command:**
829 829  
830 830  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
831 831  
... ... @@ -834,7 +834,7 @@
834 834  
835 835  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
836 836  
837 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
845 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
838 838  
839 839  **0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
840 840  
... ... @@ -845,7 +845,7 @@
845 845  
846 846  Set DI1 or DI3(for LT-33222-L) trigger.
847 847  
848 -* (% style="color:#037691" %)AT Command:
856 +* (% style="color:#037691" %)**AT Command:**
849 849  
850 850  **AT+TRIG1=a,b**
851 851  
... ... @@ -862,7 +862,6 @@
862 862  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
863 863  * **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
864 864  
865 -
866 866  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
867 867  
868 868  Set DI2 trigger.
... ... @@ -923,11 +923,11 @@
923 923  
924 924  ==== 3.4.2.11 Trigger – Set minimum interval ====
925 925  
926 -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.
927 927  
928 928  * (% style="color:#037691" %)**AT Command**
929 929  
930 -**AT+ATDC=5. Device wont response the second trigger within 5 minute after the first trigger.**
937 +**AT+ATDC=5        ** Device won't response the second trigger within 5 minute after the first trigger.
931 931  
932 932  
933 933  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
... ... @@ -934,9 +934,15 @@
934 934  
935 935  **0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
936 936  
944 +(((
945 +
937 937  
947 +(% style="color:red" %)Note: ATDC setting must be more than 5min
948 +)))
938 938  
939 939  
951 +
952 +
940 940  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
941 941  
942 942  * (% style="color:#037691" %)**AT Command**
... ... @@ -1088,7 +1088,7 @@
1088 1088  
1089 1089  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1090 1090  
1091 -[[image:image-20220524093831-10.png]]
1104 +[[image:image-20220714135731-1.png||height="406" width="627"]]
1092 1092  
1093 1093  
1094 1094  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
... ... @@ -1098,21 +1098,21 @@
1098 1098  
1099 1099  **Example payload:**
1100 1100  
1101 -**~1. 05 01 11 07 D0**
1114 +**~1. 05 01 11 07 D**
1102 1102  
1103 -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.
1104 1104  
1105 1105  **2. 05 01 10 07 D0**
1106 1106  
1107 -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.
1108 1108  
1109 1109  **3. 05 00 01 07 D0**
1110 1110  
1111 -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.
1112 1112  
1113 1113  **4. 05 00 00 07 D0**
1114 1114  
1115 -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.
1116 1116  
1117 1117  
1118 1118  
... ... @@ -1137,7 +1137,7 @@
1137 1137  
1138 1138  * (% style="color:#037691" %)**AT Command:**
1139 1139  
1140 -(% style="color:#037691" %)**​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1153 +**AT+SETCNT=aa,(bb cc dd ee) **
1141 1141  
1142 1142  aa: 1: Set count1,
1143 1143  
... ... @@ -1161,7 +1161,7 @@
1161 1161  
1162 1162  * (% style="color:#037691" %)**AT Command:**
1163 1163  
1164 -(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1177 +**AT+CLRCOUNT ** ~/~/ clear all counting
1165 1165  
1166 1166  
1167 1167  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
... ... @@ -1202,12 +1202,11 @@
1202 1202  (% 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:
1203 1203  )))
1204 1204  
1205 -[[image:1653356737703-362.png||height="232" width="732"]]
1218 +[[image:image-20220719105525-1.png||height="377" width="677"]]
1206 1206  
1207 -[[image:image-20220524094641-11.png||height="390" width="723"]]
1208 1208  
1209 1209  
1210 -[[image:image-20220524094641-12.png||height="402" width="718"]]
1222 +[[image:image-20220719110247-2.png||height="388" width="683"]]
1211 1211  
1212 1212  
1213 1213  (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
... ... @@ -1419,6 +1419,7 @@
1419 1419  [[image:image-20220524100748-11.png]]
1420 1420  
1421 1421  
1434 +
1422 1422  = 4. Use AT Command =
1423 1423  
1424 1424  == 4.1 Access AT Command ==
... ... @@ -1621,8 +1621,6 @@
1621 1621  
1622 1622  (((
1623 1623  AT+CFG: Print all settings
1624 -
1625 -
1626 1626  )))
1627 1627  
1628 1628  
... ... @@ -1668,8 +1668,6 @@
1668 1668  
1669 1669  (((
1670 1670  (% style="background-color:#dcdcdc" %)ATZ
1671 -
1672 -
1673 1673  )))
1674 1674  
1675 1675  
... ... @@ -1782,7 +1782,7 @@
1782 1782  
1783 1783  
1784 1784  (% style="color:blue" %)**For LT-22222-L**(%%):
1785 -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.
1786 1786  )))
1787 1787  
1788 1788   [[image:image-20220524103407-12.png]]
... ... @@ -1876,6 +1876,8 @@
1876 1876  == 5.5 Can i use point to point communication for LT-22222-L? ==
1877 1877  
1878 1878  Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1888 +
1889 +
1879 1879  )))
1880 1880  
1881 1881  (((
... ... @@ -1889,12 +1889,13 @@
1889 1889  
1890 1890  After restart, the status before power failure will be read from flash.
1891 1891  
1903 +
1892 1892  = 6. Trouble Shooting =
1893 1893  )))
1894 1894  
1895 1895  (((
1896 1896  (((
1897 -== 6.1 Downlink doesnt work, how to solve it? ==
1909 +== 6.1 Downlink doesn't work, how to solve it? ==
1898 1898  )))
1899 1899  )))
1900 1900  
... ... @@ -1915,7 +1915,7 @@
1915 1915  (((
1916 1916  
1917 1917  
1918 -== 6.3 Why I cant join TTN in US915 /AU915 bands? ==
1930 +== 6.3 Why I can't join TTN in US915 /AU915 bands? ==
1919 1919  )))
1920 1920  
1921 1921  (((
... ... @@ -1923,24 +1923,22 @@
1923 1923  )))
1924 1924  
1925 1925  
1926 -
1927 1927  = 7. Order Info =
1928 1928  
1929 1929  
1930 1930  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
1931 1931  
1932 -
1933 1933  (% style="color:#4f81bd" %)**XXX:**
1934 1934  
1935 -* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1936 -* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1937 -* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1938 -* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1939 -* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1940 -* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1941 -* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1942 -* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1943 -* (% 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
1944 1944  
1945 1945  = 8. Packing Info =
1946 1946  
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