Changes for page LT-22222-L -- LoRa I/O Controller User Manual
Last modified by Saxer Lin on 2025/04/15 17:24
Change comment:
edited 3.6.2
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.pradeeka - Content
-
... ... @@ -277,7 +277,7 @@ 277 277 278 278 279 279 ((( 280 - In working mode MOD1, the uplink payload includesa total of11 bytes. Uplink packets are sent over LoRaWAN FPort=2. By default, one uplink is sent every 10 minutes. (% style="display:none" %)280 +The uplink payload is 11 bytes long. Uplink packets are sent over LoRaWAN FPort=2. By default, one uplink is sent every 10 minutes. (% style="display:none" %) 281 281 282 282 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 283 283 |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1** ... ... @@ -295,7 +295,7 @@ 295 295 ))) 296 296 297 297 ((( 298 -(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte 298 +(% style="color:#4f81bd" %)*** DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte, as shown below. 299 299 300 300 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 301 301 |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** ... ... @@ -321,31 +321,35 @@ 321 321 322 322 ACI2 channel current is 0x1300/1000=4.864mA 323 323 324 -The last byte 0xAA= 10101010( B) means324 +The last byte 0xAA= 10101010(b) means, 325 325 326 326 * [1] RO1 relay channel is closed, and the RO1 LED is ON. 327 327 * [0] RO2 relay channel is open, and RO2 LED is OFF. 328 -* [1] DI2 channel is high input and DI2 LED is ON. 329 -* [0] DI1 channel is low input. 330 -* [0] DO3 channel output state 328 +* [1] DI3 - not used for LT-22222-L. 329 +* [0] DI2 channel input is low, and the DI2 LED is OFF. 330 +* [1] DI1 channel input state: 331 +** DI1 is floating when there is no load between DI1 and V+. 332 +** DI1 is high when there is load between DI1 and V+. 333 +** DI1 LED is ON in both cases. 334 +* [0] DO3 channel output state: 331 331 ** DO3 is float in case no load between DO3 and V+. 332 332 ** DO3 is high in case there is load between DO3 and V+. 333 -** DO3 LED is offin both case334 -* [1] DO2 channel output is low and DO2 LED is ON. 335 -* [0] DO1 channel output state 336 -** DO1 is float case no load between DO1 and V+.337 -** DO1 is high incasethere is load between DO1 and V+.338 -** DO1 LED is offin both case.337 +** DO3 LED is OFF in both case 338 +* [1] DO2 channel output is low, and the DO2 LED is ON. 339 +* [0] DO1 channel output state: 340 +** DO1 is floating when there is no load between DO1 and V+. 341 +** DO1 is high when there is load between DO1 and V+. 342 +** DO1 LED is OFF in both case. 339 339 340 340 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 341 341 342 342 343 343 ((( 344 -**For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 348 +**For LT-22222-L**: In this mode, the **DI1 and DI2** are used as counting pins. 345 345 ))) 346 346 347 347 ((( 348 -T otal:11 bytespayload352 +The uplink payload is 11 bytes long. 349 349 350 350 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 351 351 |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1** ... ... @@ -355,26 +355,26 @@ 355 355 ))) 356 356 357 357 ((( 358 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1 .Totally1bytesas below362 +(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1, for a total of 1 byte, as shown below. 359 359 360 360 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 361 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 362 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 365 +|**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 366 +|RO1|RO2|FIRST|Reserve|Reserve|--DO3--|DO2|DO1 363 363 364 -RO is for relay. ROx=1 : close 368 +* RO is for relay. ROx=1 : closed, ROx=0 always open. 365 365 ))) 366 366 367 -* FIRST: Indicate this is the first packet after join network. 368 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 371 +* FIRST: Indicates that this is the first packet after joining the network. 372 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating. 369 369 370 370 ((( 371 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L .**375 +(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L** 372 372 373 373 374 374 ))) 375 375 376 376 ((( 377 -**To usecountingmode, please run:**381 +**To activate this mode, please run the following AT command:** 378 378 ))) 379 379 380 380 ((( ... ... @@ -395,17 +395,17 @@ 395 395 ((( 396 396 **For LT22222-L:** 397 397 398 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (set DI1 port to trigger on low level, valid signal is 100ms) ** 402 +(% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (set the DI1 port to trigger on a low level, the valid signal duration is 100ms) ** 399 399 400 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)** (set DI1 port to trigger on high level, valid signal is 100ms 404 +(% style="color:blue" %)**AT+TRIG1=1,100**(%%)** (set the DI1 port to trigger on a high level, the valid signal duration is 100ms) ** 401 401 402 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)** (set DI2 port to trigger on low level, valid signal is 100ms) ** 406 +(% style="color:blue" %)**AT+TRIG2=0,100**(%%)** (set the DI2 port to trigger on a low level, the valid signal duration is 100ms) ** 403 403 404 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)** (set DI2 port to trigger on high level, valid signal is 100ms 408 +(% style="color:blue" %)**AT+TRIG2=1,100**(%%)** (set the DI2 port to trigger on a high level, the valid signal duration is 100ms) ** 405 405 406 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)** (Set COUNT1 value to 60)** 410 +(% style="color:blue" %)**AT+SETCNT=1,60**(%%)** (Set the COUNT1 value to 60)** 407 407 408 -(% style="color:blue" %)**AT+SETCNT=2,60**(%%)** (Set COUNT2 value to 60)** 412 +(% style="color:blue" %)**AT+SETCNT=2,60**(%%)** (Set the COUNT2 value to 60)** 409 409 ))) 410 410 411 411 ... ... @@ -412,7 +412,7 @@ 412 412 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 413 413 414 414 415 -**LT22222-L**: This mode the DI1 is used as a counting pin.419 +**LT22222-L**: In this mode, the DI1 is used as a counting pin. 416 416 417 417 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 418 418 |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**2**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1** ... ... @@ -423,16 +423,16 @@ 423 423 )))|DIDORO*|Reserve|MOD 424 424 425 425 ((( 426 -(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1 .Totally1bytesas below430 +(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte, as shown below. 427 427 428 428 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 429 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 430 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 433 +|**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 434 +|RO1|RO2|FIRST|Reserve|Reserve|--DO3--|DO2|DO1 431 431 ))) 432 432 433 -* RO is for relay. ROx=1 : close, ROx=0 always open. 434 -* FIRST: Indicate this is the first packet after join network. 435 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 437 +* RO is for relay. ROx=1 : closed, ROx=0 always open. 438 +* FIRST: Indicates that this is the first packet after joining the network. 439 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating. 436 436 437 437 ((( 438 438 (% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** ... ... @@ -440,7 +440,7 @@ 440 440 441 441 442 442 ((( 443 -**To usecountingmode, please run:**447 +**To activate this mode, please run the following AT command:** 444 444 ))) 445 445 446 446 ((( ... ... @@ -453,7 +453,9 @@ 453 453 ))) 454 454 455 455 ((( 456 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 460 +AT Commands for counting: 461 + 462 +The AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. Use only the commands that match 'DI'. 457 457 ))) 458 458 459 459 ... ... @@ -461,11 +461,11 @@ 461 461 462 462 463 463 ((( 464 -**LT22222-L**: This mode the DI1 is used as a counting pin.470 +**LT22222-L**: In this mode, the DI1 is used as a counting pin. 465 465 ))) 466 466 467 467 ((( 468 -The AVI1 is also used for counting. AVI1 is usedtomonitor the voltage.Itwillcheck thevoltage**every 60s**,if voltage is higher or lower than VOLMAX mV, the AVI1Countingincrease 1,so AVI1 countingcanbe used to measure a machine working hour.474 +The AVI1 is also used for counting. It monitors the voltage and checks it every **60 seconds**. If the voltage is higher or lower than VOLMAX mV, the AVI1 count increases by 1, allowing AVI1 counting to be used to measure a machine's working hours. 469 469 470 470 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 471 471 |(% style="background-color:#4f81bd; color:white" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**4**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1**|(% style="background-color:#4f81bd; color:white" %)**1** ... ... @@ -475,16 +475,16 @@ 475 475 ))) 476 476 477 477 ((( 478 -(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1 .Totally1bytesas below484 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1, for a total of 1 byte, as shown below. 479 479 480 480 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 481 -|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 482 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 487 +|**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0** 488 +|RO1|RO2|FIRST|Reserve|Reserve|--DO3--|DO2|DO1 483 483 ))) 484 484 485 -* RO is for relay. ROx=1 : close, ROx=0 always open. 486 -* FIRST: Indicate this is the first packet after join network. 487 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 491 +* RO is for relay. ROx=1 : closed, ROx=0 always open. 492 +* FIRST: Indicates that this is the first packet after joining the network. 493 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or floating. 488 488 489 489 ((( 490 490 (% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** ... ... @@ -493,7 +493,7 @@ 493 493 ))) 494 494 495 495 ((( 496 -**To use this mode, please run:**502 +**To activate this mode, please run the following AT command:** 497 497 ))) 498 498 499 499 ((( ... ... @@ -510,9 +510,9 @@ 510 510 ))) 511 511 512 512 ((( 513 -** Plusbelow command for AVI1 Counting:**519 +**In addition to that, below are the commands for AVI1 Counting:** 514 514 515 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** 521 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 516 516 517 517 (% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 518 518 ... ... @@ -1414,7 +1414,7 @@ 1414 1414 [[image:thingseye-io-step-6.png||height="625" width="1000"]] 1415 1415 1416 1416 1417 -== 3.6 Interface Detail == 1423 +== 3.6 Interface Details == 1418 1418 1419 1419 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === 1420 1420 ... ... @@ -1428,12 +1428,12 @@ 1428 1428 1429 1429 1430 1430 ((( 1431 -The DI port of LT-22222-L can support **NPN** or**PNP** or **DryContact** output sensor.1437 +The DI ports of the LT-22222-L can support **NPN**, **PNP**, or **dry contact** output sensors. 1432 1432 ))) 1433 1433 1434 1434 ((( 1435 1435 ((( 1436 - Internal circuitas below,the NEC2501is aphotocoupler,theActive current(from NEC2501 pin 1 to pin 2 is 1maandthemax currentis50mA).(% class="mark" %)Whenthere isactive currentpassNEC2501 pin1 to pin2.The DIwillbe activehighand DI LED statuswillchange.1442 +The part of the internal circuit of the LT-22222-L shown below includes the NEC2501 photocoupler. The active current from NEC2501 pin 1 to pin 2 is 1 mA, with a maximum allowable current of 50 mA. When active current flows from NEC2501 pin 1 to pin 2, the DI becomes active HIGH, and the DI LED status changes. 1437 1437 1438 1438 1439 1439 ))) ... ... @@ -1443,7 +1443,7 @@ 1443 1443 1444 1444 ((( 1445 1445 ((( 1446 - When use needto connect a device to the DI port, both DI1+ and DI1- must be connected.1452 +(% style="font-size: 11pt; font-variant-alternates: normal; font-variant-east-asian: normal; font-variant-ligatures: normal; font-variant-numeric: normal; font-variant-position: normal; white-space: pre-wrap; font-family: Arial, sans-serif; color: rgb(0, 0, 0); font-weight: 400; font-style: normal; text-decoration: none" %)When connecting a device to the DI port, both DI1+ and DI1- must be connected. 1447 1447 ))) 1448 1448 ))) 1449 1449 ... ... @@ -1452,22 +1452,22 @@ 1452 1452 ))) 1453 1453 1454 1454 ((( 1455 -(% style="color:blue" %)**Example1**(%%): Connect to a Low1461 +(% style="color:blue" %)**Example1**(%%): Connecting to a low-active sensor. 1456 1456 ))) 1457 1457 1458 1458 ((( 1459 -This type of sensor willoutput a low signalGNDwhen active.1465 +This type of sensors outputs a low (GND) signal when active. 1460 1460 ))) 1461 1461 1462 1462 * ((( 1463 -Connect sensor's output to DI1- 1469 +Connect the sensor's output to DI1- 1464 1464 ))) 1465 1465 * ((( 1466 -Connect sensor's VCC to DI1+. 1472 +Connect the sensor's VCC to DI1+. 1467 1467 ))) 1468 1468 1469 1469 ((( 1470 - So when sensor active, the current between NEC2501 pin1 and pin2 is:1476 +When the sensor is active, the current between NEC2501 pin 1 and pin 2 will be: 1471 1471 ))) 1472 1472 1473 1473 ((( ... ... @@ -1475,7 +1475,7 @@ 1475 1475 ))) 1476 1476 1477 1477 ((( 1478 - If** DI1+ **= **12v**, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA ,Sothe LT-22222-L will be able to detect this active signal.1484 +For example, if** DI1+ **= **12V**, the resulting current is [[image:1653968155772-850.png||height="23" width="19"]]= 12mA. Therefore, the LT-22222-L will be able to detect this active signal. 1479 1479 ))) 1480 1480 1481 1481 ((( ... ... @@ -1483,22 +1483,22 @@ 1483 1483 ))) 1484 1484 1485 1485 ((( 1486 -(% style="color:blue" %)**Example2**(%%): Connect to a High1492 +(% style="color:blue" %)**Example2**(%%): Connecting to a high-active sensor. 1487 1487 ))) 1488 1488 1489 1489 ((( 1490 -This type of sensor willoutput a high signal (example24v) when active.1496 +This type of sensors outputs a high signal (e.g., 24V) when active. 1491 1491 ))) 1492 1492 1493 1493 * ((( 1494 -Connect sensor's output to DI1+ 1500 +Connect the sensor's output to DI1+ 1495 1495 ))) 1496 1496 * ((( 1497 -Connect sensor's GND DI1-. 1503 +Connect the sensor's GND DI1-. 1498 1498 ))) 1499 1499 1500 1500 ((( 1501 - So when sensor active, the current between NEC2501 pin1 and pin2 is:1507 +When the sensor is active, the current between NEC2501 pin1 and pin2 will be: 1502 1502 ))) 1503 1503 1504 1504 ((( ... ... @@ -1506,7 +1506,7 @@ 1506 1506 ))) 1507 1507 1508 1508 ((( 1509 -If **DI1+ = 24 v**, the[[image:1653968155772-850.png||height="23" width="19"]] 24mA ,So the LT-22222-L willbe able todetect this high1515 +If **DI1+ = 24V**, the resulting current[[image:1653968155772-850.png||height="23" width="19"]] 24mA , Therefore, the LT-22222-L will detect this high-active signal. 1510 1510 ))) 1511 1511 1512 1512 ((( ... ... @@ -1514,22 +1514,22 @@ 1514 1514 ))) 1515 1515 1516 1516 ((( 1517 -(% style="color:blue" %)**Example3**(%%): Connect to a 220 vhigh1523 +(% style="color:blue" %)**Example3**(%%): Connecting to a 220V high-active sensor. 1518 1518 ))) 1519 1519 1520 1520 ((( 1521 -Assume u serwant to monitor an active signal higher than 220v,to make surenotburnthe photocoupler1527 +Assume that you want to monitor an active signal higher than 220V without damaging the photocoupler 1522 1522 ))) 1523 1523 1524 1524 * ((( 1525 -Connect sensor's output to DI1+ with a serial50K resistor1531 +Connect the sensor's output to DI1+ with a 50K resistor in series. 1526 1526 ))) 1527 1527 * ((( 1528 -Connect sensor's GND DI1-. 1534 +Connect the sensor's GND DI1-. 1529 1529 ))) 1530 1530 1531 1531 ((( 1532 - So when sensor active, the current between NEC2501 pin1 and pin2 is:1538 +When the sensor is active, the current between NEC2501 pin1 and pin2 will be: 1533 1533 ))) 1534 1534 1535 1535 ((( ... ... @@ -1537,19 +1537,19 @@ 1537 1537 ))) 1538 1538 1539 1539 ((( 1540 -If sensor output is 220 v, theSothe LT-22222-L will be able to detect this highsafely.1546 +If the sensor output is 220V, then [[image:1653968155772-850.png||height="23" width="19"]](% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K. = 4.3mA. Therefore, the LT-22222-L will be able to safely detect this high-active signal. 1541 1541 ))) 1542 1542 1543 1543 1544 -(% style="color:blue" %)**Example4**(%%): Connect to Dry Contact sensor 1550 +(% style="color:blue" %)**Example4**(%%): Connecting to Dry Contact sensor 1545 1545 1546 -From aboveDI portscircuit,we can see that activethe photocouplerwill needto haveavoltage difference between DI+ and DI- port.While the Dry Contact sensor is a passive componentwhichcan't provide this voltage difference.1552 +From DI port circuit above, you can see that activating the photocoupler requires a voltage difference between the DI+ and DI- ports. However, the Dry Contact sensor is a passive component and cannot provide this voltage difference. 1547 1547 1548 -To detect a Dry Contact, wecan providea power source to one pin of the Dry Contact. Below is a reference connection.1554 +To detect a Dry Contact, you can supply a power source to one pin of the Dry Contact. Below is a reference circuit diagram. 1549 1549 1550 1550 [[image:image-20230616235145-1.png]] 1551 1551 1552 -(% style="color:blue" %)**Example5**(%%): Connect to Open Colle actor1558 +(% style="color:blue" %)**Example5**(%%): Connecting to an Open Collector 1553 1553 1554 1554 [[image:image-20240219115718-1.png]] 1555 1555