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

From version 82.9
edited by Xiaoling
on 2022/06/20 11:19
Change comment: There is no comment for this version
To version 77.80
edited by Xiaoling
on 2022/06/10 09:25
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -19,8 +19,6 @@
19 19  == 1.1 What is LT Series I/O Controller ==
20 20  
21 21  (((
22 -
23 -
24 24  The Dragino (% style="color:blue" %)**LT series I/O Modules**(%%) are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as:** (% style="color:blue" %)analog current Input, analog voltage input(%%)**(% style="color:blue" %), **relay output**, **digital input**(%%) and (% style="color:blue" %)**digital output**(%%) etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring.
25 25  )))
26 26  
... ... @@ -50,7 +50,6 @@
50 50  
51 51  )))
52 52  
53 -
54 54  == 1.2  Specifications ==
55 55  
56 56  (((
... ... @@ -79,8 +79,6 @@
79 79  )))
80 80  
81 81  (((
82 -
83 -
84 84  **Interface for Model: LT22222-L:**
85 85  )))
86 86  
... ... @@ -104,8 +104,6 @@
104 104  )))
105 105  
106 106  (((
107 -
108 -
109 109  **LoRa Spec:**
110 110  )))
111 111  
... ... @@ -166,8 +166,6 @@
166 166  * (((
167 167  Packet engine up to 256 bytes with CRC.
168 168  
169 -
170 -
171 171  
172 172  )))
173 173  
... ... @@ -181,9 +181,6 @@
181 181  * Firmware upgradable via program port
182 182  * Counting
183 183  
184 -
185 -
186 -
187 187  == 1.4  Applications ==
188 188  
189 189  * Smart Buildings & Home Automation
... ... @@ -193,9 +193,6 @@
193 193  * Smart Cities
194 194  * Smart Factory
195 195  
196 -
197 -
198 -
199 199  == 1.5 Hardware Variants ==
200 200  
201 201  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -209,8 +209,6 @@
209 209  * 1 x Counting Port
210 210  )))
211 211  
212 -
213 -
214 214  = 2. Power ON Device =
215 215  
216 216  The LT controller can be powered by 7 ~~ 24V DC power source. Connect VIN to Power Input V+ and GND to power input V- to power the LT controller.
... ... @@ -233,9 +233,12 @@
233 233  
234 234  (((
235 235  In case user can’t set the OTAA keys in the network server and has to use the existing keys from server. User can [[use AT Command>>||anchor="H4.UseATCommand"]] to set the keys in the devices.
219 +
220 +
236 236  )))
237 237  
238 238  
224 +
239 239  == 3.2 Example to join LoRaWAN network ==
240 240  
241 241  (((
... ... @@ -244,13 +244,12 @@
244 244  
245 245  [[image:image-20220523172350-1.png||height="266" width="864"]]
246 246  
247 -
248 248  (((
249 249  The LG308 is already set to connect to [[TTN network >>url:https://www.thethingsnetwork.org/]]. So what we need to do now is only configure register this device to TTN:
250 250  )))
251 251  
252 252  (((
253 -(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LT IO controller.
238 +**Step 1**: Create a device in TTN with the OTAA keys from LT IO controller.
254 254  )))
255 255  
256 256  (((
... ... @@ -259,7 +259,6 @@
259 259  
260 260  [[image:1653297924498-393.png]]
261 261  
262 -
263 263  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
264 264  
265 265  Add APP EUI in the application.
... ... @@ -273,7 +273,7 @@
273 273  
274 274  
275 275  (((
276 -(% style="color:blue" %)**Step 2**(%%): Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
260 +**Step 2**: Power on LT and it will auto join to the TTN network. After join success, it will start to upload message to TTN and user can see in the panel.
277 277  )))
278 278  
279 279  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -291,9 +291,6 @@
291 291  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
292 292  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
293 293  
294 -
295 -
296 -
297 297  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
298 298  
299 299  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -301,8 +301,6 @@
301 301  [[image:image-20220523174024-3.png]]
302 302  
303 303  (((
304 -
305 -
306 306  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
307 307  )))
308 308  
... ... @@ -316,7 +316,6 @@
316 316  
317 317  For example if payload is: [[image:image-20220523175847-2.png]]
318 318  
319 -
320 320  **The value for the interface is:  **
321 321  
322 322  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -332,7 +332,6 @@
332 332  * [1] RO1 relay channel is close and the RO1 LED is ON.
333 333  * [0] RO2 relay channel is open and RO2 LED is OFF;
334 334  
335 -
336 336  **LT22222-L:**
337 337  
338 338  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -348,12 +348,8 @@
348 348  ** DO1 is high in case there is load between DO1 and V+.
349 349  ** DO1 LED is off in both case
350 350  
351 -
352 -
353 -
354 354  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
355 355  
356 -
357 357  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
358 358  
359 359  (((
... ... @@ -362,7 +362,6 @@
362 362  
363 363  [[image:image-20220523180452-3.png]]
364 364  
365 -
366 366  (((
367 367  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
368 368  )))
... ... @@ -378,8 +378,6 @@
378 378  )))
379 379  
380 380  (((
381 -
382 -
383 383  **To use counting mode, please run:**
384 384  )))
385 385  
... ... @@ -398,8 +398,6 @@
398 398  )))
399 399  
400 400  (((
401 -
402 -
403 403  (% style="color:#4f81bd" %)**AT Commands for counting:**
404 404  )))
405 405  
... ... @@ -491,6 +491,8 @@
491 491  
492 492  (((
493 493  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
462 +
463 +
494 494  )))
495 495  
496 496  
... ... @@ -497,7 +497,6 @@
497 497  
498 498  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
499 499  
500 -
501 501  **LT22222-L**: This mode the DI1 is used as a counting pin.
502 502  
503 503  The AVI1 is also used for counting. AVI1 is used to monitor the voltage. It will check the voltage **every 60s**, if voltage is higher or lower than VOLMAX mV, the AVI1 Counting increase 1, so AVI1 counting can be used to measure a machine working hour.
... ... @@ -504,7 +504,6 @@
504 504  
505 505  [[image:image-20220523181903-8.png]]
506 506  
507 -
508 508  (((
509 509  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
510 510  )))
... ... @@ -585,7 +585,6 @@
585 585  
586 586  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
587 587  
588 -
589 589  **LT22222-L**: This mode the DI1 is used as a counting pin.
590 590  
591 591  [[image:image-20220523182334-9.png]]
... ... @@ -634,7 +634,6 @@
634 634  
635 635  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
636 636  
637 -
638 638  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
639 639  
640 640  For example, if user has configured below commands:
... ... @@ -642,11 +642,13 @@
642 642  * **AT+MOD=1 ** **~-~->** The normal working mode
643 643  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
644 644  
611 +
645 645  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
646 646  
647 647  1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type
648 648  1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.**
649 649  
617 +
650 650  **AT Command to set Trigger Condition**:
651 651  
652 652  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -660,7 +660,6 @@
660 660  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
661 661  
662 662  
663 -
664 664  (% style="color:#4f81bd" %)**Trigger base on current**:
665 665  
666 666  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -670,7 +670,6 @@
670 670  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
671 671  
672 672  
673 -
674 674  (% style="color:#4f81bd" %)**Trigger base on DI status**:
675 675  
676 676  DI status trigger Flag.
... ... @@ -677,13 +677,12 @@
677 677  
678 678  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
679 679  
680 -
681 681  **Example:**
682 682  
683 683  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
684 684  
685 685  
686 -**Downlink Command to set Trigger Condition:**
651 +**Downlink Command to set Trigger Condition**
687 687  
688 688  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
689 689  
... ... @@ -712,7 +712,6 @@
712 712  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
713 713  
714 714  
715 -
716 716  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
717 717  
718 718  MOD6 Payload : total 11 bytes payload
... ... @@ -726,6 +726,7 @@
726 726  
727 727  * Each bits shows if the corresponding trigger has been configured.
728 728  
693 +
729 729  **Example:**
730 730  
731 731  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -737,6 +737,7 @@
737 737  
738 738  * Each bits shows which status has been trigger on this uplink.
739 739  
705 +
740 740  **Example:**
741 741  
742 742  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -748,6 +748,7 @@
748 748  
749 749  * Each bits shows which status has been trigger on this uplink.
750 750  
717 +
751 751  **Example:**
752 752  
753 753  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -768,8 +768,6 @@
768 768  === 3.3.7 Payload Decoder ===
769 769  
770 770  (((
771 -
772 -
773 773  **Decoder for TTN/loraserver/ChirpStack**: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/Payload_decoder/]]
774 774  
775 775  
... ... @@ -776,6 +776,7 @@
776 776  )))
777 777  
778 778  
744 +
779 779  == 3.4 ​Configure LT via AT or Downlink ==
780 780  
781 781  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -788,6 +788,8 @@
788 788  
789 789  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
790 790  
757 +
758 +
791 791  === 3.4.1 Common Commands ===
792 792  
793 793  They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
... ... @@ -2019,16 +2019,8 @@
2019 2019  )))
2020 2020  
2021 2021  (((
2022 -== 5.6 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
1990 +
2023 2023  
2024 -If the device is not shut down, but directly powered off.
2025 -
2026 -It will default that this is a power-off state.
2027 -
2028 -In modes 2 to 5, DO RO status and pulse count are saved in flash.
2029 -
2030 -After restart, the status before power failure will be read from flash.
2031 -
2032 2032  = 6. Trouble Shooting =
2033 2033  )))
2034 2034