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

From version 82.30
edited by Xiaoling
on 2022/06/20 13:34
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.
... ... @@ -747,41 +747,34 @@
747 747  
748 748  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
749 749  
750 -(% class="box infomessage" %)
751 -(((
752 -**0x0A aa     ~/~/ Same as AT+MOD=aa**
753 -)))
775 +**0x0A aa    ** ~/~/ Same as AT+MOD=aa
754 754  
755 755  
756 756  
779 +
757 757  ==== 3.4.2.3 Poll an uplink ====
758 758  
759 -* (% style="color:#037691" %)AT Command:
782 +* (% style="color:#037691" %)**AT Command:**
760 760  
761 761  There is no AT Command to poll uplink
762 762  
763 763  
764 -* (% style="color:#037691" %)Downlink Payload (prefix 0x08):
787 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
765 765  
766 -(% class="box infomessage" %)
767 -(((
768 -**0x08 FF     ~/~/ Poll an uplink,**
769 -)))
789 +**0x08 FF     **~/~/ Poll an uplink
770 770  
771 771  **Example**: 0x08FF, ask device to send an Uplink
772 772  
773 773  
774 774  
795 +
775 775  ==== 3.4.2.4 Enable Trigger Mode ====
776 776  
777 777  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
778 778  
779 -* (% style="color:#037691" %)AT Command:
800 +* (% style="color:#037691" %)**AT Command:**
780 780  
781 -(% class="box infomessage" %)
782 -(((
783 783  **AT+ADDMOD6=1 or 0**
784 -)))
785 785  
786 786  1: Enable Trigger Mode
787 787  
... ... @@ -788,38 +788,34 @@
788 788  0: Disable Trigger Mode
789 789  
790 790  
791 -* (% style="color:#037691" %)Downlink Payload (prefix 0x0A 06):
809 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
792 792  
793 -(% class="box infomessage" %)
794 -(((
795 -**0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
796 -)))
811 +**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
797 797  
798 798  
799 799  
815 +
800 800  ==== 3.4.2.5 Poll trigger settings ====
801 801  
802 802  Poll trigger settings,
803 803  
804 -* (% style="color:#037691" %)AT Command:
820 +* (% 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):
825 +* (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
810 810  
811 -(% class="box infomessage" %)
812 -(((
813 -**0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
814 -)))
827 +**0xAB 06         **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
815 815  
816 816  
817 817  
831 +
818 818  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
819 819  
820 820  Enable Disable DI1/DI2/DI2 as trigger,
821 821  
822 -* (% style="color:#037691" %)AT Command:
836 +* (% style="color:#037691" %)**AT Command:**
823 823  
824 824  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
825 825  
... ... @@ -828,7 +828,7 @@
828 828  
829 829  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
830 830  
831 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
845 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
832 832  
833 833  **0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
834 834  
... ... @@ -839,7 +839,7 @@
839 839  
840 840  Set DI1 or DI3(for LT-33222-L) trigger.
841 841  
842 -* (% style="color:#037691" %)AT Command:
856 +* (% style="color:#037691" %)**AT Command:**
843 843  
844 844  **AT+TRIG1=a,b**
845 845  
... ... @@ -856,7 +856,6 @@
856 856  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
857 857  * **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
858 858  
859 -
860 860  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
861 861  
862 862  Set DI2 trigger.
... ... @@ -917,11 +917,11 @@
917 917  
918 918  ==== 3.4.2.11 Trigger – Set minimum interval ====
919 919  
920 -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.
921 921  
922 922  * (% style="color:#037691" %)**AT Command**
923 923  
924 -**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.
925 925  
926 926  
927 927  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
... ... @@ -928,9 +928,15 @@
928 928  
929 929  **0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
930 930  
944 +(((
945 +
931 931  
947 +(% style="color:red" %)Note: ATDC setting must be more than 5min
948 +)))
932 932  
933 933  
951 +
952 +
934 934  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
935 935  
936 936  * (% style="color:#037691" %)**AT Command**
... ... @@ -1082,7 +1082,7 @@
1082 1082  
1083 1083  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1084 1084  
1085 -[[image:image-20220524093831-10.png]]
1104 +[[image:image-20220714135731-1.png||height="406" width="627"]]
1086 1086  
1087 1087  
1088 1088  (% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
... ... @@ -1092,21 +1092,21 @@
1092 1092  
1093 1093  **Example payload:**
1094 1094  
1095 -**~1. 05 01 11 07 D0**
1114 +**~1. 05 01 11 07 D**
1096 1096  
1097 -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.
1098 1098  
1099 1099  **2. 05 01 10 07 D0**
1100 1100  
1101 -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.
1102 1102  
1103 1103  **3. 05 00 01 07 D0**
1104 1104  
1105 -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.
1106 1106  
1107 1107  **4. 05 00 00 07 D0**
1108 1108  
1109 -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.
1110 1110  
1111 1111  
1112 1112  
... ... @@ -1131,7 +1131,7 @@
1131 1131  
1132 1132  * (% style="color:#037691" %)**AT Command:**
1133 1133  
1134 -(% style="color:#037691" %)**​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1153 +**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 -(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1177 +**AT+CLRCOUNT ** ~/~/ clear all counting
1159 1159  
1160 1160  
1161 1161  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
... ... @@ -1196,12 +1196,11 @@
1196 1196  (% 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:
1197 1197  )))
1198 1198  
1199 -[[image:1653356737703-362.png||height="232" width="732"]]
1218 +[[image:image-20220719105525-1.png||height="377" width="677"]]
1200 1200  
1201 -[[image:image-20220524094641-11.png||height="390" width="723"]]
1202 1202  
1203 1203  
1204 -[[image:image-20220524094641-12.png||height="402" width="718"]]
1222 +[[image:image-20220719110247-2.png||height="388" width="683"]]
1205 1205  
1206 1206  
1207 1207  (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
... ... @@ -1413,6 +1413,7 @@
1413 1413  [[image:image-20220524100748-11.png]]
1414 1414  
1415 1415  
1434 +
1416 1416  = 4. Use AT Command =
1417 1417  
1418 1418  == 4.1 Access AT Command ==
... ... @@ -1615,8 +1615,6 @@
1615 1615  
1616 1616  (((
1617 1617  AT+CFG: Print all settings
1618 -
1619 -
1620 1620  )))
1621 1621  
1622 1622  
... ... @@ -1662,8 +1662,6 @@
1662 1662  
1663 1663  (((
1664 1664  (% style="background-color:#dcdcdc" %)ATZ
1665 -
1666 -
1667 1667  )))
1668 1668  
1669 1669  
... ... @@ -1776,7 +1776,7 @@
1776 1776  
1777 1777  
1778 1778  (% style="color:blue" %)**For LT-22222-L**(%%):
1779 -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.
1780 1780  )))
1781 1781  
1782 1782   [[image:image-20220524103407-12.png]]
... ... @@ -1870,6 +1870,8 @@
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]]
1888 +
1889 +
1873 1873  )))
1874 1874  
1875 1875  (((
... ... @@ -1883,12 +1883,13 @@
1883 1883  
1884 1884  After restart, the status before power failure will be read from flash.
1885 1885  
1903 +
1886 1886  = 6. Trouble Shooting =
1887 1887  )))
1888 1888  
1889 1889  (((
1890 1890  (((
1891 -== 6.1 Downlink doesnt work, how to solve it? ==
1909 +== 6.1 Downlink doesn't work, how to solve it? ==
1892 1892  )))
1893 1893  )))
1894 1894  
... ... @@ -1909,7 +1909,7 @@
1909 1909  (((
1910 1910  
1911 1911  
1912 -== 6.3 Why I cant join TTN in US915 /AU915 bands? ==
1930 +== 6.3 Why I can't join TTN in US915 /AU915 bands? ==
1913 1913  )))
1914 1914  
1915 1915  (((
... ... @@ -1917,24 +1917,22 @@
1917 1917  )))
1918 1918  
1919 1919  
1920 -
1921 1921  = 7. Order Info =
1922 1922  
1923 1923  
1924 1924  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
1925 1925  
1926 -
1927 1927  (% style="color:#4f81bd" %)**XXX:**
1928 1928  
1929 -* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1930 -* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1931 -* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1932 -* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1933 -* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1934 -* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1935 -* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1936 -* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1937 -* (% 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
1938 1938  
1939 1939  = 8. Packing Info =
1940 1940  
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