Last modified by Mengting Qiu on 2025/06/04 18:42

From version 221.1
edited by Dilisi S
on 2024/11/25 02:01
Change comment: fix image
To version 230.16
edited by Xiaoling
on 2024/12/09 10:58
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.pradeeka
1 +XWiki.Xiaoling
Content
... ... @@ -21,6 +21,7 @@
21 21  
22 22  == 1.1 What is the LT-22222-L I/O Controller? ==
23 23  
24 +
24 24  (((
25 25  (((
26 26  {{info}}
... ... @@ -54,8 +54,10 @@
54 54  (% class="wikigeneratedid" %)
55 55  [[image:lorawan-nw.jpg||height="354" width="900"]]
56 56  
58 +
57 57  == 1.2 Specifications ==
58 58  
61 +
59 59  (% style="color:#037691" %)**Hardware System:**
60 60  
61 61  * STM32L072xxxx MCU
... ... @@ -97,6 +97,7 @@
97 97  
98 98  == 1.3 Features ==
99 99  
103 +
100 100  * LoRaWAN Class A & Class C modes
101 101  * Optional Customized LoRa Protocol
102 102  * Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
... ... @@ -107,6 +107,7 @@
107 107  
108 108  == 1.4 Applications ==
109 109  
114 +
110 110  * Smart buildings & home automation
111 111  * Logistics and supply chain management
112 112  * Smart metering
... ... @@ -116,11 +116,13 @@
116 116  
117 117  == 1.5 Hardware Variants ==
118 118  
119 -(% style="width:524px" %)
120 -|(% style="width:94px" %)**Model**|(% style="width:98px" %)**Photo**|(% style="width:329px" %)**Description**
121 -|(% style="width:94px" %)**LT33222-L**|(% style="width:98px" %)(((
122 -
123 -)))|(% style="width:329px" %)(((
124 +
125 +(% border="1" cellspacing="3" style="width:510px" %)
126 +|(% style="background-color:#4f81bd; color:white; width:94px" %)**Model**|(% style="background-color:#4f81bd; color:white; width:172px" %)**Photo**|(% style="background-color:#4f81bd; color:white; width:244px" %)**Description**
127 +|(% style="width:94px" %)**LT-22222-L**|(% style="width:172px" %)(((
128 +(% style="text-align:center" %)
129 +[[image:lt33222-l.jpg||height="110" width="95"]]
130 +)))|(% style="width:256px" %)(((
124 124  * 2 x Digital Input (Bi-direction)
125 125  * 2 x Digital Output
126 126  * 2 x Relay Output (5A@250VAC / 30VDC)
... ... @@ -133,6 +133,7 @@
133 133  
134 134  == 2.1 Connecting the antenna ==
135 135  
143 +
136 136  Connect the LoRa antenna to the antenna connector, **ANT**,** **located on the top right side of the device, next to the upper screw terminal block. Secure the antenna by tightening it clockwise.
137 137  
138 138  {{warning}}
... ... @@ -139,42 +139,46 @@
139 139  **Warning! Do not power on the device without connecting the antenna.**
140 140  {{/warning}}
141 141  
150 +
142 142  == 2.2 Terminals ==
143 143  
153 +
144 144  The  LT-22222-L has two screw terminal blocks. The upper screw treminal block has 6 screw terminals and the lower screw terminal block has 10 screw terminals.
145 145  
146 146  **Upper screw terminal block (from left to right):**
147 147  
148 -(% style="width:634px" %)
149 -|=(% style="width: 295px;" %)Screw Terminal|=(% style="width: 338px;" %)Function
150 -|(% style="width:295px" %)GND|(% style="width:338px" %)Ground
151 -|(% style="width:295px" %)VIN|(% style="width:338px" %)Input Voltage
152 -|(% style="width:295px" %)AVI2|(% style="width:338px" %)Analog Voltage Input Terminal 2
153 -|(% style="width:295px" %)AVI1|(% style="width:338px" %)Analog Voltage Input Terminal 1
154 -|(% style="width:295px" %)ACI2|(% style="width:338px" %)Analog Current Input Terminal 2
155 -|(% style="width:295px" %)ACI1|(% style="width:338px" %)Analog Current Input Terminal 1
158 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:381px" %)
159 +|=(% style="width: 139px;background-color:#4f81bd;color:white" %)Screw Terminal|=(% style="width: 242px;background-color:#4f81bd;color:white" %)Function
160 +|(% style="width:139px" %)GND|(% style="width:242px" %)Ground
161 +|(% style="width:139px" %)VIN|(% style="width:242px" %)Input Voltage
162 +|(% style="width:139px" %)AVI2|(% style="width:242px" %)Analog Voltage Input Terminal 2
163 +|(% style="width:139px" %)AVI1|(% style="width:242px" %)Analog Voltage Input Terminal 1
164 +|(% style="width:139px" %)ACI2|(% style="width:242px" %)Analog Current Input Terminal 2
165 +|(% style="width:139px" %)ACI1|(% style="width:242px" %)Analog Current Input Terminal 1
156 156  
157 157  **Lower screw terminal block (from left to right):**
158 158  
159 -(% style="width:633px" %)
160 -|=(% style="width: 296px;" %)Screw Terminal|=(% style="width: 334px;" %)Function
161 -|(% style="width:296px" %)RO1-2|(% style="width:334px" %)Relay Output 1
162 -|(% style="width:296px" %)RO1-1|(% style="width:334px" %)Relay Output 1
163 -|(% style="width:296px" %)RO2-2|(% style="width:334px" %)Relay Output 2
164 -|(% style="width:296px" %)RO2-1|(% style="width:334px" %)Relay Output 2
165 -|(% style="width:296px" %)DI2+|(% style="width:334px" %)Digital Input 2
166 -|(% style="width:296px" %)DI2-|(% style="width:334px" %)Digital Input 2
167 -|(% style="width:296px" %)DI1+|(% style="width:334px" %)Digital Input 1
168 -|(% style="width:296px" %)DI1-|(% style="width:334px" %)Digital Input 1
169 -|(% style="width:296px" %)DO2|(% style="width:334px" %)Digital Output 2
170 -|(% style="width:296px" %)DO1|(% style="width:334px" %)Digital Output 1
169 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:253px" %)
170 +|=(% style="width: 125px;background-color:#4f81bd;color:white" %)Screw Terminal|=(% style="width: 128px;background-color:#4f81bd;color:white" %)Function
171 +|(% style="width:125px" %)RO1-2|(% style="width:128px" %)Relay Output 1
172 +|(% style="width:125px" %)RO1-1|(% style="width:128px" %)Relay Output 1
173 +|(% style="width:125px" %)RO2-2|(% style="width:128px" %)Relay Output 2
174 +|(% style="width:125px" %)RO2-1|(% style="width:128px" %)Relay Output 2
175 +|(% style="width:125px" %)DI2+|(% style="width:128px" %)Digital Input 2
176 +|(% style="width:125px" %)DI2-|(% style="width:128px" %)Digital Input 2
177 +|(% style="width:125px" %)DI1+|(% style="width:128px" %)Digital Input 1
178 +|(% style="width:125px" %)DI1-|(% style="width:128px" %)Digital Input 1
179 +|(% style="width:125px" %)DO2|(% style="width:128px" %)Digital Output 2
180 +|(% style="width:125px" %)DO1|(% style="width:128px" %)Digital Output 1
171 171  
182 +
172 172  == 2.3 Connecting LT-22222-L to a Power Source ==
173 173  
185 +
174 174  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.
175 175  
176 176  {{warning}}
177 -**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.**
189 +**We recommend that you power on the LT-22222-L after adding its registration information to the LoRaWAN network server. Otherwise, the device will continuously send join-request messages to attempt to join a LoRaWAN network but will fail.**
178 178  {{/warning}}
179 179  
180 180  
... ... @@ -183,11 +183,13 @@
183 183  
184 184  = 3. Registering LT-22222-L with a LoRaWAN Network Server =
185 185  
198 +
186 186  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.
187 187  
188 188  
189 189  === 3.2.1 Prerequisites ===
190 190  
204 +
191 191  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.
192 192  
193 193  [[image:image-20230425173427-2.png||height="246" width="530"]]
... ... @@ -198,8 +198,10 @@
198 198  
199 199  The following subsections explain how to register the LT-22222-L with different LoRaWAN network server providers.
200 200  
215 +
201 201  === 3.2.2 The Things Stack ===
202 202  
218 +
203 203  This section guides you through how to register your LT-22222-L with The Things Stack Sandbox.
204 204  
205 205  {{info}}
... ... @@ -210,7 +210,7 @@
210 210  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.
211 211  
212 212  
213 -[[image:dragino-lorawan-nw-lt-22222-n.jpg]]
229 +[[image:dragino-lorawan-nw-lt-22222-n.jpg||height="374" width="1400"]]
214 214  
215 215  {{info}}
216 216   You can use a LoRaWAN gateway, such as the [[Dragino LPS8N>>https://www.dragino.com/products/lora-lorawan-gateway/item/200-lps8n.html]], to expand or create LoRaWAN coverage in your area.
... ... @@ -219,6 +219,7 @@
219 219  
220 220  ==== 3.2.2.1 Setting up ====
221 221  
238 +
222 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 223  * Log in to your The Things Stack Sandbox account.
224 224  * Create an **application** with The Things Stack if you do not have one yet (E.g., dragino-docs).
... ... @@ -225,8 +225,10 @@
225 225  * Go to your application's 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  
245 +
228 228  ==== 3.2.2.2 Using the LoRaWAN Device Repository ====
229 229  
248 +
230 230  * On the **Register end device** page:
231 231  ** Select the option **Select the end device in the LoRaWAN Device Repository **under **Input method**.
232 232  ** Select the **End device brand**, **Model**, **Hardware version**, **Firmware version**, and **Profile (Region)** from the respective dropdown lists.
... ... @@ -252,6 +252,7 @@
252 252  
253 253  ==== 3.2.2.3 Adding device manually ====
254 254  
274 +
255 255  * On the **Register end device** page:
256 256  ** Select the option **Enter end device specifies manually** under **Input method**.
257 257  ** Select the **Frequency plan** that matches your device from the **Frequency plan** dropdown list.
... ... @@ -283,6 +283,7 @@
283 283  
284 284  ==== 3.2.2.4 Joining ====
285 285  
306 +
286 286  On the Device's page, click on **Live data** tab. The Live data panel for your device will display.
287 287  
288 288  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.
... ... @@ -291,7 +291,6 @@
291 291  [[image:lt-22222-l-joining.png]]
292 292  
293 293  
294 -
295 295  ==== 3.2.2.5 Uplinks ====
296 296  
297 297  
... ... @@ -311,8 +311,15 @@
311 311  [[image:lt-22222-ul-payload-fmt.png]]
312 312  
313 313  
334 +We also have a payload formatter that resolves some decoding issues present in the Device Repository formatter. You can add it under the Custom JavaScript formatter. It can be found [[here>>https://github.com/dragino/dragino-end-node-decoder/blob/main/LT22222-L/v1.6_decoder_ttn%20.txt]]:
335 +
336 +(% class="wikigeneratedid" %)
337 +[[image:lt-22222-l-js-custom-payload-formatter.png]]
338 +
339 +
314 314  ==== 3.2.2.6 Downlinks ====
315 315  
342 +
316 316  When the LT-22222-L receives a downlink message from the server, the **RX LED** turns on for **1 second**.
317 317  
318 318  
... ... @@ -335,8 +335,10 @@
335 335  
336 336  The uplink messages are sent over LoRaWAN FPort=2. By default, an uplink message is sent every 10 minutes.
337 337  
365 +
338 338  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
339 339  
368 +
340 340  (((
341 341  This is the default mode.
342 342  
... ... @@ -409,6 +409,7 @@
409 409  
410 410  MOD = 1
411 411  
441 +
412 412  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
413 413  
414 414  
... ... @@ -487,6 +487,7 @@
487 487  
488 488  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
489 489  
520 +
490 490  (% style="color:red" %)**Note: The maximum count depends on the bytes it is.
491 491  The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
492 492  It starts counting again when it reaches the maximum value.**
... ... @@ -540,6 +540,7 @@
540 540  
541 541  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
542 542  
574 +
543 543  (% style="color:red" %)**Note:The maximum count depends on the bytes it is.
544 544  The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
545 545  It starts counting again when it reaches the maximum value.**
... ... @@ -599,16 +599,17 @@
599 599  
600 600  (% style="color:blue" %)**AT+SETCNT=3,60 **(%%)**(Sets AVI1 Count to 60)**
601 601  
602 -(% style="color:blue" %)**AT+VOLMAX=20000 **(%%)**(If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
634 +(% style="color:blue" %)**AT+VOLMAX=20000 **(%%)**(If the AVI1 voltage is higher than VOLMAX (20000mV =20V), the counter increases by 1)**
603 603  
604 -(% style="color:blue" %)**AT+VOLMAX=20000,0 **(%%)**(If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
636 +(% style="color:blue" %)**AT+VOLMAX=20000,0 **(%%)**(If the AVI1 voltage is lower than VOLMAX (20000mV =20V), counter increases by 1)**
605 605  
606 -(% style="color:blue" %)**AT+VOLMAX=20000,1 **(%%)**(If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
638 +(% style="color:blue" %)**AT+VOLMAX=20000,1 **(%%)**(If the AVI1 voltage is higher than VOLMAX (20000mV =20V), counter increases by 1)**
607 607  )))
608 608  
609 609  
610 610  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
611 611  
644 +
612 612  (% style="color:red" %)**Note:The maximum count depends on the bytes it is.
613 613  The maximum count for four bytes is FFFFFFFF (hex) = 4294967295 (dec).
614 614  It starts counting again when it reaches the maximum value.**
... ... @@ -722,9 +722,9 @@
722 722  
723 723  (% style="color:#037691" %)**LoRaWAN Downlink Commands for Setting the Trigger Conditions:**
724 724  
725 -Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
758 +**Type Code**: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
726 726  
727 -Format: AA xx yy1 yy1 yy2 yy2 yy3 yy3 yy4 yy4
760 +**Format**: AA xx yy1 yy1 yy2 yy2 yy3 yy3 yy4 yy4
728 728  
729 729   AA: Type Code for this downlink Command:
730 730  
... ... @@ -753,7 +753,7 @@
753 753  
754 754  MOD6 Payload: total of 11 bytes
755 755  
756 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
789 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
757 757  |(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:69px" %)**1**|(% style="background-color:#4f81bd; color:white; width:69px" %)**1**|(% style="background-color:#4f81bd; color:white; width:109px" %)**1**|(% style="background-color:#4f81bd; color:white; width:49px" %)**6**|(% style="background-color:#4f81bd; color:white; width:109px" %)**1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**1**
758 758  |Value|(((
759 759  TRI_A FLAG
... ... @@ -767,7 +767,7 @@
767 767  
768 768  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if the trigger is set for this part. Totally 1 byte as below
769 769  
770 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
803 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
771 771  |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
772 772  |(((
773 773  AV1_LOW
... ... @@ -791,12 +791,12 @@
791 791  
792 792  **Example:**
793 793  
794 -10100000: Means the system has configure to use the trigger: AV1_LOW and AV2_LOW
827 +10100000: This means the system is configured to use the triggers AV1_LOW and AV2_LOW.
795 795  
796 796  
797 797  (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1 byte as below
798 798  
799 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:515px" %)
832 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
800 800  |**bit 7**|**bit 6**|**bit 5**|**bit 4**|**bit 3**|**bit 2**|**bit 1**|**bit 0**
801 801  |(((
802 802  AV1_LOW
... ... @@ -820,31 +820,31 @@
820 820  
821 821  **Example:**
822 822  
823 -10000000: Means this uplink is triggered by AV1_LOW. That means the voltage is too low.
856 +10000000: The uplink is triggered by AV1_LOW, indicating that the voltage is too low.
824 824  
825 825  
826 826  (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
827 827  
828 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:674px" %)
829 -|(% style="width:64px" %)**bit 7**|(% style="width:68px" %)**bit 6**|(% style="width:63px" %)**bit 5**|(% style="width:66px" %)**bit 4**|(% style="width:109px" %)**bit 3**|(% style="width:93px" %)**bit 2**|(% style="width:109px" %)**bit 1**|(% style="width:99px" %)**bit 0**
830 -|(% style="width:64px" %)N/A|(% style="width:68px" %)N/A|(% style="width:63px" %)N/A|(% style="width:66px" %)N/A|(% style="width:109px" %)DI2_STATUS|(% style="width:93px" %)DI2_FLAG|(% style="width:109px" %)DI1_STATUS|(% style="width:99px" %)DI1_FLAG
861 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
862 +|(% style="width:50px" %)**bit 7**|(% style="width:50px" %)**bit 6**|(% style="width:50px" %)**bit 5**|(% style="width:50px" %)**bit 4**|(% style="width:90px" %)**bit 3**|(% style="width:80px" %)**bit 2**|(% style="width:90px" %)**bit 1**|(% style="width:95px" %)**bit 0**
863 +|(% style="width:49px" %)N/A|(% style="width:53px" %)N/A|(% style="width:53px" %)N/A|(% style="width:55px" %)N/A|(% style="width:99px" %)DI2_STATUS|(% style="width:83px" %)DI2_FLAG|(% style="width:98px" %)DI1_STATUS|(% style="width:85px" %)DI1_FLAG
831 831  
832 -* Each bits shows which status has been triggered on this uplink.
865 +* Each bit shows which status has been triggered on this uplink.
833 833  
834 834  **Example:**
835 835  
836 -00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
869 +00000111: This means both DI1 and DI2 triggers are enabled, and this packet is trigger by DI1.
837 837  
838 -00000101: Means both DI1 and DI2 trigger are enabled.
871 +00000101: This means both DI1 and DI2 triggers are enabled.
839 839  
840 840  
841 -(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
874 +(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enabled. 0x00: MOD6 is disabled.
842 842  
843 -Downlink command to poll MOD6 status:
876 +Downlink command to poll/request MOD6 status:
844 844  
845 845  **AB 06**
846 846  
847 -When device got this command, it will send the MOD6 payload.
880 +When device receives this command, it will send the MOD6 payload.
848 848  
849 849  
850 850  === 3.3.7 Payload Decoder ===
... ... @@ -858,6 +858,7 @@
858 858  
859 859  == 3.4 ​Configure LT-22222-L via AT Commands or Downlinks ==
860 860  
894 +
861 861  (((
862 862  You can configure LT-22222-L I/O Controller via AT Commands or LoRaWAN Downlinks.
863 863  )))
... ... @@ -872,19 +872,25 @@
872 872  
873 873  * (% style="color:blue" %)**Sensor-related commands**(%%):
874 874  
909 +
875 875  === 3.4.1 Common commands ===
876 876  
912 +
877 877  (((
878 878  These are available for each sensors and include actions such as changing the uplink interval or resetting the device. For firmware v1.5.4, you can find the supported common commands under: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]s.
915 +
916 +
879 879  )))
880 880  
881 881  === 3.4.2 Sensor-related commands ===
882 882  
921 +
883 883  These commands are specially designed for the LT-22222-L. Commands can be sent to the device using options such as an AT command or a LoRaWAN downlink payload.
884 884  
885 885  
886 886  ==== 3.4.2.1 Set Transmit/Uplink Interval ====
887 887  
927 +
888 888  Sets the uplink interval of the device. The default uplink transmission interval is 10 minutes.
889 889  
890 890  (% style="color:#037691" %)**AT command**
... ... @@ -891,8 +891,15 @@
891 891  
892 892  (% border="2" style="width:500px" %)
893 893  |**Command**|AT+TDC=<time>
894 -|**Response**|
895 -|**Parameters**|**time** : uplink interval is in **milliseconds**
934 +|**Parameters**|**time **: uplink interval in milliseconds
935 +|**Get**|AT+TDC=?
936 +|**Response**|(((
937 +current uplink interval
938 +
939 +OK
940 +)))
941 +|**Set**|AT+TDC=<time>
942 +|**Response**|OK
896 896  |**Example**|(((
897 897  AT+TDC=30000
898 898  
... ... @@ -908,7 +908,7 @@
908 908  |**Parameters**|(((
909 909  **prefix** : 0x01
910 910  
911 -**time** : uplink interval is in **seconds**, represented by **3  bytes** in **hexadecimal**.
958 +**time** : uplink interval in **seconds**, represented by **3  bytes** in **hexadecimal**.
912 912  )))
913 913  |**Example**|(((
914 914  01 **00 00 1E**
... ... @@ -924,13 +924,13 @@
924 924  
925 925  ==== 3.4.2.2 Set the Working Mode (AT+MOD) ====
926 926  
974 +
927 927  Sets the working mode.
928 928  
929 929  (% style="color:#037691" %)**AT command**
930 930  
931 931  (% border="2" style="width:500px" %)
932 -|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MODE=<working_mode>
933 -|(% style="width:97px" %)**Response**|(% style="width:413px" %)
980 +|(% style="width:97px" %)**Command**|(% style="width:413px" %)AT+MOD=<working_mode>
934 934  |(% style="width:97px" %)**Parameters**|(% style="width:413px" %)(((
935 935  **working_mode** :
936 936  
... ... @@ -946,6 +946,18 @@
946 946  
947 947  6 = Trigger Mode, Optional, used together with MOD1 ~~ MOD5
948 948  )))
996 +|(% style="width:97px" %)**Get**|(% style="width:413px" %)AT+MOD=?
997 +|(% style="width:97px" %)**Response**|(% style="width:413px" %)(((
998 +Current working mode
999 +
1000 +OK
1001 +)))
1002 +|(% style="width:97px" %)**Set**|(% style="width:413px" %)AT+MOD=<working_mode>
1003 +|(% style="width:97px" %)**Response**|(% style="width:413px" %)(((
1004 +Attention:Take effect after ATZ
1005 +
1006 +OK
1007 +)))
949 949  |(% style="width:97px" %)**Example**|(% style="width:413px" %)(((
950 950  AT+MOD=2
951 951  
... ... @@ -968,8 +968,9 @@
968 968  Sets the device to working mode 2 (Double DI Counting + DO + RO)
969 969  )))
970 970  
971 -==== 3.4.2.3 Poll an uplink ====
1030 +==== 3.4.2.3 Request an uplink from the device ====
972 972  
1032 +
973 973  Requests an uplink from LT-22222-L. The content of the uplink payload varies based on the device's current working mode.
974 974  
975 975  (% style="color:#037691" %)**AT command**
... ... @@ -989,6 +989,7 @@
989 989  
990 990  ==== 3.4.2.4 Enable/Disable Trigger Mode ====
991 991  
1052 +
992 992  Enable or disable the trigger mode for the current working mode (see also [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]).
993 993  
994 994  (% style="color:#037691" %)**AT Command**
... ... @@ -1024,10 +1024,11 @@
1024 1024  Enable trigger mode for the current working mode
1025 1025  )))
1026 1026  
1027 -==== 3.4.2.5 Poll trigger settings ====
1088 +==== 3.4.2.5 Request trigger settings ====
1028 1028  
1029 -Polls the trigger settings.
1030 1030  
1091 +Requests the trigger settings.
1092 +
1031 1031  (% style="color:#037691" %)**AT Command:**
1032 1032  
1033 1033  There is no AT Command available for this feature.
... ... @@ -1045,6 +1045,7 @@
1045 1045  
1046 1046  ==== 3.4.2.6 Enable/Disable DI1/DI2/DI3 as a trigger ====
1047 1047  
1110 +
1048 1048  Enable or disable DI1/DI2/DI3 as a trigger.
1049 1049  
1050 1050  (% style="color:#037691" %)**AT Command**
... ... @@ -1099,9 +1099,9 @@
1099 1099  
1100 1100  ==== 3.4.2.7 Trigger1 – Set DI or DI3 as a trigger ====
1101 1101  
1165 +
1102 1102  Sets DI1 or DI3 (for LT-33222-L) as a trigger.
1103 1103  
1104 -
1105 1105  (% style="color:#037691" %)**AT Command**
1106 1106  
1107 1107  (% border="2" style="width:500px" %)
... ... @@ -1138,9 +1138,9 @@
1138 1138  
1139 1139  ==== 3.4.2.8 Trigger2 – Set DI2 as a trigger ====
1140 1140  
1204 +
1141 1141  Sets DI2 as a trigger.
1142 1142  
1143 -
1144 1144  (% style="color:#037691" %)**AT Command**
1145 1145  
1146 1146  (% border="2" style="width:500px" %)
... ... @@ -1172,6 +1172,7 @@
1172 1172  
1173 1173  ==== 3.4.2.9 Trigger – Set AC (current) as a trigger ====
1174 1174  
1238 +
1175 1175  Sets the current trigger based on the AC port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1176 1176  
1177 1177  (% style="color:#037691" %)**AT Command**
... ... @@ -1221,6 +1221,7 @@
1221 1221  
1222 1222  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
1223 1223  
1288 +
1224 1224  Sets the current trigger based on the AV port. See also [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1225 1225  
1226 1226  (% style="color:#037691" %)**AT Command**
... ... @@ -1268,6 +1268,7 @@
1268 1268  
1269 1269  ==== 3.4.2.11 Trigger – Set minimum interval ====
1270 1270  
1336 +
1271 1271  Sets the AV and AC trigger minimum interval. The device won't respond to a second trigger within this set time after the first trigger.
1272 1272  
1273 1273  (% style="color:#037691" %)**AT Command**
... ... @@ -1303,6 +1303,7 @@
1303 1303  
1304 1304  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1305 1305  
1372 +
1306 1306  Controls the digital outputs DO1, DO2, and DO3
1307 1307  
1308 1308  (% style="color:#037691" %)**AT Command**
... ... @@ -1333,11 +1333,11 @@
1333 1333  (((
1334 1334  01: Low,  00: High,  11: No action
1335 1335  
1336 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1337 -|(% style="background-color:#4f81bd; color:white" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white" %)**DO1**|(% style="background-color:#4f81bd; color:white" %)**DO2**|(% style="background-color:#4f81bd; color:white" %)**DO3**
1338 -|02  01  00  11|Low|High|No Action
1339 -|02  00  11  01|High|No Action|Low
1340 -|02  11  01  00|No Action|Low|High
1403 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:383px" %)
1404 +|(% style="background-color:#4f81bd; color:white; width:126px" %)**Downlink Code**|(% style="background-color:#4f81bd; color:white; width:85px" %)**DO1**|(% style="background-color:#4f81bd; color:white; width:86px" %)**DO2**|(% style="background-color:#4f81bd; color:white; width:86px" %)**DO3**
1405 +|(% style="width:126px" %)02  01  00  11|(% style="width:85px" %)Low|(% style="width:86px" %)High|(% style="width:86px" %)No Action
1406 +|(% style="width:126px" %)02  00  11  01|(% style="width:85px" %)High|(% style="width:86px" %)No Action|(% style="width:86px" %)Low
1407 +|(% style="width:126px" %)02  11  01  00|(% style="width:85px" %)No Action|(% style="width:86px" %)Low|(% style="width:86px" %)High
1341 1341  )))
1342 1342  
1343 1343  (((
... ... @@ -1356,25 +1356,23 @@
1356 1356  
1357 1357  * (% style="color:#037691" %)**AT Command**
1358 1358  
1359 -There is no AT Command to control Digital Output
1426 +There is no AT command to control the digital output.
1360 1360  
1361 1361  
1362 1362  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1363 1363  
1364 -(% style="color:blue" %)**0xA9 aa bb cc     **(%%) ~/~/ Set DO1/DO2/DO3 output with time control
1431 +(% style="color:blue" %)**0xA9 aa bb cc     **(%%) ~/~/ Sets DO1/DO2/DO3 outputs with time control
1365 1365  
1366 -
1367 1367  This is to control the digital output time of DO pin. Include four bytes:
1368 1368  
1369 -(% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
1435 +(% style="color:#4f81bd" %)**First byte**(%%)**:** Type code (0xA9)
1370 1370  
1371 -(% style="color:#4f81bd" %)**Second Byte**(%%): Inverter Mode
1437 +(% style="color:#4f81bd" %)**Second byte**(%%): Inverter Mode
1372 1372  
1373 -01: DO pins will change back to original state after timeout.
1439 +**01:** DO pins revert to their original state after the timeout.
1440 +**00:** DO pins switch to an inverted state after the timeout.
1374 1374  
1375 -00: DO pins will change to an inverter state after timeout 
1376 1376  
1377 -
1378 1378  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Port status:
1379 1379  
1380 1380  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
... ... @@ -1383,7 +1383,7 @@
1383 1383  |0x00|DO1 set to high
1384 1384  |0x11|DO1 NO Action
1385 1385  
1386 -(% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Port status:
1451 +(% style="color:#4f81bd" %)**Fourth byte**(%%): Control Method and Port status:
1387 1387  
1388 1388  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1389 1389  |(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status**
... ... @@ -1391,7 +1391,7 @@
1391 1391  |0x00|DO2 set to high
1392 1392  |0x11|DO2 NO Action
1393 1393  
1394 -(% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Port status:
1459 +(% style="color:#4f81bd" %)**Fifth byte**(%%): Control Method and Port status:
1395 1395  
1396 1396  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1397 1397  |(% style="background-color:#4f81bd; color:white" %)**Second Byte**|(% style="background-color:#4f81bd; color:white" %)**Status**
... ... @@ -1399,7 +1399,7 @@
1399 1399  |0x00|DO3 set to high
1400 1400  |0x11|DO3 NO Action
1401 1401  
1402 -(% style="color:#4f81bd" %)**Sixth, Seventh, Eighth, and Ninth Bytes**:(%%) Latching time (Unit: ms)
1467 +(% style="color:#4f81bd" %)**Sixth, Seventh, Eighth, and Ninth bytes**:(%%) Latching time (Unit: ms)
1403 1403  
1404 1404  
1405 1405  (% style="color:red" %)**Note: **
... ... @@ -1408,7 +1408,7 @@
1408 1408  
1409 1409   Before firmware v1.6.0, the latch time only supported 2 bytes.
1410 1410  
1411 -(% style="color:red" %)**Device will upload a packet if the downlink code executes successfully.**
1476 +(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
1412 1412  
1413 1413  
1414 1414  **Example payload:**
... ... @@ -1435,16 +1435,16 @@
1435 1435  
1436 1436  * (% style="color:#037691" %)**AT Command:**
1437 1437  
1438 -There is no AT Command to control Relay Output
1503 +There is no AT Command to control the Relay Output
1439 1439  
1440 1440  
1441 1441  * (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1442 1442  
1443 -(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Set RO1/RO2 output
1508 +(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Sets RO1/RO2 output
1444 1444  
1445 1445  
1446 1446  (((
1447 -If payload is 0x030100, it means setting RO1 to close and RO2 to open.
1512 +If the payload is 0x030100, it means setting RO1 to close and RO2 to open.
1448 1448  )))
1449 1449  
1450 1450  (((
... ... @@ -1462,28 +1462,29 @@
1462 1462  |03  00  01|Open|Close
1463 1463  )))
1464 1464  
1465 -(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1530 +(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
1466 1466  
1467 1467  
1468 1468  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1469 1469  
1535 +
1470 1470  Controls the relay output time.
1471 1471  
1472 1472  * (% style="color:#037691" %)**AT Command:**
1473 1473  
1474 -There is no AT Command to control Relay Output
1540 +There is no AT Command to control the Relay Output
1475 1475  
1476 1476  
1477 1477  * (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1478 1478  
1479 -(% style="color:blue" %)**0x05 aa bb cc dd     ** (%%)~/~/ Set RO1/RO2 relay with time control
1545 +(% style="color:blue" %)**0x05 aa bb cc dd     ** (%%)~/~/ Sets RO1/RO2 relays with time control
1480 1480  
1481 1481  
1482 -This is to control the relay output time. It includes four bytes:
1548 +This controls the relay output time and includes 4 bytes:
1483 1483  
1484 -(% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
1550 +(% style="color:#4f81bd" %)**First byte **(%%)**:** Type code (0x05)
1485 1485  
1486 -(% style="color:#4f81bd" %)**Second Byte(aa)**(%%): Inverter Mode
1552 +(% style="color:#4f81bd" %)**Second byte (aa)**(%%): Inverter Mode
1487 1487  
1488 1488  01: Relays will change back to their original state after timeout.
1489 1489  
... ... @@ -1490,12 +1490,12 @@
1490 1490  00: Relays will change to the inverter state after timeout.
1491 1491  
1492 1492  
1493 -(% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1559 +(% style="color:#4f81bd" %)**Third byte (bb)**(%%): Control Method and Ports status:
1494 1494  
1495 1495  [[image:image-20221008095908-1.png||height="364" width="564"]]
1496 1496  
1497 1497  
1498 -(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1564 +(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh bytes (cc)**(%%): Latching time. Unit: ms
1499 1499  
1500 1500  
1501 1501  (% style="color:red" %)**Note:**
... ... @@ -1505,7 +1505,7 @@
1505 1505   Before firmware v1.6.0, the latch time only supported 2 bytes.
1506 1506  
1507 1507  
1508 -(% style="color:red" %)**Device will upload a packet if the downlink code executes successfully.**
1574 +(% style="color:red" %)**The device will uplink a packet if the downlink code executes successfully.**
1509 1509  
1510 1510  
1511 1511  **Example payload:**
... ... @@ -1664,8 +1664,9 @@
1664 1664  )))
1665 1665  |(% style="width:141px" %)**Example**|(% style="width:357px" %)A6 **01**
1666 1666  
1667 -==== 3.4.2.19 Counting ~-~- Change counting mode to save time ====
1733 +==== 3.4.2.19 Counting ~-~- Set Saving Interval for 'Counting Result' ====
1668 1668  
1735 +
1669 1669  This command allows you to configure the device to save its counting result to internal flash memory at specified intervals. By setting a save time, the device will periodically store the counting data to prevent loss in case of power failure. The save interval can be adjusted to suit your requirements, with a minimum value of 30 seconds.
1670 1670  
1671 1671  (% style="color:#037691" %)**AT Command**
... ... @@ -1695,8 +1695,9 @@
1695 1695  Sets the device to save its counting results to the memory every 60 seconds.
1696 1696  )))
1697 1697  
1698 -==== 3.4.2.20 Reset save RO DO state ====
1765 +==== 3.4.2.20 Reset saved RO and DO states ====
1699 1699  
1767 +
1700 1700  This command 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.
1701 1701  
1702 1702  (% style="color:#037691" %)**AT Command**
... ... @@ -1746,6 +1746,7 @@
1746 1746  
1747 1747  ==== 3.4.2.21 Encrypted payload ====
1748 1748  
1817 +
1749 1749  This command 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.
1750 1750  
1751 1751  (% style="color:#037691" %)**AT Command:**
... ... @@ -1775,6 +1775,7 @@
1775 1775  
1776 1776  ==== 3.4.2.22 Get sensor value ====
1777 1777  
1847 +
1778 1778  This command allows you to retrieve and optionally uplink sensor readings through the serial port.
1779 1779  
1780 1780  (% style="color:#037691" %)**AT Command**
... ... @@ -1804,6 +1804,7 @@
1804 1804  
1805 1805  ==== 3.4.2.23 Resetting the downlink packet count ====
1806 1806  
1877 +
1807 1807  This command manages how the node handles mismatched downlink packet counts. It offers two modes: one disables the reception of further downlink packets if discrepancies occur, while the other resets the downlink packet count to align with the server, ensuring continued communication.
1808 1808  
1809 1809  (% style="color:#037691" %)**AT Command**
... ... @@ -1882,43 +1882,33 @@
1882 1882  
1883 1883  ==== 3.4.2.25 Copy downlink to uplink ====
1884 1884  
1885 -This command enables the device to immediately uplink the content of a received downlink packet back to the server. The command allows for quick data replication from downlink to uplink, with a fixed port number of 100.
1886 1886  
1887 -* (% style="color:#037691" %)**AT Command**(%%)**:**
1957 +This command enables the device to immediately uplink the payload of a received downlink packet back to the server. The command allows for quick data replication from downlink to uplink, with a fixed port number of 100.
1888 1888  
1889 -(% style="color:blue" %)**AT+RPL=5**   (%%) ~/~/ After receiving the package from the server, it will immediately upload the content of the package to the server, the port number is 100.
1959 +(% style="color:#037691" %)**AT Command**(%%)**:**
1890 1890  
1891 -Example**aa xx xx xx xx**         ~/~/ aa indicates whether the configuration has changed, 00 is yes, 01 is no; xx xx xx xx are the bytes sent.
1961 +(% style="color:blue" %)**AT+RPL=5**   (%%) ~/~/ After receiving a downlink payload from the server, the device will immediately uplink the payload back to the server using port number 100.
1892 1892  
1963 +Example:**aa xx xx xx xx**         ~/~/ **aa** indicates whether the configuration has changed: **00** means YES, and **01** means NO. **xx xx xx xx** are the bytes uplinked back.
1893 1893  
1965 +
1894 1894  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173747-6.png?width=1124&height=165&rev=1.1||alt="image-20220823173747-6.png"]]
1895 1895  
1896 1896  For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77.
1897 1897  
1898 -(% border="2" style="width:500px" %)
1899 -|(% style="width:122px" %)**Command**|(% style="width:376px" %)(((
1900 -AT+RPL=5
1901 -
1902 -After receiving a downlink packet from the server, the node immediately uplinks the content of the packet back to the server using port number 100.
1903 -)))
1904 -|(% style="width:122px" %)**Example**|(% style="width:376px" %)(((
1905 -Downlink:
1906 -
1907 -01 00 02 58
1908 -
1909 -Uplink:
1910 -
1911 -01 01 00 02 58
1912 -)))
1913 -
1914 1914  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/image-20220823173833-7.png?width=1124&height=149&rev=1.1||alt="image-20220823173833-7.png"]]
1915 1915  
1916 1916  For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned.
1917 1917  
1918 1918  
1975 +(% style="color:#037691" %)**Downlink Payload**(%%)**:**
1919 1919  
1977 +There is no downlink option available for this feature.
1978 +
1979 +
1920 1920  ==== 3.4.2.26 Query firmware version, frequency band, sub band, and TDC time ====
1921 1921  
1982 +
1922 1922  This command is used to query key information about the device, including its firmware version, frequency band, sub band, and TDC time. By sending the specified payload as a downlink, the server can retrieve this essential data from the device.
1923 1923  
1924 1924  * (((
... ... @@ -1937,10 +1937,13 @@
1937 1937  
1938 1938  == 3.5 Integrating with ThingsEye.io ==
1939 1939  
2001 +
1940 1940  The Things Stack application supports integration with ThingsEye.io. Once integrated, ThingsEye.io acts as an MQTT client for The Things Stack MQTT broker, allowing it to subscribe to upstream traffic and publish downlink traffic.
1941 1941  
2004 +
1942 1942  === 3.5.1 Configuring The Things Stack ===
1943 1943  
2007 +
1944 1944  We use The Things Stack Sandbox in this example:
1945 1945  
1946 1946  * In **The Things Stack Sandbox**, go to the **Application **for the LT-22222-L you added.
... ... @@ -1954,8 +1954,10 @@
1954 1954  
1955 1955  [[image:tts-mqtt-integration.png]]
1956 1956  
2021 +
1957 1957  === 3.5.2 Configuring ThingsEye.io ===
1958 1958  
2024 +
1959 1959  The ThingsEye.io IoT platform is not open for self-registration at the moment. If you are interested in testing the platform, please send your project information to admin@thingseye.io, and we will create an account for you.
1960 1960  
1961 1961  * Login to your [[ThingsEye.io >>https://thingseye.io]]account.
... ... @@ -2025,6 +2025,7 @@
2025 2025  
2026 2026  ==== 3.5.2.1 Viewing integration details ====
2027 2027  
2094 +
2028 2028  Click on your integration from the list. The **Integration details** window will appear with the **Details **tab selected. The **Details **tab shows all the settings you have provided for this integration.
2029 2029  
2030 2030  [[image:integration-details.png]]
... ... @@ -2036,8 +2036,10 @@
2036 2036  See also [[ThingsEye documentation>>https://wiki.thingseye.io/xwiki/bin/view/Main/]].
2037 2037  {{/info}}
2038 2038  
2039 -==== **3.5.2.2 Viewing events** ====
2040 2040  
2107 +==== 3.5.2.2 Viewing events ====
2108 +
2109 +
2041 2041  The **Events **tab displays all the uplink messages from the LT-22222-L.
2042 2042  
2043 2043  * Select **Debug **from the **Event type** dropdown.
... ... @@ -2051,13 +2051,15 @@
2051 2051  [[image:thingseye-json.png]]
2052 2052  
2053 2053  
2054 -==== **3.5.2.3 Deleting an integration** ====
2123 +==== 3.5.2.3 Deleting an integration ====
2055 2055  
2125 +
2056 2056  If you want to delete an integration, click the **Delete integratio**n button on the Integrations page.
2057 2057  
2058 2058  
2059 2059  ==== 3.5.2.4 Creating a Dashboard to Display and Analyze LT-22222-L Data ====
2060 2060  
2131 +
2061 2061  This will be added soon.
2062 2062  
2063 2063  
... ... @@ -2274,6 +2274,7 @@
2274 2274  
2275 2275  == 3.7 LED Indicators ==
2276 2276  
2348 +
2277 2277  The table below lists the behavior of LED indicators for each port function.
2278 2278  
2279 2279  (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -2306,10 +2306,13 @@
2306 2306  
2307 2307  = 4. Using AT Commands =
2308 2308  
2381 +
2309 2309  The LT-22222-L supports programming using AT Commands.
2310 2310  
2384 +
2311 2311  == 4.1 Connecting the LT-22222-L to a PC ==
2312 2312  
2387 +
2313 2313  (((
2314 2314  You can use a USB-to-TTL adapter/converter along with a 3.5mm Program Cable to connect the LT-22222-L to a PC, as shown below.
2315 2315  
... ... @@ -2329,7 +2329,10 @@
2329 2329  (((
2330 2330  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/]]
2331 2331  
2407 +
2332 2332  == 4.2 LT-22222-L related AT commands ==
2409 +
2410 +
2333 2333  )))
2334 2334  
2335 2335  (((
... ... @@ -2526,16 +2526,19 @@
2526 2526  
2527 2527  == 5.1 Counting how many objects pass through the flow line ==
2528 2528  
2607 +
2529 2529  See [[How to set up to setup counting for objects passing through the flow line>>How to set up to count objects pass in flow line]]?
2530 2530  
2531 2531  
2532 2532  = 6. FAQ =
2533 2533  
2613 +
2534 2534  This section contains some frequently asked questions, which can help you resolve common issues and find solutions quickly.
2535 2535  
2536 2536  
2537 2537  == 6.1 How to update the firmware? ==
2538 2538  
2619 +
2539 2539  Dragino frequently releases firmware updates for the LT-22222-L. Updating your LT-22222-L with the latest firmware version helps to:
2540 2540  
2541 2541  * Support new features
... ... @@ -2588,6 +2588,8 @@
2588 2588  (((
2589 2589  (((
2590 2590  == 6.2 How to change the LoRaWAN frequency band/region? ==
2672 +
2673 +
2591 2591  )))
2592 2592  )))
2593 2593  
... ... @@ -2599,6 +2599,8 @@
2599 2599  
2600 2600  
2601 2601  == 6.3 How to setup LT-22222-L to work with a Single Channel Gateway, such as LG01/LG02? ==
2685 +
2686 +
2602 2602  )))
2603 2603  
2604 2604  (((
... ... @@ -2672,11 +2672,13 @@
2672 2672  
2673 2673  == 6.4 How to change the uplink interval? ==
2674 2674  
2760 +
2675 2675  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/]]
2676 2676  
2677 2677  
2678 2678  == 6.5 Can I see the counting event in the serial output? ==
2679 2679  
2766 +
2680 2680  (((
2681 2681  You can run the AT command **AT+DEBUG** to view the counting event in the serial output. If the firmware is too old and doesn’t support AT+DEBUG, update to the latest firmware first.
2682 2682  
... ... @@ -2683,6 +2683,7 @@
2683 2683  
2684 2684  == 6.6 Can I use point-to-point communication with LT-22222-L? ==
2685 2685  
2773 +
2686 2686  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]].
2687 2687  
2688 2688  
... ... @@ -2691,6 +2691,7 @@
2691 2691  (((
2692 2692  == 6.7 Why does the relay output default to an open relay after the LT-22222-L is powered off? ==
2693 2693  
2782 +
2694 2694  * If the device is not properly shut down and is directly powered off.
2695 2695  * It will default to a power-off state.
2696 2696  * In modes 2 to 5, the DO/RO status and pulse count are saved to flash memory.
... ... @@ -2698,6 +2698,7 @@
2698 2698  
2699 2699  == 6.8 Can I setup LT-22222-L as a NC (Normally Closed) relay? ==
2700 2700  
2790 +
2701 2701  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:
2702 2702  
2703 2703  
... ... @@ -2706,16 +2706,19 @@
2706 2706  
2707 2707  == 6.9 Can the LT-22222-L save the RO state? ==
2708 2708  
2799 +
2709 2709  To enable this feature, the firmware version must be 1.6.0 or higher.
2710 2710  
2711 2711  
2712 2712  == 6.10 Why does the LT-22222-L always report 15.585V when measuring the AVI? ==
2713 2713  
2805 +
2714 2714  It is likely that the GND is not connected during the measurement, or that the wire connected to the GND is loose.
2715 2715  
2716 2716  
2717 2717  = 7. Troubleshooting =
2718 2718  
2811 +
2719 2719  This section provides some known troubleshooting tips.
2720 2720  
2721 2721  
... ... @@ -2724,6 +2724,8 @@
2724 2724  (((
2725 2725  (((
2726 2726  == 7.1 Downlink isn't working. How can I solve this? ==
2820 +
2821 +
2727 2727  )))
2728 2728  )))
2729 2729  
... ... @@ -2735,6 +2735,8 @@
2735 2735  
2736 2736  
2737 2737  == 7.2 Having trouble uploading an image? ==
2833 +
2834 +
2738 2738  )))
2739 2739  
2740 2740  (((
... ... @@ -2745,6 +2745,8 @@
2745 2745  
2746 2746  
2747 2747  == 7.3 Why can't I join TTN in the US915 /AU915 bands? ==
2845 +
2846 +
2748 2748  )))
2749 2749  
2750 2750  (((
... ... @@ -2754,6 +2754,7 @@
2754 2754  
2755 2755  == 7.4 Why can the LT-22222-L perform uplink normally, but cannot receive downlink? ==
2756 2756  
2856 +
2757 2757  The FCD count of the gateway is inconsistent with the FCD count of the node, causing the downlink to remain in the queue.
2758 2758  Use this command to synchronize their counts: [[Resets the downlink packet count>>||anchor="H3.4.2.23Resetsthedownlinkpacketcount"]]
2759 2759  
... ... @@ -2760,6 +2760,7 @@
2760 2760  
2761 2761  = 8. Ordering information =
2762 2762  
2863 +
2763 2763  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
2764 2764  
2765 2765  (% style="color:#4f81bd" %)**XXX:**
... ... @@ -2776,6 +2776,7 @@
2776 2776  
2777 2777  = 9. Package information =
2778 2778  
2880 +
2779 2779  **Package includes**:
2780 2780  
2781 2781  * 1 x LT-22222-L I/O Controller
... ... @@ -2792,6 +2792,7 @@
2792 2792  
2793 2793  = 10. Support =
2794 2794  
2897 +
2795 2795  * (((
2796 2796  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.
2797 2797  )))
... ... @@ -2803,6 +2803,7 @@
2803 2803  
2804 2804  = 11. Reference​​​​​ =
2805 2805  
2909 +
2806 2806  * LT-22222-L: [[http:~~/~~/www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html>>url:http://www.dragino.com/products/lora-lorawan-end-node/item/156-lt-22222-l.html]]
2807 2807  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2808 2808  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
Screenshot 2024-12-08 193946.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +32.4 KB
Content
lt-22222-l-js-custom-payload-formatter.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +453.9 KB
Content
lt33222-l.jpg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.pradeeka
Size
... ... @@ -1,0 +1,1 @@
1 +31.3 KB
Content