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
-
... ... @@ -189,8 +189,6 @@ 189 189 190 190 * Counting 191 191 192 - 193 - 194 194 == 1.4 Applications == 195 195 196 196 ... ... @@ -206,8 +206,6 @@ 206 206 207 207 * Smart Factory 208 208 209 - 210 - 211 211 == 1.5 Hardware Variants == 212 212 213 213 ... ... @@ -225,8 +225,6 @@ 225 225 * 1 x Counting Port 226 226 ))) 227 227 228 - 229 - 230 230 = 2. Power ON Device = 231 231 232 232 ... ... @@ -283,7 +283,7 @@ 283 283 Each LT is shipped with a sticker with the default device EUI as below: 284 284 ))) 285 285 286 -[[image:image-20230425173427-2.png]] 280 +[[image:image-20230425173427-2.png||height="246" width="530"]] 287 287 288 288 289 289 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: ... ... @@ -320,24 +320,42 @@ 320 320 * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 321 321 * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5 322 322 323 - 324 - 325 325 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 326 326 327 327 328 328 ((( 329 -The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. 321 +The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. (% style="display:none" %) 322 + 323 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 324 +|Size(bytes)(% style="display:none" %) |2|2|2|2|1|1|1 325 +|Value|((( 326 +AVI1 327 +voltage 328 +)))|((( 329 +AVI2 330 +voltage 331 +)))|((( 332 +ACI1 333 +Current 334 +)))|((( 335 +ACI2 336 +Current 337 +)))|DIDORO*|((( 338 +Reserve 339 +)))|MOD 330 330 ))) 331 331 332 -[[image:image-20220523174024-3.png]] 333 333 334 334 ((( 335 335 336 336 337 337 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 347 + 348 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 349 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 350 +|RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1 338 338 ))) 339 339 340 -[[image:image-20220523174254-4.png]] 341 341 342 342 * RO is for relay. ROx=1 : close,ROx=0 always open. 343 343 * DI is for digital input. DIx=1: high or float, DIx=0: low. ... ... @@ -378,8 +378,6 @@ 378 378 ** DO1 is high in case there is load between DO1 and V+. 379 379 ** DO1 LED is off in both case 380 380 381 - 382 - 383 383 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 384 384 385 385 ... ... @@ -389,18 +389,28 @@ 389 389 390 390 ((( 391 391 Total : 11 bytes payload 392 -))) 393 393 394 -[[image:image-20220523180452-3.png]] 403 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 404 +|Size(bytes)|4|4|1|1|1 405 +|Value|COUNT1|COUNT2 |DIDORO*|((( 406 +Reserve 395 395 408 + 409 +)))|MOD 410 +))) 396 396 397 397 ((( 413 + 414 + 398 398 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below 399 -))) 400 400 401 -[[image:image-20220523180506-4.png]] 417 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 418 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 419 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 402 402 403 -* RO is for relay. ROx=1 : close,ROx=0 always open. 421 +RO is for relay. ROx=1 : close,ROx=0 always open. 422 +))) 423 + 404 404 * FIRST: Indicate this is the first packet after join network. 405 405 * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float. 406 406 ... ... @@ -458,15 +458,24 @@ 458 458 459 459 **LT22222-L**: This mode the DI1 is used as a counting pin. 460 460 461 -[[image:image-20220523181246-5.png]] 481 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 482 +|Size(bytes)|4|2|2|1|1|1 483 +|Value|COUNT1|((( 484 +ACI1 Current 485 +)))|((( 486 +ACI2 Current 487 +)))|DIDORO*|Reserve|MOD 462 462 463 463 ((( 464 464 465 465 466 466 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 493 + 494 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 495 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 496 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 467 467 ))) 468 468 469 -[[image:image-20220523181301-6.png]] 470 470 471 471 * RO is for relay. ROx=1 : close,ROx=0 always open. 472 472 * FIRST: Indicate this is the first packet after join network. ... ... @@ -508,16 +508,26 @@ 508 508 509 509 ((( 510 510 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. 540 + 541 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 542 +|Size(bytes)|4|4|1|1|1 543 +|Value|COUNT1|AVI1 Counting|DIDORO*|((( 544 +Reserve 545 + 546 + 547 +)))|MOD 511 511 ))) 512 512 513 -[[image:image-20220523181903-8.png]] 514 514 515 515 516 516 ((( 517 517 (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 554 + 555 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 556 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 557 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 518 518 ))) 519 519 520 -[[image:image-20220523181727-7.png]] 521 521 522 522 * RO is for relay. ROx=1 : close,ROx=0 always open. 523 523 * FIRST: Indicate this is the first packet after join network. ... ... @@ -572,12 +572,29 @@ 572 572 573 573 **LT22222-L**: This mode the DI1 is used as a counting pin. 574 574 575 -[[image:image-20220523182334-9.png]] 614 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 615 +|Size(bytes)|2|2|2|2|1|1|1 616 +|Value|((( 617 +AVI1 618 +voltage 619 +)))|((( 620 +AVI2 621 +voltage 622 +)))|((( 623 +ACI1 624 +Current 625 +)))|COUNT1|DIDORO*|((( 626 +Reserve 627 +)))|MOD 576 576 577 577 ((( 578 578 579 579 580 580 (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below 633 + 634 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 635 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 636 +|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1 581 581 ))) 582 582 583 583 * RO is for relay. ROx=1 : close,ROx=0 always open. ... ... @@ -702,12 +702,51 @@ 702 702 703 703 MOD6 Payload : total 11 bytes payload 704 704 705 -[[image:image-20220524085923-1.png]] 761 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 762 +|Size(bytes)|1|1|1|6|1|1 763 +|Value|((( 764 +TRI_A 765 +FLAG 766 +)))|((( 767 +TRI_A 768 +Status 769 +)))|((( 770 +TRI_DI 771 +FLAG+STA 772 +)))|Reserve|Enable/Disable MOD6|((( 773 +MOD 774 +(6) 775 +))) 706 706 707 - 708 708 (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below 709 709 710 -[[image:image-20220524090106-2.png]] 779 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 780 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 781 +|((( 782 +AV1_ 783 +LOW 784 +)))|((( 785 +AV1_ 786 +HIGH 787 +)))|((( 788 +AV2_ 789 +LOW 790 +)))|((( 791 +AV2_ 792 +HIGH 793 +)))|((( 794 +AC1_ 795 +LOW 796 +)))|((( 797 +AC1_ 798 +HIGH 799 +)))|((( 800 +AC2_ 801 +LOW 802 +)))|((( 803 +AC2_ 804 +HIGH 805 +))) 711 711 712 712 * Each bits shows if the corresponding trigger has been configured. 713 713 ... ... @@ -719,8 +719,35 @@ 719 719 720 720 (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below 721 721 722 -[[image:image-20220524090249-3.png]] 817 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 818 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 819 +|((( 820 +AV1_ 821 +LOW 822 +)))|((( 823 +AV1_ 824 +HIGH 825 +)))|((( 826 +AV2_ 827 +LOW 828 +)))|((( 829 +AV2_ 830 +HIGH 831 +)))|((( 832 +AC1_ 833 +LOW 834 +)))|((( 835 +AC1_ 836 +HIGH 837 +)))|((( 838 +AC2_ 839 +LOW 840 +)))|((( 841 +AC2_ 842 +HIGH 843 +))) 723 723 845 + 724 724 * Each bits shows which status has been trigger on this uplink. 725 725 726 726 **Example:** ... ... @@ -730,7 +730,9 @@ 730 730 731 731 (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below 732 732 733 -[[image:image-20220524090456-4.png]] 855 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 856 +|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0 857 +|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG 734 734 735 735 * Each bits shows which status has been trigger on this uplink. 736 736 ... ... @@ -776,8 +776,6 @@ 776 776 777 777 * (% style="color:blue" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 778 778 779 - 780 - 781 781 === 3.4.1 Common Commands === 782 782 783 783 ... ... @@ -1020,9 +1020,14 @@ 1020 1020 1021 1021 ((( 1022 1022 01: Low, 00: High , 11: No action 1145 + 1146 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 1147 +|Downlink Code|DO1|DO2|DO3 1148 +|02 01 00 11|Low|High|No Action 1149 +|02 00 11 01|High|No Action|Low 1150 +|02 11 01 00|No Action|Low|High 1023 1023 ))) 1024 1024 1025 -[[image:image-20220524092754-5.png]] 1026 1026 1027 1027 ((( 1028 1028 (% style="color:red" %)**Note: For LT-22222-L, there is no DO3, the last byte can use any value.** ... ... @@ -1060,19 +1060,34 @@ 1060 1060 1061 1061 (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status: 1062 1062 1063 -[[image:image-20220524093238-6.png]] 1190 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %) 1191 +|**Second Byte**|**Status** 1192 +|0x01|DO1 set to low 1193 +|0x00|DO1 set to high 1194 +|0x11|DO1 NO Action 1064 1064 1065 1065 1197 + 1066 1066 (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status: 1067 1067 1068 -[[image:image-20220524093328-7.png]] 1200 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %) 1201 +|**Second Byte**|**Status** 1202 +|0x01|DO2 set to low 1203 +|0x00|DO2 set to high 1204 +|0x11|DO2 NO Action 1069 1069 1070 1070 1207 + 1071 1071 (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status: 1072 1072 1073 -[[image:image-20220524093351-8.png]] 1210 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %) 1211 +|**Second Byte**|**Status** 1212 +|0x01|DO3 set to low 1213 +|0x00|DO3 set to high 1214 +|0x11|DO3 NO Action 1074 1074 1075 1075 1217 + 1076 1076 (% style="color:#4f81bd" %)**Sixth and Seventh and Eighth and Ninth Byte**: 1077 1077 1078 1078 Latching time. Unit: ms ... ... @@ -1127,10 +1127,21 @@ 1127 1127 1128 1128 ((( 1129 1129 01: Close , 00: Open , 11: No action 1272 + 1273 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:320px" %) 1274 +|**Downlink Code**|**RO1**|**RO2** 1275 +|03 00 11|Open|No Action 1276 +|03 01 11|Close|No Action 1277 +|03 11 00|No Action|Open 1278 +|03 11 01|No Action|Close 1279 +|03 00 00|Open|Open 1280 +|03 01 01|Close|Close 1281 +|03 01 00|Close|Open 1282 +|03 00 01|Open|Close 1130 1130 ))) 1131 1131 1132 1132 ((( 1133 - [[image:image-20230426161322-1.png]]1286 + 1134 1134 ))) 1135 1135 1136 1136 (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.** ... ... @@ -1605,6 +1605,33 @@ 1605 1605 == 3.7 LEDs Indicators == 1606 1606 1607 1607 1761 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 1762 +|**LEDs**|**Feature** 1763 +|**PWR**|Always on if there is power 1764 +|**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. 1765 +|**TX**|((( 1766 +Device boot: TX blinks 5 times. 1767 + 1768 +Successful join network: TX ON for 5 seconds. 1769 + 1770 +Transmit a LoRa packet: TX blinks once 1771 +))) 1772 +|**RX**|RX blinks once when receive a packet. 1773 +|**DO1**| 1774 +|**DO2**| 1775 +|**DO3**| 1776 +|**DI2**|((( 1777 +For LT-22222-L: ON when DI2 is high, LOW when DI2 is low 1778 +))) 1779 +|**DI2**|((( 1780 +For LT-22222-L: ON when DI2 is high, LOW when DI2 is low 1781 +))) 1782 +|**DI2**|((( 1783 +For LT-22222-L: ON when DI2 is high, LOW when DI2 is low 1784 +))) 1785 +|**RO1**| 1786 +|**RO2**| 1787 + 1608 1608 [[image:image-20220524100748-11.png]] 1609 1609 1610 1610 ... ... @@ -2093,14 +2093,20 @@ 2093 2093 [[image:1653360498588-932.png||height="485" width="726"]] 2094 2094 2095 2095 2096 -== 6.4 CanIseecountingvent inSerial?==2276 +== 6.4 How to change the uplink interval? == 2097 2097 2098 2098 2279 +Please see this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20set%20the%20transmit%20time%20interval/]] 2280 + 2281 + 2282 +== 6.5 Can I see counting event in Serial? == 2283 + 2284 + 2099 2099 ((( 2100 2100 User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn't support AT+DEBUG. User can update to latest firmware first. 2101 2101 2102 2102 2103 -== 6. 5Can i use point to point communication for LT-22222-L? ==2289 +== 6.6 Can i use point to point communication for LT-22222-L? == 2104 2104 2105 2105 2106 2106 Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]] ,this is [[firmware>>https://github.com/dragino/LT-22222-L/releases]]. ... ... @@ -2109,7 +2109,7 @@ 2109 2109 ))) 2110 2110 2111 2111 ((( 2112 -== 6. 6Why does the relay output become the default and open relay after the lt22222 is powered off? ==2298 +== 6.7 Why does the relay output become the default and open relay after the lt22222 is powered off? == 2113 2113 2114 2114 2115 2115 If the device is not shut down, but directly powered off. ... ... @@ -2121,7 +2121,7 @@ 2121 2121 After restart, the status before power failure will be read from flash. 2122 2122 2123 2123 2124 -== 6. 7Can i set up LT-22222-L as a NC(Normal Close) Relay? ==2310 +== 6.8 Can i set up LT-22222-L as a NC(Normal Close) Relay? == 2125 2125 2126 2126 2127 2127 LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below: ... ... @@ -2130,7 +2130,7 @@ 2130 2130 [[image:image-20221006170630-1.png||height="610" width="945"]] 2131 2131 2132 2132 2133 -== 6. 8Can LT22222-L save RO state? ==2319 +== 6.9 Can LT22222-L save RO state? == 2134 2134 2135 2135 2136 2136 Firmware version needs to be no less than 1.6.0. ... ... @@ -2193,8 +2193,6 @@ 2193 2193 * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865 2194 2194 * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779 2195 2195 2196 - 2197 - 2198 2198 = 9. Packing Info = 2199 2199 2200 2200 ... ... @@ -2212,8 +2212,6 @@ 2212 2212 * Package Size / pcs : 14.5 x 8 x 5 cm 2213 2213 * Weight / pcs : 170g 2214 2214 2215 - 2216 - 2217 2217 = 10. Support = 2218 2218 2219 2219