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
-
... ... @@ -21,10 +21,8 @@ 21 21 ((( 22 22 23 23 24 -((( 25 25 The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring. 26 26 ))) 27 -))) 28 28 29 29 ((( 30 30 The LT I/O Controllers allows the user to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection, building automation, and so on. ... ... @@ -219,9 +219,7 @@ 219 219 = 2. Power ON Device = 220 220 221 221 222 -((( 223 223 The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller. 224 -))) 225 225 226 226 ((( 227 227 PWR will on when device is properly powered. ... ... @@ -280,12 +280,12 @@ 280 280 281 281 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 282 282 283 - **Add APP EUI in the application.**279 +Add APP EUI in the application. 284 284 285 285 [[image:1653297955910-247.png||height="321" width="716"]] 286 286 287 287 288 - **Add APP KEY and DEV EUI**284 +Add APP KEY and DEV EUI 289 289 290 290 [[image:1653298023685-319.png]] 291 291 ... ... @@ -293,8 +293,6 @@ 293 293 294 294 ((( 295 295 (% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel. 296 - 297 - 298 298 ))) 299 299 300 300 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -318,9 +318,7 @@ 318 318 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 319 319 320 320 321 -((( 322 322 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. 323 -))) 324 324 325 325 [[image:image-20220523174024-3.png]] 326 326 ... ... @@ -356,6 +356,8 @@ 356 356 * [1] RO1 relay channel is close and the RO1 LED is ON. 357 357 * [0] RO2 relay channel is open and RO2 LED is OFF; 358 358 351 + 352 + 359 359 **LT22222-L:** 360 360 361 361 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -372,13 +372,10 @@ 372 372 ** DO1 LED is off in both case 373 373 374 374 375 - 376 376 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 377 377 378 378 379 -((( 380 380 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 381 -))) 382 382 383 383 ((( 384 384 Total : 11 bytes payload ... ... @@ -410,15 +410,11 @@ 410 410 (% class="box infomessage" %) 411 411 ((( 412 412 ((( 413 -((( 414 414 **AT+MOD=2** 415 -))) 416 416 417 -((( 418 418 **ATZ** 419 419 ))) 420 420 ))) 421 -))) 422 422 423 423 ((( 424 424 ... ... @@ -478,15 +478,11 @@ 478 478 (% class="box infomessage" %) 479 479 ((( 480 480 ((( 481 -((( 482 482 **AT+MOD=3** 483 -))) 484 484 485 -((( 486 486 **ATZ** 487 487 ))) 488 488 ))) 489 -))) 490 490 491 491 ((( 492 492 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. ... ... @@ -497,13 +497,9 @@ 497 497 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 498 498 499 499 500 -((( 501 501 **LT22222-L**: This mode the DI1 is used as a counting pin. 502 -))) 503 503 504 -((( 505 505 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. 506 -))) 507 507 508 508 [[image:image-20220523181903-8.png]] 509 509 ... ... @@ -531,17 +531,14 @@ 531 531 (% class="box infomessage" %) 532 532 ((( 533 533 ((( 534 -((( 535 535 **AT+MOD=4** 536 -))) 537 537 538 -((( 539 539 **ATZ** 540 540 ))) 541 541 ))) 542 -))) 543 543 544 544 520 + 545 545 ((( 546 546 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 547 547 ))) ... ... @@ -595,15 +595,11 @@ 595 595 (% class="box infomessage" %) 596 596 ((( 597 597 ((( 598 -((( 599 599 **AT+MOD=5** 600 -))) 601 601 602 -((( 603 603 **ATZ** 604 604 ))) 605 605 ))) 606 -))) 607 607 608 608 ((( 609 609 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. ... ... @@ -751,6 +751,7 @@ 751 751 752 752 753 753 726 + 754 754 === 3.3.7 Payload Decoder === 755 755 756 756 ((( ... ... @@ -764,15 +764,11 @@ 764 764 == 3.4 Configure LT via AT or Downlink == 765 765 766 766 767 -((( 768 768 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands 769 -))) 770 770 771 771 ((( 772 -((( 773 773 There are two kinds of Commands: 774 774 ))) 775 -))) 776 776 777 777 * (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 778 778 ... ... @@ -780,13 +780,10 @@ 780 780 781 781 782 782 783 - 784 784 === 3.4.1 Common Commands === 785 785 786 786 787 -((( 788 788 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: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] 789 -))) 790 790 791 791 792 792 ... ... @@ -932,6 +932,8 @@ 932 932 * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 933 933 * **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 934 934 901 + 902 + 935 935 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 936 936 937 937 ... ... @@ -1597,13 +1597,13 @@ 1597 1597 We take the wind speed sensor as an example for reference only. 1598 1598 1599 1599 1600 - (% style="color:blue" %)**Specifications of the wind speed sensor:**1568 +**Specifications of the wind speed sensor:** 1601 1601 1602 - **Red: 12~~24v**1570 +Red: 12~~24v 1603 1603 1604 - **Yellow: 4~~20mA**1572 +Yellow: 4~~20mA 1605 1605 1606 - **Black: GND**1574 +Black: GND 1607 1607 1608 1608 1609 1609 **Connection diagram:** ... ... @@ -1641,14 +1641,8 @@ 1641 1641 == 4.1 Access AT Command == 1642 1642 1643 1643 1644 -((( 1645 1645 LT supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to LT for using AT command, as below. 1646 -))) 1647 1647 1648 -((( 1649 - 1650 -))) 1651 - 1652 1652 [[image:1653358238933-385.png]] 1653 1653 1654 1654 ... ... @@ -1676,7 +1676,7 @@ 1676 1676 ))) 1677 1677 1678 1678 ((( 1679 -AT+<CMD>=? : 1641 +AT+<CMD>=? : Get the value 1680 1680 ))) 1681 1681 1682 1682 ((( ... ... @@ -1704,11 +1704,11 @@ 1704 1704 ))) 1705 1705 1706 1706 ((( 1707 -AT+APPSKEY: 1669 +AT+APPSKEY: Get or Set the Application Session Key 1708 1708 ))) 1709 1709 1710 1710 ((( 1711 -AT+APPEUI: 1673 +AT+APPEUI: Get or Set the Application EUI 1712 1712 ))) 1713 1713 1714 1714 ((( ... ... @@ -1720,7 +1720,7 @@ 1720 1720 ))) 1721 1721 1722 1722 ((( 1723 -AT+DR: 1685 +AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X) 1724 1724 ))) 1725 1725 1726 1726 ((( ... ... @@ -1756,7 +1756,7 @@ 1756 1756 ))) 1757 1757 1758 1758 ((( 1759 -AT+NJM: 1721 +AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA) 1760 1760 ))) 1761 1761 1762 1762 ((( ... ... @@ -1800,7 +1800,7 @@ 1800 1800 ))) 1801 1801 1802 1802 ((( 1803 -AT+VER: 1765 +AT+VER: Get current image version and Frequency Band 1804 1804 ))) 1805 1805 1806 1806 ((( ... ... @@ -1808,7 +1808,7 @@ 1808 1808 ))) 1809 1809 1810 1810 ((( 1811 -AT+CFS: 1773 +AT+CFS: Get confirmation status of the last AT+SEND (0-1) 1812 1812 ))) 1813 1813 1814 1814 ((( ... ... @@ -1857,42 +1857,40 @@ 1857 1857 ((( 1858 1858 1859 1859 1860 -((( 1861 -(% style="color:blue" %)**If device has not joined network yet:** 1822 +**If device has not joined network yet:** 1862 1862 ))) 1863 -))) 1864 1864 1865 1865 ((( 1866 -(% style="background-color:#dcdcdc" %) **123456**1826 +(% style="background-color:#dcdcdc" %)123456 1867 1867 ))) 1868 1868 1869 1869 ((( 1870 -(% style="background-color:#dcdcdc" %) **AT+FDR**1830 +(% style="background-color:#dcdcdc" %)AT+FDR 1871 1871 ))) 1872 1872 1873 1873 ((( 1874 -(% style="background-color:#dcdcdc" %) **123456**1834 +(% style="background-color:#dcdcdc" %)123456 1875 1875 ))) 1876 1876 1877 1877 ((( 1878 -(% style="background-color:#dcdcdc" %) **AT+NJM=0**1838 +(% style="background-color:#dcdcdc" %)AT+NJM=0 1879 1879 ))) 1880 1880 1881 1881 ((( 1882 -(% style="background-color:#dcdcdc" %) **ATZ**1842 +(% style="background-color:#dcdcdc" %)ATZ 1883 1883 ))) 1884 1884 1885 1885 1886 1886 ((( 1887 - (% style="color:blue" %)**If device already joined network:**1847 +**If device already joined network:** 1888 1888 ))) 1889 1889 1890 1890 ((( 1891 -(% style="background-color:#dcdcdc" %) **AT+NJM=0**1851 +(% style="background-color:#dcdcdc" %)AT+NJM=0 1892 1892 ))) 1893 1893 1894 1894 ((( 1895 -(% style="background-color:#dcdcdc" %) **ATZ**1855 +(% style="background-color:#dcdcdc" %)ATZ 1896 1896 ))) 1897 1897 1898 1898 ... ... @@ -1902,57 +1902,55 @@ 1902 1902 ((( 1903 1903 1904 1904 1905 -((( 1906 -(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter Password to have AT access. 1865 +(% style="background-color:#dcdcdc" %)123456(%%) Enter Password to have AT access. 1907 1907 ))) 1908 -))) 1909 1909 1910 1910 ((( 1911 -(% style="background-color:#dcdcdc" %) **AT+FDR**(%%)~/~/Reset Parameters to Factory Default, Keys Reserve1869 +(% style="background-color:#dcdcdc" %) AT+FDR(%%) Reset Parameters to Factory Default, Keys Reserve 1912 1912 ))) 1913 1913 1914 1914 ((( 1915 -(% style="background-color:#dcdcdc" %) **123456**(%%)~/~/Enter Password to have AT access.1873 +(% style="background-color:#dcdcdc" %) 123456(%%) Enter Password to have AT access. 1916 1916 ))) 1917 1917 1918 1918 ((( 1919 -(% style="background-color:#dcdcdc" %) **AT+CLASS=C**(%%)~/~/Set to work in CLASS C1877 +(% style="background-color:#dcdcdc" %) AT+CLASS=C(%%) Set to work in CLASS C 1920 1920 ))) 1921 1921 1922 1922 ((( 1923 -(% style="background-color:#dcdcdc" %) **AT+NJM=0**(%%)~/~/Set to ABP mode1881 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode 1924 1924 ))) 1925 1925 1926 1926 ((( 1927 -(% style="background-color:#dcdcdc" %) **AT+ADR=0**(%%)~/~/Set the Adaptive Data Rate Off1885 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off 1928 1928 ))) 1929 1929 1930 1930 ((( 1931 -(% style="background-color:#dcdcdc" %) **AT+DR=5**(%%)~/~/Set Data Rate1889 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%) Set Data Rate 1932 1932 ))) 1933 1933 1934 1934 ((( 1935 -(% style="background-color:#dcdcdc" %) **AT+TDC=60000**(%%)~/~/Set transmit interval to 60 seconds1893 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%) Set transmit interval to 60 seconds 1936 1936 ))) 1937 1937 1938 1938 ((( 1939 -(% style="background-color:#dcdcdc" %) **AT+CHS=868400000**(%%)~/~/Set transmit frequency to 868.4Mhz1897 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 1940 1940 ))) 1941 1941 1942 1942 ((( 1943 -(% style="background-color:#dcdcdc" %) **AT+RX2FQ=868400000**(%%)~/~/Set RX2Frequency to 868.4Mhz (according to the result from server)1901 +(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1944 1944 ))) 1945 1945 1946 1946 ((( 1947 -(% style="background-color:#dcdcdc" %) **AT+RX2DR=5**(%%)****~/~/Set RX2DR to match the downlink DR from server. see below1905 +(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%) Set RX2DR to match the downlink DR from server. see below 1948 1948 ))) 1949 1949 1950 1950 ((( 1951 -(% style="background-color:#dcdcdc" %) **AT+DADDR=26 01 1A F1**(%%)~/~/Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.1909 +(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%) Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal. 1952 1952 ))) 1953 1953 1954 1954 ((( 1955 -(% style="background-color:#dcdcdc" %) **ATZ**(%%)~/~/Reset MCU1913 +(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1956 1956 1957 1957 1958 1958 ))) ... ... @@ -1962,15 +1962,11 @@ 1962 1962 ))) 1963 1963 1964 1964 ((( 1965 -**~1. Make sure the device is set to ABP mode in the IoT Server.** 1923 +(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server. 1924 +2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting. 1925 +3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means. 1926 +4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5 1966 1966 1967 -**2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.** 1968 - 1969 -**3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php? 1970 -dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.** 1971 - 1972 -**4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5** 1973 - 1974 1974 1975 1975 ))) 1976 1976 ... ... @@ -1986,15 +1986,12 @@ 1986 1986 === 4.2.3 Change to Class A === 1987 1987 1988 1988 1989 -((( 1990 -(% style="color:blue" %)If sensor JOINED: 1943 +If sensor JOINED 1944 +(% style="background-color:#dcdcdc" %)AT+CLASS=A 1945 +ATZ 1991 1991 1992 -(% style="background-color:#dcdcdc" %)**AT+CLASS=A 1993 -ATZ** 1994 -))) 1995 1995 1996 1996 1997 - 1998 1998 = 5. FAQ = 1999 1999 2000 2000 ... ... @@ -2018,10 +2018,8 @@ 2018 2018 (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update. 2019 2019 2020 2020 2021 -((( 2022 2022 (% style="color:blue" %)**For LT-22222-L**(%%): 2023 2023 Hold down the PRO button and then momentarily press the RST reset button and the (% style="color:red" %)**DO1 led**(%%) will change from OFF to ON. When (% style="color:red" %)**DO1 LED**(%%) is on, it means the device is in download mode. 2024 -))) 2025 2025 2026 2026 2027 2027 ))) ... ... @@ -2102,15 +2102,16 @@ 2102 2102 ))) 2103 2103 2104 2104 ((( 2105 -(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter Password to have AT access. 2106 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset Parameters to Factory Default, Keys Reserve 2107 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : Set to ABP mode 2108 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) : Set the Adaptive Data Rate Off 2109 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) : Set Data Rate (Set AT+DR=3 for 915 band) 2110 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) : Set transmit interval to 60 seconds 2111 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz 2112 -(% style="background-color:#dcdcdc" %)**AT+DADDR=26 01 1A F1**(%%) : Set Device Address to 26 01 1A F1 2113 -(% style="background-color:#dcdcdc" %)**ATZ** (%%) : Reset MCU 2054 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 2055 +(% style="background-color:#dcdcdc" %)AT+FDR(%%) Reset Parameters to Factory Default, Keys Reserve 2056 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access. 2057 +(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%) Set to ABP mode 2058 +(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%) Set the Adaptive Data Rate Off 2059 +(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band) 2060 +(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%) Set transmit interval to 60 seconds 2061 +(% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 2062 +(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1 2063 +(% style="background-color:#dcdcdc" %)ATZ (%%) Reset MCU 2114 2114 ))) 2115 2115 2116 2116 ... ... @@ -2152,13 +2152,10 @@ 2152 2152 After restart, the status before power failure will be read from flash. 2153 2153 2154 2154 2155 - 2156 2156 == 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? == 2157 2157 2158 - 2159 2159 LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below: 2160 2160 2161 - 2162 2162 [[image:image-20221006170630-1.png||height="610" width="945"]] 2163 2163 2164 2164