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

From version 54.2
edited by Xiaoling
on 2022/05/24 10:02
Change comment: There is no comment for this version
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  
... ... @@ -1169,224 +1169,273 @@
1169 1169  
1170 1170  === 3.6.5 Relay Output ===
1171 1171  
1172 +(((
1172 1172  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 +)))
1173 1173  
1174 -
1175 1175  [[image:image-20220524100215-9.png]]
1176 1176  
1177 -
1178 1178  [[image:image-20220524100215-10.png||height="382" width="723"]]
1179 1179  
1180 +== 3.7 LEDs Indicators ==
1180 1180  
1182 +[[image:image-20220524100748-11.png]]
1181 1181  
1184 += 4. Use AT Command =
1182 1182  
1186 +== 4.1 Access AT Command ==
1183 1183  
1184 -
1185 -1.
1186 -11. LEDs Indicators
1187 -
1188 -(% border="1" style="background-color:#f7faff" %)
1189 -|**LEDs**|**Feature**
1190 -|**PWR**|Always on if there is power
1191 -|**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.
1192 -|**TX**|(((
1193 -Device boot: TX blinks 5 times.
1194 -
1195 -Successful join network: TX ON for 5 seconds.
1196 -
1197 -Transmit a LoRa packet: TX blinks once
1198 -)))
1199 -|**RX**|RX blinks once when receive a packet.
1200 -|**DO1**|
1201 -|**DO2**|
1202 -|**DO3**|
1203 -|**DI2**|(((
1204 -For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1205 -
1206 -For LT-33222-L: ON when DI2 is low, LOW when DI2 is high
1207 -)))
1208 -|**DI2**|(((
1209 -For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1210 -
1211 -For LT-33222-L: ON when DI2 is low, LOW when DI2 is high
1212 -)))
1213 -|**DI3**|For LT-33222-L ONLY: ON when DI3 is low, LOW when DI3 is high
1214 -|**DI2**|(((
1215 -For LT-22222-L: ON when DI2 is high, LOW when DI2 is low
1216 -
1217 -For LT-33222-L: ON when DI2 is low, LOW when DI2 is high
1218 -)))
1219 -|**RO1**|
1220 -|**RO2**|
1221 -
1222 -1. Use AT Command
1223 -11. Access AT Command
1224 -
1225 1225  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.
1226 1226  
1227 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
1190 +[[image:1653358238933-385.png]]
1228 1228  
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:
1229 1229  
1230 -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]]
1231 1231  
1232 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
1233 -
1234 -
1235 1235  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/]]
1236 1236  
1198 +(((
1237 1237  AT+<CMD>?        : Help on <CMD>
1200 +)))
1238 1238  
1202 +(((
1239 1239  AT+<CMD>         : Run <CMD>
1204 +)))
1240 1240  
1206 +(((
1241 1241  AT+<CMD>=<value> : Set the value
1208 +)))
1242 1242  
1210 +(((
1243 1243  AT+<CMD>=?       : Get the value
1212 +)))
1244 1244  
1214 +(((
1245 1245  ATZ: Trig a reset of the MCU
1216 +)))
1246 1246  
1218 +(((
1247 1247  AT+FDR: Reset Parameters to Factory Default, Keys Reserve 
1220 +)))
1248 1248  
1222 +(((
1249 1249  AT+DEUI: Get or Set the Device EUI
1224 +)))
1250 1250  
1226 +(((
1251 1251  AT+DADDR: Get or Set the Device Address
1228 +)))
1252 1252  
1230 +(((
1253 1253  AT+APPKEY: Get or Set the Application Key
1232 +)))
1254 1254  
1234 +(((
1255 1255  AT+NWKSKEY: Get or Set the Network Session Key
1236 +)))
1256 1256  
1238 +(((
1257 1257  AT+APPSKEY: Get or Set the Application Session Key
1240 +)))
1258 1258  
1242 +(((
1259 1259  AT+APPEUI: Get or Set the Application EUI
1244 +)))
1260 1260  
1246 +(((
1261 1261  AT+ADR: Get or Set the Adaptive Data Rate setting. (0: off, 1: on)
1248 +)))
1262 1262  
1250 +(((
1263 1263  AT+TXP: Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec)
1252 +)))
1264 1264  
1254 +(((
1265 1265  AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X)  
1256 +)))
1266 1266  
1258 +(((
1267 1267  AT+DCS: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing
1260 +)))
1268 1268  
1262 +(((
1269 1269  AT+PNM: Get or Set the public network mode. (0: off, 1: on)
1264 +)))
1270 1270  
1266 +(((
1271 1271  AT+RX2FQ: Get or Set the Rx2 window frequency
1268 +)))
1272 1272  
1270 +(((
1273 1273  AT+RX2DR: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
1272 +)))
1274 1274  
1274 +(((
1275 1275  AT+RX1DL: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
1276 +)))
1276 1276  
1278 +(((
1277 1277  AT+RX2DL: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
1280 +)))
1278 1278  
1282 +(((
1279 1279  AT+JN1DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms
1284 +)))
1280 1280  
1286 +(((
1281 1281  AT+JN2DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms
1288 +)))
1282 1282  
1290 +(((
1283 1283  AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1292 +)))
1284 1284  
1294 +(((
1285 1285  AT+NWKID: Get or Set the Network ID
1296 +)))
1286 1286  
1298 +(((
1287 1287  AT+FCU: Get or Set the Frame Counter Uplink
1300 +)))
1288 1288  
1302 +(((
1289 1289  AT+FCD: Get or Set the Frame Counter Downlink
1304 +)))
1290 1290  
1306 +(((
1291 1291  AT+CLASS: Get or Set the Device Class
1308 +)))
1292 1292  
1310 +(((
1293 1293  AT+JOIN: Join network
1312 +)))
1294 1294  
1314 +(((
1295 1295  AT+NJS: Get OTAA Join Status
1316 +)))
1296 1296  
1318 +(((
1297 1297  AT+SENDB: Send hexadecimal data along with the application port
1320 +)))
1298 1298  
1322 +(((
1299 1299  AT+SEND: Send text data along with the application port
1324 +)))
1300 1300  
1326 +(((
1301 1301  AT+RECVB: Print last received data in binary format (with hexadecimal values)
1328 +)))
1302 1302  
1330 +(((
1303 1303  AT+RECV: Print last received data in raw format
1332 +)))
1304 1304  
1334 +(((
1305 1305  AT+VER: Get current image version and Frequency Band
1336 +)))
1306 1306  
1338 +(((
1307 1307  AT+CFM: Get or Set the confirmation mode (0-1)
1340 +)))
1308 1308  
1342 +(((
1309 1309  AT+CFS: Get confirmation status of the last AT+SEND (0-1)
1344 +)))
1310 1310  
1346 +(((
1311 1311  AT+SNR: Get the SNR of the last received packet
1348 +)))
1312 1312  
1350 +(((
1313 1313  AT+RSSI: Get the RSSI of the last received packet
1352 +)))
1314 1314  
1354 +(((
1315 1315  AT+TDC: Get or set the application data transmission interval in ms
1356 +)))
1316 1316  
1358 +(((
1317 1317  AT+PORT: Get or set the application port
1360 +)))
1318 1318  
1362 +(((
1319 1319  AT+DISAT: Disable AT commands
1364 +)))
1320 1320  
1366 +(((
1321 1321  AT+PWORD: Set password, max 9 digits
1368 +)))
1322 1322  
1370 +(((
1323 1323  AT+CHS: Get or Set Frequency (Unit: Hz) for Single Channel Mode
1372 +)))
1324 1324  
1374 +(((
1325 1325  AT+CHE: Get or Set eight channels mode, Only for US915, AU915, CN470
1376 +)))
1326 1326  
1378 +(((
1327 1327  AT+CFG: Print all settings
1380 +)))
1328 1328  
1382 +== 4.2 Common AT Command Sequence ==
1329 1329  
1384 +=== 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1330 1330  
1331 -1.
1332 -11. Common AT Command Sequence
1333 -111. Multi-channel ABP mode (Use with SX1301/LG308)
1334 -
1335 1335  If device has not joined network yet:
1336 1336  
1337 -123456
1388 +(% style="background-color:#dcdcdc" %)123456
1338 1338  
1339 -AT+FDR
1390 +(% style="background-color:#dcdcdc" %)AT+FDR
1340 1340  
1341 -123456
1392 +(% style="background-color:#dcdcdc" %)123456
1342 1342  
1343 -AT+NJM=0
1394 +(% style="background-color:#dcdcdc" %)AT+NJM=0
1344 1344  
1345 -ATZ
1396 +(% style="background-color:#dcdcdc" %)ATZ
1346 1346  
1347 1347  
1348 1348  If device already joined network:
1349 1349  
1350 -AT+NJM=0
1401 +(% style="background-color:#dcdcdc" %)AT+NJM=0
1351 1351  
1352 -ATZ
1403 +(% style="background-color:#dcdcdc" %)ATZ
1353 1353  
1354 -1.
1355 -11.
1356 -111. Single-channel ABP mode (Use with LG01/LG02)
1405 +=== 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
1357 1357  
1358 -123456   Enter Password to have AT access.
1407 +(% style="background-color:#dcdcdc" %) 123456(%%)   Enter Password to have AT access.
1359 1359  
1360 -AT+FDR   Reset Parameters to Factory Default, Keys Reserve
1409 +(% style="background-color:#dcdcdc" %) AT+FDR(%%)   Reset Parameters to Factory Default, Keys Reserve
1361 1361  
1362 -123456   Enter Password to have AT access.
1411 +(% style="background-color:#dcdcdc" %) 123456(%%)   Enter Password to have AT access.
1363 1363  
1364 -AT+CLASS=C Set to work in CLASS C
1413 +(% style="background-color:#dcdcdc" %) AT+CLASS=C(%%) Set to work in CLASS C
1365 1365  
1366 -AT+NJM=0 Set to ABP mode
1415 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode
1367 1367  
1368 -AT+ADR=0 Set the Adaptive Data Rate Off
1417 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off
1369 1369  
1370 -AT+DR=5  Set Data Rate
1419 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%)  Set Data Rate
1371 1371  
1372 -AT+TDC=60000  Set transmit interval to 60 seconds
1421 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%)  Set transmit interval to 60 seconds
1373 1373  
1374 -AT+CHS=868400000 Set transmit frequency to 868.4Mhz
1423 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz
1375 1375  
1376 -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)
1377 1377  
1378 -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
1379 1379  
1380 -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.
1381 1381  
1382 -ATZ          Reset MCU
1431 +(% style="background-color:#dcdcdc" %) ATZ         (%%) Reset MCU
1383 1383  
1384 -**Note:**
1433 +(% style="color:red" %)**Note:**
1385 1385  
1386 -1. Make sure the device is set to ABP mode in the IoT Server.
1387 -1. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1388 -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.
1389 -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
1390 1390  
1391 1391  [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]]
1392 1392  
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