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

From version 54.1
edited by Xiaoling
on 2022/05/24 10:02
Change comment: Uploaded new attachment "image-20220524100215-10.png", version {1}
To version 58.1
edited by Xiaoling
on 2022/05/24 10:24
Change comment: Uploaded new attachment "1653359097980-169.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -1116,9 +1116,9 @@
1116 1116  
1117 1117  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1118 1118  
1119 -[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.**
1119 +[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.**
1120 1120  
1121 -If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal.
1121 +If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal.
1122 1122  
1123 1123  
1124 1124  **Example3**: Connect to a 220v high active sensor.
... ... @@ -1130,9 +1130,9 @@
1130 1130  
1131 1131  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1132 1132  
1133 - [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.**
1133 + [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.**
1134 1134  
1135 -If sensor output is 220v, the (% id="cke_bm_243359S" style="display:none" %) [[image:image-20220524095628-8.png]](%%) = DI1+ / 51K.  = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely.
1135 +If sensor output is 220v, the (% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K.  = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely.
1136 1136  
1137 1137  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1138 1138  
... ... @@ -1167,228 +1167,275 @@
1167 1167  
1168 1168  [[image:1653357648330-671.png||height="155" width="733"]]
1169 1169  
1170 +=== 3.6.5 Relay Output ===
1170 1170  
1171 -
1172 -1.
1173 -11.
1174 -111. Relay Output
1175 -
1172 +(((
1176 1176  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:
1174 +)))
1177 1177  
1178 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]]
1176 +[[image:image-20220524100215-9.png]]
1179 1179  
1178 +[[image:image-20220524100215-10.png||height="382" width="723"]]
1180 1180  
1181 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]
1180 +== 3.7 LEDs Indicators ==
1182 1182  
1182 +[[image:image-20220524100748-11.png]]
1183 1183  
1184 += 4. Use AT Command =
1184 1184  
1186 +== 4.1 Access AT Command ==
1185 1185  
1186 -
1187 -1.
1188 -11. LEDs Indicators
1189 -
1190 -(% border="1" style="background-color:#f7faff" %)
1191 -|**LEDs**|**Feature**
1192 -|**PWR**|Always on if there is power
1193 -|**SYS**|After device is powered on, the SYS will **fast blink in GREEN** for 5 times, means RS485-LN start to join LoRaWAN network. If join success, SYS will be **on GREEN for 5 seconds. **SYS will **blink Blue** on every upload and **blink Green** once receive a downlink message.
1194 -|**TX**|(((
1195 -Device boot: TX blinks 5 times.
1196 -
1197 -Successful join network: TX ON for 5 seconds.
1198 -
1199 -Transmit a LoRa packet: TX blinks once
1200 -)))
1201 -|**RX**|RX blinks once when receive a packet.
1202 -|**DO1**|
1203 -|**DO2**|
1204 -|**DO3**|
1205 -|**DI2**|(((
1206 -For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1207 -
1208 -For LT-33222-L: ON when DI2 is low, LOW when DI2 is high
1209 -)))
1210 -|**DI2**|(((
1211 -For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1212 -
1213 -For LT-33222-L: ON when DI2 is low, LOW when DI2 is high
1214 -)))
1215 -|**DI3**|For LT-33222-L ONLY: ON when DI3 is low, LOW when DI3 is high
1216 -|**DI2**|(((
1217 -For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1218 -
1219 -For LT-33222-L: ON when DI2 is low, LOW when DI2 is high
1220 -)))
1221 -|**RO1**|
1222 -|**RO2**|
1223 -
1224 -1. Use AT Command
1225 -11. Access AT Command
1226 -
1227 1227  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.
1228 1228  
1229 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
1190 +[[image:1653358238933-385.png]]
1230 1230  
1192 +In PC, User needs to set (% style="color:#4f81bd" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**)(%%) to active it. As shown below:
1231 1231  
1232 -In PC, User needs to set **serial tool**(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to **9600** to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:**123456**) to active it. As shown below:
1194 +[[image:1653358355238-883.png]]
1233 1233  
1234 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
1235 -
1236 -
1237 1237  More detail AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
1238 1238  
1198 +(((
1239 1239  AT+<CMD>?        : Help on <CMD>
1200 +)))
1240 1240  
1202 +(((
1241 1241  AT+<CMD>         : Run <CMD>
1204 +)))
1242 1242  
1206 +(((
1243 1243  AT+<CMD>=<value> : Set the value
1208 +)))
1244 1244  
1210 +(((
1245 1245  AT+<CMD>=?       : Get the value
1212 +)))
1246 1246  
1214 +(((
1247 1247  ATZ: Trig a reset of the MCU
1216 +)))
1248 1248  
1218 +(((
1249 1249  AT+FDR: Reset Parameters to Factory Default, Keys Reserve 
1220 +)))
1250 1250  
1222 +(((
1251 1251  AT+DEUI: Get or Set the Device EUI
1224 +)))
1252 1252  
1226 +(((
1253 1253  AT+DADDR: Get or Set the Device Address
1228 +)))
1254 1254  
1230 +(((
1255 1255  AT+APPKEY: Get or Set the Application Key
1232 +)))
1256 1256  
1234 +(((
1257 1257  AT+NWKSKEY: Get or Set the Network Session Key
1236 +)))
1258 1258  
1238 +(((
1259 1259  AT+APPSKEY: Get or Set the Application Session Key
1240 +)))
1260 1260  
1242 +(((
1261 1261  AT+APPEUI: Get or Set the Application EUI
1244 +)))
1262 1262  
1246 +(((
1263 1263  AT+ADR: Get or Set the Adaptive Data Rate setting. (0: off, 1: on)
1248 +)))
1264 1264  
1250 +(((
1265 1265  AT+TXP: Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec)
1252 +)))
1266 1266  
1254 +(((
1267 1267  AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X)  
1256 +)))
1268 1268  
1258 +(((
1269 1269  AT+DCS: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing
1260 +)))
1270 1270  
1262 +(((
1271 1271  AT+PNM: Get or Set the public network mode. (0: off, 1: on)
1264 +)))
1272 1272  
1266 +(((
1273 1273  AT+RX2FQ: Get or Set the Rx2 window frequency
1268 +)))
1274 1274  
1270 +(((
1275 1275  AT+RX2DR: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
1272 +)))
1276 1276  
1274 +(((
1277 1277  AT+RX1DL: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
1276 +)))
1278 1278  
1278 +(((
1279 1279  AT+RX2DL: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
1280 +)))
1280 1280  
1282 +(((
1281 1281  AT+JN1DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms
1284 +)))
1282 1282  
1286 +(((
1283 1283  AT+JN2DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms
1288 +)))
1284 1284  
1290 +(((
1285 1285  AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1292 +)))
1286 1286  
1294 +(((
1287 1287  AT+NWKID: Get or Set the Network ID
1296 +)))
1288 1288  
1298 +(((
1289 1289  AT+FCU: Get or Set the Frame Counter Uplink
1300 +)))
1290 1290  
1302 +(((
1291 1291  AT+FCD: Get or Set the Frame Counter Downlink
1304 +)))
1292 1292  
1306 +(((
1293 1293  AT+CLASS: Get or Set the Device Class
1308 +)))
1294 1294  
1310 +(((
1295 1295  AT+JOIN: Join network
1312 +)))
1296 1296  
1314 +(((
1297 1297  AT+NJS: Get OTAA Join Status
1316 +)))
1298 1298  
1318 +(((
1299 1299  AT+SENDB: Send hexadecimal data along with the application port
1320 +)))
1300 1300  
1322 +(((
1301 1301  AT+SEND: Send text data along with the application port
1324 +)))
1302 1302  
1326 +(((
1303 1303  AT+RECVB: Print last received data in binary format (with hexadecimal values)
1328 +)))
1304 1304  
1330 +(((
1305 1305  AT+RECV: Print last received data in raw format
1332 +)))
1306 1306  
1334 +(((
1307 1307  AT+VER: Get current image version and Frequency Band
1336 +)))
1308 1308  
1338 +(((
1309 1309  AT+CFM: Get or Set the confirmation mode (0-1)
1340 +)))
1310 1310  
1342 +(((
1311 1311  AT+CFS: Get confirmation status of the last AT+SEND (0-1)
1344 +)))
1312 1312  
1346 +(((
1313 1313  AT+SNR: Get the SNR of the last received packet
1348 +)))
1314 1314  
1350 +(((
1315 1315  AT+RSSI: Get the RSSI of the last received packet
1352 +)))
1316 1316  
1354 +(((
1317 1317  AT+TDC: Get or set the application data transmission interval in ms
1356 +)))
1318 1318  
1358 +(((
1319 1319  AT+PORT: Get or set the application port
1360 +)))
1320 1320  
1362 +(((
1321 1321  AT+DISAT: Disable AT commands
1364 +)))
1322 1322  
1366 +(((
1323 1323  AT+PWORD: Set password, max 9 digits
1368 +)))
1324 1324  
1370 +(((
1325 1325  AT+CHS: Get or Set Frequency (Unit: Hz) for Single Channel Mode
1372 +)))
1326 1326  
1374 +(((
1327 1327  AT+CHE: Get or Set eight channels mode, Only for US915, AU915, CN470
1376 +)))
1328 1328  
1378 +(((
1329 1329  AT+CFG: Print all settings
1380 +)))
1330 1330  
1382 +== 4.2 Common AT Command Sequence ==
1331 1331  
1384 +=== 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1332 1332  
1333 -1.
1334 -11. Common AT Command Sequence
1335 -111. Multi-channel ABP mode (Use with SX1301/LG308)
1336 -
1337 1337  If device has not joined network yet:
1338 1338  
1339 -123456
1388 +(% style="background-color:#dcdcdc" %)123456
1340 1340  
1341 -AT+FDR
1390 +(% style="background-color:#dcdcdc" %)AT+FDR
1342 1342  
1343 -123456
1392 +(% style="background-color:#dcdcdc" %)123456
1344 1344  
1345 -AT+NJM=0
1394 +(% style="background-color:#dcdcdc" %)AT+NJM=0
1346 1346  
1347 -ATZ
1396 +(% style="background-color:#dcdcdc" %)ATZ
1348 1348  
1349 1349  
1350 1350  If device already joined network:
1351 1351  
1352 -AT+NJM=0
1401 +(% style="background-color:#dcdcdc" %)AT+NJM=0
1353 1353  
1354 -ATZ
1403 +(% style="background-color:#dcdcdc" %)ATZ
1355 1355  
1356 -1.
1357 -11.
1358 -111. Single-channel ABP mode (Use with LG01/LG02)
1405 +=== 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
1359 1359  
1360 -123456   Enter Password to have AT access.
1407 +(% style="background-color:#dcdcdc" %) 123456(%%)   Enter Password to have AT access.
1361 1361  
1362 -AT+FDR   Reset Parameters to Factory Default, Keys Reserve
1409 +(% style="background-color:#dcdcdc" %) AT+FDR(%%)   Reset Parameters to Factory Default, Keys Reserve
1363 1363  
1364 -123456   Enter Password to have AT access.
1411 +(% style="background-color:#dcdcdc" %) 123456(%%)   Enter Password to have AT access.
1365 1365  
1366 -AT+CLASS=C Set to work in CLASS C
1413 +(% style="background-color:#dcdcdc" %) AT+CLASS=C(%%) Set to work in CLASS C
1367 1367  
1368 -AT+NJM=0 Set to ABP mode
1415 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode
1369 1369  
1370 -AT+ADR=0 Set the Adaptive Data Rate Off
1417 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off
1371 1371  
1372 -AT+DR=5  Set Data Rate
1419 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%)  Set Data Rate
1373 1373  
1374 -AT+TDC=60000  Set transmit interval to 60 seconds
1421 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%)  Set transmit interval to 60 seconds
1375 1375  
1376 -AT+CHS=868400000 Set transmit frequency to 868.4Mhz
1423 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz
1377 1377  
1378 -AT+RX2FQ=868400000 Set RX2Frequency to 868.4Mhz (according to the result from server)
1425 +(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server)
1379 1379  
1380 -AT+RX2DR=5  Set RX2DR to match the downlink DR from server. see below
1427 +(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%)  Set RX2DR to match the downlink DR from server. see below
1381 1381  
1382 -AT+DADDR=26 01 1A F1 Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1429 +(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%)Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1383 1383  
1384 -ATZ          Reset MCU
1431 +(% style="background-color:#dcdcdc" %) ATZ         (%%) Reset MCU
1385 1385  
1386 -**Note:**
1433 +(% style="color:red" %)**Note:**
1387 1387  
1388 -1. Make sure the device is set to ABP mode in the IoT Server.
1389 -1. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1390 -1. 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.
1391 -1. 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
1435 +(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server.
1436 +2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1437 +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.
1438 +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
1392 1392  
1393 1393  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]]
1394 1394  
1653358238933-385.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +412.4 KB
Content
1653358355238-883.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +120.4 KB
Content
1653359097980-169.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +158.9 KB
Content
image-20220524100748-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +39.5 KB
Content