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:
edits from section 3.6.3
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 ... ... @@ -1424,16 +1424,16 @@ 1424 1424 [[image:1653356991268-289.png]] 1425 1425 1426 1426 1427 -=== 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) === 1433 +=== 3.6.2 Digital Input Ports: DI1/DI2 ( For LT-22222-L) === 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 need1452 +(% style="color:#000000; font-family:Arial,sans-serif; font-size:11pt; font-style:normal; font-variant-alternates:normal; font-variant-east-asian:normal; font-variant-ligatures:normal; font-variant-numeric:normal; font-variant-position:normal; font-weight:400; text-decoration:none; white-space:pre-wrap" %)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,37 +1537,37 @@ 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 1556 1556 1557 -=== 3.6.3 Digital Output Port: DO1/DO2 /DO3 === 1563 +=== 3.6.3 Digital Output Ports: DO1/DO2 /DO3 === 1558 1558 1559 1559 1560 -(% style="color:blue" %)**NPN output**(%%): GND or Float. Max voltage can applyto output pin is 36v.1566 +(% style="color:blue" %)**NPN output**(%%): GND or Float. The maximum voltage that can be applied to the output pin is 36V. 1561 1561 1562 -(% style="color:red" %)**Note: DO pins gotofloat when device is power off.**1568 +(% style="color:red" %)**Note: The DO pins will float when device is powered off.** 1563 1563 1564 1564 [[image:1653357531600-905.png]] 1565 1565 1566 1566 1567 -=== 3.6.4 Analog Input Interface === 1573 +=== 3.6.4 Analog Input Interfaces === 1568 1568 1569 1569 1570 -The analog input interface is as below. The LT will measure the IN2 voltagesoto calculate the current pass theLoad. The formula is:1576 +The analog input interface is shown below. The LT-22222-L will measure the IN2 voltage to calculate the current passing through the load. The formula is: 1571 1571 1572 1572 1573 1573 (% style="color:blue" %)**AC2 = (IN2 voltage )/12** ... ... @@ -1574,14 +1574,14 @@ 1574 1574 1575 1575 [[image:1653357592296-182.png]] 1576 1576 1577 -Example toconnect a 4~~20mA sensor1583 +Example: Connecting a 4~~20mA sensor 1578 1578 1579 -We take the wind speed sensor as an example for reference only.1585 +We will use the wind speed sensor as an example for reference only. 1580 1580 1581 1581 1582 1582 (% style="color:blue" %)**Specifications of the wind speed sensor:** 1583 1583 1584 -(% style="color:red" %)**Red: 12~~24 v**1590 +(% style="color:red" %)**Red: 12~~24V** 1585 1585 1586 1586 (% style="color:#ffc000" %)**Yellow: 4~~20mA** 1587 1587 ... ... @@ -1594,7 +1594,7 @@ 1594 1594 [[image:1653357648330-671.png||height="155" width="733"]] 1595 1595 1596 1596 1597 -Example connectedto a regulated power supply to measure voltage1603 +Example: Connecting to a regulated power supply to measure voltage 1598 1598 1599 1599 [[image:image-20230608101532-1.png||height="606" width="447"]] 1600 1600 ... ... @@ -1603,7 +1603,7 @@ 1603 1603 [[image:image-20230608101722-3.png||height="102" width="1139"]] 1604 1604 1605 1605 1606 -(% style="color:blue; font-weight:bold" %)**Specifications of the regulated power**(% %) (%style="color:blue" %)**:**1612 +(% style="color:blue; font-weight:bold" %)**Specifications of the regulated power supply**(% style="color:blue" %)**:** 1607 1607 1608 1608 (% style="color:red" %)**Red: 12~~24v** 1609 1609 ... ... @@ -1614,9 +1614,9 @@ 1614 1614 1615 1615 1616 1616 ((( 1617 -The LT serial controllerhas two relay interfaces;eachinterfaceusestwo pins of the screw terminal.User can connectotherdevice'sPowerLinetoin serialof RO1_1 and RO_2. Such asbelow:1623 +The LT-22222-L has two relay interfaces, RO1 and RO2, each using two pins of the screw terminal (ROx-1 and ROx-2 where x is the port number, 1 or 2). You can connect a device's power line in series with one of the relay interfaces (e.g., RO1-1 and RO1-2 screw terminals). See the example below: 1618 1618 1619 -**Note**: RO pins gotoOpen(NO) whendeviceis power off.1625 +**Note**: The ROx pins will be in the Open (NO) state when the LT-22222-L is powered off. 1620 1620 ))) 1621 1621 1622 1622 [[image:image-20220524100215-9.png]] ... ... @@ -1656,13 +1656,13 @@ 1656 1656 |**RO1**|For LT-22222-L: ON when RO1 is closed, LOW when RO1 is open 1657 1657 |**RO2**|For LT-22222-L: ON when RO2 is closed, LOW when RO2 is open 1658 1658 1659 -= 4. Us eAT Command =1665 += 4. Using AT Command = 1660 1660 1661 -== 4.1 AccessATCommand==1667 +== 4.1 Connecting the LT-22222-L to a computer == 1662 1662 1663 1663 1664 1664 ((( 1665 -LT supports AT Command et.Usercan use a USBplusthe3.5mm Program Cable to connect toLTforusingATcommand, as below.1671 +The LT-22222-L supports programming using AT Commands. You can use a USB-to-TTL adapter along with a 3.5mm Program Cable to connect the LT-22222-L to a computer, as shown below. 1666 1666 ))) 1667 1667 1668 1668 [[image:1653358238933-385.png]] ... ... @@ -1669,7 +1669,7 @@ 1669 1669 1670 1670 1671 1671 ((( 1672 - 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 ratetoforLT. The AT commands are disable by default andneedto enterpassword (default:(% style="color:green" %)**123456**)(%%) to activeit.As shown below:1678 +On the PC, the user needs to set the (% style="color:#4f81bd" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) to a baud rate of (% style="color:green" %)**9600**(%%) to access to access serial console of LT-22222-L. The AT commands are disabled by default, and a password (default:(% style="color:green" %)**123456**)(%%) must be entered to active them, as shown below: 1673 1673 ))) 1674 1674 1675 1675 [[image:1653358355238-883.png]] ... ... @@ -1676,10 +1676,12 @@ 1676 1676 1677 1677 1678 1678 ((( 1679 - More detailAT Commandmanual can be found at1685 +You can find more details in the [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]] 1680 1680 ))) 1681 1681 1682 1682 ((( 1689 +The following table lists all the AT commands related to the LT-22222-L, except for those used for switching between modes. 1690 + 1683 1683 AT+<CMD>? : Help on <CMD> 1684 1684 ))) 1685 1685