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)
Details
- Page properties
-
- Content
-
... ... @@ -277,7 +277,7 @@ 277 277 278 278 279 279 ((( 280 - The uplink payload is11byteslong. Uplink packets are sent over LoRaWAN FPort=2. By default, one uplink is sent every 10 minutes. (% style="display:none" %)280 +In working mode MOD1, the uplink payload includes a total of 9 bytes. 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 ,as shown below.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,35 +321,35 @@ 321 321 322 322 ACI2 channel current is 0x1300/1000=4.864mA 323 323 324 -The last byte 0xAA= 10101010( b) means,324 +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] DI3 - not used for LT-22222-L.329 -* [0] DI2channel input is low, and the DI2ED is OFF.330 - * [1] DI1 channel input state:331 -* *DI1is floating whenthereis noloadbetweenDI1andV+.332 -* *DI1ishigh whenthereis load betweenDI1 and V+.333 - ** DI1 LED is ON in both cases.334 -* [0] DO3 channel output state :328 + 329 +**LT22222-L:** 330 + 331 +* [1] DI2 channel is high input and DI2 LED is ON. 332 +* [0] DI1 channel is low input. 333 + 334 +* [0] DO3 channel output state 335 335 ** DO3 is float in case no load between DO3 and V+. 336 336 ** DO3 is high in case there is load between DO3 and V+. 337 -** DO3 LED is OFFin both case338 -* [1] DO2 channel output is low ,andtheDO2 LED is ON.339 -* [0] DO1 channel output state :340 -** DO1 is floatin gwhenthere isno load between DO1 and V+.341 -** DO1 is high when there is load between DO1 and V+.342 -** DO1 LED is OFFin both case.337 +** DO3 LED is off in both case 338 +* [1] DO2 channel output is low and DO2 LED is ON. 339 +* [0] DO1 channel output state 340 +** DO1 is float in case no load between DO1 and V+. 341 +** DO1 is high in case there is load between DO1 and V+. 342 +** DO1 LED is off in both case. 343 343 344 344 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 345 345 346 346 347 347 ((( 348 -**For LT-22222-L**: Inthis mode,the **DI1 and DI2** are used as counting pins.348 +**For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 349 349 ))) 350 350 351 351 ((( 352 -T he uplink payloadis11 bytes long.352 +Total : 11 bytes payload 353 353 354 354 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 355 355 |(% 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** ... ... @@ -359,26 +359,26 @@ 359 359 ))) 360 360 361 361 ((( 362 -(% style="color:#4f81bd" %)** *DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1,for atotalof1,asshownbelow.362 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 363 363 364 364 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 365 -|**bit 366 -|RO1|RO2|FIRST|Reserve|Reserve| --DO3--|DO2|DO1365 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 366 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 367 367 368 - *RO is for relay. ROx=1 : closed,368 +RO is for relay. ROx=1 : close , ROx=0 always open. 369 369 ))) 370 370 371 -* FIRST: Indicate sthat this is the first packet after joiningthenetwork.372 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float ing.371 +* FIRST: Indicate this is the first packet after join network. 372 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 373 373 374 374 ((( 375 -(% 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.** 376 376 377 377 378 378 ))) 379 379 380 380 ((( 381 -**To activate thismode, please runthe following AT command:**381 +**To use counting mode, please run:** 382 382 ))) 383 383 384 384 ((( ... ... @@ -399,17 +399,17 @@ 399 399 ((( 400 400 **For LT22222-L:** 401 401 402 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (set theDI1 port to trigger onalow level,thevalid signalduration is 100ms) **402 +(% style="color:blue" %)**AT+TRIG1=0,100**(%%)** (set DI1 port to trigger on low level, valid signal is 100ms) ** 403 403 404 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)** (set theDI1 port to trigger onahigh level,thevalid signalduration is 100ms) **404 +(% style="color:blue" %)**AT+TRIG1=1,100**(%%)** (set DI1 port to trigger on high level, valid signal is 100ms ) ** 405 405 406 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)** (set theDI2 port to trigger onalow level,thevalid signalduration is 100ms) **406 +(% style="color:blue" %)**AT+TRIG2=0,100**(%%)** (set DI2 port to trigger on low level, valid signal is 100ms) ** 407 407 408 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)** (set theDI2 port to trigger onahigh level,thevalid signalduration is 100ms) **408 +(% style="color:blue" %)**AT+TRIG2=1,100**(%%)** (set DI2 port to trigger on high level, valid signal is 100ms ) ** 409 409 410 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)** (Set theCOUNT1 value to 60)**410 +(% style="color:blue" %)**AT+SETCNT=1,60**(%%)** (Set COUNT1 value to 60)** 411 411 412 -(% style="color:blue" %)**AT+SETCNT=2,60**(%%)** (Set theCOUNT2 value to 60)**412 +(% style="color:blue" %)**AT+SETCNT=2,60**(%%)** (Set COUNT2 value to 60)** 413 413 ))) 414 414 415 415 ... ... @@ -416,7 +416,7 @@ 416 416 === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI === 417 417 418 418 419 -**LT22222-L**: In this mode,the DI1 is used as a counting pin.419 +**LT22222-L**: This mode the DI1 is used as a counting pin. 420 420 421 421 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 422 422 |(% 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** ... ... @@ -427,16 +427,16 @@ 427 427 )))|DIDORO*|Reserve|MOD 428 428 429 429 ((( 430 -(% style="color:#4f81bd" %)** *DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1,for atotalof1,asshownbelow.430 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 431 431 432 432 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 433 -|**bit 434 -|RO1|RO2|FIRST|Reserve|Reserve| --DO3--|DO2|DO1433 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 434 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 435 435 ))) 436 436 437 -* RO is for relay. ROx=1 : close d, ROx=0 always open.438 -* FIRST: Indicate sthat this is the first packet after joiningthenetwork.439 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float ing.437 +* RO is for relay. ROx=1 : close, ROx=0 always open. 438 +* FIRST: Indicate this is the first packet after join network. 439 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 440 440 441 441 ((( 442 442 (% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** ... ... @@ -444,7 +444,7 @@ 444 444 445 445 446 446 ((( 447 -**To activate thismode, please runthe following AT command:**447 +**To use counting mode, please run:** 448 448 ))) 449 449 450 450 ((( ... ... @@ -457,9 +457,7 @@ 457 457 ))) 458 458 459 459 ((( 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'. 460 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 463 463 ))) 464 464 465 465 ... ... @@ -467,11 +467,11 @@ 467 467 468 468 469 469 ((( 470 -**LT22222-L**: In this mode,the DI1 is used as a counting pin.468 +**LT22222-L**: This mode the DI1 is used as a counting pin. 471 471 ))) 472 472 473 473 ((( 474 -The AVI1 is also used for counting. It monitor sthe voltageandchecksit every**60econds**.Ifthevoltage is higher or lower than VOLMAX mV, the AVI1count increasesby1,allowingAVI1 countingtobe used to measure a machine'sworking hours.472 +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. 475 475 476 476 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 477 477 |(% 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** ... ... @@ -481,16 +481,16 @@ 481 481 ))) 482 482 483 483 ((( 484 -(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1 ,for atotalof1,asshownbelow.482 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 485 485 486 486 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 487 -|**bit 488 -|RO1|RO2|FIRST|Reserve|Reserve| --DO3--|DO2|DO1485 +|**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0** 486 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 489 489 ))) 490 490 491 -* RO is for relay. ROx=1 : close d, ROx=0 always open.492 -* FIRST: Indicate sthat this is the first packet after joiningthenetwork.493 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float ing.489 +* RO is for relay. ROx=1 : close, ROx=0 always open. 490 +* FIRST: Indicate this is the first packet after join network. 491 +* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 494 494 495 495 ((( 496 496 (% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.** ... ... @@ -499,7 +499,7 @@ 499 499 ))) 500 500 501 501 ((( 502 -**To activate this mode, please runthe following AT command:**500 +**To use this mode, please run:** 503 503 ))) 504 504 505 505 ((( ... ... @@ -516,9 +516,9 @@ 516 516 ))) 517 517 518 518 ((( 519 -** Inaddition to that,beloware thecommandsfor AVI1 Counting:**517 +**Plus below command for AVI1 Counting:** 520 520 521 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 519 +(% style="color:blue" %)**AT+SETCNT=3,60**(%%)** (set AVI Count to 60)** 522 522 523 523 (% style="color:blue" %)**AT+VOLMAX=20000**(%%)** (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)** 524 524 ... ... @@ -1420,7 +1420,7 @@ 1420 1420 [[image:thingseye-io-step-6.png||height="625" width="1000"]] 1421 1421 1422 1422 1423 -== 3.6 Interface Detail s==1421 +== 3.6 Interface Detail == 1424 1424 1425 1425 === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) === 1426 1426 ... ... @@ -1434,12 +1434,12 @@ 1434 1434 1435 1435 1436 1436 ((( 1437 -The DI port softheLT-22222-L can support **NPN**,**PNP**,or **drycontact** output sensors.1435 +The DI port of LT-22222-L can support **NPN** or **PNP** or **Dry Contact** output sensor. 1438 1438 ))) 1439 1439 1440 1440 ((( 1441 1441 ((( 1442 - The part of the internal circuitof the LT-22222-Lshownbelowincludesthe NEC2501 photocoupler.Theactive current from NEC2501 pin 1 to pin 2 is 1A,withamaximumallowablecurrentof50flowsfromNEC2501 pin,the DI becomesactiveHIGH,andtheDI LED status changes.1440 +Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA). (% class="mark" %)When there is active current pass NEC2501 pin1 to pin2. The DI will be active high and DI LED status will change. 1443 1443 1444 1444 1445 1445 ))) ... ... @@ -1449,7 +1449,7 @@ 1449 1449 1450 1450 ((( 1451 1451 ((( 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" %)Whenconnectinga device to the DI port, both DI1+ and DI1- must be connected.1450 +When use need to connect a device to the DI port, both DI1+ and DI1- must be connected. 1453 1453 ))) 1454 1454 ))) 1455 1455 ... ... @@ -1458,22 +1458,22 @@ 1458 1458 ))) 1459 1459 1460 1460 ((( 1461 -(% style="color:blue" %)**Example1**(%%): Connect ingto alow-active sensor.1459 +(% style="color:blue" %)**Example1**(%%): Connect to a Low active sensor. 1462 1462 ))) 1463 1463 1464 1464 ((( 1465 -This type of sensor soutputsa low(GND)signal when active.1463 +This type of sensor will output a low signal GND when active. 1466 1466 ))) 1467 1467 1468 1468 * ((( 1469 -Connect thesensor's output to DI1-1467 +Connect sensor's output to DI1- 1470 1470 ))) 1471 1471 * ((( 1472 -Connect thesensor's VCC to DI1+.1470 +Connect sensor's VCC to DI1+. 1473 1473 ))) 1474 1474 1475 1475 ((( 1476 - Whenthesensorisactive, the current between NEC2501 pinwill be:1474 +So when sensor active, the current between NEC2501 pin1 and pin2 is: 1477 1477 ))) 1478 1478 1479 1479 ((( ... ... @@ -1481,7 +1481,7 @@ 1481 1481 ))) 1482 1482 1483 1483 ((( 1484 - For example, if** DI1+ **= **12V**, theresulting current is[[image:1653968155772-850.png||height="23" width="19"]]= 12mA.Therefore, the LT-22222-L will be able to detect this active signal.1482 +If** DI1+ **= **12v**, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA , So the LT-22222-L will be able to detect this active signal. 1485 1485 ))) 1486 1486 1487 1487 ((( ... ... @@ -1489,22 +1489,22 @@ 1489 1489 ))) 1490 1490 1491 1491 ((( 1492 -(% style="color:blue" %)**Example2**(%%): Connect ingto ahigh-active sensor.1490 +(% style="color:blue" %)**Example2**(%%): Connect to a High active sensor. 1493 1493 ))) 1494 1494 1495 1495 ((( 1496 -This type of sensor soutputsa high signal (e.g.,24V) when active.1494 +This type of sensor will output a high signal (example 24v) when active. 1497 1497 ))) 1498 1498 1499 1499 * ((( 1500 -Connect thesensor's output to DI1+1498 +Connect sensor's output to DI1+ 1501 1501 ))) 1502 1502 * ((( 1503 -Connect thesensor's GND DI1-.1501 +Connect sensor's GND DI1-. 1504 1504 ))) 1505 1505 1506 1506 ((( 1507 - Whenthesensorisactive, the current between NEC2501 pin1 and pin2will be:1505 +So when sensor active, the current between NEC2501 pin1 and pin2 is: 1508 1508 ))) 1509 1509 1510 1510 ((( ... ... @@ -1512,7 +1512,7 @@ 1512 1512 ))) 1513 1513 1514 1514 ((( 1515 -If **DI1+ = 24 V**, theresulting current[[image:1653968155772-850.png||height="23" width="19"]] 24mA ,Therefore,the LT-22222-L will detect this high-active signal.1513 +If **DI1+ = 24v**, the[[image:1653968155772-850.png||height="23" width="19"]] 24mA , So the LT-22222-L will be able to detect this high active signal. 1516 1516 ))) 1517 1517 1518 1518 ((( ... ... @@ -1520,22 +1520,22 @@ 1520 1520 ))) 1521 1521 1522 1522 ((( 1523 -(% style="color:blue" %)**Example3**(%%): Connect ingto a 220Vhigh-active sensor.1521 +(% style="color:blue" %)**Example3**(%%): Connect to a 220v high active sensor. 1524 1524 ))) 1525 1525 1526 1526 ((( 1527 -Assume that you want to monitor an active signal higher than 220Vwithoutdamagingthe photocoupler1525 +Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler 1528 1528 ))) 1529 1529 1530 1530 * ((( 1531 -Connect thesensor's output to DI1+ with a 50K resistorin series.1529 +Connect sensor's output to DI1+ with a serial 50K resistor 1532 1532 ))) 1533 1533 * ((( 1534 -Connect thesensor's GND DI1-.1532 +Connect sensor's GND DI1-. 1535 1535 ))) 1536 1536 1537 1537 ((( 1538 - Whenthesensorisactive, the current between NEC2501 pin1 and pin2will be:1536 +So when sensor active, the current between NEC2501 pin1 and pin2 is: 1539 1539 ))) 1540 1540 1541 1541 ((( ... ... @@ -1543,19 +1543,19 @@ 1543 1543 ))) 1544 1544 1545 1545 ((( 1546 -If thesensor 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 tosafelydetect this high-active signal.1544 +If sensor output is 220v, the [[image:1653968155772-850.png||height="23" width="19"]](% 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. 1547 1547 ))) 1548 1548 1549 1549 1550 -(% style="color:blue" %)**Example4**(%%): Connect ingto Dry Contact sensor1548 +(% style="color:blue" %)**Example4**(%%): Connect to Dry Contact sensor 1551 1551 1552 -From DI port circuit above,youcan see that activatingthe photocouplerrequiresa voltage difference betweentheDI+ and DI- ports.However,the Dry Contact sensor is a passive componentandcannot provide this voltage difference.1550 +From above DI ports circuit, we can see that active the photocoupler will need to have a voltage difference between DI+ and DI- port. While the Dry Contact sensor is a passive component which can't provide this voltage difference. 1553 1553 1554 -To detect a Dry Contact, youcansupplya power source to one pin of the Dry Contact. Below is a reference circuitdiagram.1552 +To detect a Dry Contact, we can provide a power source to one pin of the Dry Contact. Below is a reference connection. 1555 1555 1556 1556 [[image:image-20230616235145-1.png]] 1557 1557 1558 -(% style="color:blue" %)**Example5**(%%): Connect ingtoanOpen Collector1556 +(% style="color:blue" %)**Example5**(%%): Connect to Open Colleactor 1559 1559 1560 1560 [[image:image-20240219115718-1.png]] 1561 1561