<
From version < 177.1 >
edited by Dilisi S
on 2024/11/08 06:48
To version < 180.1 >
edited by Dilisi S
on 2024/11/09 06:08
>
Change comment: Nov 8 edits - part 2

Summary

Details

Page properties
Content
... ... @@ -33,8 +33,6 @@
33 33  With the LT-22222-L I/O Controller, users can transmit data over ultra-long distances with low power consumption using LoRa, a spread-spectrum modulation technique derived from chirp spread spectrum (CSS) technology that operates on license-free ISM bands.
34 34  )))
35 35  
36 -> The LT Series I/O Controllers are designed for easy, low-cost installation on LoRaWAN networks.
37 -
38 38  (((
39 39  You can connect the LT-22222-L I/O Controller to a LoRaWAN network service provider in several ways:
40 40  
... ... @@ -59,7 +59,7 @@
59 59  * SX1276/78 Wireless Chip 
60 60  * Power Consumption:
61 61  ** Idle: 4mA@12v
62 -** 20dB Transmit: 34mA@12v
60 +** 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:**
... ... @@ -68,7 +68,7 @@
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)
71 -* 2 x 0~~30V Analog Input (res:0.01v)
69 +* 2 x 0~~30V Analog Input (res:0.01V)
72 72  * Power Input 7~~ 24V DC. 
73 73  
74 74  (% style="color:#037691" %)**LoRa Spec:**
... ... @@ -136,10 +136,10 @@
136 136  
137 137  * 1 x LT-22222-L I/O Controller
138 138  * 1 x LoRaWAN antenna matched to the frequency of the LT-22222-L
139 -* 1 x bracket for wall mounting
137 +* 1 x bracket for DIN rail mounting
140 140  * 1 x programming cable
141 141  
142 -Attach the LoRaWAN antenna to the antenna connector, ANT,** **located on the top right side of the device, next to the upper terminal block. Secure the antenna by tightening it clockwise.
140 +Attach the LoRaWAN antenna to the antenna connector, **ANT**,** **located on the top right side of the device, next to the upper terminal block. Secure the antenna by tightening it clockwise.
143 143  
144 144  == 2.2 Terminals ==
145 145  
... ... @@ -171,7 +171,7 @@
171 171  
172 172  == 2.3 Powering the LT-22222-L ==
173 173  
174 -The LT-22222-L I/O Controller can be powered by a 7–24V DC power source. Connect the 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.
172 +The LT-22222-L I/O Controller can be powered by a **7–24V DC** power source. Connect the 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.
175 175  
176 176  
177 177  [[image:1653297104069-180.png]]
... ... @@ -183,13 +183,13 @@
183 183  
184 184  By default, the LT-22222-L is configured to operate in LoRaWAN Class C mode. It supports OTAA (Over-the-Air Activation), the most secure method for activating a device with a LoRaWAN network server. The LT-22222-L comes with device registration information that allows you to register it with a LoRaWAN network, enabling the device to perform OTAA activation with the network server upon initial power-up and after any subsequent reboots.
185 185  
186 -For LT-22222-L, the LED will show the Join status: After powering on, the TX LED will fast-blink 5 times which means the LT-22222-L will enter the working mode and start to JOIN the LoRaWAN network. The TX LED will be on for 5 seconds after joining the network. When there is a message from the server, the RX LED will be on for 1 second. 
184 +After powering on, the **TX LED** will **fast-blink 5 times** which means the LT-22222-L will enter the **work mode** and start to **join** the LoRaWAN network. The **TX LED** will be on for **5 seconds** after joining the network. When there is a **downlink** message from the server, the **RX LE**D 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.
187 187  
188 188  In case you can't set the root key and other identifiers in the network server and must use them from the server, you can use [[AT Commands>>||anchor="H4.UseATCommand"]] to configure them on the device.
189 189  
190 190  == 3.2 Registering with a LoRaWAN network server ==
191 191  
192 -The diagram below shows how the LT-22222-L connects to a typical LoRaWAN network.
190 +The network diagram below shows how the LT-22222-L is connected to a typical LoRaWAN network.
193 193  
194 194  [[image:image-20220523172350-1.png||height="266" width="864"]]
195 195  
... ... @@ -207,8 +207,10 @@
207 207  * Create an application if you do not have one yet.
208 208  * Register LT-22222-L with that application. Two registration options are available:
209 209  
210 -==== Using the LoRaWAN Device Repository: ====
208 +==== ====
211 211  
210 +==== 3.2.2.1 Using the LoRaWAN Device Repository ====
211 +
212 212  * Go to your application and click on the **Register end device** button.
213 213  * On the **Register end device** page:
214 214  ** Select the option **Select the end device in the LoRaWAN Device Repository**.
... ... @@ -217,7 +217,8 @@
217 217  
218 218  [[image:lt-22222-l-dev-repo-reg-p1.png||height="625" width="1000"]]
219 219  
220 -*
220 +
221 +* Page continued...
221 221  ** Enter the **AppEUI** in the **JoinEUI** field and click the **Confirm** button.
222 222  ** Enter the **DevEUI** in the **DevEUI** field.
223 223  ** Enter the **AppKey** in the **AppKey** field.
... ... @@ -226,8 +226,10 @@
226 226  
227 227  [[image:lt-22222-l-dev-repo-reg-p2.png||height="625" width="1000"]]
228 228  
229 -==== Entering device information manually: ====
230 +==== ====
230 230  
232 +==== 3.2.2.2 Entering device information manually ====
233 +
231 231  * On the **Register end device** page:
232 232  ** Select the **Enter end device specifies manually** option as the input method.
233 233  ** Select the **Frequency plan** that matches your device.
... ... @@ -240,12 +240,13 @@
240 240  [[image:lt-22222-l-manually-p1.png||height="625" width="1000"]]
241 241  
242 242  
243 -* Enter **AppEUI** in the **JoinEUI** field and click the **Confirm** button.
244 -* Enter **DevEUI** in the **DevEUI** field.
245 -* Enter **AppKey** in the **AppKey** field.
246 -* In the **End device ID** field, enter a unique name within this application for your LT-22222-N.
247 -* Under **After registration**, select the **View registered end device** option.
248 -* Click the **Register end device** button.
246 +* Page continued...
247 +** Enter **AppEUI** in the **JoinEUI** field and click the **Confirm** button.
248 +** Enter **DevEUI** in the **DevEUI** field.
249 +** Enter **AppKey** in the **AppKey** field.
250 +** In the **End device ID** field, enter a unique name within this application for your LT-22222-N.
251 +** Under **After registration**, select the **View registered end device** option.
252 +** Click the **Register end device** button.
249 249  
250 250  [[image:lt-22222-l-manually-p2.png||height="625" width="1000"]]
251 251  
... ... @@ -252,18 +252,24 @@
252 252  
253 253  You will be navigated to the **Device overview** page.
254 254  
259 +
255 255  [[image:lt-22222-device-overview.png||height="625" width="1000"]]
256 256  
257 257  
258 -==== Joining ====
263 +==== 3.2.2.3 Joining ====
259 259  
260 -Click on **Live data** in the left navigation. Then, power on LT-22222-L. It will join The Things Stack LoRaWAN network server. You can see the **join request**, **join accept**, followed by **uplink data messages** form the device showing in the **Live data** panel.
265 +Click on **Live data** in the left navigation. The Live data panel for your application will display.
261 261  
267 +Power on your LT-22222-L. It will begin joining The Things Stack LoRaWAN network server. In the **Live data** panel, you can see the **join-request** and **join-accept** messages exchanged between the device and the network server. Once successfully joined, the device will send its first **uplink data message** to the application it belongs to (in this example, **dragino-docs**).
268 +
269 +
262 262  [[image:lt-22222-join-network.png||height="625" width="1000"]]
263 263  
264 264  
265 -Click on a message with the messge type, **Forward uplink data message**. You can see the  decoded uplink payload as shown below.
273 +By default, you will receive an uplink data message every 10 minutes.
266 266  
275 +Click on one of a **Forward uplink data messages **to see its payload content. The payload content is encapsulated within the decode_payload {} JSON object.
276 +
267 267  [[image:lt-22222-ul-payload-decoded.png]]
268 268  
269 269  
... ... @@ -275,7 +275,7 @@
275 275  == 3.3 Work Modes and their Uplink Payload formats ==
276 276  
277 277  
278 -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 working mode as an additional feature. The default mode is MOD1 and you can switch between these modes using AT commands.
288 +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.
279 279  
280 280  * (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2ACI + 2AVI + DI + DO + RO
281 281  
... ... @@ -289,11 +289,15 @@
289 289  
290 290  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
291 291  
302 +The uplink messages are sent over LoRaWAN FPort 2. By default, an uplink message is sent every 10 minutes.
303 +
292 292  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
293 293  
294 294  (((
295 -The uplink payload is 11 bytes long. Uplink messages are sent over LoRaWAN FPort 2. By default, one uplink is sent every 10 minutes. (% style="display:none" wfd-invisible="true" %)
307 +This is the default mode.
296 296  
309 +The uplink payload is 11 bytes long. (% style="display:none" wfd-invisible="true" %)
310 +
297 297  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
298 298  |(% 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**
299 299  |Value|(((
... ... @@ -340,13 +340,13 @@
340 340  
341 341  * [1] The RO1 relay channel is CLOSED, and the RO1 LED is ON.
342 342  * [0] The RO2 relay channel is OPEN, and the RO2 LED is OFF.
343 -* [1] DI3 - not used for LT-22222-L.
357 +* **[1] DI3 - not used for LT-22222-L.**
344 344  * [0] DI2 channel input is LOW, and the DI2 LED is OFF.
345 345  * [1] DI1 channel input state:
346 346  ** DI1 is FLOATING when no sensor is connected between DI1+ and DI1-.
347 347  ** DI1 is HIGH when a sensor is connected between DI1- and DI1+ and the sensor is ACTIVE.
348 348  ** DI1 LED is ON in both cases.
349 -* [0] DO3 - not used for LT-22222-L.
363 +* **[0] DO3 - not used for LT-22222-L.**
350 350  * [1] DO2 channel output is LOW, and the DO2 LED is ON.
351 351  * [0] DO1 channel output state:
352 352  ** DO1 is FLOATING when there is no load between DO1 and V+.
... ... @@ -371,7 +371,7 @@
371 371  )))
372 372  
373 373  (((
374 -(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination of RO1, RO2, DO3, DO2 and DO1, and its size is 1 byte long as shown below.
388 +(% style="color:#4f81bd" %)***DIDORO**(%%) is a combination of RO1, RO2, FIRST, Reserve, Reserve, DO3, DO2 and DO1, and its size is 1 byte long as shown below.
375 375  
376 376  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
377 377  |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
... ... @@ -1471,7 +1471,7 @@
1471 1471  
1472 1472  * Click on the **Events **tab.
1473 1473  * Select **Debug **from the **Event type** dropdown.
1474 -* Select the** time frame** from the **time window**.
1488 +* Select the** time frame** from the **time window**.
1475 1475  
1476 1476  [insert image]
1477 1477  
... ... @@ -1727,13 +1727,14 @@
1727 1727  |**RO1**|For LT-22222-L: ON when RO1 is closed, OFF when RO1 is open
1728 1728  |**RO2**|For LT-22222-L: ON when RO2 is closed, OFF when RO2 is open
1729 1729  
1730 -= 4. Using AT Command =
1744 += 4. Using AT Commands =
1731 1731  
1732 -== 4.1 Connecting the LT-22222-L to a computer ==
1746 +The LT-22222-L supports programming using AT Commands.
1733 1733  
1748 +== 4.1 Connecting the LT-22222-L to a PC ==
1734 1734  
1735 1735  (((
1736 -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.
1751 +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.
1737 1737  )))
1738 1738  
1739 1739  [[image:1653358238933-385.png]]
... ... @@ -1740,7 +1740,7 @@
1740 1740  
1741 1741  
1742 1742  (((
1743 -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:
1758 +On the PC, you need to set the (% style="color:#4f81bd" %)**serial tool **(%%)(such as [[PuTTY>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]] or [[SecureCRT>>https://www.vandyke.com/cgi-bin/releases.php?product=securecrt]]) to a baud rate of (% style="color:green" %)**9600**(%%) to access the serial console of LT-22222-L. Access to AT commands is disabled by default, and a password (default: (% style="color:green" %)**123456**)(%%) must be entered to enable AT command access, as shown below:
1744 1744  )))
1745 1745  
1746 1746  [[image:1653358355238-883.png]]
... ... @@ -1748,195 +1748,62 @@
1748 1748  
1749 1749  (((
1750 1750  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/]]
1751 -)))
1752 1752  
1753 -(((
1754 -The following table lists all the AT commands related to the LT-22222-L, except for those used for switching between modes.
1755 -
1756 -AT+<CMD>?        : Help on <CMD>
1767 +== 4.2 LT-22222-L related AT commands ==
1757 1757  )))
1758 1758  
1759 1759  (((
1760 -AT+<CMD>         : Run <CMD>
1761 -)))
1771 +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.
1762 1762  
1763 -(((
1764 -AT+<CMD>=<value> : Set the value
1773 +* AT+<CMD>? : Help on <CMD>
1774 +* AT+<CMD> : Run <CMD>
1775 +* AT+<CMD>=<value> : Set the value
1776 +* AT+<CMD>=? : Get the value
1777 +* ATZ: Trigger a reset of the MCU
1778 +* ##**AT+FDR**##: Reset Parameters to factory default, reserve keys 
1779 +* **##AT+DEUI##**: Get or set the Device EUI (DevEUI)
1780 +* **##AT+DADDR##**: Get or set the Device Address (DevAddr)
1781 +* **##AT+APPKEY##**: Get or set the Application Key (AppKey)
1782 +* AT+NWKSKEY: Get or set the Network Session Key (NwkSKey)
1783 +* AT+APPSKEY: Get or set the Application Session Key (AppSKey)
1784 +* AT+APPEUI: Get or set the Application EUI (AppEUI)
1785 +* AT+ADR: Get or set the Adaptive Data Rate setting. (0: OFF, 1: ON)
1786 +* AT+TXP: Get or set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Specification)
1787 +* AT+DR:  Get or set the Data Rate. (0-7 corresponding to DR_X)  
1788 +* AT+DCS: Get or set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing
1789 +* AT+PNM: Get or set the public network mode. (0: off, 1: on)
1790 +* AT+RX2FQ: Get or set the Rx2 window frequency
1791 +* AT+RX2DR: Get or set the Rx2 window data rate (0-7 corresponding to DR_X)
1792 +* AT+RX1DL: Get or set the delay between the end of the Tx and the Rx Window 1 in ms
1793 +* AT+RX2DL: Get or set the delay between the end of the Tx and the Rx Window 2 in ms
1794 +* AT+JN1DL: Get or set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms
1795 +* AT+JN2DL: Get or set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms
1796 +* AT+NJM: Get or set the Network Join Mode. (0: ABP, 1: OTAA)
1797 +* AT+NWKID: Get or set the Network ID
1798 +* AT+FCU: Get or set the Frame Counter Uplink (FCntUp)
1799 +* AT+FCD: Get or set the Frame Counter Downlink (FCntDown)
1800 +* AT+CLASS: Get or set the Device Class
1801 +* AT+JOIN: Join network
1802 +* AT+NJS: Get OTAA Join Status
1803 +* AT+SENDB: Send hexadecimal data along with the application port
1804 +* AT+SEND: Send text data along with the application port
1805 +* AT+RECVB: Print last received data in binary format (with hexadecimal values)
1806 +* AT+RECV: Print last received data in raw format
1807 +* AT+VER: Get current image version and Frequency Band
1808 +* AT+CFM: Get or Set the confirmation mode (0-1)
1809 +* AT+CFS: Get confirmation status of the last AT+SEND (0-1)
1810 +* AT+SNR: Get the SNR of the last received packet
1811 +* AT+RSSI: Get the RSSI of the last received packet
1812 +* AT+TDC: Get or set the application data transmission interval in ms
1813 +* AT+PORT: Get or set the application port
1814 +* AT+DISAT: Disable AT commands
1815 +* AT+PWORD: Set password, max 9 digits
1816 +* AT+CHS: Get or set the Frequency (Unit: Hz) for Single Channel Mode
1817 +* AT+CHE: Get or set eight channels mode, Only for US915, AU915, CN470
1818 +* AT+CFG: Print all settings
1765 1765  )))
1766 1766  
1767 -(((
1768 -AT+<CMD>=?       :  Get the value
1769 -)))
1770 1770  
1771 -(((
1772 -ATZ: Trig a reset of the MCU
1773 -)))
1774 -
1775 -(((
1776 -AT+FDR: Reset Parameters to Factory Default, Keys Reserve 
1777 -)))
1778 -
1779 -(((
1780 -AT+DEUI: Get or Set the Device EUI
1781 -)))
1782 -
1783 -(((
1784 -AT+DADDR: Get or Set the Device Address
1785 -)))
1786 -
1787 -(((
1788 -AT+APPKEY: Get or Set the Application Key
1789 -)))
1790 -
1791 -(((
1792 -AT+NWKSKEY: Get or Set the Network Session Key
1793 -)))
1794 -
1795 -(((
1796 -AT+APPSKEY:  Get or Set the Application Session Key
1797 -)))
1798 -
1799 -(((
1800 -AT+APPEUI:  Get or Set the Application EUI
1801 -)))
1802 -
1803 -(((
1804 -AT+ADR: Get or Set the Adaptive Data Rate setting. (0: off, 1: on)
1805 -)))
1806 -
1807 -(((
1808 -AT+TXP: Get or Set the Transmit Power (0-5, MAX:0, MIN:5, according to LoRaWAN Spec)
1809 -)))
1810 -
1811 -(((
1812 -AT+DR:  Get or Set the Data Rate. (0-7 corresponding to DR_X)  
1813 -)))
1814 -
1815 -(((
1816 -AT+DCS: Get or Set the ETSI Duty Cycle setting - 0=disable, 1=enable - Only for testing
1817 -)))
1818 -
1819 -(((
1820 -AT+PNM: Get or Set the public network mode. (0: off, 1: on)
1821 -)))
1822 -
1823 -(((
1824 -AT+RX2FQ: Get or Set the Rx2 window frequency
1825 -)))
1826 -
1827 -(((
1828 -AT+RX2DR: Get or Set the Rx2 window data rate (0-7 corresponding to DR_X)
1829 -)))
1830 -
1831 -(((
1832 -AT+RX1DL: Get or Set the delay between the end of the Tx and the Rx Window 1 in ms
1833 -)))
1834 -
1835 -(((
1836 -AT+RX2DL: Get or Set the delay between the end of the Tx and the Rx Window 2 in ms
1837 -)))
1838 -
1839 -(((
1840 -AT+JN1DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 1 in ms
1841 -)))
1842 -
1843 -(((
1844 -AT+JN2DL: Get or Set the Join Accept Delay between the end of the Tx and the Join Rx Window 2 in ms
1845 -)))
1846 -
1847 -(((
1848 -AT+NJM:  Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1849 -)))
1850 -
1851 -(((
1852 -AT+NWKID: Get or Set the Network ID
1853 -)))
1854 -
1855 -(((
1856 -AT+FCU: Get or Set the Frame Counter Uplink
1857 -)))
1858 -
1859 -(((
1860 -AT+FCD: Get or Set the Frame Counter Downlink
1861 -)))
1862 -
1863 -(((
1864 -AT+CLASS: Get or Set the Device Class
1865 -)))
1866 -
1867 -(((
1868 -AT+JOIN: Join network
1869 -)))
1870 -
1871 -(((
1872 -AT+NJS: Get OTAA Join Status
1873 -)))
1874 -
1875 -(((
1876 -AT+SENDB: Send hexadecimal data along with the application port
1877 -)))
1878 -
1879 -(((
1880 -AT+SEND: Send text data along with the application port
1881 -)))
1882 -
1883 -(((
1884 -AT+RECVB: Print last received data in binary format (with hexadecimal values)
1885 -)))
1886 -
1887 -(((
1888 -AT+RECV: Print last received data in raw format
1889 -)))
1890 -
1891 -(((
1892 -AT+VER:  Get current image version and Frequency Band
1893 -)))
1894 -
1895 -(((
1896 -AT+CFM: Get or Set the confirmation mode (0-1)
1897 -)))
1898 -
1899 -(((
1900 -AT+CFS:  Get confirmation status of the last AT+SEND (0-1)
1901 -)))
1902 -
1903 -(((
1904 -AT+SNR: Get the SNR of the last received packet
1905 -)))
1906 -
1907 -(((
1908 -AT+RSSI: Get the RSSI of the last received packet
1909 -)))
1910 -
1911 -(((
1912 -AT+TDC: Get or set the application data transmission interval in ms
1913 -)))
1914 -
1915 -(((
1916 -AT+PORT: Get or set the application port
1917 -)))
1918 -
1919 -(((
1920 -AT+DISAT: Disable AT commands
1921 -)))
1922 -
1923 -(((
1924 -AT+PWORD: Set password, max 9 digits
1925 -)))
1926 -
1927 -(((
1928 -AT+CHS: Get or Set Frequency (Unit: Hz) for Single Channel Mode
1929 -)))
1930 -
1931 -(((
1932 -AT+CHE: Get or Set eight channels mode, Only for US915, AU915, CN470
1933 -)))
1934 -
1935 -(((
1936 -AT+CFG: Print all settings
1937 -)))
1938 -
1939 -
1940 1940  == 4.2 Common AT Command Sequence ==
1941 1941  
1942 1942  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
... ... @@ -1945,41 +1945,41 @@
1945 1945  
1946 1946  
1947 1947  (((
1948 -(% style="color:blue" %)**If device has not joined network yet:**
1830 +(% style="color:blue" %)**If the device has not joined the network yet:**
1949 1949  )))
1950 1950  )))
1951 1951  
1952 1952  (((
1953 -(% style="background-color:#dcdcdc" %)**123456**
1835 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1954 1954  )))
1955 1955  
1956 1956  (((
1957 -(% style="background-color:#dcdcdc" %)**AT+FDR**
1839 +(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/reset parameters to factory default, reserve keys**##
1958 1958  )))
1959 1959  
1960 1960  (((
1961 -(% style="background-color:#dcdcdc" %)**123456**
1843 +(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1962 1962  )))
1963 1963  
1964 1964  (((
1965 -(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1847 +(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/set to ABP mode**##
1966 1966  )))
1967 1967  
1968 1968  (((
1969 -(% style="background-color:#dcdcdc" %)**ATZ**
1851 +(% style="background-color:#dcdcdc" %)##**ATZ ~/~/reset MCU**##
1970 1970  )))
1971 1971  
1972 1972  
1973 1973  (((
1974 -(% style="color:blue" %)**If device already joined network:**
1856 +(% style="color:blue" %)**If the device has already joined the network:**
1975 1975  )))
1976 1976  
1977 1977  (((
1978 -(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1860 +(% style="background-color:#dcdcdc" %)##**AT+NJM=0**##
1979 1979  )))
1980 1980  
1981 1981  (((
1982 -(% style="background-color:#dcdcdc" %)**ATZ**
1864 +(% style="background-color:#dcdcdc" %)##**ATZ**##
1983 1983  )))
1984 1984  
1985 1985  
... ... @@ -2085,29 +2085,42 @@
2085 2085  
2086 2086  = 6. FAQ =
2087 2087  
2088 -== 6.1 How to upgrade the image? ==
1970 +This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly.
2089 2089  
1972 +== 6.1 How to update the firmware? ==
2090 2090  
2091 -The LT-22222-L I/O Controller is shipped with a 3.5mm cable, which is used to upload an image to LT in order to:
1974 +Dragino frequently releases firmware updates for the LT-22222-L.
2092 2092  
2093 -* Support new features.
2094 -* Fix bugs.
2095 -* Change LoRaWAN bands.
1976 +Updating your LT-22222-L with the latest firmware version helps to:
2096 2096  
2097 -Below is the hardware connection setup for uploading an image to the LT:
1978 +* Support new features
1979 +* Fix bugs
1980 +* Change LoRaWAN frequency bands
2098 2098  
1982 +You will need the following things before proceeding:
1983 +
1984 +* 3.5mm programming cable (included with the LT-22222-L as an additional accessory)
1985 +* USB to TTL adapter
1986 +* Download and install the [[STM32 Flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]]. (replaced by STM32CubeProgrammer)
1987 +* Download the latest firmware image from [[LT-22222-L firmware image files>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AACrbrDN0AqLHbBat0ViWx5Da/LT-22222-L/Firmware?dl=0&subfolder_nav_tracking=1]]. Check the file name of the firmware to find the correct region.
1988 +
1989 +{{info}}
1990 +As of this writing, the latest firmware version available for the LT-22222-L is v1.6.1.
1991 +{{/info}}
1992 +
1993 +Below is the hardware setup for uploading a firmware image to the LT-22222-L:
1994 +
1995 +
2099 2099  [[image:1653359603330-121.png]]
2100 2100  
2101 2101  
2102 -(((
2103 -(% style="color:#0000ff" %)**Step 1**(%%)**:** Download the F[[lash Loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
2104 -(% style="color:#0000ff" %)**Step 2**(%%)**:** Download the [[LT Image files>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AACrbrDN0AqLHbBat0ViWx5Da/LT-22222-L/Firmware?dl=0&subfolder_nav_tracking=1]].
2105 -(% style="color:#0000ff" %)**Step 3**(%%)**:** Open the Flash Loader and choose the correct COM port to update.
2106 -
1999 +Start the STM32 Flash Loader and choose the correct COM port to update.
2107 2107  
2108 2108  (((
2002 +(((
2109 2109  (% style="color:blue" %)**For LT-22222-L**(%%):
2110 -Hold down the PRO button, then momentarily press the RST reset button. The (% style="color:red" %)**DO1 LED**(%%) will change from OFF to ON. When the (% style="color:red" %)**DO1 LED**(%%) is ON, it indicates that the device is in download mode.
2004 +
2005 +Hold down the **PRO** button, then briefly press the **RST** button. The **DO1** LED will change from OFF to ON. When the **DO1** LED is ON, it indicates that the device is in firmware download mode.
2111 2111  )))
2112 2112  
2113 2113  
... ... @@ -2129,7 +2129,7 @@
2129 2129  
2130 2130  (((
2131 2131  (((
2132 -== 6.2 How to change the LoRa Frequency Bands/Region? ==
2027 +== 6.2 How to change the LoRaWAN frequency band/region? ==
2133 2133  
2134 2134  
2135 2135  )))
... ... @@ -2142,7 +2142,7 @@
2142 2142  (((
2143 2143  
2144 2144  
2145 -== 6.3 How to set up LT to work with a Single Channel Gateway, such as LG01/LG02? ==
2040 +== 6.3 How to setup LT to work with a Single Channel Gateway, such as LG01/LG02? ==
2146 2146  
2147 2147  
2148 2148  )))
... ... @@ -2219,61 +2219,55 @@
2219 2219  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/]]
2220 2220  
2221 2221  
2222 -== 6.5 Can I see the counting event in Serial? ==
2117 +== 6.5 Can I see the counting event in the serial output? ==
2223 2223  
2224 2224  
2225 2225  (((
2226 -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.
2121 +You can run the AT command AT+DEBUG to view the counting event in the serial output. If the firmware is too old and doesnt support AT+DEBUG, update to the latest firmware first.
2227 2227  
2228 2228  
2229 2229  == 6.6 Can I use point-to-point communication with LT-22222-L? ==
2230 2230  
2231 2231  
2232 -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]].
2233 -
2234 -
2127 +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]].
2235 2235  )))
2236 2236  
2237 2237  (((
2238 -== 6.7 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2131 +== 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? ==
2239 2239  
2240 2240  
2241 -If the device is not shut down, but directly powered off.
2134 +* If the device is not properly shut down and is directly powered off.
2135 +* It will default to a power-off state.
2136 +* In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory.
2137 +* After a restart, the status before the power failure will be read from flash.
2242 2242  
2243 -It will default that this is a power-off state.
2139 +== 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? ==
2244 2244  
2245 -In modes 2 to 5, DO RO status and pulse count are saved in flash.
2246 2246  
2247 -After restart, the status before power failure will be read from flash.
2142 +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:
2248 2248  
2249 2249  
2250 -== 6.8 Can i set up LT-22222-L as a NC(Normal Close) Relay? ==
2251 -
2252 -
2253 -LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below:
2254 -
2255 -
2256 2256  [[image:image-20221006170630-1.png||height="610" width="945"]]
2257 2257  
2258 2258  
2259 -== 6.9 Can LT22222-L save RO state? ==
2148 +== 6.9 Can the LT-22222-L save the RO state? ==
2260 2260  
2261 2261  
2262 -Firmware version needs to be no less than 1.6.0.
2151 +The firmware version must be at least 1.6.0.
2263 2263  
2264 2264  
2265 -== 6.10 Why does the LT22222 always report 15.585V when measuring AVI? ==
2154 +== 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? ==
2266 2266  
2267 2267  
2268 -It is likely that the GND is not connected during the measurement, or the wire connected to the GND is loose.
2157 +It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose.
2269 2269  
2270 2270  
2271 -= 7. Trouble Shooting =
2160 += 7. Troubleshooting =
2272 2272  )))
2273 2273  
2274 2274  (((
2275 2275  (((
2276 -== 7.1 Downlink doesn't work, how to solve it? ==
2165 +== 7.1 Downlink isn't working. How can I solve this? ==
2277 2277  
2278 2278  
2279 2279  )))
... ... @@ -2280,42 +2280,42 @@
2280 2280  )))
2281 2281  
2282 2282  (((
2283 -Please see this link for how to debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]]
2172 +Please refer to this link for debugging instructions: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]]
2284 2284  )))
2285 2285  
2286 2286  (((
2287 2287  
2288 2288  
2289 -== 7.2 Have trouble to upload image. ==
2178 +== 7.2 Having trouble uploading an image? ==
2290 2290  
2291 2291  
2292 2292  )))
2293 2293  
2294 2294  (((
2295 -See this link for trouble shooting: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
2184 +Please refer to this link for troubleshooting: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
2296 2296  )))
2297 2297  
2298 2298  (((
2299 2299  
2300 2300  
2301 -== 7.3 Why I can't join TTN in US915 /AU915 bands? ==
2190 +== 7.3 Why can't I join TTN in the US915 /AU915 bands? ==
2302 2302  
2303 2303  
2304 2304  )))
2305 2305  
2306 2306  (((
2307 -It might be about the channels mapping. [[Please see this link for detail>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
2196 +It might be related to the channel mapping. [[Please refer to this link for details.>>https://github.com/dragino/LT-22222-L/releases]]
2308 2308  )))
2309 2309  
2310 2310  
2311 -== 7.4 Why can LT22222 perform Uplink normally, but cannot receive Downlink? ==
2200 +== 7.4 Why can the LT-22222-L perform Uplink normally, but cannot receive Downlink? ==
2312 2312  
2313 2313  
2314 -The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue state.
2315 -Use this command to bring their counts back together: [[Resets the downlink packet count>>||anchor="H3.4.2.23Resetsthedownlinkpacketcount"]]
2203 +The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue.
2204 +Use this command to synchronize their counts: [[Resets the downlink packet count>>||anchor="H3.4.2.23Resetsthedownlinkpacketcount"]]
2316 2316  
2317 2317  
2318 -= 8. Order Info =
2207 += 8. Ordering information =
2319 2319  
2320 2320  
2321 2321  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
... ... @@ -2322,43 +2322,42 @@
2322 2322  
2323 2323  (% style="color:#4f81bd" %)**XXX:**
2324 2324  
2325 -* (% style="color:red" %)**EU433**(%%):  LT with frequency bands EU433
2326 -* (% style="color:red" %)**EU868**(%%):  LT with frequency bands EU868
2327 -* (% style="color:red" %)**KR920**(%%):  LT with frequency bands KR920
2328 -* (% style="color:red" %)**CN470**(%%):  LT with frequency bands CN470
2329 -* (% style="color:red" %)**AS923**(%%):  LT with frequency bands AS923
2330 -* (% style="color:red" %)**AU915**(%%):  LT with frequency bands AU915
2331 -* (% style="color:red" %)**US915**(%%):  LT with frequency bands US915
2332 -* (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
2333 -* (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
2214 +* (% style="color:red" %)**EU433**(%%): LT with frequency bands EU433
2215 +* (% style="color:red" %)**EU868**(%%): LT with frequency bands EU868
2216 +* (% style="color:red" %)**KR920**(%%): LT with frequency bands KR920
2217 +* (% style="color:red" %)**CN470**(%%): LT with frequency bands CN470
2218 +* (% style="color:red" %)**AS923**(%%): LT with frequency bands AS923
2219 +* (% style="color:red" %)**AU915**(%%): LT with frequency bands AU915
2220 +* (% style="color:red" %)**US915**(%%): LT with frequency bands US915
2221 +* (% style="color:red" %)**IN865**(%%): LT with frequency bands IN865
2222 +* (% style="color:red" %)**CN779**(%%): LT with frequency bands CN779
2334 2334  
2335 -= 9. Packing Info =
2224 += 9. Packing information =
2336 2336  
2337 2337  
2338 -**Package Includes**:
2227 +**Package includes**:
2339 2339  
2340 2340  * LT-22222-L I/O Controller x 1
2341 2341  * Stick Antenna for LoRa RF part x 1
2342 2342  * Bracket for controller x1
2343 -* Program cable x 1
2232 +* 3.5mm Programming cable x 1
2344 2344  
2345 2345  **Dimension and weight**:
2346 2346  
2347 2347  * Device Size: 13.5 x 7 x 3 cm
2348 -* Device Weight: 105g
2237 +* Device Weight: 105 g
2349 2349  * Package Size / pcs : 14.5 x 8 x 5 cm
2350 -* Weight / pcs : 170g
2239 +* Weight / pcs : 170 g
2351 2351  
2352 2352  = 10. Support =
2353 2353  
2354 2354  
2355 2355  * (((
2356 -Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
2245 +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.
2357 2357  )))
2358 2358  * (((
2359 -Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[Support@dragino.cc>>mailto:Support@dragino.cc]]
2248 +Please provide as much information as possible regarding your inquiry (e.g., product models, a detailed description of the problem, steps to replicate it, etc.) and send an email to [[support@dragino.cc>>mailto:support@dragino.cc]]
2360 2360  
2361 -
2362 2362  
2363 2363  )))
2364 2364  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0