<
From version < 79.3 >
edited by Xiaoling
on 2022/06/10 09:41
To version < 77.79 >
edited by Xiaoling
on 2022/06/10 09:25
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -76,8 +76,6 @@
76 76  )))
77 77  
78 78  (((
79 -
80 -
81 81  **Interface for Model: LT22222-L:**
82 82  )))
83 83  
... ... @@ -101,8 +101,6 @@
101 101  )))
102 102  
103 103  (((
104 -
105 -
106 106  **LoRa Spec:**
107 107  )))
108 108  
... ... @@ -162,6 +162,8 @@
162 162  )))
163 163  * (((
164 164  Packet engine up to 256 bytes with CRC.
161 +
162 +
165 165  )))
166 166  
167 167  == 1.3 Features ==
... ... @@ -218,9 +218,12 @@
218 218  
219 219  (((
220 220  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 +
221 221  )))
222 222  
223 223  
224 +
224 224  == 3.2 Example to join LoRaWAN network ==
225 225  
226 226  (((
... ... @@ -229,13 +229,12 @@
229 229  
230 230  [[image:image-20220523172350-1.png||height="266" width="864"]]
231 231  
232 -
233 233  (((
234 234  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:
235 235  )))
236 236  
237 237  (((
238 -(% 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.
239 239  )))
240 240  
241 241  (((
... ... @@ -244,7 +244,6 @@
244 244  
245 245  [[image:1653297924498-393.png]]
246 246  
247 -
248 248  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
249 249  
250 250  Add APP EUI in the application.
... ... @@ -258,7 +258,7 @@
258 258  
259 259  
260 260  (((
261 -(% 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.
262 262  )))
263 263  
264 264  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -276,7 +276,6 @@
276 276  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
277 277  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
278 278  
279 -
280 280  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
281 281  
282 282  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -284,8 +284,6 @@
284 284  [[image:image-20220523174024-3.png]]
285 285  
286 286  (((
287 -
288 -
289 289  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
290 290  )))
291 291  
... ... @@ -299,7 +299,6 @@
299 299  
300 300  For example if payload is: [[image:image-20220523175847-2.png]]
301 301  
302 -
303 303  **The value for the interface is:  **
304 304  
305 305  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -315,8 +315,6 @@
315 315  * [1] RO1 relay channel is close and the RO1 LED is ON.
316 316  * [0] RO2 relay channel is open and RO2 LED is OFF;
317 317  
318 -
319 -
320 320  **LT22222-L:**
321 321  
322 322  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -332,10 +332,8 @@
332 332  ** DO1 is high in case there is load between DO1 and V+.
333 333  ** DO1 LED is off in both case
334 334  
335 -
336 336  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
337 337  
338 -
339 339  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
340 340  
341 341  (((
... ... @@ -344,7 +344,6 @@
344 344  
345 345  [[image:image-20220523180452-3.png]]
346 346  
347 -
348 348  (((
349 349  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
350 350  )))
... ... @@ -360,8 +360,6 @@
360 360  )))
361 361  
362 362  (((
363 -
364 -
365 365  **To use counting mode, please run:**
366 366  )))
367 367  
... ... @@ -380,8 +380,6 @@
380 380  )))
381 381  
382 382  (((
383 -
384 -
385 385  (% style="color:#4f81bd" %)**AT Commands for counting:**
386 386  )))
387 387  
... ... @@ -473,6 +473,8 @@
473 473  
474 474  (((
475 475  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
462 +
463 +
476 476  )))
477 477  
478 478  
... ... @@ -479,7 +479,6 @@
479 479  
480 480  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
481 481  
482 -
483 483  **LT22222-L**: This mode the DI1 is used as a counting pin.
484 484  
485 485  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.
... ... @@ -486,7 +486,6 @@
486 486  
487 487  [[image:image-20220523181903-8.png]]
488 488  
489 -
490 490  (((
491 491  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
492 492  )))
... ... @@ -502,8 +502,6 @@
502 502  )))
503 503  
504 504  (((
505 -
506 -
507 507  **To use this mode, please run:**
508 508  )))
509 509  
... ... @@ -530,8 +530,6 @@
530 530  )))
531 531  
532 532  (((
533 -
534 -
535 535  **Plus below command for AVI1 Counting:**
536 536  )))
537 537  
... ... @@ -567,7 +567,6 @@
567 567  
568 568  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
569 569  
570 -
571 571  **LT22222-L**: This mode the DI1 is used as a counting pin.
572 572  
573 573  [[image:image-20220523182334-9.png]]
... ... @@ -616,7 +616,6 @@
616 616  
617 617  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
618 618  
619 -
620 620  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
621 621  
622 622  For example, if user has configured below commands:
... ... @@ -624,11 +624,13 @@
624 624  * **AT+MOD=1 ** **~-~->** The normal working mode
625 625  * **AT+ADDMOD6=1**   **~-~->** Enable trigger
626 626  
607 +
627 627  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
628 628  
629 629  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
630 630  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.**
631 631  
613 +
632 632  **AT Command to set Trigger Condition**:
633 633  
634 634  (% style="color:#4f81bd" %)**Trigger base on voltage**:
... ... @@ -642,7 +642,6 @@
642 642  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
643 643  
644 644  
645 -
646 646  (% style="color:#4f81bd" %)**Trigger base on current**:
647 647  
648 648  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -652,7 +652,6 @@
652 652  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
653 653  
654 654  
655 -
656 656  (% style="color:#4f81bd" %)**Trigger base on DI status**:
657 657  
658 658  DI status trigger Flag.
... ... @@ -659,13 +659,12 @@
659 659  
660 660  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
661 661  
662 -
663 663  **Example:**
664 664  
665 665  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
666 666  
667 667  
668 -**Downlink Command to set Trigger Condition:**
647 +**Downlink Command to set Trigger Condition**
669 669  
670 670  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
671 671  
... ... @@ -694,7 +694,6 @@
694 694  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
695 695  
696 696  
697 -
698 698  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
699 699  
700 700  MOD6 Payload : total 11 bytes payload
... ... @@ -708,6 +708,7 @@
708 708  
709 709  * Each bits shows if the corresponding trigger has been configured.
710 710  
689 +
711 711  **Example:**
712 712  
713 713  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
... ... @@ -719,6 +719,7 @@
719 719  
720 720  * Each bits shows which status has been trigger on this uplink.
721 721  
701 +
722 722  **Example:**
723 723  
724 724  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
... ... @@ -730,6 +730,7 @@
730 730  
731 731  * Each bits shows which status has been trigger on this uplink.
732 732  
713 +
733 733  **Example:**
734 734  
735 735  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
... ... @@ -750,8 +750,6 @@
750 750  === 3.3.7 Payload Decoder ===
751 751  
752 752  (((
753 -
754 -
755 755  **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/]]
756 756  
757 757  
... ... @@ -758,6 +758,7 @@
758 758  )))
759 759  
760 760  
740 +
761 761  == 3.4 ​Configure LT via AT or Downlink ==
762 762  
763 763  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -770,6 +770,8 @@
770 770  
771 771  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
772 772  
753 +
754 +
773 773  === 3.4.1 Common Commands ===
774 774  
775 775  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]]
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0