<
From version < 83.11 >
edited by Xiaoling
on 2022/06/29 17:35
To version < 94.1 >
edited by Bei Jinggeng
on 2022/08/24 15:57
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
Content
... ... @@ -36,11 +36,13 @@
36 36  )))
37 37  
38 38  (((
39 -1) If users area has LoRaWAN service coverage, they can just install the I/O controller and configure it to connect the LoRaWAN provider via wireless.
39 +1) If user's area has LoRaWAN service coverage, they can just install the I/O controller and configure it to connect the LoRaWAN provider via wireless.
40 40  )))
41 41  
42 42  (((
43 43  2) User can set up a LoRaWAN gateway locally and configure the controller to connect to the gateway via wireless.
44 +
45 +
44 44  )))
45 45  
46 46  (((
... ... @@ -166,14 +166,16 @@
166 166  Packet engine up to 256 bytes with CRC.
167 167  
168 168  
171 +
169 169  
170 170  )))
171 171  
172 172  == 1.3 Features ==
173 173  
177 +
174 174  * LoRaWAN Class A & Class C protocol
175 175  * Optional Customized LoRa Protocol
176 -* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865
180 +* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
177 177  * AT Commands to change parameters
178 178  * Remote configure parameters via LoRa Downlink
179 179  * Firmware upgradable via program port
... ... @@ -181,6 +181,7 @@
181 181  
182 182  == 1.4  Applications ==
183 183  
188 +
184 184  * Smart Buildings & Home Automation
185 185  * Logistics and Supply Chain Management
186 186  * Smart Metering
... ... @@ -190,6 +190,7 @@
190 190  
191 191  == 1.5 Hardware Variants ==
192 192  
198 +
193 193  (% border="1" style="background-color:#f7faff; width:500px" %)
194 194  |(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description**
195 195  |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)(((
... ... @@ -203,6 +203,7 @@
203 203  
204 204  = 2. Power ON Device =
205 205  
212 +
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.
207 207  
208 208  (((
... ... @@ -217,6 +217,7 @@
217 217  
218 218  == 3.1 How it works? ==
219 219  
227 +
220 220  (((
221 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. 
222 222  )))
... ... @@ -226,10 +226,14 @@
226 226  )))
227 227  
228 228  
237 +
229 229  == 3.2 Example to join LoRaWAN network ==
230 230  
240 +
231 231  (((
232 232  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. 
243 +
244 +
233 233  )))
234 234  
235 235  [[image:image-20220523172350-1.png||height="266" width="864"]]
... ... @@ -237,6 +237,8 @@
237 237  
238 238  (((
239 239  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:
252 +
253 +
240 240  )))
241 241  
242 242  (((
... ... @@ -262,6 +262,7 @@
262 262  [[image:1653298023685-319.png]]
263 263  
264 264  
279 +
265 265  (((
266 266  (% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
267 267  )))
... ... @@ -272,6 +272,7 @@
272 272  
273 273  == 3.3 Uplink Payload ==
274 274  
290 +
275 275  There are five working modes + one interrupt mode on LT for different type application:
276 276  
277 277  * (% style="color:blue" %)**MOD1**(%%): (default setting): 2 x ACI + 2AVI + DI + DO + RO
... ... @@ -281,10 +281,9 @@
281 281  * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
282 282  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
283 283  
284 -
285 -
286 286  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
287 287  
302 +
288 288  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
289 289  
290 290  [[image:image-20220523174024-3.png]]
... ... @@ -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;
... ... @@ -338,8 +338,6 @@
338 338  ** DO1 is high in case there is load between DO1 and V+.
339 339  ** DO1 LED is off in both case
340 340  
341 -
342 -
343 343  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
344 344  
345 345  
... ... @@ -408,6 +408,7 @@
408 408  
409 409  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
410 410  
422 +
411 411  **LT22222-L**: This mode the DI1 is used as a counting pin.
412 412  
413 413  [[image:image-20220523181246-5.png]]
... ... @@ -569,7 +569,6 @@
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 575  
... ... @@ -694,14 +694,14 @@
694 694  (((
695 695  
696 696  
697 -**Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]]
698 -
699 -
708 +**Decoder for TTN/loraserver/ChirpStack**:  [[https:~~/~~/www.dropbox.com/sh/wtrzu7avdtkmn3z/AACK5NwOMkU9jnvf1uCMuqrVa?dl=0>>https://www.dropbox.com/sh/wtrzu7avdtkmn3z/AACK5NwOMkU9jnvf1uCMuqrVa?dl=0]]
700 700  )))
701 701  
702 702  
712 +
703 703  == 3.4 ​Configure LT via AT or Downlink ==
704 704  
715 +
705 705  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
706 706  
707 707  (((
... ... @@ -712,10 +712,9 @@
712 712  
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 -
716 -
717 717  === 3.4.1 Common Commands ===
718 718  
728 +
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]]
720 720  
721 721  
... ... @@ -725,6 +725,7 @@
725 725  
726 726  ==== 3.4.2.1 Set Transmit Interval ====
727 727  
738 +
728 728  Set device uplink interval.
729 729  
730 730  * (% style="color:#037691" %)**AT Command:**
... ... @@ -744,6 +744,7 @@
744 744  
745 745  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
746 746  
758 +
747 747  Set work mode.
748 748  
749 749  * (% style="color:#037691" %)**AT Command:**
... ... @@ -763,6 +763,7 @@
763 763  
764 764  ==== 3.4.2.3 Poll an uplink ====
765 765  
778 +
766 766  * (% style="color:#037691" %)**AT Command:**
767 767  
768 768  There is no AT Command to poll uplink
... ... @@ -779,6 +779,7 @@
779 779  
780 780  ==== 3.4.2.4 Enable Trigger Mode ====
781 781  
795 +
782 782  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
783 783  
784 784  * (% style="color:#037691" %)**AT Command:**
... ... @@ -799,6 +799,7 @@
799 799  
800 800  ==== 3.4.2.5 Poll trigger settings ====
801 801  
816 +
802 802  Poll trigger settings,
803 803  
804 804  * (% style="color:#037691" %)**AT Command:**
... ... @@ -815,6 +815,7 @@
815 815  
816 816  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
817 817  
833 +
818 818  Enable Disable DI1/DI2/DI2 as trigger,
819 819  
820 820  * (% style="color:#037691" %)**AT Command:**
... ... @@ -835,6 +835,7 @@
835 835  
836 836  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
837 837  
854 +
838 838  Set DI1 or DI3(for LT-33222-L) trigger.
839 839  
840 840  * (% style="color:#037691" %)**AT Command:**
... ... @@ -856,6 +856,7 @@
856 856  
857 857  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
858 858  
876 +
859 859  Set DI2 trigger.
860 860  
861 861  * (% style="color:#037691" %)**AT Command:**
... ... @@ -882,6 +882,7 @@
882 882  
883 883  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
884 884  
903 +
885 885  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
886 886  
887 887  * (% style="color:#037691" %)**AT Command**
... ... @@ -898,6 +898,7 @@
898 898  
899 899  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
900 900  
920 +
901 901  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
902 902  
903 903  * (% style="color:#037691" %)**AT Command**
... ... @@ -914,6 +914,7 @@
914 914  
915 915  ==== 3.4.2.11 Trigger – Set minimum interval ====
916 916  
937 +
917 917  Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger.
918 918  
919 919  * (% style="color:#037691" %)**AT Command**
... ... @@ -936,6 +936,7 @@
936 936  
937 937  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
938 938  
960 +
939 939  * (% style="color:#037691" %)**AT Command**
940 940  
941 941  There is no AT Command to control Digital Output
... ... @@ -967,6 +967,7 @@
967 967  
968 968  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
969 969  
992 +
970 970  * (% style="color:#037691" %)**AT Command**
971 971  
972 972  There is no AT Command to control Digital Output
... ... @@ -1003,11 +1003,11 @@
1003 1003  [[image:image-20220524093351-8.png]]
1004 1004  
1005 1005  
1006 -(% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1029 +(% style="color:#4f81bd" %)**Sixth and Seventh and Eighth and Ninth Byte**:
1007 1007  
1008 1008   Latching time. Unit: ms
1009 1009  
1010 -Device will upload a packet if downlink code executes successfully.
1033 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully.
1011 1011  
1012 1012  
1013 1013  **Example payload:**
... ... @@ -1033,6 +1033,7 @@
1033 1033  
1034 1034  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1035 1035  
1059 +
1036 1036  * (% style="color:#037691" %)**AT Command:**
1037 1037  
1038 1038  There is no AT Command to control Relay Output
... ... @@ -1055,7 +1055,7 @@
1055 1055  [[image:image-20220524093724-9.png]]
1056 1056  )))
1057 1057  
1058 -Device will upload a packet if downlink code executes successfully.
1082 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully.
1059 1059  
1060 1060  
1061 1061  
... ... @@ -1062,6 +1062,7 @@
1062 1062  
1063 1063  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1064 1064  
1089 +
1065 1065  * (% style="color:#037691" %)**AT Command:**
1066 1066  
1067 1067  There is no AT Command to control Relay Output
... ... @@ -1085,31 +1085,31 @@
1085 1085  
1086 1086  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1087 1087  
1088 -[[image:image-20220524093831-10.png]]
1113 +[[image:image-20220714135731-1.png||height="406" width="627"]]
1089 1089  
1090 1090  
1091 -(% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1116 +(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1092 1092  
1093 -Device will upload a packet if downlink code executes successfully.
1118 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully.
1094 1094  
1095 1095  
1096 1096  **Example payload:**
1097 1097  
1098 -**~1. 05 01 11 07 D0**
1123 +**~1. 05 01 11 07 D**
1099 1099  
1100 -Relay1 and Relay 2 will be set to NO , last 2 seconds, then change back to original state.
1125 +Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state.
1101 1101  
1102 1102  **2. 05 01 10 07 D0**
1103 1103  
1104 -Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then both change back to original state.
1129 +Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then both change back to original state.
1105 1105  
1106 1106  **3. 05 00 01 07 D0**
1107 1107  
1108 -Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then relay change to NO, Relay2 change to NC.
1133 +Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then relay change to NC,Relay2 change to NO.
1109 1109  
1110 1110  **4. 05 00 00 07 D0**
1111 1111  
1112 -Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1137 +Relay 1 & relay2 will change to NO, last 2 seconds, then both change to NC.
1113 1113  
1114 1114  
1115 1115  
... ... @@ -1116,6 +1116,7 @@
1116 1116  
1117 1117  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1118 1118  
1144 +
1119 1119  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1120 1120  
1121 1121  * (% style="color:#037691" %)**AT Command:**
... ... @@ -1132,6 +1132,7 @@
1132 1132  
1133 1133  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1134 1134  
1161 +
1135 1135  * (% style="color:#037691" %)**AT Command:**
1136 1136  
1137 1137  **AT+SETCNT=aa,(bb cc dd ee) **
... ... @@ -1154,6 +1154,7 @@
1154 1154  
1155 1155  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1156 1156  
1184 +
1157 1157  Clear counting for counting mode
1158 1158  
1159 1159  * (% style="color:#037691" %)**AT Command:**
... ... @@ -1170,6 +1170,7 @@
1170 1170  
1171 1171  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1172 1172  
1201 +
1173 1173  * (% style="color:#037691" %)**AT Command:**
1174 1174  
1175 1175  **AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
... ... @@ -1185,10 +1185,97 @@
1185 1185  
1186 1186  )))
1187 1187  
1217 +==== 3.4.2.20 Reset save DR DO state ====
1188 1188  
1219 +* (% style="color:#037691" %)**AT Command:**
1189 1189  
1221 +**AT+RODORET=1  **~/~/ RODO will close when the device joining the network. (default)
1222 +
1223 +**AT+RODORET=0  **~/~/After the device is reset, the previously saved RODO state (only MOD2 to MOD5) is read, and its state is not changed when it is reconnected to the network.
1224 +
1225 +
1226 +* (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):**
1227 +
1228 +**0x AD aa      **~/~/ same as AT+RODORET =aa
1229 +
1230 +(((
1231 +
1232 +
1233 +==== 3.4.2.21 Encrypted payload ====
1234 +
1235 +* (% style="color:#037691" %)**AT Command:**
1236 +
1237 +**AT+DECRYPT=1  **~/~/ The payload is uploaded without encryption
1238 +
1239 +**AT+DECRYPT=0  **~/~/Encrypt when uploading payload (default)
1240 +
1241 +
1242 +==== 3.4.2.22 Get sensor value ====
1243 +
1244 +* (% style="color:#037691" %)**AT Command:**
1245 +
1246 +**AT+GETSENSORVALUE=0  **~/~/ The serial port gets the reading of the current sensor
1247 +
1248 +**AT+GETSENSORVALUE=1  **~/~/The serial port gets the current sensor reading and uploads it.
1249 +
1250 +
1251 +==== 3.4.2.23 Resets the downlink packet count ====
1252 +
1253 +* (% style="color:#037691" %)**AT Command:**
1254 +
1255 +**AT+DISFCNTCHECK=0  **~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default)
1256 +
1257 +**AT+DISFCNTCHECK=1  **~/~/When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count.
1258 +
1259 +
1260 +==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ====
1261 +
1262 +* (% style="color:#037691" %)**AT Command:**
1263 +
1264 + **AT+DISMACANS=0**  ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default)
1265 +
1266 + **AT+DISMACANS=1**      ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part.
1267 +
1268 +
1269 +* (% style="color:#037691" %)**Downlink Payload **(%%)**:**
1270 +
1271 +**0x21 00 01 ** ~/~/ Set  the DISMACANS=1
1272 +
1273 +==== 3.4.2.25 Copy downlink to uplink ====
1274 +
1275 +* (% style="color:#037691" %)**AT Command**(%%)**:**
1276 +
1277 + **AT+RPL=5**  ~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100.
1278 +
1279 +Example:**aa xx xx xx xx**         ~/~/ aa indicates whether the configuration has changed, 00 is yes, 01 is no; xx xx xx xx are the bytes sent.
1280 +
1281 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173747-6.png?width=1124&height=165&rev=1.1||alt="image-20220823173747-6.png"]]
1282 +
1283 +For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77.
1284 +
1285 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173833-7.png?width=1124&height=149&rev=1.1||alt="image-20220823173833-7.png"]]
1286 +
1287 +For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned.
1288 +
1289 +
1290 +
1291 +==== 3.4.2.26 Query version number and frequency band 、TDC ====
1292 +
1293 +* (((
1294 +(% style="color:#037691" %)**Downlink Payload**(%%)**: 26 01  ** ~/~/ Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time.
1295 +)))
1296 +
1297 +Example:
1298 +
1299 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173929-8.png?width=1205&height=76&rev=1.1||alt="image-20220823173929-8.png"]]
1300 +
1301 +
1302 +
1303 +)))
1304 +
1190 1190  == 3.5 Integrate with Mydevice ==
1191 1191  
1307 +
1192 1192  Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps:
1193 1193  
1194 1194  (((
... ... @@ -1197,14 +1197,15 @@
1197 1197  
1198 1198  (((
1199 1199  (% 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:
1316 +
1317 +
1200 1200  )))
1201 1201  
1202 -[[image:1653356737703-362.png||height="232" width="732"]]
1320 +[[image:image-20220719105525-1.png||height="377" width="677"]]
1203 1203  
1204 -[[image:image-20220524094641-11.png||height="390" width="723"]]
1205 1205  
1206 1206  
1207 -[[image:image-20220524094641-12.png||height="402" width="718"]]
1324 +[[image:image-20220719110247-2.png||height="388" width="683"]]
1208 1208  
1209 1209  
1210 1210  (% style="color:blue" %)**Step 3**(%%): Create an account or log in Mydevices.
... ... @@ -1237,8 +1237,10 @@
1237 1237  
1238 1238  == 3.6 Interface Detail ==
1239 1239  
1357 +
1240 1240  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
1241 1241  
1360 +
1242 1242  Support NPN Type sensor
1243 1243  
1244 1244  [[image:1653356991268-289.png]]
... ... @@ -1247,6 +1247,7 @@
1247 1247  
1248 1248  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1249 1249  
1369 +
1250 1250  (((
1251 1251  The DI port of LT-22222-L can support NPN or PNP output sensor.
1252 1252  )))
... ... @@ -1253,7 +1253,9 @@
1253 1253  
1254 1254  (((
1255 1255  (((
1256 -Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA. When there is active current pass NEC2501 pin1 to pin2. The DI will be active high
1376 +Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA. When there is active current pass NEC2501 pin1 to pin2. The DI will be active high.
1377 +
1378 +
1257 1257  )))
1258 1258  )))
1259 1259  
... ... @@ -1298,6 +1298,8 @@
1298 1298  
1299 1299  (((
1300 1300  
1423 +
1424 +
1301 1301  )))
1302 1302  
1303 1303  (((
... ... @@ -1329,6 +1329,8 @@
1329 1329  
1330 1330  (((
1331 1331  
1456 +
1457 +
1332 1332  )))
1333 1333  
1334 1334  (((
... ... @@ -1362,6 +1362,7 @@
1362 1362  
1363 1363  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1364 1364  
1491 +
1365 1365  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
1366 1366  
1367 1367  [[image:1653357531600-905.png]]
... ... @@ -1370,6 +1370,7 @@
1370 1370  
1371 1371  === 3.6.4 Analog Input Interface ===
1372 1372  
1500 +
1373 1373  The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is:
1374 1374  
1375 1375  
... ... @@ -1401,6 +1401,7 @@
1401 1401  
1402 1402  === 3.6.5 Relay Output ===
1403 1403  
1532 +
1404 1404  (((
1405 1405  The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below:
1406 1406  )))
... ... @@ -1413,6 +1413,7 @@
1413 1413  
1414 1414  == 3.7 LEDs Indicators ==
1415 1415  
1545 +
1416 1416  [[image:image-20220524100748-11.png]]
1417 1417  
1418 1418  
... ... @@ -1419,8 +1419,10 @@
1419 1419  
1420 1420  = 4. Use AT Command =
1421 1421  
1552 +
1422 1422  == 4.1 Access AT Command ==
1423 1423  
1555 +
1424 1424  LT supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to LT for using AT command, as below.
1425 1425  
1426 1426  [[image:1653358238933-385.png]]
... ... @@ -1625,6 +1625,7 @@
1625 1625  
1626 1626  == 4.2 Common AT Command Sequence ==
1627 1627  
1760 +
1628 1628  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1629 1629  
1630 1630  (((
... ... @@ -1735,6 +1735,8 @@
1735 1735  2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1736 1736  3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.
1737 1737  4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5
1871 +
1872 +
1738 1738  )))
1739 1739  
1740 1740  (((
... ... @@ -1748,13 +1748,16 @@
1748 1748  
1749 1749  === 4.2.3 Change to Class A ===
1750 1750  
1886 +
1751 1751  If sensor JOINED
1752 1752  (% style="background-color:#dcdcdc" %)AT+CLASS=A
1753 1753  ATZ
1754 1754  
1755 1755  
1892 +
1756 1756  = 5. FAQ =
1757 1757  
1895 +
1758 1758  == 5.1 How to upgrade the image? ==
1759 1759  
1760 1760  
... ... @@ -1776,7 +1776,9 @@
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.
1917 +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.
1918 +
1919 +
1780 1780  )))
1781 1781  
1782 1782   [[image:image-20220524103407-12.png]]
... ... @@ -1788,6 +1788,7 @@
1788 1788  
1789 1789  (% style="color:red" %)**Notice**(%%): In case user has lost the program cable. User can hand made one from a 3.5mm cable. The pin mapping is:
1790 1790  
1931 +
1791 1791  [[image:1653360054704-518.png||height="186" width="745"]]
1792 1792  
1793 1793  
... ... @@ -1796,6 +1796,8 @@
1796 1796  
1797 1797  
1798 1798  == 5.2 How to change the LoRa Frequency Bands/Region? ==
1940 +
1941 +
1799 1799  )))
1800 1800  )))
1801 1801  
... ... @@ -1806,7 +1806,10 @@
1806 1806  (((
1807 1807  
1808 1808  
1952 +
1809 1809  == 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
1954 +
1955 +
1810 1810  )))
1811 1811  
1812 1812  (((
... ... @@ -1824,7 +1824,7 @@
1824 1824  )))
1825 1825  
1826 1826  (((
1827 -(% style="color:#4f81bd" %)**Step1**(%%): Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.
1973 +(% style="color:blue" %)**Step1**(%%):  Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.
1828 1828  )))
1829 1829  
1830 1830  (((
... ... @@ -1832,12 +1832,12 @@
1832 1832  )))
1833 1833  
1834 1834  (((
1835 -(% style="color:red" %)Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.
1981 +(% style="color:red" %)**Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.**
1836 1836  )))
1837 1837  
1838 1838  
1839 1839  (((
1840 -(% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1986 +(% style="color:blue" %)**Step2**(%%)**:  **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1841 1841  )))
1842 1842  
1843 1843  (((
... ... @@ -1861,16 +1861,21 @@
1861 1861  [[image:1653360498588-932.png||height="485" width="726"]]
1862 1862  
1863 1863  
2010 +
1864 1864  == 5.4 Can I see counting event in Serial? ==
1865 1865  
2013 +
1866 1866  (((
1867 -User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesnt support AT+DEBUG. User can update to latest firmware first.
2015 +User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn't support AT+DEBUG. User can update to latest firmware first.
1868 1868  
1869 1869  
2018 +
1870 1870  == 5.5 Can i use point to point communication for LT-22222-L? ==
1871 1871  
2021 +
1872 1872  Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1873 1873  
2024 +
1874 1874  
1875 1875  )))
1876 1876  
... ... @@ -1877,6 +1877,7 @@
1877 1877  (((
1878 1878  == 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
1879 1879  
2031 +
1880 1880  If the device is not shut down, but directly powered off.
1881 1881  
1882 1882  It will default that this is a power-off state.
... ... @@ -1886,12 +1886,15 @@
1886 1886  After restart, the status before power failure will be read from flash.
1887 1887  
1888 1888  
2041 +
1889 1889  = 6. Trouble Shooting =
1890 1890  )))
1891 1891  
1892 1892  (((
1893 1893  (((
1894 -== 6.1 Downlink doesn’t work, how to solve it? ==
2047 +== 6.1 Downlink doesn't work, how to solve it? ==
2048 +
2049 +
1895 1895  )))
1896 1896  )))
1897 1897  
... ... @@ -1902,7 +1902,10 @@
1902 1902  (((
1903 1903  
1904 1904  
2060 +
1905 1905  == 6.2 Have trouble to upload image. ==
2062 +
2063 +
1906 1906  )))
1907 1907  
1908 1908  (((
... ... @@ -1912,7 +1912,10 @@
1912 1912  (((
1913 1913  
1914 1914  
1915 -== 6.3 Why I can’t join TTN in US915 /AU915 bands? ==
2073 +
2074 +== 6.3 Why I can't join TTN in US915 /AU915 bands? ==
2075 +
2076 +
1916 1916  )))
1917 1917  
1918 1918  (((
... ... @@ -1920,22 +1920,23 @@
1920 1920  )))
1921 1921  
1922 1922  
2084 +
1923 1923  = 7. Order Info =
1924 1924  
2087 +
1925 1925  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
1926 1926  
1927 -
1928 1928  (% style="color:#4f81bd" %)**XXX:**
1929 1929  
1930 -* (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1931 -* (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1932 -* (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1933 -* (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1934 -* (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1935 -* (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1936 -* (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1937 -* (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1938 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
2092 +* (% style="color:red" %)**EU433**(%%):  LT with frequency bands EU433
2093 +* (% style="color:red" %)**EU868**(%%):  LT with frequency bands EU868
2094 +* (% style="color:red" %)**KR920**(%%):  LT with frequency bands KR920
2095 +* (% style="color:red" %)**CN470**(%%):  LT with frequency bands CN470
2096 +* (% style="color:red" %)**AS923**(%%):  LT with frequency bands AS923
2097 +* (% style="color:red" %)**AU915**(%%):  LT with frequency bands AU915
2098 +* (% style="color:red" %)**US915**(%%):  LT with frequency bands US915
2099 +* (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
2100 +* (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
1939 1939  
1940 1940  = 8. Packing Info =
1941 1941  
... ... @@ -1956,6 +1956,7 @@
1956 1956  
1957 1957  = 9. Support =
1958 1958  
2121 +
1959 1959  * (((
1960 1960  Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1961 1961  )))
... ... @@ -1969,7 +1969,9 @@
1969 1969  
1970 1970  = 10. Reference​​​​​ =
1971 1971  
2135 +
1972 1972  * LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]
1973 -* [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]
1974 -* [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
2137 +* [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
1975 1975  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2139 +
2140 +
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
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0