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

Summary

Details

Page properties
Content
... ... @@ -33,6 +33,8 @@
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 +
36 36  (((
37 37  You can connect the LT-22222-L I/O Controller to a LoRaWAN network service provider in several ways:
38 38  
... ... @@ -57,7 +57,7 @@
57 57  * SX1276/78 Wireless Chip 
58 58  * Power Consumption:
59 59  ** Idle: 4mA@12v
60 -** 20dB Transmit: 34mA@12V
62 +** 20dB Transmit: 34mA@12v
61 61  * Operating Temperature: -40 ~~ 85 Degrees, No Dew
62 62  
63 63  (% style="color:#037691" %)**Interface for Model: LT22222-L:**
... ... @@ -66,7 +66,7 @@
66 66  * 2 x Digital Output (NPN output. Max pull-up voltage 36V,450mA)
67 67  * 2 x Relay Output (5A@250VAC / 30VDC)
68 68  * 2 x 0~~20mA Analog Input (res:0.01mA)
69 -* 2 x 0~~30V Analog Input (res:0.01V)
71 +* 2 x 0~~30V Analog Input (res:0.01v)
70 70  * Power Input 7~~ 24V DC. 
71 71  
72 72  (% style="color:#037691" %)**LoRa Spec:**
... ... @@ -134,10 +134,10 @@
134 134  
135 135  * 1 x LT-22222-L I/O Controller
136 136  * 1 x LoRaWAN antenna matched to the frequency of the LT-22222-L
137 -* 1 x bracket for DIN rail mounting
139 +* 1 x bracket for wall mounting
138 138  * 1 x programming cable
139 139  
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.
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.
141 141  
142 142  == 2.2 Terminals ==
143 143  
... ... @@ -169,7 +169,7 @@
169 169  
170 170  == 2.3 Powering the LT-22222-L ==
171 171  
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.
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.
173 173  
174 174  
175 175  [[image:1653297104069-180.png]]
... ... @@ -181,13 +181,13 @@
181 181  
182 182  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.
183 183  
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.
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. 
185 185  
186 186  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.
187 187  
188 188  == 3.2 Registering with a LoRaWAN network server ==
189 189  
190 -The network diagram below shows how the LT-22222-L is connected to a typical LoRaWAN network.
192 +The diagram below shows how the LT-22222-L connects to a typical LoRaWAN network.
191 191  
192 192  [[image:image-20220523172350-1.png||height="266" width="864"]]
193 193  
... ... @@ -205,10 +205,8 @@
205 205  * Create an application if you do not have one yet.
206 206  * Register LT-22222-L with that application. Two registration options are available:
207 207  
208 -==== ====
210 +==== Using the LoRaWAN Device Repository: ====
209 209  
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,8 +217,7 @@
217 217  
218 218  [[image:lt-22222-l-dev-repo-reg-p1.png||height="625" width="1000"]]
219 219  
220 -
221 -* Page continued...
220 +*
222 222  ** Enter the **AppEUI** in the **JoinEUI** field and click the **Confirm** button.
223 223  ** Enter the **DevEUI** in the **DevEUI** field.
224 224  ** Enter the **AppKey** in the **AppKey** field.
... ... @@ -227,10 +227,8 @@
227 227  
228 228  [[image:lt-22222-l-dev-repo-reg-p2.png||height="625" width="1000"]]
229 229  
230 -==== ====
229 +==== Entering device information manually: ====
231 231  
232 -==== 3.2.2.2 Entering device information manually ====
233 -
234 234  * On the **Register end device** page:
235 235  ** Select the **Enter end device specifies manually** option as the input method.
236 236  ** Select the **Frequency plan** that matches your device.
... ... @@ -243,13 +243,12 @@
243 243  [[image:lt-22222-l-manually-p1.png||height="625" width="1000"]]
244 244  
245 245  
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.
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.
253 253  
254 254  [[image:lt-22222-l-manually-p2.png||height="625" width="1000"]]
255 255  
... ... @@ -256,24 +256,18 @@
256 256  
257 257  You will be navigated to the **Device overview** page.
258 258  
259 -
260 260  [[image:lt-22222-device-overview.png||height="625" width="1000"]]
261 261  
262 262  
263 -==== 3.2.2.3 Joining ====
258 +==== Joining ====
264 264  
265 -Click on **Live data** in the left navigation. The Live data panel for your application will display.
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.
266 266  
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 -
270 270  [[image:lt-22222-join-network.png||height="625" width="1000"]]
271 271  
272 272  
273 -By default, you will receive an uplink data message every 10 minutes.
265 +Click on a message with the messge type, **Forward uplink data message**. You can see the  decoded uplink payload as shown below.
274 274  
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 -
277 277  [[image:lt-22222-ul-payload-decoded.png]]
278 278  
279 279  
... ... @@ -285,7 +285,7 @@
285 285  == 3.3 Work Modes and their Uplink Payload formats ==
286 286  
287 287  
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.
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.
289 289  
290 290  * (% style="color:blue" %)**MOD1**(%%): (default mode/factory set): 2ACI + 2AVI + DI + DO + RO
291 291  
... ... @@ -299,15 +299,11 @@
299 299  
300 300  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
301 301  
302 -The uplink messages are sent over LoRaWAN FPort 2. By default, an uplink message is sent every 10 minutes.
303 -
304 304  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
305 305  
306 306  (((
307 -This is the default mode.
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" %)
308 308  
309 -The uplink payload is 11 bytes long. (% style="display:none" wfd-invisible="true" %)
310 -
311 311  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
312 312  |(% 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**
313 313  |Value|(((
... ... @@ -354,13 +354,13 @@
354 354  
355 355  * [1] The RO1 relay channel is CLOSED, and the RO1 LED is ON.
356 356  * [0] The RO2 relay channel is OPEN, and the RO2 LED is OFF.
357 -* **[1] DI3 - not used for LT-22222-L.**
343 +* [1] DI3 - not used for LT-22222-L.
358 358  * [0] DI2 channel input is LOW, and the DI2 LED is OFF.
359 359  * [1] DI1 channel input state:
360 360  ** DI1 is FLOATING when no sensor is connected between DI1+ and DI1-.
361 361  ** DI1 is HIGH when a sensor is connected between DI1- and DI1+ and the sensor is ACTIVE.
362 362  ** DI1 LED is ON in both cases.
363 -* **[0] DO3 - not used for LT-22222-L.**
349 +* [0] DO3 - not used for LT-22222-L.
364 364  * [1] DO2 channel output is LOW, and the DO2 LED is ON.
365 365  * [0] DO1 channel output state:
366 366  ** DO1 is FLOATING when there is no load between DO1 and V+.
... ... @@ -385,7 +385,7 @@
385 385  )))
386 386  
387 387  (((
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.
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.
389 389  
390 390  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
391 391  |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
... ... @@ -1485,7 +1485,7 @@
1485 1485  
1486 1486  * Click on the **Events **tab.
1487 1487  * Select **Debug **from the **Event type** dropdown.
1488 -* Select the** time frame** from the **time window**.
1474 +* Select the** time frame** from the **time window**.
1489 1489  
1490 1490  [insert image]
1491 1491  
... ... @@ -1741,14 +1741,13 @@
1741 1741  |**RO1**|For LT-22222-L: ON when RO1 is closed, OFF when RO1 is open
1742 1742  |**RO2**|For LT-22222-L: ON when RO2 is closed, OFF when RO2 is open
1743 1743  
1744 -= 4. Using AT Commands =
1730 += 4. Using AT Command =
1745 1745  
1746 -The LT-22222-L supports programming using AT Commands.
1732 +== 4.1 Connecting the LT-22222-L to a computer ==
1747 1747  
1748 -== 4.1 Connecting the LT-22222-L to a PC ==
1749 1749  
1750 1750  (((
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.
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.
1752 1752  )))
1753 1753  
1754 1754  [[image:1653358238933-385.png]]
... ... @@ -1755,7 +1755,7 @@
1755 1755  
1756 1756  
1757 1757  (((
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:
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:
1759 1759  )))
1760 1760  
1761 1761  [[image:1653358355238-883.png]]
... ... @@ -1763,62 +1763,195 @@
1763 1763  
1764 1764  (((
1765 1765  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 +)))
1766 1766  
1767 -== 4.2 LT-22222-L related AT commands ==
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>
1768 1768  )))
1769 1769  
1770 1770  (((
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.
1760 +AT+<CMD>         : Run <CMD>
1761 +)))
1772 1772  
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
1763 +(((
1764 +AT+<CMD>=<value> : Set the value
1819 1819  )))
1820 1820  
1767 +(((
1768 +AT+<CMD>=?       :  Get the value
1769 +)))
1821 1821  
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 +
1822 1822  == 4.2 Common AT Command Sequence ==
1823 1823  
1824 1824  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
... ... @@ -1827,41 +1827,41 @@
1827 1827  
1828 1828  
1829 1829  (((
1830 -(% style="color:blue" %)**If the device has not joined the network yet:**
1948 +(% style="color:blue" %)**If device has not joined network yet:**
1831 1831  )))
1832 1832  )))
1833 1833  
1834 1834  (((
1835 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1953 +(% style="background-color:#dcdcdc" %)**123456**
1836 1836  )))
1837 1837  
1838 1838  (((
1839 -(% style="background-color:#dcdcdc" %)##**AT+FDR ~/~/reset parameters to factory default, reserve keys**##
1957 +(% style="background-color:#dcdcdc" %)**AT+FDR**
1840 1840  )))
1841 1841  
1842 1842  (((
1843 -(% style="background-color:#dcdcdc" %)##**123456 ~/~/enable AT commands access**##
1961 +(% style="background-color:#dcdcdc" %)**123456**
1844 1844  )))
1845 1845  
1846 1846  (((
1847 -(% style="background-color:#dcdcdc" %)##**AT+NJM=0 ~/~/set to ABP mode**##
1965 +(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1848 1848  )))
1849 1849  
1850 1850  (((
1851 -(% style="background-color:#dcdcdc" %)##**ATZ ~/~/reset MCU**##
1969 +(% style="background-color:#dcdcdc" %)**ATZ**
1852 1852  )))
1853 1853  
1854 1854  
1855 1855  (((
1856 -(% style="color:blue" %)**If the device has already joined the network:**
1974 +(% style="color:blue" %)**If device already joined network:**
1857 1857  )))
1858 1858  
1859 1859  (((
1860 -(% style="background-color:#dcdcdc" %)##**AT+NJM=0**##
1978 +(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1861 1861  )))
1862 1862  
1863 1863  (((
1864 -(% style="background-color:#dcdcdc" %)##**ATZ**##
1982 +(% style="background-color:#dcdcdc" %)**ATZ**
1865 1865  )))
1866 1866  
1867 1867  
... ... @@ -1967,42 +1967,29 @@
1967 1967  
1968 1968  = 6. FAQ =
1969 1969  
1970 -This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly.
2088 +== 6.1 How to upgrade the image? ==
1971 1971  
1972 -== 6.1 How to update the firmware? ==
1973 1973  
1974 -Dragino frequently releases firmware updates for the LT-22222-L.
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:
1975 1975  
1976 -Updating your LT-22222-L with the latest firmware version helps to:
2093 +* Support new features.
2094 +* Fix bugs.
2095 +* Change LoRaWAN bands.
1977 1977  
1978 -* Support new features
1979 -* Fix bugs
1980 -* Change LoRaWAN frequency bands
2097 +Below is the hardware connection setup for uploading an image to the LT:
1981 1981  
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 -
1996 1996  [[image:1653359603330-121.png]]
1997 1997  
1998 1998  
1999 -Start the STM32 Flash Loader and choose the correct COM port to update.
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 +
2000 2000  
2001 2001  (((
2002 -(((
2003 2003  (% style="color:blue" %)**For LT-22222-L**(%%):
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.
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.
2006 2006  )))
2007 2007  
2008 2008  
... ... @@ -2024,7 +2024,7 @@
2024 2024  
2025 2025  (((
2026 2026  (((
2027 -== 6.2 How to change the LoRaWAN frequency band/region? ==
2132 +== 6.2 How to change the LoRa Frequency Bands/Region? ==
2028 2028  
2029 2029  
2030 2030  )))
... ... @@ -2037,7 +2037,7 @@
2037 2037  (((
2038 2038  
2039 2039  
2040 -== 6.3 How to setup LT to work with a Single Channel Gateway, such as LG01/LG02? ==
2145 +== 6.3 How to set up LT to work with a Single Channel Gateway, such as LG01/LG02? ==
2041 2041  
2042 2042  
2043 2043  )))
... ... @@ -2114,55 +2114,61 @@
2114 2114  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/]]
2115 2115  
2116 2116  
2117 -== 6.5 Can I see the counting event in the serial output? ==
2222 +== 6.5 Can I see the counting event in Serial? ==
2118 2118  
2119 2119  
2120 2120  (((
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.
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.
2122 2122  
2123 2123  
2124 2124  == 6.6 Can I use point-to-point communication with LT-22222-L? ==
2125 2125  
2126 2126  
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]].
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 +
2128 2128  )))
2129 2129  
2130 2130  (((
2131 -== 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? ==
2238 +== 6.7 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2132 2132  
2133 2133  
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.
2241 +If the device is not shut down, but directly powered off.
2138 2138  
2139 -== 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? ==
2243 +It will default that this is a power-off state.
2140 2140  
2245 +In modes 2 to 5, DO RO status and pulse count are saved in flash.
2141 2141  
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:
2247 +After restart, the status before power failure will be read from flash.
2143 2143  
2144 2144  
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 +
2145 2145  [[image:image-20221006170630-1.png||height="610" width="945"]]
2146 2146  
2147 2147  
2148 -== 6.9 Can the LT-22222-L save the RO state? ==
2259 +== 6.9 Can LT22222-L save RO state? ==
2149 2149  
2150 2150  
2151 -The firmware version must be at least 1.6.0.
2262 +Firmware version needs to be no less than 1.6.0.
2152 2152  
2153 2153  
2154 -== 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? ==
2265 +== 6.10 Why does the LT22222 always report 15.585V when measuring AVI? ==
2155 2155  
2156 2156  
2157 -It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose.
2268 +It is likely that the GND is not connected during the measurement, or the wire connected to the GND is loose.
2158 2158  
2159 2159  
2160 -= 7. Troubleshooting =
2271 += 7. Trouble Shooting =
2161 2161  )))
2162 2162  
2163 2163  (((
2164 2164  (((
2165 -== 7.1 Downlink isn't working. How can I solve this? ==
2276 +== 7.1 Downlink doesn't work, how to solve it? ==
2166 2166  
2167 2167  
2168 2168  )))
... ... @@ -2169,42 +2169,42 @@
2169 2169  )))
2170 2170  
2171 2171  (((
2172 -Please refer to this link for debugging instructions: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]]
2283 +Please see this link for how to debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]]
2173 2173  )))
2174 2174  
2175 2175  (((
2176 2176  
2177 2177  
2178 -== 7.2 Having trouble uploading an image? ==
2289 +== 7.2 Have trouble to upload image. ==
2179 2179  
2180 2180  
2181 2181  )))
2182 2182  
2183 2183  (((
2184 -Please refer to this link for troubleshooting: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
2295 +See this link for trouble shooting: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
2185 2185  )))
2186 2186  
2187 2187  (((
2188 2188  
2189 2189  
2190 -== 7.3 Why can't I join TTN in the US915 /AU915 bands? ==
2301 +== 7.3 Why I can't join TTN in US915 /AU915 bands? ==
2191 2191  
2192 2192  
2193 2193  )))
2194 2194  
2195 2195  (((
2196 -It might be related to the channel mapping. [[Please refer to this link for details.>>https://github.com/dragino/LT-22222-L/releases]]
2307 +It might be about the channels mapping. [[Please see this link for detail>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
2197 2197  )))
2198 2198  
2199 2199  
2200 -== 7.4 Why can the LT-22222-L perform Uplink normally, but cannot receive Downlink? ==
2311 +== 7.4 Why can LT22222 perform Uplink normally, but cannot receive Downlink? ==
2201 2201  
2202 2202  
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"]]
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"]]
2205 2205  
2206 2206  
2207 -= 8. Ordering information =
2318 += 8. Order Info =
2208 2208  
2209 2209  
2210 2210  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
... ... @@ -2211,42 +2211,43 @@
2211 2211  
2212 2212  (% style="color:#4f81bd" %)**XXX:**
2213 2213  
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
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
2223 2223  
2224 -= 9. Packing information =
2335 += 9. Packing Info =
2225 2225  
2226 2226  
2227 -**Package includes**:
2338 +**Package Includes**:
2228 2228  
2229 2229  * LT-22222-L I/O Controller x 1
2230 2230  * Stick Antenna for LoRa RF part x 1
2231 2231  * Bracket for controller x1
2232 -* 3.5mm Programming cable x 1
2343 +* Program cable x 1
2233 2233  
2234 2234  **Dimension and weight**:
2235 2235  
2236 2236  * Device Size: 13.5 x 7 x 3 cm
2237 -* Device Weight: 105 g
2348 +* Device Weight: 105g
2238 2238  * Package Size / pcs : 14.5 x 8 x 5 cm
2239 -* Weight / pcs : 170 g
2350 +* Weight / pcs : 170g
2240 2240  
2241 2241  = 10. Support =
2242 2242  
2243 2243  
2244 2244  * (((
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.
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.
2246 2246  )))
2247 2247  * (((
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]]
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]]
2249 2249  
2361 +
2250 2250  
2251 2251  )))
2252 2252  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0