<
From version < 206.1 >
edited by Dilisi S
on 2024/11/20 05:04
To version < 201.1 >
edited by Dilisi S
on 2024/11/19 06:06
>
Change comment: Nov 18 - AT Commands edit

Summary

Details

Page properties
Content
... ... @@ -27,7 +27,7 @@
27 27  **This manual is also applicable to the LT-33222-L.**
28 28  {{/info}}
29 29  
30 -The Dragino (% style="color:blue" %)**LT-22222-L I/O Controller**(%%) is an advanced LoRaWAN end device designed to provide seamless wireless long-range connectivity with various I/O options, including analog current and voltage inputs, digital inputs and outputs, and relay outputs.
30 +The Dragino (% style="color:blue" %)**LT-22222-L I/O Controller**(%%) is an advanced LoRaWAN device designed to provide seamless wireless long-range connectivity with various I/O options, including analog current and voltage inputs, digital inputs and outputs, and relay outputs.
31 31  
32 32  The LT-22222-L I/O Controller simplifies and enhances I/O monitoring and controlling. It is ideal for professional applications in wireless sensor networks, including irrigation systems, smart metering, smart cities, building automation, and more. These controllers are designed for easy, cost-effective deployment using LoRa wireless technology.
33 33  )))
... ... @@ -40,7 +40,7 @@
40 40  (((
41 41  You can connect the LT-22222-L I/O Controller to a LoRaWAN network service provider in several ways:
42 42  
43 -* If there is public LoRaWAN network coverage in the area where you plan to install the device (e.g., The Things Stack Community Network), you can select a network and register the LT-22222-L I/O controller with it.
43 +* If there is public LoRaWAN network coverage in the area where you plan to install the device (e.g., The Things Network), you can select a network and register the LT-22222-L I/O controller with it.
44 44  * 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.
45 45  * Setup your own private LoRaWAN network.
46 46  
... ... @@ -50,14 +50,11 @@
50 50  )))
51 51  
52 52  (((
53 -
53 +[[image:1653295757274-912.png]]
54 54  
55 -The network diagram below shows how the LT-22222-L is connected to a typical LoRaWAN network.
55 +
56 56  )))
57 57  
58 -(% class="wikigeneratedid" %)
59 -[[image:lorawan-nw.jpg||height="354" width="900"]]
60 -
61 61  == 1.2 Specifications ==
62 62  
63 63  (% style="color:#037691" %)**Hardware System:**
... ... @@ -123,7 +123,7 @@
123 123  (% style="width:524px" %)
124 124  |(% style="width:94px" %)**Model**|(% style="width:98px" %)**Photo**|(% style="width:329px" %)**Description**
125 125  |(% style="width:94px" %)**LT33222-L**|(% style="width:98px" %)(((
126 -
123 +[[image:/xwiki/bin/downloadrev/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20230424115112-1.png?rev=1.1&width=58&height=106||alt="image-20230424115112-1.png" height="106" width="58"]]
127 127  )))|(% style="width:329px" %)(((
128 128  * 2 x Digital Input (Bi-direction)
129 129  * 2 x Digital Output
... ... @@ -133,6 +133,8 @@
133 133  * 1 x Counting Port
134 134  )))
135 135  
133 +
134 +
136 136  == 2. Assembling the device ==
137 137  
138 138  == 2.1 Connecting the antenna ==
... ... @@ -173,12 +173,14 @@
173 173  |(% style="width:296px" %)DO2|(% style="width:334px" %)Digital Output 2
174 174  |(% style="width:296px" %)DO1|(% style="width:334px" %)Digital Output 1
175 175  
176 -== 2.3 Connecting LT-22222-L to a Power Source ==
175 +== 2.3 Powering the device ==
177 177  
178 -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.
177 +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.
179 179  
179 +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.
180 +
180 180  {{warning}}
181 -**We recommend that you power on the LT-22222-L after configuring its registration information with a LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail.**
182 +We recommend that you power on the LT-22222-L after configuring its registration information with a LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail.
182 182  {{/warning}}
183 183  
184 184  
... ... @@ -185,49 +185,37 @@
185 185  [[image:1653297104069-180.png]]
186 186  
187 187  
188 -= 3. Registering LT-22222-L with a LoRaWAN Network Server =
189 += 3. Registering with a LoRaWAN Network Server =
189 189  
190 -The LT-22222-L supports both OTAA (Over-the-Air Activation) and ABP (Activation By Personalization) methods to activate with a LoRaWAN Network Server. However, OTAA is the most secure method for activating a device with a LoRaWAN Network Server. OTAA regenerates session keys upon initial registration and regenerates new session keys after any subsequent reboots. By default, the LT-22222-L is configured to operate in LoRaWAN Class C mode.
191 +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.
191 191  
193 +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 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.
192 192  
195 +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.
196 +
197 +The network diagram below shows how the LT-22222-L is connected to a typical LoRaWAN network.
198 +
199 +[[image:image-20220523172350-1.png||height="266" width="864"]]
200 +
193 193  === 3.2.1 Prerequisites ===
194 194  
195 -The LT-22222-L comes with device registration information such as DevEUI, AppEUI, and AppKey that allows you to register it with a LoRaWAN network. These registration information can be found on a sticker that can be found inside the package. Please keep the **registration information** sticker in a safe place for future reference.
203 +Make sure you have the device registration information such as DevEUI, AppEUI, and AppKey with you. The registration information can be found on a sticker that can be found inside the package. Please keep the **registration information** sticker in a safe place for future reference.
196 196  
197 197  [[image:image-20230425173427-2.png||height="246" width="530"]]
198 198  
199 -{{info}}
200 -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.
201 -{{/info}}
202 -
203 203  The following subsections explain how to register the LT-22222-L with different LoRaWAN network server providers.
204 204  
205 -=== 3.2.2 The Things Stack ===
209 +=== 3.2.2 The Things Stack Sandbox (TTSS) ===
206 206  
207 -This section guides you through how to register your LT-22222-L with The Things Stack Sandbox.
208 -
209 -{{info}}
210 210  The Things Stack Sandbox was formally called The Things Stack Community Edition.
211 -{{/info}}
212 212  
213 -
214 -The network diagram below illustrates the connection between the LT-22222-L and The Things Stack, as well as how the data can be integrated with the ThingsEye IoT platform.
215 -
216 -[[image:dragino-ttn-te.jpg]]
217 -
218 -
219 -
220 -==== 3.2.2.1 Setting up ====
221 -
222 -* Sign up for a free account with [[The Things Stack Sandbox>>https://eu1.cloud.thethings.network]] if you do not have one yet.
223 -* Log in to your The Things Stack Sandbox account.
224 -* Create an **application** with The Things Stack if you do not have one yet (E.g., dragino-docs).
225 -* Go to your application's page and click on the **End devices** in the left menu.
213 +* Log in to your [[The Things Stack Sandbox>>https://eu1.cloud.thethings.network]] account.
214 +* Create an application with The Things Stack if you do not have one yet.
215 +* Go to your application page and click on the **End devices** in the left menu.
226 226  * On the End devices page, click on **+ Register end device**. Two registration options are available:
227 227  
218 +==== 3.2.2.1 Using the LoRaWAN Device Repository ====
228 228  
229 -==== 3.2.2.2 Using the LoRaWAN Device Repository ====
230 -
231 231  * On the **Register end device** page:
232 232  ** Select the option **Select the end device in the LoRaWAN Device Repository **under **Input method**.
233 233  ** Select the **End device brand**, **Model**, **Hardware version**, **Firmware version**, and **Profile (Region)** from the respective dropdown lists.
... ... @@ -252,7 +252,7 @@
252 252  
253 253  ==== ====
254 254  
255 -==== 3.2.2.3 Adding device manually ====
244 +==== 3.2.2.2 Adding device manually ====
256 256  
257 257  * On the **Register end device** page:
258 258  ** Select the option **Enter end device specifies manually** under **Input method**.
... ... @@ -267,7 +267,7 @@
267 267  
268 268  
269 269  * Register end device page continued...
270 -** Enter the **AppEUI** in the **JoinEUI** field and click the **Confirm** button. If The Things Stack accepts the JoinEUI you provided, it will display the message '//**This end device can be registered on the network**//'
259 +** Enter the **AppEUI** in the **JoinEUI** field and click the **Confirm** button. If The Things Stack accepts the JoinEUI you provided, it will display the message 'This end device can be registered on the network'
271 271  ** In the **DevEUI** field, enter the **DevEUI**.
272 272  ** In the **AppKey** field, enter the **AppKey**.
273 273  ** In the **End device ID** field, enter a unique name for your LT-22222-N within this application.
... ... @@ -283,21 +283,18 @@
283 283  [[image:lt-22222-device-overview.png||height="625" width="1000"]]
284 284  
285 285  
286 -==== 3.2.2.4 Joining ====
275 +==== 3.2.2.3 Joining ====
287 287  
288 288  On the Device overview page, click on **Live data** tab. The Live data panel for your device will display.
289 289  
290 -Now power on your LT-22222-L. 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 network server. The **TX LED** will be on for **5 seconds** after joining the network. In the **Live data** panel, you can see the **join-request** and **join-accept** messages exchanged between the device and the network server.
279 +Now power on your LT-22222-L. It will begin joining The Things Stack. 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**).
291 291  
292 292  
293 293  [[image:lt-22222-join-network.png||height="625" width="1000"]]
294 294  
295 295  
296 -==== 3.2.2.5 Uplinks ====
285 +By default, you will receive an uplink data message from the device every 10 minutes.
297 297  
298 -
299 -After successfully joining, the device will send its first **uplink data message** to the application it belongs to (in this example, **dragino-docs**). When the LT-22222-L sends an uplink message to the server, the **TX LED** turns on for **1 second**. By default, you will receive an uplink data message from the device every 10 minutes.
300 -
301 301  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.
302 302  
303 303  [[image:lt-22222-ul-payload-decoded.png]]
... ... @@ -312,11 +312,6 @@
312 312  [[image:lt-22222-ul-payload-fmt.png||height="686" width="1000"]]
313 313  
314 314  
315 -==== 3.2.2.6 Downlinks ====
316 -
317 -When the LT-22222-L receives a downlink message from the server, the **RX LED** turns on for **1 second**.
318 -
319 -
320 320  == 3.3 Working Modes and Uplink Payload formats ==
321 321  
322 322  
... ... @@ -1710,34 +1710,7 @@
1710 1710  )))
1711 1711  
1712 1712  
1713 -(% style="color:#037691" %)**AT Command**
1714 1714  
1715 -(% border="2" style="width:500px" %)
1716 -|(% style="width:124px" %)**Command**|(% style="width:374px" %)AT+COUTIME=<time>
1717 -|(% style="width:124px" %)**Response**|(% style="width:374px" %)
1718 -|(% style="width:124px" %)**Parameters**|(% style="width:374px" %)time : seconds (0 to 16777215)
1719 -|(% style="width:124px" %)**Example**|(% style="width:374px" %)(((
1720 -AT+COUTIME=60
1721 -
1722 -Sets the device to save its counting results to the memory every 60 seconds.
1723 -)))
1724 -
1725 -(% style="color:#037691" %)**Downlink Payload**
1726 -
1727 -(% border="2" style="width:500px" %)
1728 -|(% style="width:123px" %)**Payload**|(% style="width:375px" %)<prefix><time>
1729 -|(% style="width:123px" %)**Parameters**|(% style="width:375px" %)(((
1730 -prefix : A7
1731 -
1732 -time : seconds, 3 bytes in hexadecimal
1733 -)))
1734 -|(% style="width:123px" %)**Example**|(% style="width:375px" %)(((
1735 -A7 **00 00 3C**
1736 -
1737 -Sets the device to save its counting results to the memory every 60 seconds.
1738 -)))
1739 -
1740 -
1741 1741  ==== 3.4.2.20 Reset save RO DO state ====
1742 1742  
1743 1743  This feature allows you to reset the saved relay output (RO) and digital output (DO) states when the device joins the network. By configuring this setting, you can control whether the device should retain or reset the relay states after a reset and rejoin to the network.
... ... @@ -1754,49 +1754,7 @@
1754 1754  (% style="color:blue" %)**0x AD aa      ** (%%)~/~/ same as AT+RODORET =aa
1755 1755  
1756 1756  
1757 -(% border="2" style="width:500px" %)
1758 -|(% style="width:127px" %)**Command**|(% style="width:371px" %)AT+RODORESET=<state>
1759 -|(% style="width:127px" %)**Response**|(% style="width:371px" %)
1760 -|(% style="width:127px" %)**Parameters**|(% style="width:371px" %)(((
1761 -state :
1762 1762  
1763 -0 : RODO will close when the device joins the network. (default)
1764 -
1765 -1: After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network.
1766 -)))
1767 -|(% style="width:127px" %)**Example**|(% style="width:371px" %)(((
1768 -(% style="color:blue" %)**AT+RODORESET=1 **
1769 -
1770 -RODO will close when the device joins the network. (default)
1771 -
1772 -(% style="color:blue" %)**AT+RODORESET=0 **
1773 -
1774 -After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network.
1775 -)))
1776 -
1777 -
1778 -(% border="2" style="width:500px" %)
1779 -|(% style="width:127px" %)**Payload**|(% style="width:371px" %)<prefix><state>
1780 -|(% style="width:127px" %)**Parameters**|(% style="width:371px" %)(((
1781 -prefix : AD
1782 -
1783 -state :
1784 -
1785 -0 : RODO will close when the device joins the network. (default), represents as 1 byte in hexadecimal.
1786 -
1787 -1: After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network. - represents as 1 byte in hexadecimal
1788 -)))
1789 -|(% style="width:127px" %)**Example**|(% style="width:371px" %)(((
1790 -AD **01**
1791 -
1792 -RODO will close when the device joins the network. (default)
1793 -
1794 -AD **00**
1795 -
1796 -After the device is reset, the previously saved RODO state (limited to MOD2 to MOD5) is read, and it will not change when the device reconnects to the network.
1797 -)))
1798 -
1799 -
1800 1800  ==== 3.4.2.21 Encrypted payload ====
1801 1801  
1802 1802  This feature allows you to configure whether the device should upload data in an encrypted format or in plaintext. By default, the device encrypts the payload before uploading. You can toggle this setting to either upload encrypted data or transmit it without encryption.
dragino-ttn-te.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -273.8 KB
Content
lorawan-nw.jpg
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.pradeeka
Size
... ... @@ -1,1 +1,0 @@
1 -250.6 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0