Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 5 removed)
Details
- Page properties
-
- Content
-
... ... @@ -4,13 +4,8 @@ 4 4 **LT-22222-L LoRa IO Controller User Manual ** 5 5 6 6 7 -**Table of Contents:** 8 8 9 -{{toc/}} 10 10 11 - 12 - 13 - 14 14 = 1.Introduction = 15 15 16 16 == 1.1 What is LT Series I/O Controller == ... ... @@ -251,7 +251,7 @@ 251 251 252 252 (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L. 253 253 254 - **To use counting mode, please run:**249 +To use counting mode, please run: 255 255 256 256 (% class="box infomessage" %) 257 257 ((( ... ... @@ -263,7 +263,7 @@ 263 263 **ATZ** 264 264 ))) 265 265 266 - (% style="color:#4f81bd" %)**AT Commands for counting:**261 +AT Commands for counting: 267 267 268 268 **For LT22222-L:** 269 269 ... ... @@ -287,144 +287,186 @@ 287 287 **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) ** 288 288 ))) 289 289 290 -(% class="box infomessage" %) 291 -((( 292 -**AT+SETCNT=1,60 (Set COUNT1 value to 60)** 293 -))) 294 294 295 -(% class="box infomessage" %) 296 -((( 297 -**AT+SETCNT=2,60 (Set COUNT2 value to 60)** 298 -))) 286 +AT+SETCNT=1,60 (Set COUNT1 value to 60) 299 299 300 - === 3.3.3AT+MOD~=3, SingleDI Counting+2xACI===288 +AT+SETCNT=2,60 (Set COUNT2 value to 60) 301 301 290 + 291 +**For both LT22222-L & LT33222-L**: 292 + 293 +AT+CLRCOUNT clear all countings 294 + 295 +AT+COUTIME=60 Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30) 296 + 297 + 298 + 299 +1. 300 +11. 301 +111. AT+MOD=3, Single DI Counting + 2 x ACI 302 + 303 +**LT33222-L**: This mode the DI3 is used as a counting pin. 304 + 302 302 **LT22222-L**: This mode the DI1 is used as a counting pin. 303 303 304 -[[image:image-20220523181246-5.png]] 305 305 306 -((( 307 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 308 -))) 308 +(% border="1" style="background-color:#f7faff" %) 309 +|Size(bytes)|4|2|2|1|1|1 310 +|Value|COUNT1|((( 311 +ACI1 309 309 310 -[[image:image-20220523181301-6.png]] 313 +Current 314 +)))|((( 315 +ACI2 311 311 317 +Current 318 +)))|DIDORO*|Reserve|MOD 319 + 320 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 321 + 322 +(% border="1" style="background-color:#f7faff" %) 323 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 324 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 325 + 312 312 * RO is for relay. ROx=1 : close,ROx=0 always open. 313 313 * FIRST: Indicate this is the first packet after join network. 314 314 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 315 315 316 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.330 +Note: DO3 is not valid for LT-22222-L. 317 317 318 -**To use counting mode, please run:** 319 319 320 -(% class="box infomessage" %) 321 -((( 322 -**AT+MOD=3** 323 -))) 333 +To use counting mode, please run: 324 324 325 -(% class="box infomessage" %) 326 -((( 327 -**ATZ** 328 -))) 335 +AT+MOD=3 329 329 337 +ATZ 338 + 339 + 330 330 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 331 331 332 -=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 333 333 343 + 344 + 345 +1. 346 +11. 347 +111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting 348 + 349 +**LT33222-L**: This mode the DI3 is used as a counting pin. 350 + 334 334 **LT22222-L**: This mode the DI1 is used as a counting pin. 335 335 353 + 336 336 The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour. 337 337 338 -[[image:image-20220523181903-8.png]] 339 339 340 -((( 341 -(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 342 -))) 357 +(% border="1" style="background-color:#f7faff" %) 358 +|Size(bytes)|4|4|1|1|1 359 +|Value|COUNT1|AVI1 Counting|DIDORO*|((( 360 +Reserve 343 343 344 -[[image:image-20220523181727-7.png]] 362 + 363 +)))|MOD 345 345 365 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 366 + 367 +(% border="1" style="background-color:#f7faff" %) 368 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 369 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 370 + 346 346 * RO is for relay. ROx=1 : close,ROx=0 always open. 347 347 * FIRST: Indicate this is the first packet after join network. 348 348 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 349 349 350 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.375 +Note: DO3 is not valid for LT-22222-L. 351 351 352 -**To use this mode, please run:** 353 353 354 -(% class="box infomessage" %) 355 -((( 356 -**AT+MOD=4** 357 -))) 378 +To use this mode, please run: 358 358 359 -(% class="box infomessage" %) 360 -((( 361 -**ATZ** 362 -))) 380 +AT+MOD=4 363 363 382 +ATZ 364 364 384 + 385 + 365 365 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 366 366 367 - **Plus below command for AVI1 Counting:**388 +Plus below command for AVI1 Counting: 368 368 369 -(% class="box infomessage" %) 370 -((( 371 -**AT+SETCNT=3,60 (set AVI Count to 60)** 372 -))) 390 +AT+SETCNT=3,60 (set AVI Count to 60) 373 373 374 -(% class="box infomessage" %) 375 -((( 376 -**AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 377 -))) 392 +AT+VOLMAX=20000 (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1) 378 378 379 -(% class="box infomessage" %) 380 -((( 381 -**AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)** 382 -))) 394 +AT+VOLMAX=20000,0 (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1) 383 383 384 -(% class="box infomessage" %) 385 -((( 386 -**AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)** 387 -))) 396 +AT+VOLMAX=20000,1 (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1) 388 388 389 -=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI === 390 390 399 + 400 +1. 401 +11. 402 +111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI 403 + 404 +**LT33222-L**: This mode the DI3 is used as a counting pin. 405 + 391 391 **LT22222-L**: This mode the DI1 is used as a counting pin. 392 392 393 -[[image:image-20220523182334-9.png]] 394 394 395 -((( 396 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 397 -))) 409 +(% border="1" style="background-color:#f7faff" %) 410 +|Size(bytes)|2|2|2|2|1|1|1 411 +|Value|((( 412 +AVI1 398 398 414 +voltage 415 +)))|((( 416 +AVI2 399 399 418 +voltage 419 +)))|((( 420 +ACI1 421 + 422 +Current 423 +)))|COUNT1|DIDORO*|((( 424 +Reserve 425 + 426 + 427 +)))|MOD 428 + 429 +**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 430 + 431 +(% border="1" style="background-color:#f7faff" %) 432 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 433 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 434 + 400 400 * RO is for relay. ROx=1 : close,ROx=0 always open. 401 401 * FIRST: Indicate this is the first packet after join network. 402 402 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 403 403 404 - (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.439 +Note: DO3 is not valid for LT-22222-L. 405 405 406 -**To use this mode, please run:** 407 407 408 -(% class="box infomessage" %) 409 -((( 410 -**AT+MOD=5** 411 -))) 442 +To use this mode, please run: 412 412 413 -(% class="box infomessage" %) 414 -((( 415 -**ATZ** 416 -))) 444 +AT+MOD=5 417 417 446 +ATZ 447 + 448 + 418 418 Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]]. 419 419 420 -=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) === 421 421 422 -(% style="color:#4F81BD" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.** 423 423 453 + 454 + 455 +1. 456 +11. 457 +111. AT+ADDMOD=6. (Trigger Mode, Optional) 458 + 459 +**This mode is an optional mode for trigger purpose. It can run together with other mode.** 460 + 424 424 For example, if user has configured below commands: 425 425 426 -* AT+MOD=1 -->The normal working mode427 -* AT+ADDMOD6=1 -->Enable trigger463 +* AT+MOD=1 à The normal working mode 464 +* AT+ADDMOD6=1 à Enable trigger 428 428 429 429 LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases: 430 430 ... ... @@ -638,8 +638,8 @@ 638 638 When device got this command, it will send the MOD6 payload. 639 639 640 640 641 -1. 642 -11. 678 +1. 679 +11. 643 643 111. Payload Decoder 644 644 645 645 **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/]] ... ... @@ -650,7 +650,7 @@ 650 650 651 651 652 652 653 -1. 690 +1. 654 654 11. Configure LT via AT or Downlink 655 655 656 656 User can configure LT I/O Controller via [[AT Commands >>path:#_Using_the_AT]]or LoRaWAN Downlink Commands ... ... @@ -661,15 +661,15 @@ 661 661 662 662 * **Sensor Related Commands**: These commands are special designed for LT-22222-L. User can see these commands below: 663 663 664 -1. 665 -11. 701 +1. 702 +11. 666 666 111. Common Commands: 667 667 668 668 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: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands 669 669 670 670 671 -1. 672 -11. 708 +1. 709 +11. 673 673 111. Sensor related commands: 674 674 675 675 ==== Set Transmit Interval ==== ... ... @@ -1128,7 +1128,7 @@ 1128 1128 1129 1129 1130 1130 1131 -1. 1168 +1. 1132 1132 11. Integrate with Mydevice 1133 1133 1134 1134 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: ... ... @@ -1186,7 +1186,7 @@ 1186 1186 1187 1187 1188 1188 1. 1189 -11. 1226 +11. 1190 1190 111. Digital Input Port: DI1/DI2 ( For LT-22222-L) 1191 1191 1192 1192 The DI port of LT-22222-L can support NPN or PNP output sensor. ... ... @@ -1240,8 +1240,8 @@ 1240 1240 If sensor output is 220v, the //IF//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely. 1241 1241 1242 1242 1243 -1. 1244 -11. 1280 +1. 1281 +11. 1245 1245 111. Digital Output Port: DO1/DO2 /DO3 1246 1246 1247 1247 NPN output: GND or Float. Max voltage can apply to output pin is 36v. ... ... @@ -1252,7 +1252,7 @@ 1252 1252 1253 1253 1254 1254 1. 1255 -11. 1292 +11. 1256 1256 111. Analog Input Interface 1257 1257 1258 1258 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: ... ... @@ -1285,7 +1285,7 @@ 1285 1285 1286 1286 1287 1287 1. 1288 -11. 1325 +11. 1289 1289 111. Relay Output 1290 1290 1291 1291 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: ... ... @@ -1445,7 +1445,7 @@ 1445 1445 1446 1446 1447 1447 1448 -1. 1485 +1. 1449 1449 11. Common AT Command Sequence 1450 1450 111. Multi-channel ABP mode (Use with SX1301/LG308) 1451 1451 ... ... @@ -1468,8 +1468,8 @@ 1468 1468 1469 1469 ATZ 1470 1470 1471 -1. 1472 -11. 1508 +1. 1509 +11. 1473 1473 111. Single-channel ABP mode (Use with LG01/LG02) 1474 1474 1475 1475 123456 Enter Password to have AT access. ... ... @@ -1509,7 +1509,7 @@ 1509 1509 1510 1510 1511 1511 1. 1512 -11. 1549 +11. 1513 1513 111. Change to Class A 1514 1514 1515 1515 If sensor JOINED ... ... @@ -1524,7 +1524,7 @@ 1524 1524 1525 1525 1. FAQ 1526 1526 1527 -1. 1564 +1. 1528 1528 11. How to upgrade the image? 1529 1529 1530 1530 The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to: ... ... @@ -1583,7 +1583,7 @@ 1583 1583 User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download. 1584 1584 1585 1585 1586 -1. 1623 +1. 1587 1587 11. How to set up LT to work with Single Channel Gateway such as LG01/LG02? 1588 1588 1589 1589 In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency. ... ... @@ -1642,7 +1642,7 @@ 1642 1642 [[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work]] 1643 1643 1644 1644 1645 -1. 1682 +1. 1646 1646 11. Have trouble to upload image. 1647 1647 1648 1648 See this link for trouble shooting: ... ... @@ -1650,7 +1650,7 @@ 1650 1650 [[http:~~/~~/wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting]] 1651 1651 1652 1652 1653 -1. 1690 +1. 1654 1654 11. Why I can’t join TTN in US915 /AU915 bands? 1655 1655 1656 1656 It might be about the channels mapping. Please see this link for detail:
- image-20220523181246-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.5 KB - Content
- image-20220523181301-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.6 KB - Content
- image-20220523181727-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.8 KB - Content
- image-20220523181903-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.9 KB - Content
- image-20220523182334-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -6.4 KB - Content