<
From version < 194.1 >
edited by Dilisi S
on 2024/11/16 00:01
To version < 186.1 >
edited by Dilisi S
on 2024/11/11 02:43
>
Change comment: Nov 10 edits part 1

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -LT-22222-L -- LoRa I/O Controller User Manual
1 +LT-22222-L -- LoRa IO Controller User Manual
Content
... ... @@ -40,9 +40,7 @@
40 40  * If there is no public LoRaWAN coverage in your area, you can set up a LoRaWAN gateway, or multiple gateways, and connect them to a LoRaWAN network server to create adequate coverage. Then, register the LT-22222-L I/O controller with this network.
41 41  * Setup your own private LoRaWAN network.
42 42  
43 -{{info}}
44 - You can use a LoRaWAN gateway, such as the [[Dragino LG308>>https://www.dragino.com/products/lora-lorawan-gateway/item/140-lg308.html]], to expand or create LoRaWAN coverage in your area.
45 -{{/info}}
43 +> You can use a LoRaWAN gateway, such as the Dragino LG308, to expand or create LoRaWAN coverage in your area.
46 46  )))
47 47  
48 48  (((
... ... @@ -58,13 +58,13 @@
58 58  * STM32L072xxxx MCU
59 59  * SX1276/78 Wireless Chip 
60 60  * Power Consumption:
61 -** Idle: 4mA@12V
59 +** Idle: 4mA@12v
62 62  ** 20dB Transmit: 34mA@12V
63 63  * Operating Temperature: -40 ~~ 85 Degrees, No Dew
64 64  
65 65  (% style="color:#037691" %)**Interface for Model: LT22222-L:**
66 66  
67 -* 2 x Digital dual direction Input (Detect High/Low signal, Max: 50V, or 220V with optional external resistor)
65 +* 2 x Digital dual direction Input (Detect High/Low signal, Max: 50v, or 220v with optional external resistor)
68 68  * 2 x Digital Output (NPN output. Max pull-up voltage 36V,450mA)
69 69  * 2 x Relay Output (5A@250VAC / 30VDC)
70 70  * 2 x 0~~20mA Analog Input (res:0.01mA)
... ... @@ -74,8 +74,8 @@
74 74  (% style="color:#037691" %)**LoRa Spec:**
75 75  
76 76  * Frequency Range:
77 -** Band 1 (HF): 862 ~~ 1020 MHz
78 -** Band 2 (LF): 410 ~~ 528 MHz
75 +** Band 1 (HF): 862 ~~ 1020 Mhz
76 +** Band 2 (LF): 410 ~~ 528 Mhz
79 79  * 168 dB maximum link budget.
80 80  * +20 dBm - 100 mW constant RF output vs.
81 81  * +14 dBm high-efficiency PA.
... ... @@ -94,7 +94,7 @@
94 94  
95 95  == 1.3 Features ==
96 96  
97 -* LoRaWAN Class A & Class C modes
95 +* LoRaWAN Class A & Class C protocol
98 98  * Optional Customized LoRa Protocol
99 99  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
100 100  * AT Commands to change parameters
... ... @@ -104,23 +104,34 @@
104 104  
105 105  == 1.4 Applications ==
106 106  
107 -* Smart buildings & home automation
108 -* Logistics and supply chain management
109 -* Smart metering
110 -* Smart agriculture
111 -* Smart cities
112 -* Smart factory
105 +* Smart Buildings & Home Automation
106 +* Logistics and Supply Chain Management
107 +* Smart Metering
108 +* Smart Agriculture
109 +* Smart Cities
110 +* Smart Factory
113 113  
114 -= 2Assembling the device =
112 +== 1.5 Hardware Variants ==
115 115  
116 -== 2.1 Connecting the antenna ==
117 117  
118 -Connect the LoRa antenna to the antenna connector, **ANT**,** **located on the top right side of the device, next to the upper screw terminal block. Secure the antenna by tightening it clockwise.
115 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
116 +|(% style="background-color:#4f81bd; color:white; width:103px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:131px" %)**Photo**|(% style="background-color:#4f81bd; color:white; width:266px" %)**Description**
117 +|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)(((
118 +(% style="text-align:center" %)
119 +[[image:image-20230424115112-1.png||height="106" width="58"]]
120 +)))|(% style="width:334px" %)(((
121 +* 2 x Digital Input (Bi-direction)
122 +* 2 x Digital Output
123 +* 2 x Relay Output (5A@250VAC / 30VDC)
124 +* 2 x 0~~20mA Analog Input (res:0.01mA)
125 +* 2 x 0~~30V Analog Input (res:0.01v)
126 +* 1 x Counting Port
127 +)))
119 119  
120 -{{warning}}
121 -Warning! Do not power on the device without connecting the antenna.
122 -{{/warning}}
129 += 2. Assembling =
123 123  
131 +Attach the LoRa antenna to the antenna connector, **ANT**,** **located on the top right side of the device, next to the upper screw terminal block. Secure the antenna by tightening it clockwise.
132 +
124 124  == 2.2 Terminals ==
125 125  
126 126  The  LT-22222-L has two screw terminal blocks. The upper screw treminal block has 6 terminals and the lower screw terminal block has 10 terminals.
... ... @@ -155,6 +155,8 @@
155 155  
156 156  The LT-22222-L I/O Controller can be powered by a **7–24V DC** power source. Connect your power supply’s positive wire to the VIN and the negative wire to the GND screw terminals. The power indicator **(PWR) LED** will turn on when the device is properly powered.
157 157  
167 +Powering on the device
168 +
158 158  Once powered, the **TX LED** will **fast-blink 5 times** which means the LT-22222-L will enter the **work mode** and start to **join** The Things Stack. The **TX LED** will be on for **5 seconds** after joining the network. When there is a **downlink** message from the server, the **RX LED** will be on for **1 second**. When the device is sending an uplink message to the server, the **TX LED** will be on for **1 second**. See also LED status.
159 159  
160 160  {{warning}}
... ... @@ -277,7 +277,7 @@
277 277  [[image:lt-22222-ul-payload-fmt.png||height="686" width="1000"]]
278 278  
279 279  
280 -== 3.3 Work Modes and Uplink Payload formats ==
291 +== 3.3 Work Modes and their Uplink Payload formats ==
281 281  
282 282  
283 283  The LT-22222-L has 5 **work modes**. It also has an interrupt/trigger mode for different types of applications that can be used together with any work mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands.
... ... @@ -301,12 +301,8 @@
301 301  (((
302 302  This is the default mode.
303 303  
304 -The uplink payload is 11 bytes long.
315 +The uplink payload is 11 bytes long. (% style="display:none" wfd-invisible="true" %)
305 305  
306 -(% style="color:red" %)**Note:The maximum count depends on the bytes it is.
307 -The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
308 -It starts counting again when it reaches the maximum value.**(% style="display:none" wfd-invisible="true" %)
309 -
310 310  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
311 311  |(% 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**
312 312  |Value|(((
... ... @@ -376,10 +376,6 @@
376 376  (((
377 377  The uplink payload is 11 bytes long.
378 378  
379 -(% style="color:red" %)**Note:The maximum count depends on the bytes it is.
380 -The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
381 -It starts counting again when it reaches the maximum value.**
382 -
383 383  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
384 384  |(% 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**
385 385  |Value|COUNT1|COUNT2 |DIDORO*|(((
... ... @@ -444,9 +444,6 @@
444 444  
445 445  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
446 446  
447 -(% style="color:red" %)**Note: The maximum count depends on the bytes it is.
448 -The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
449 -It starts counting again when it reaches the maximum value.**
450 450  
451 451  **LT22222-L**: In this mode, the DI1 is used as a counting pin.
452 452  
... ... @@ -497,11 +497,7 @@
497 497  
498 498  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
499 499  
500 -(% style="color:red" %)**Note:The maximum count depends on the bytes it is.
501 -The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
502 -It starts counting again when it reaches the maximum value.**
503 503  
504 -
505 505  (((
506 506  **LT22222-L**: In this mode, the DI1 is used as a counting pin.
507 507  )))
... ... @@ -566,11 +566,7 @@
566 566  
567 567  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
568 568  
569 -(% style="color:red" %)**Note:The maximum count depends on the bytes it is.
570 -The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
571 -It starts counting again when it reaches the maximum value.**
572 572  
573 -
574 574  **LT22222-L**: In this mode, the DI1 is used as a counting pin.
575 575  
576 576  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -843,10 +843,10 @@
843 843  (% style="color:#037691" %)**AT command**
844 844  
845 845  (% style="width:500px" %)
846 -|**Command**|AT+TDC<time>
847 -|**Response**|
848 -|**Parameters**|<time> uplink interval is in milliseconds
849 -|**Example**|(((
838 +|Command|AT+TDC<time>
839 +|Response|
840 +|Parameters|<time> uplink interval is in milliseconds
841 +|Example|(((
850 850  AT+TDC=30000
851 851  
852 852  Sets the uplink interval to 30,000 milliseconds (30 seconds)
... ... @@ -855,22 +855,20 @@
855 855  (% style="color:#037691" %)**Downlink payload**
856 856  
857 857  (% style="width:500px" %)
858 -|**Payload**|(((
850 +|Payload|(((
859 859  <prefix><time>
860 860  )))
861 -|**Parameters**|(((
853 +|Parameters|(((
862 862  <prefix> 0x01
863 863  
864 864  <time> uplink interval is in milliseconds, represented by 3  bytes in hexadecimal.
865 865  )))
866 -|**Example**|(((
858 +|Example|(((
867 867  01 **00 75 30**
868 868  
869 869  Sets the uplink interval to 30,000 milliseconds (30 seconds)
870 870  
871 -Conversion: 30000 (dec) = 00 75 30 (hex)
872 -
873 -See [[RapidTables>>https://www.rapidtables.com/convert/number/decimal-to-hex.html?x=30000]]
863 +Note: 00 75 30 (hex) = 30000 (dec)
874 874  )))
875 875  
876 876  ==== 3.4.2.2 Set the Work Mode (AT+MOD) ====
... ... @@ -1491,7 +1491,7 @@
1491 1491  [[image:thingseye.io_integrationsCenter_integrations.png||height="686" width="1000"]]
1492 1492  
1493 1493  
1494 -==== 3.5.2.1 Viewing integration details ====
1484 +**Viewing integration details**:
1495 1495  
1496 1496  Click on your integration from the list. The **Integration details** window will appear with the **Details **tab selected. The **Details **tab shows all the settings you have provided for this integration.
1497 1497  
... ... @@ -1504,7 +1504,7 @@
1504 1504  See also ThingsEye documentation.
1505 1505  {{/info}}
1506 1506  
1507 -==== **3.5.2.2 Viewing events** ====
1497 +**Viewing events:**
1508 1508  
1509 1509  The **Events **tab displays all the uplink messages from the LT-22222-L.
1510 1510  
... ... @@ -1519,9 +1519,9 @@
1519 1519  [[image:thingseye-json.png||width="1000"]]
1520 1520  
1521 1521  
1522 -==== **3.5.2.3 Deleting an integration** ====
1512 +**Deleting the integration**:
1523 1523  
1524 -If you want to delete an integration, click the **Delete integratio**n button on the Integrations page.
1514 +If you want to delete this integration, click the **Delete integratio**n button.
1525 1525  
1526 1526  
1527 1527  == 3.6 Interface Details ==
... ... @@ -1534,7 +1534,7 @@
1534 1534  [[image:1653356991268-289.png]]
1535 1535  
1536 1536  
1537 -=== 3.6.2 Digital Input Ports: DI1/DI2 ===
1527 +=== 3.6.2 Digital Input Ports: DI1/DI2 ( For LT-22222-L) ===
1538 1538  
1539 1539  
1540 1540  (((
... ... @@ -1664,7 +1664,7 @@
1664 1664  [[image:image-20240219115718-1.png]]
1665 1665  
1666 1666  
1667 -=== 3.6.3 Digital Output Ports: DO1/DO2 ===
1657 +=== 3.6.3 Digital Output Ports: DO1/DO2 /DO3 ===
1668 1668  
1669 1669  
1670 1670  (% style="color:blue" %)**NPN output**(%%): GND or Float. The maximum voltage that can be applied to the output pin is 36V.
... ... @@ -1737,11 +1737,10 @@
1737 1737  
1738 1738  == 3.7 LEDs Indicators ==
1739 1739  
1740 -The table below lists the behavior of LED indicators for each port function.
1741 1741  
1742 1742  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
1743 1743  |(% style="background-color:#4f81bd; color:white; width:50px" %)**LEDs**|(% style="background-color:#4f81bd; color:white; width:460px" %)**Feature**
1744 -|**PWR**|Always on when there is power
1733 +|**PWR**|Always on if there is power
1745 1745  |**TX**|(((
1746 1746  (((
1747 1747  Device boot: TX blinks 5 times.
... ... @@ -1748,7 +1748,7 @@
1748 1748  )))
1749 1749  
1750 1750  (((
1751 -Successful network join: TX remains ON for 5 seconds.
1740 +Successful join network: TX ON for 5 seconds.
1752 1752  )))
1753 1753  
1754 1754  (((
... ... @@ -1755,7 +1755,7 @@
1755 1755  Transmit a LoRa packet: TX blinks once
1756 1756  )))
1757 1757  )))
1758 -|**RX**|RX blinks once when a packet is received.
1747 +|**RX**|RX blinks once when receiving a packet.
1759 1759  |**DO1**|For LT-22222-L: ON when DO1 is low, OFF when DO1 is high
1760 1760  |**DO2**|For LT-22222-L: ON when DO2 is low, OFF when DO2 is high
1761 1761  |**DI1**|(((
... ... @@ -1775,10 +1775,9 @@
1775 1775  
1776 1776  (((
1777 1777  You can use a USB-to-TTL adapter along with a 3.5mm Program Cable to connect the LT-22222-L to a PC, as shown below.
1778 -
1779 -[[image:usb-ttl-programming.png]]
1780 1780  )))
1781 1781  
1769 +[[image:1653358238933-385.png]]
1782 1782  
1783 1783  
1784 1784  (((
... ... @@ -1795,21 +1795,21 @@
1795 1795  )))
1796 1796  
1797 1797  (((
1798 -The following is the list of all the AT commands related to the LT-22222-L, except for those used for switching between working modes.
1786 +The following is the list of all the AT commands related to the LT-22222-L, except for those used for switching between work modes.
1799 1799  
1800 -* **##AT##+<CMD>?** : Help on <CMD>
1801 -* **##AT##+<CMD>** : Run <CMD>
1802 -* **##AT##+<CMD>=<value>** : Set the value
1803 -* **##AT##+<CMD>=?** : Get the value
1804 -* ##**ATZ**##: Trigger a reset of the MCU
1788 +* AT+<CMD>? : Help on <CMD>
1789 +* AT+<CMD> : Run <CMD>
1790 +* AT+<CMD>=<value> : Set the value
1791 +* AT+<CMD>=? : Get the value
1792 +* ATZ: Trigger a reset of the MCU
1805 1805  * ##**AT+FDR**##: Reset Parameters to factory default, reserve keys 
1806 1806  * **##AT+DEUI##**: Get or set the Device EUI (DevEUI)
1807 1807  * **##AT+DADDR##**: Get or set the Device Address (DevAddr)
1808 1808  * **##AT+APPKEY##**: Get or set the Application Key (AppKey)
1809 -* ##**AT+NWKSKEY**##: Get or set the Network Session Key (NwkSKey)
1810 -* **##AT+APPSKEY##**: Get or set the Application Session Key (AppSKey)
1811 -* **##AT+APPEUI##**: Get or set the Application EUI (AppEUI)
1812 -* **##AT+ADR##**: Get or set the Adaptive Data Rate setting. (0: OFF, 1: ON)
1797 +* AT+NWKSKEY: Get or set the Network Session Key (NwkSKey)
1798 +* AT+APPSKEY: Get or set the Application Session Key (AppSKey)
1799 +* AT+APPEUI: Get or set the Application EUI (AppEUI)
1800 +* AT+ADR: Get or set the Adaptive Data Rate setting. (0: OFF, 1: ON)
1813 1813  * AT+TXP: Get or set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Specification)
1814 1814  * AT+DR:  Get or set the Data Rate. (0-7 corresponding to DR_X)  
1815 1815  * AT+DCS: Get or set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing
... ... @@ -1854,28 +1854,28 @@
1854 1854  
1855 1855  
1856 1856  (((
1857 -(% style="color:blue" %)**If the device has not yet joined the network:**
1845 +(% style="color:blue" %)**If the device has not joined the network yet:**
1858 1858  )))
1859 1859  )))
1860 1860  
1861 1861  (((
1862 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**##
1850 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1863 1863  )))
1864 1864  
1865 1865  (((
1866 -(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/Reset parameters to factory default, Reserve keys**##
1854 +(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/reset parameters to factory default, reserve keys**##
1867 1867  )))
1868 1868  
1869 1869  (((
1870 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/Enter the password to enable AT commands access**##
1858 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1871 1871  )))
1872 1872  
1873 1873  (((
1874 -(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/Set to ABP mode**##
1862 +(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/set to ABP mode**##
1875 1875  )))
1876 1876  
1877 1877  (((
1878 -(% style="background-color:#dcdcdc" %)##**ATZ ~/~/Reset MCU**##
1866 +(% style="background-color:#dcdcdc" %)##**ATZ ~/~/reset MCU**##
1879 1879  )))
1880 1880  
1881 1881  
... ... @@ -1898,20 +1898,20 @@
1898 1898  
1899 1899  
1900 1900  (((
1901 -(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter password to enable AT commands access
1889 +(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter Password to have AT access.
1902 1902  )))
1903 1903  )))
1904 1904  
1905 1905  (((
1906 -(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset parameters to Factory Default, Reserve keys
1894 +(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset Parameters to Factory Default, Keys Reserve
1907 1907  )))
1908 1908  
1909 1909  (((
1910 -(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter password to enable AT commands access
1898 +(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter Password to have AT access.
1911 1911  )))
1912 1912  
1913 1913  (((
1914 -(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%)  ~/~/ Set to CLASS C mode
1902 +(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%)  ~/~/ Set to work in CLASS C
1915 1915  )))
1916 1916  
1917 1917  (((
... ... @@ -1931,19 +1931,19 @@
1931 1931  )))
1932 1932  
1933 1933  (((
1934 -(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%)  ~/~/ Set transmit frequency to 868.4 MHz
1922 +(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%)  ~/~/ Set transmit frequency to 868.4Mhz
1935 1935  )))
1936 1936  
1937 1937  (((
1938 -(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%)  ~/~/ Set RX2 frequency to 868.4 MHz (according to the result from the server)
1926 +(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%)  ~/~/ Set RX2Frequency to 868.4Mhz (according to the result from server)
1939 1939  )))
1940 1940  
1941 1941  (((
1942 -(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2 DR to match the downlink DR from the server. See below.
1930 +(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2DR to match the downlink DR from server. see below
1943 1943  )))
1944 1944  
1945 1945  (((
1946 -(% style="background-color:#dcdcdc" %)** AT+DADDR=26 01 1A F1** (%%) ~/~/ Set Device Address. The Device Address can be found in the application on the LoRaWAN NS.
1934 +(% 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.
1947 1947  )))
1948 1948  
1949 1949  (((
... ... @@ -1957,14 +1957,14 @@
1957 1957  )))
1958 1958  
1959 1959  (((
1960 -**~1. Ensure that the device is set to ABP mode in the LoRaWAN Network Server.**
1948 +**~1. Make sure the device is set to ABP mode in the IoT Server.**
1961 1961  
1962 -**2. Verify that the LG01/02 gateway RX frequency matches the AT+CHS setting exactly.**
1950 +**2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.**
1963 1963  
1964 -**3. Make sure the SF/bandwidth settings in the LG01/LG02 match the settings of AT+DR. Refer to [[this link>>url:http://www.dragino.com/downloads/index.php?
1952 +**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?
1965 1965  dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.**
1966 1966  
1967 -**4. The commands AT+RX2FQ and AT+RX2DR enable downlink functionality. To set the correct parameters, you can check the actual downlink parameters to be used as shown below. Here, RX2FQ should be set to 868400000 and RX2DR should be set to 5.**
1955 +**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.**
1968 1968  )))
1969 1969  
1970 1970  (((
... ... @@ -1976,7 +1976,7 @@
1976 1976  
1977 1977  
1978 1978  (((
1979 -(% style="color:blue" %)**If the sensor has JOINED:**
1967 +(% style="color:blue" %)**If sensor JOINED:**
1980 1980  
1981 1981  (% style="background-color:#dcdcdc" %)**AT+CLASS=A**
1982 1982  
... ... @@ -1986,20 +1986,22 @@
1986 1986  
1987 1987  = 5. Case Study =
1988 1988  
1989 -== 5.1 Counting how many objects pass through the flow line ==
1977 +== 5.1 Counting how many objects pass through the flow Line ==
1990 1990  
1991 -See [[How to set up to setup counting for objects passing through the flow line>>How to set up to count objects pass in flow line]]?
1992 1992  
1980 +Reference Link: [[How to set up to setup counting for objects passing through the flow line>>How to set up to count objects pass in flow line]]?
1993 1993  
1982 +
1994 1994  = 6. FAQ =
1995 1995  
1996 1996  This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly.
1997 1997  
1998 -
1999 1999  == 6.1 How to update the firmware? ==
2000 2000  
2001 -Dragino frequently releases firmware updates for the LT-22222-L. Updating your LT-22222-L with the latest firmware version helps to:
1989 +Dragino frequently releases firmware updates for the LT-22222-L.
2002 2002  
1991 +Updating your LT-22222-L with the latest firmware version helps to:
1992 +
2003 2003  * Support new features
2004 2004  * Fix bugs
2005 2005  * Change LoRaWAN frequency bands
... ... @@ -2017,8 +2017,8 @@
2017 2017  
2018 2018  Below is the hardware setup for uploading a firmware image to the LT-22222-L:
2019 2019  
2020 -[[image:usb-ttl-programming.png]]
2021 2021  
2011 +[[image:1653359603330-121.png]]
2022 2022  
2023 2023  
2024 2024  Start the STM32 Flash Loader and choose the correct COM port to update.
... ... @@ -2042,7 +2042,7 @@
2042 2042  [[image:image-20220524104033-15.png]]
2043 2043  
2044 2044  
2045 -(% style="color:red" %)**Note**(%%): If you have lost the programming cable, you can make one from a 3.5 mm cable. The pin mapping is as follows:
2035 +(% style="color:red" %)**Note**(%%): If you have lost the programming cable, you can make one from a 3.5mm cable. The pin mapping is as follows:
2046 2046  
2047 2047  [[image:1653360054704-518.png||height="186" width="745"]]
2048 2048  
... ... @@ -2050,6 +2050,8 @@
2050 2050  (((
2051 2051  (((
2052 2052  == 6.2 How to change the LoRaWAN frequency band/region? ==
2043 +
2044 +
2053 2053  )))
2054 2054  )))
2055 2055  
... ... @@ -2060,18 +2060,20 @@
2060 2060  (((
2061 2061  
2062 2062  
2063 -== 6.3 How to setup LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? ==
2055 +== 6.3 How to setup LT to work with a Single Channel Gateway, such as LG01/LG02? ==
2056 +
2057 +
2064 2064  )))
2065 2065  
2066 2066  (((
2067 2067  (((
2068 -In this case, you need to set the LT-22222-L to work in ABP mode and transmit on only one frequency.
2062 +In this case, you need to set the LT-33222-L to work in ABP mode and transmit on only one frequency.
2069 2069  )))
2070 2070  )))
2071 2071  
2072 2072  (((
2073 2073  (((
2074 -We assume you have an LG01/LG02 working on the frequency 868400000. Below are the steps.
2068 +Assume you have an LG02 working on the frequency 868400000. Below are the steps.
2075 2075  
2076 2076  
2077 2077  )))
... ... @@ -2078,55 +2078,52 @@
2078 2078  )))
2079 2079  
2080 2080  (((
2081 -(% style="color:#0000ff" %)**Step 1**(%%): Log in to The Things Stack Sandbox account and create an ABP device in the application. To do this, use the manual registration option as explained in section 3.2.2.2, //Adding a Device Manually//. Select //Activation by Personalization (ABP)// under Activation Mode. Enter the DevEUI exactly as shown on the registration information sticker, then generate the Device Address, Application Session Key (AppSKey), and Network Session Key (NwkSKey).
2075 +(% style="color:#0000ff" %)**Step 1**(%%):  Log in to The Things Stack SANDBOX, create an ABP device in the application, and input the Network Session key (NwkSKey), App session key (AppSKey) of the device.
2082 2082  
2083 -[[image:lt-22222-l-abp.png||height="686" width="1000"]]
2077 +
2084 2084  )))
2085 2085  
2086 2086  (((
2081 +[[image:1653360231087-571.png||height="401" width="727"]]
2082 +
2087 2087  
2088 2088  )))
2089 2089  
2090 -{{warning}}
2091 -Ensure that the Device Address (DevAddr) and the two keys match between the LT-22222-L and The Things Stack. You can modify them either in The Things Stack or on the LT-22222-L to make them align. In The Things Stack, you can configure the NwkSKey and AppSKey on the settings page, but note that the Device Address is generated by The Things Stack.
2092 -{{/warning}}
2086 +(((
2087 +(% style="color:red" %)**Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.**
2088 +)))
2093 2093  
2094 2094  
2091 +
2095 2095  (((
2096 -(% style="color:blue" %)**Step 2**(%%)**:  **(% 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" %)Run AT commands to configure the LT-22222-L to operate in single-frequency and ABP mode. The AT commands are as follows:
2093 +(% style="color:blue" %)**Step2**(%%)**:  **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
2097 2097  
2098 2098  
2099 2099  )))
2100 2100  
2101 2101  (((
2102 -(% style="background-color:#dcdcdc" %)**123456** (%%) : Enter the password to enable AT access.
2099 +(% style="background-color:#dcdcdc" %)**123456** (%%) :  Enter Password to have AT access.
2103 2103  
2104 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%) : Reset parameters to factory default, keeping keys reserved.
2101 +(% style="background-color:#dcdcdc" %)**AT+FDR**(%%)  :  Reset Parameters to Factory Default, Keys Reserve
2105 2105  
2106 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) : Set to ABP mode.
2103 +(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) :  Set to ABP mode
2107 2107  
2108 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) : Disable the Adaptive Data Rate (ADR).
2105 +(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) :  Set the Adaptive Data Rate Off
2109 2109  
2110 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) : Set Data Rate (Use AT+DR=3 for the 915 MHz band).
2107 +(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) :  Set Data Rate (Set AT+DR=3 for 915 band)
2111 2111  
2112 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) : Set transmit interval to 60 seconds.
2109 +(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) :  Set transmit interval to 60 seconds
2113 2113  
2114 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4 MHz.
2111 +(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz
2115 2115  
2116 -(% style="background-color:#dcdcdc" %)**AT+DADDR=xxxx**(%%) : Set the Device Address (DevAddr)
2113 +(% style="background-color:#dcdcdc" %)**AT+DADDR=26 01 1A F1**(%%)  :  Set Device Address to 26 01 1A F1
2117 2117  
2118 -(% 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:700; text-decoration:none; white-space:pre-wrap" %)**AT+APPKEY=xxxx**(% 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" %): Get or set the Application Key (AppKey)
2119 -
2120 -(% 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" %)**AT+NWKSKEY=xxxx**: Get or set the Network Session Key (NwkSKey)
2121 -
2122 -(% 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" %)**AT+APPSKEY=xxxx**: Get or set the Application Session Key (AppSKey)
2123 -
2124 -(% style="background-color:#dcdcdc" %)**ATZ**        (%%) : Reset MCU.
2115 +(% style="background-color:#dcdcdc" %)**ATZ**        (%%) :  Reset MCU
2125 2125  )))
2126 2126  
2127 2127  
2128 2128  (((
2129 -(% 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" %)The following figure shows the screenshot of the command set above, issued using a serial tool:
2120 +As shown in below:
2130 2130  )))
2131 2131  
2132 2132  [[image:1653360498588-932.png||height="485" width="726"]]
... ... @@ -2134,25 +2134,27 @@
2134 2134  
2135 2135  == 6.4 How to change the uplink interval? ==
2136 2136  
2128 +
2137 2137  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/]]
2138 2138  
2139 2139  
2140 2140  == 6.5 Can I see the counting event in the serial output? ==
2141 2141  
2134 +
2142 2142  (((
2143 -You can run the AT command **AT+DEBUG** to view the counting event in the serial output. If the firmware is too old and doesn’t support AT+DEBUG, update to the latest firmware first.
2136 +You can run the AT command AT+DEBUG to view the counting event in the serial output. If the firmware is too old and doesn’t support AT+DEBUG, update to the latest firmware first.
2144 2144  
2145 2145  
2146 2146  == 6.6 Can I use point-to-point communication with LT-22222-L? ==
2147 2147  
2148 -Yes, you can. Please refer to the [[Point-to-Point Communication of LT-22222-L>>https://wiki.dragino.com/xwiki/bin/view/Main/%20Point%20to%20Point%20Communication%20of%20LT-22222-L/]] page. The firmware that supports point-to-point communication can be found [[here>>https://github.com/dragino/LT-22222-L/releases]].
2149 2149  
2150 -
2142 +Yes, you can. Please refer to the [[Point-to-Point Communication of LT-22222-L>>https://wiki.dragino.com/xwiki/bin/view/Main/%20Point%20to%20Point%20Communication%20of%20LT-22222-L/]] page. The firmware that supports point-to-point communication can be found [[here>>https://github.com/dragino/LT-22222-L/releases]].
2151 2151  )))
2152 2152  
2153 2153  (((
2154 2154  == 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? ==
2155 2155  
2148 +
2156 2156  * If the device is not properly shut down and is directly powered off.
2157 2157  * It will default to a power-off state.
2158 2158  * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory.
... ... @@ -2160,6 +2160,7 @@
2160 2160  
2161 2161  == 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? ==
2162 2162  
2156 +
2163 2163  The LT-22222-L's built-in relay is Normally Open (NO). You can use an external relay to achieve a Normally Closed (NC) configuration. The circuit diagram is shown below:
2164 2164  
2165 2165  
... ... @@ -2168,24 +2168,24 @@
2168 2168  
2169 2169  == 6.9 Can the LT-22222-L save the RO state? ==
2170 2170  
2171 -To enable this feature, the firmware version must be 1.6.0 or higher.
2172 2172  
2166 +The firmware version must be at least 1.6.0.
2173 2173  
2168 +
2174 2174  == 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? ==
2175 2175  
2171 +
2176 2176  It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose.
2177 2177  
2178 2178  
2179 2179  = 7. Troubleshooting =
2180 -
2181 -This section provides some known troubleshooting tips.
2182 -
2183 -
2184 2184  )))
2185 2185  
2186 2186  (((
2187 2187  (((
2188 2188  == 7.1 Downlink isn't working. How can I solve this? ==
2181 +
2182 +
2189 2189  )))
2190 2190  )))
2191 2191  
... ... @@ -2197,6 +2197,8 @@
2197 2197  
2198 2198  
2199 2199  == 7.2 Having trouble uploading an image? ==
2194 +
2195 +
2200 2200  )))
2201 2201  
2202 2202  (((
... ... @@ -2207,6 +2207,8 @@
2207 2207  
2208 2208  
2209 2209  == 7.3 Why can't I join TTN in the US915 /AU915 bands? ==
2206 +
2207 +
2210 2210  )))
2211 2211  
2212 2212  (((
... ... @@ -2214,8 +2214,9 @@
2214 2214  )))
2215 2215  
2216 2216  
2217 -== 7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink? ==
2215 +== 7.4 Why can the LT-22222-L perform Uplink normally, but cannot receive Downlink? ==
2218 2218  
2217 +
2219 2219  The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue.
2220 2220  Use this command to synchronize their counts: [[Resets the downlink packet count>>||anchor="H3.4.2.23Resetsthedownlinkpacketcount"]]
2221 2221  
... ... @@ -2222,6 +2222,7 @@
2222 2222  
2223 2223  = 8. Ordering information =
2224 2224  
2224 +
2225 2225  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
2226 2226  
2227 2227  (% style="color:#4f81bd" %)**XXX:**
... ... @@ -2236,14 +2236,15 @@
2236 2236  * (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865
2237 2237  * (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779
2238 2238  
2239 -= 9. Package information =
2239 += 9. Packing information =
2240 2240  
2241 +
2241 2241  **Package includes**:
2242 2242  
2243 2243  * 1 x LT-22222-L I/O Controller
2244 2244  * 1 x LoRa antenna matched to the frequency of the LT-22222-L
2245 2245  * 1 x bracket for DIN rail mounting
2246 -* 1 x 3.5 mm programming cable
2247 +* 1 x 3.5mm programming cable
2247 2247  
2248 2248  **Dimension and weight**:
2249 2249  
... ... @@ -2254,6 +2254,7 @@
2254 2254  
2255 2255  = 10. Support =
2256 2256  
2258 +
2257 2257  * (((
2258 2258  Support is available Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different time zones, we cannot offer live support. However, your questions will be answered as soon as possible within the aforementioned schedule.
2259 2259  )))
... ... @@ -2265,6 +2265,7 @@
2265 2265  
2266 2266  = 11. Reference​​​​​ =
2267 2267  
2270 +
2268 2268  * LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]
2269 2269  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2270 2270  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
lt-22222-l-abp.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -321.4 KB
Content
usb-ttl-programming.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -462.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0