<
From version < 51.1 >
edited by Xiaoling
on 2022/05/24 10:00
To version < 57.4 >
edited by Xiaoling
on 2022/05/24 10:24
>
Change comment: There is no comment for this version

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