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,8 +21,10 @@ 21 21 ((( 22 22 23 23 24 +((( 24 24 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. 25 25 ))) 27 +))) 26 26 27 27 ((( 28 28 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. ... ... @@ -184,8 +184,6 @@ 184 184 * Firmware upgradable via program port 185 185 * Counting 186 186 187 - 188 - 189 189 == 1.4 Applications == 190 190 191 191 ... ... @@ -196,8 +196,6 @@ 196 196 * Smart Cities 197 197 * Smart Factory 198 198 199 - 200 - 201 201 == 1.5 Hardware Variants == 202 202 203 203 ... ... @@ -212,12 +212,12 @@ 212 212 * 1 x Counting Port 213 213 ))) 214 214 215 - 216 - 217 217 = 2. Power ON Device = 218 218 219 219 216 +((( 220 220 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. 218 +))) 221 221 222 222 ((( 223 223 PWR will on when device is properly powered. ... ... @@ -276,12 +276,12 @@ 276 276 277 277 Input these keys in the LoRaWAN Server portal. Below is TTN screen shot: 278 278 279 -Add APP EUI in the application. 277 +**Add APP EUI in the application.** 280 280 281 281 [[image:1653297955910-247.png||height="321" width="716"]] 282 282 283 283 284 -Add APP KEY and DEV EUI 282 +**Add APP KEY and DEV EUI** 285 285 286 286 [[image:1653298023685-319.png]] 287 287 ... ... @@ -289,6 +289,8 @@ 289 289 290 290 ((( 291 291 (% 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. 290 + 291 + 292 292 ))) 293 293 294 294 [[image:1653298044601-602.png||height="405" width="709"]] ... ... @@ -307,12 +307,12 @@ 307 307 * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO 308 308 * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5 309 309 310 - 311 - 312 312 === 3.3.1 AT+MOD~=1, 2ACI+2AVI === 313 313 314 314 313 +((( 315 315 The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. 315 +))) 316 316 317 317 [[image:image-20220523174024-3.png]] 318 318 ... ... @@ -348,8 +348,6 @@ 348 348 * [1] RO1 relay channel is close and the RO1 LED is ON. 349 349 * [0] RO2 relay channel is open and RO2 LED is OFF; 350 350 351 - 352 - 353 353 **LT22222-L:** 354 354 355 355 * [1] DI2 channel is high input and DI2 LED is ON; ... ... @@ -365,11 +365,12 @@ 365 365 ** DO1 is high in case there is load between DO1 and V+. 366 366 ** DO1 LED is off in both case 367 367 368 - 369 369 === 3.3.2 AT+MOD~=2, (Double DI Counting) === 370 370 371 371 369 +((( 372 372 **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins. 371 +))) 373 373 374 374 ((( 375 375 Total : 11 bytes payload ... ... @@ -401,11 +401,15 @@ 401 401 (% class="box infomessage" %) 402 402 ((( 403 403 ((( 403 +((( 404 404 **AT+MOD=2** 405 +))) 405 405 407 +((( 406 406 **ATZ** 407 407 ))) 408 408 ))) 411 +))) 409 409 410 410 ((( 411 411 ... ... @@ -465,11 +465,15 @@ 465 465 (% class="box infomessage" %) 466 466 ((( 467 467 ((( 471 +((( 468 468 **AT+MOD=3** 473 +))) 469 469 475 +((( 470 470 **ATZ** 471 471 ))) 472 472 ))) 479 +))) 473 473 474 474 ((( 475 475 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. ... ... @@ -480,9 +480,13 @@ 480 480 === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting === 481 481 482 482 490 +((( 483 483 **LT22222-L**: This mode the DI1 is used as a counting pin. 492 +))) 484 484 494 +((( 485 485 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. 496 +))) 486 486 487 487 [[image:image-20220523181903-8.png]] 488 488 ... ... @@ -510,14 +510,17 @@ 510 510 (% class="box infomessage" %) 511 511 ((( 512 512 ((( 524 +((( 513 513 **AT+MOD=4** 526 +))) 514 514 528 +((( 515 515 **ATZ** 516 516 ))) 517 517 ))) 532 +))) 518 518 519 519 520 - 521 521 ((( 522 522 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. 523 523 ))) ... ... @@ -571,11 +571,15 @@ 571 571 (% class="box infomessage" %) 572 572 ((( 573 573 ((( 588 +((( 574 574 **AT+MOD=5** 590 +))) 575 575 592 +((( 576 576 **ATZ** 577 577 ))) 578 578 ))) 596 +))) 579 579 580 580 ((( 581 581 Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]]. ... ... @@ -737,22 +737,26 @@ 737 737 == 3.4 Configure LT via AT or Downlink == 738 738 739 739 758 +((( 740 740 User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands 760 +))) 741 741 742 742 ((( 763 +((( 743 743 There are two kinds of Commands: 744 744 ))) 766 +))) 745 745 746 746 * (% 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]] 747 747 748 748 * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L. User can see these commands below: 749 749 750 - 751 - 752 752 === 3.4.1 Common Commands === 753 753 754 754 775 +((( 755 755 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]] 777 +))) 756 756 757 757 758 758 ... ... @@ -898,8 +898,6 @@ 898 898 * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):** 899 899 * **0x09 01 aa bb cc ** ~/~/ same as AT+TRIG1=aa,0x(bb cc) 900 900 901 - 902 - 903 903 ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ==== 904 904 905 905 ... ... @@ -1565,13 +1565,13 @@ 1565 1565 We take the wind speed sensor as an example for reference only. 1566 1566 1567 1567 1568 -**Specifications of the wind speed sensor:** 1588 +(% style="color:blue" %)**Specifications of the wind speed sensor:** 1569 1569 1570 -Red: 12~~24v 1590 +**Red: 12~~24v** 1571 1571 1572 -Yellow: 4~~20mA 1592 +**Yellow: 4~~20mA** 1573 1573 1574 -Black: GND 1594 +**Black: GND** 1575 1575 1576 1576 1577 1577 **Connection diagram:** ... ... @@ -1609,8 +1609,14 @@ 1609 1609 == 4.1 Access AT Command == 1610 1610 1611 1611 1632 +((( 1612 1612 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. 1634 +))) 1613 1613 1636 +((( 1637 + 1638 +))) 1639 + 1614 1614 [[image:1653358238933-385.png]] 1615 1615 1616 1616 ... ... @@ -1638,7 +1638,7 @@ 1638 1638 ))) 1639 1639 1640 1640 ((( 1641 -AT+<CMD>=? : Get the value 1667 +AT+<CMD>=? : Get the value 1642 1642 ))) 1643 1643 1644 1644 ((( ... ... @@ -1666,11 +1666,11 @@ 1666 1666 ))) 1667 1667 1668 1668 ((( 1669 -AT+APPSKEY: Get or Set the Application Session Key 1695 +AT+APPSKEY: Get or Set the Application Session Key 1670 1670 ))) 1671 1671 1672 1672 ((( 1673 -AT+APPEUI: Get or Set the Application EUI 1699 +AT+APPEUI: Get or Set the Application EUI 1674 1674 ))) 1675 1675 1676 1676 ((( ... ... @@ -1682,7 +1682,7 @@ 1682 1682 ))) 1683 1683 1684 1684 ((( 1685 -AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X) 1711 +AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X) 1686 1686 ))) 1687 1687 1688 1688 ((( ... ... @@ -1718,7 +1718,7 @@ 1718 1718 ))) 1719 1719 1720 1720 ((( 1721 -AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA) 1747 +AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA) 1722 1722 ))) 1723 1723 1724 1724 ((( ... ... @@ -1762,7 +1762,7 @@ 1762 1762 ))) 1763 1763 1764 1764 ((( 1765 -AT+VER: Get current image version and Frequency Band 1791 +AT+VER: Get current image version and Frequency Band 1766 1766 ))) 1767 1767 1768 1768 ((( ... ... @@ -1770,7 +1770,7 @@ 1770 1770 ))) 1771 1771 1772 1772 ((( 1773 -AT+CFS: Get confirmation status of the last AT+SEND (0-1) 1799 +AT+CFS: Get confirmation status of the last AT+SEND (0-1) 1774 1774 ))) 1775 1775 1776 1776 ((( ... ... @@ -1819,40 +1819,42 @@ 1819 1819 ((( 1820 1820 1821 1821 1822 -**If device has not joined network yet:** 1848 +((( 1849 +(% style="color:blue" %)**If device has not joined network yet:** 1823 1823 ))) 1851 +))) 1824 1824 1825 1825 ((( 1826 -(% style="background-color:#dcdcdc" %)123456 1854 +(% style="background-color:#dcdcdc" %)**123456** 1827 1827 ))) 1828 1828 1829 1829 ((( 1830 -(% style="background-color:#dcdcdc" %)AT+FDR 1858 +(% style="background-color:#dcdcdc" %)**AT+FDR** 1831 1831 ))) 1832 1832 1833 1833 ((( 1834 -(% style="background-color:#dcdcdc" %)123456 1862 +(% style="background-color:#dcdcdc" %)**123456** 1835 1835 ))) 1836 1836 1837 1837 ((( 1838 -(% style="background-color:#dcdcdc" %)AT+NJM=0 1866 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** 1839 1839 ))) 1840 1840 1841 1841 ((( 1842 -(% style="background-color:#dcdcdc" %)ATZ 1870 +(% style="background-color:#dcdcdc" %)**ATZ** 1843 1843 ))) 1844 1844 1845 1845 1846 1846 ((( 1847 -**If device already joined network:** 1875 +(% style="color:blue" %)**If device already joined network:** 1848 1848 ))) 1849 1849 1850 1850 ((( 1851 -(% style="background-color:#dcdcdc" %)AT+NJM=0 1879 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** 1852 1852 ))) 1853 1853 1854 1854 ((( 1855 -(% style="background-color:#dcdcdc" %)ATZ 1883 +(% style="background-color:#dcdcdc" %)**ATZ** 1856 1856 ))) 1857 1857 1858 1858 ... ... @@ -1862,55 +1862,57 @@ 1862 1862 ((( 1863 1863 1864 1864 1865 -(% style="background-color:#dcdcdc" %)123456(%%) Enter Password to have AT access. 1893 +((( 1894 +(% style="background-color:#dcdcdc" %)**123456**(%%) ~/~/ Enter Password to have AT access. 1866 1866 ))) 1896 +))) 1867 1867 1868 1868 ((( 1869 -(% style="background-color:#dcdcdc" %) AT+FDR(%%) 1899 +(% style="background-color:#dcdcdc" %)** AT+FDR**(%%) ~/~/ Reset Parameters to Factory Default, Keys Reserve 1870 1870 ))) 1871 1871 1872 1872 ((( 1873 -(% style="background-color:#dcdcdc" %) 123456(%%) Enter Password to have AT access. 1903 +(% style="background-color:#dcdcdc" %)** 123456**(%%) ~/~/ Enter Password to have AT access. 1874 1874 ))) 1875 1875 1876 1876 ((( 1877 -(% style="background-color:#dcdcdc" %) AT+CLASS=C(%%) Set to work in CLASS C 1907 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%) ~/~/ Set to work in CLASS C 1878 1878 ))) 1879 1879 1880 1880 ((( 1881 -(% style="background-color:#dcdcdc" %) AT+NJM=0(%%) Set to ABP mode 1911 +(% style="background-color:#dcdcdc" %)** AT+NJM=0**(%%) ~/~/ Set to ABP mode 1882 1882 ))) 1883 1883 1884 1884 ((( 1885 -(% style="background-color:#dcdcdc" %) AT+ADR=0(%%) Set the Adaptive Data Rate Off 1915 +(% style="background-color:#dcdcdc" %) **AT+ADR=0**(%%) ~/~/ Set the Adaptive Data Rate Off 1886 1886 ))) 1887 1887 1888 1888 ((( 1889 -(% style="background-color:#dcdcdc" %) AT+DR=5(%%) Set Data Rate 1919 +(% style="background-color:#dcdcdc" %)** AT+DR=5**(%%) ~/~/ Set Data Rate 1890 1890 ))) 1891 1891 1892 1892 ((( 1893 -(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%) Set transmit interval to 60 seconds 1923 +(% style="background-color:#dcdcdc" %)** AT+TDC=60000**(%%) ~/~/ Set transmit interval to 60 seconds 1894 1894 ))) 1895 1895 1896 1896 ((( 1897 -(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%) Set transmit frequency to 868.4Mhz 1927 +(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%) ~/~/ Set transmit frequency to 868.4Mhz 1898 1898 ))) 1899 1899 1900 1900 ((( 1901 -(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%) Set RX2Frequency to 868.4Mhz (according to the result from server) 1931 +(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%) ~/~/ Set RX2Frequency to 868.4Mhz (according to the result from server) 1902 1902 ))) 1903 1903 1904 1904 ((( 1905 -(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%) 1935 +(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2DR to match the downlink DR from server. see below 1906 1906 ))) 1907 1907 1908 1908 ((( 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. 1939 +(% 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. 1910 1910 ))) 1911 1911 1912 1912 ((( 1913 -(% style="background-color:#dcdcdc" %) ATZ (%%) Reset MCU 1943 +(% style="background-color:#dcdcdc" %)** ATZ** (%%) ~/~/ Reset MCU 1914 1914 1915 1915 1916 1916 ))) ... ... @@ -1920,11 +1920,15 @@ 1920 1920 ))) 1921 1921 1922 1922 ((( 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 1953 +**~1. Make sure the device is set to ABP mode in the IoT Server.** 1927 1927 1955 +**2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.** 1956 + 1957 +**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? 1958 +dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.** 1959 + 1960 +**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** 1961 + 1928 1928 1929 1929 ))) 1930 1930 ... ... @@ -1940,12 +1940,15 @@ 1940 1940 === 4.2.3 Change to Class A === 1941 1941 1942 1942 1943 -If sensor JOINED 1944 -(% style="background-color:#dcdcdc" %)AT+CLASS=A 1945 -ATZ 1977 +((( 1978 +(% style="color:blue" %)If sensor JOINED: 1946 1946 1980 +(% style="background-color:#dcdcdc" %)**AT+CLASS=A 1981 +ATZ** 1982 +))) 1947 1947 1948 1948 1985 + 1949 1949 = 5. FAQ = 1950 1950 1951 1951 ... ... @@ -1969,8 +1969,10 @@ 1969 1969 (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update. 1970 1970 1971 1971 2009 +((( 1972 1972 (% style="color:blue" %)**For LT-22222-L**(%%): 1973 1973 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. 2012 +))) 1974 1974 1975 1975 1976 1976 ))) ... ... @@ -2051,16 +2051,15 @@ 2051 2051 ))) 2052 2052 2053 2053 ((( 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 2093 +(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter Password to have AT access. 2094 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset Parameters to Factory Default, Keys Reserve 2095 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : Set to ABP mode 2096 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) : Set the Adaptive Data Rate Off 2097 +(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) : Set Data Rate (Set AT+DR=3 for 915 band) 2098 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) : Set transmit interval to 60 seconds 2099 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz 2100 +(% style="background-color:#dcdcdc" %)**AT+DADDR=26 01 1A F1**(%%) : Set Device Address to 26 01 1A F1 2101 +(% style="background-color:#dcdcdc" %)**ATZ** (%%) : Reset MCU 2064 2064 ))) 2065 2065 2066 2066 ... ... @@ -2102,10 +2102,13 @@ 2102 2102 After restart, the status before power failure will be read from flash. 2103 2103 2104 2104 2143 + 2105 2105 == 5.7 Can i set up LT-22222-L as a NC(Normal Close) Relay? == 2106 2106 2146 + 2107 2107 LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below: 2108 2108 2149 + 2109 2109 [[image:image-20221006170630-1.png||height="610" width="945"]] 2110 2110 2111 2111