<
From version < 80.2 >
edited by Xiaoling
on 2022/06/10 10:19
To version < 77.63 >
edited by Xiaoling
on 2022/06/10 09:15
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -48,7 +48,6 @@
48 48  
49 49  )))
50 50  
51 -
52 52  == 1.2  Specifications ==
53 53  
54 54  (((
... ... @@ -77,8 +77,6 @@
77 77  )))
78 78  
79 79  (((
80 -
81 -
82 82  **Interface for Model: LT22222-L:**
83 83  )))
84 84  
... ... @@ -102,8 +102,6 @@
102 102  )))
103 103  
104 104  (((
105 -
106 -
107 107  **LoRa Spec:**
108 108  )))
109 109  
... ... @@ -163,11 +163,10 @@
163 163  )))
164 164  * (((
165 165  Packet engine up to 256 bytes with CRC.
161 +
162 +
166 166  )))
167 167  
168 -
169 -
170 -
171 171  == 1.3 Features ==
172 172  
173 173  * LoRaWAN Class A & Class C protocol
... ... @@ -178,9 +178,6 @@
178 178  * Firmware upgradable via program port
179 179  * Counting
180 180  
181 -
182 -
183 -
184 184  == 1.4  Applications ==
185 185  
186 186  * Smart Buildings & Home Automation
... ... @@ -190,9 +190,6 @@
190 190  * Smart Cities
191 191  * Smart Factory
192 192  
193 -
194 -
195 -
196 196  == 1.5 Hardware Variants ==
197 197  
198 198  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -206,9 +206,6 @@
206 206  * 1 x Counting Port
207 207  )))
208 208  
209 -
210 -
211 -
212 212  = 2. Power ON Device =
213 213  
214 214  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.
... ... @@ -231,9 +231,12 @@
231 231  
232 232  (((
233 233  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 +
234 234  )))
235 235  
236 236  
224 +
237 237  == 3.2 Example to join LoRaWAN network ==
238 238  
239 239  (((
... ... @@ -242,13 +242,12 @@
242 242  
243 243  [[image:image-20220523172350-1.png||height="266" width="864"]]
244 244  
245 -
246 246  (((
247 247  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:
248 248  )))
249 249  
250 250  (((
251 -(% 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.
252 252  )))
253 253  
254 254  (((
... ... @@ -257,7 +257,6 @@
257 257  
258 258  [[image:1653297924498-393.png]]
259 259  
260 -
261 261  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
262 262  
263 263  Add APP EUI in the application.
... ... @@ -271,7 +271,7 @@
271 271  
272 272  
273 273  (((
274 -(% 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.
275 275  )))
276 276  
277 277  [[image:1653298044601-602.png||height="405" width="709"]]
... ... @@ -296,8 +296,6 @@
296 296  [[image:image-20220523174024-3.png]]
297 297  
298 298  (((
299 -
300 -
301 301  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
302 302  )))
303 303  
... ... @@ -311,7 +311,6 @@
311 311  
312 312  For example if payload is: [[image:image-20220523175847-2.png]]
313 313  
314 -
315 315  **The value for the interface is:  **
316 316  
317 317  AVI1 channel voltage is 0x04AB/1000=1195(DEC)/1000=1.195V
... ... @@ -344,7 +344,6 @@
344 344  
345 345  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
346 346  
347 -
348 348  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
349 349  
350 350  (((
... ... @@ -353,7 +353,6 @@
353 353  
354 354  [[image:image-20220523180452-3.png]]
355 355  
356 -
357 357  (((
358 358  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
359 359  )))
... ... @@ -369,8 +369,6 @@
369 369  )))
370 370  
371 371  (((
372 -
373 -
374 374  **To use counting mode, please run:**
375 375  )))
376 376  
... ... @@ -389,8 +389,6 @@
389 389  )))
390 390  
391 391  (((
392 -
393 -
394 394  (% style="color:#4f81bd" %)**AT Commands for counting:**
395 395  )))
396 396  
... ... @@ -482,6 +482,8 @@
482 482  
483 483  (((
484 484  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
462 +
463 +
485 485  )))
486 486  
487 487  
... ... @@ -488,7 +488,6 @@
488 488  
489 489  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
490 490  
491 -
492 492  **LT22222-L**: This mode the DI1 is used as a counting pin.
493 493  
494 494  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.
... ... @@ -495,7 +495,6 @@
495 495  
496 496  [[image:image-20220523181903-8.png]]
497 497  
498 -
499 499  (((
500 500  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
501 501  )))
... ... @@ -511,8 +511,6 @@
511 511  )))
512 512  
513 513  (((
514 -
515 -
516 516  **To use this mode, please run:**
517 517  )))
518 518  
... ... @@ -539,8 +539,6 @@
539 539  )))
540 540  
541 541  (((
542 -
543 -
544 544  **Plus below command for AVI1 Counting:**
545 545  )))
546 546  
... ... @@ -576,14 +576,11 @@
576 576  
577 577  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
578 578  
579 -
580 580  **LT22222-L**: This mode the DI1 is used as a counting pin.
581 581  
582 582  [[image:image-20220523182334-9.png]]
583 583  
584 584  (((
585 -
586 -
587 587  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
588 588  )))
589 589  
... ... @@ -598,8 +598,6 @@
598 598  )))
599 599  
600 600  (((
601 -
602 -
603 603  **To use this mode, please run:**
604 604  )))
605 605  
... ... @@ -619,6 +619,8 @@
619 619  
620 620  (((
621 621  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
590 +
591 +
622 622  )))
623 623  
624 624  
... ... @@ -625,7 +625,6 @@
625 625  
626 626  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
627 627  
628 -
629 629  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
630 630  
631 631  For example, if user has configured below commands:
... ... @@ -651,7 +651,6 @@
651 651  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
652 652  
653 653  
654 -
655 655  (% style="color:#4f81bd" %)**Trigger base on current**:
656 656  
657 657  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -661,7 +661,6 @@
661 661  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
662 662  
663 663  
664 -
665 665  (% style="color:#4f81bd" %)**Trigger base on DI status**:
666 666  
667 667  DI status trigger Flag.
... ... @@ -668,13 +668,12 @@
668 668  
669 669  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
670 670  
671 -
672 672  **Example:**
673 673  
674 674  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
675 675  
676 676  
677 -**Downlink Command to set Trigger Condition:**
643 +**Downlink Command to set Trigger Condition**
678 678  
679 679  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
680 680  
... ... @@ -692,18 +692,14 @@
692 692  
693 693   Yy4 yy4: AC2 or AV2 high limit.
694 694  
695 -
696 696  **Example1**: AA 00 13 88 00 00 00 00 00 00
697 697  
698 698  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
699 699  
700 -
701 701  **Example2**: AA 02 01 00
702 702  
703 703  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
704 704  
705 -
706 -
707 707  (% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
708 708  
709 709  MOD6 Payload : total 11 bytes payload
... ... @@ -710,7 +710,6 @@
710 710  
711 711  [[image:image-20220524085923-1.png]]
712 712  
713 -
714 714  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
715 715  
716 716  [[image:image-20220524090106-2.png]]
... ... @@ -759,8 +759,6 @@
759 759  === 3.3.7 Payload Decoder ===
760 760  
761 761  (((
762 -
763 -
764 764  **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/]]
765 765  
766 766  
... ... @@ -767,6 +767,7 @@
767 767  )))
768 768  
769 769  
729 +
770 770  == 3.4 ​Configure LT via AT or Downlink ==
771 771  
772 772  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
... ... @@ -779,7 +779,6 @@
779 779  
780 780  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
781 781  
782 -
783 783  === 3.4.1 Common Commands ===
784 784  
785 785  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]]
... ... @@ -801,7 +801,6 @@
801 801  
802 802  **Example: **AT+TDC=30000. Means set interval to 30 seconds
803 803  
804 -
805 805  * Downlink Payload (prefix 0x01):
806 806  
807 807  (% class="box infomessage" %)
... ... @@ -824,7 +824,6 @@
824 824  
825 825  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
826 826  
827 -
828 828  * Downlink Payload (prefix 0x0A):
829 829  
830 830  (% class="box infomessage" %)
... ... @@ -840,7 +840,6 @@
840 840  
841 841  There is no AT Command to poll uplink
842 842  
843 -
844 844  * Downlink Payload (prefix 0x08):
845 845  
846 846  (% class="box infomessage" %)
... ... @@ -867,7 +867,6 @@
867 867  
868 868  0: Disable Trigger Mode
869 869  
870 -
871 871  * Downlink Payload (prefix 0x0A 06):
872 872  
873 873  (% class="box infomessage" %)
... ... @@ -885,7 +885,6 @@
885 885  
886 886  There is no AT Command for this feature.
887 887  
888 -
889 889  * Downlink Payload (prefix 0x AB 06):
890 890  
891 891  (% class="box infomessage" %)
... ... @@ -906,7 +906,6 @@
906 906  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
907 907  )))
908 908  
909 -
910 910  **Example:**
911 911  
912 912  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
... ... @@ -935,12 +935,10 @@
935 935  
936 936  b : delay timing.
937 937  
938 -
939 939  **Example:**
940 940  
941 941  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
942 942  
943 -
944 944  * Downlink Payload (prefix 0x09 01 ):
945 945  
946 946  (% class="box infomessage" %)
... ... @@ -965,12 +965,10 @@
965 965  
966 966  b : delay timing.
967 967  
968 -
969 969  **Example:**
970 970  
971 971  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
972 972  
973 -
974 974  * Downlink Payload (prefix 0x09 02 ):
975 975  
976 976  (% class="box infomessage" %)
... ... @@ -991,7 +991,6 @@
991 991  **AT+ACLIM. **
992 992  )))
993 993  
994 -
995 995  * Downlink Payload (prefix 0xAA 01 ):
996 996  
997 997  (% class="box infomessage" %)
... ... @@ -1012,7 +1012,6 @@
1012 1012  **AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1013 1013  )))
1014 1014  
1015 -
1016 1016  * Downlink Payload (prefix 0xAA 00 ):
1017 1017  
1018 1018  (% class="box infomessage" %)
... ... @@ -1033,7 +1033,6 @@
1033 1033  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1034 1034  )))
1035 1035  
1036 -
1037 1037  * Downlink Payload (prefix 0xAC ):
1038 1038  
1039 1039  (% class="box infomessage" %)
... ... @@ -1049,7 +1049,6 @@
1049 1049  
1050 1050  There is no AT Command to control Digital Output
1051 1051  
1052 -
1053 1053  * Downlink Payload (prefix 0x02):
1054 1054  
1055 1055  (% class="box infomessage" %)
... ... @@ -1083,7 +1083,6 @@
1083 1083  
1084 1084  There is no AT Command to control Digital Output
1085 1085  
1086 -
1087 1087  * Downlink Payload (prefix 0xA9):
1088 1088  
1089 1089  (% class="box infomessage" %)
... ... @@ -1103,22 +1103,18 @@
1103 1103  
1104 1104  00: DO pins will change to an inverter state after timeout 
1105 1105  
1106 -
1107 1107  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1108 1108  
1109 1109  [[image:image-20220524093238-6.png]]
1110 1110  
1111 -
1112 1112  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1113 1113  
1114 1114  [[image:image-20220524093328-7.png]]
1115 1115  
1116 -
1117 1117  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1118 1118  
1119 1119  [[image:image-20220524093351-8.png]]
1120 1120  
1121 -
1122 1122  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1123 1123  
1124 1124   Latching time. Unit: ms
... ... @@ -1125,7 +1125,6 @@
1125 1125  
1126 1126  Device will upload a packet if downlink code executes successfully.
1127 1127  
1128 -
1129 1129  **Example payload:**
1130 1130  
1131 1131  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1146,13 +1146,12 @@
1146 1146  
1147 1147  
1148 1148  
1149 -==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1088 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1150 1150  
1151 1151  * AT Command:
1152 1152  
1153 1153  There is no AT Command to control Relay Output
1154 1154  
1155 -
1156 1156  * Downlink Payload (prefix 0x03):
1157 1157  
1158 1158  (% class="box infomessage" %)
... ... @@ -1182,7 +1182,6 @@
1182 1182  
1183 1183  There is no AT Command to control Relay Output
1184 1184  
1185 -
1186 1186  * Downlink Payload (prefix 0x05):
1187 1187  
1188 1188  (% class="box infomessage" %)
... ... @@ -1242,7 +1242,6 @@
1242 1242  **AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1243 1243  )))
1244 1244  
1245 -
1246 1246  * Downlink Payload (prefix 0xA5):
1247 1247  
1248 1248  (% class="box infomessage" %)
... ... @@ -1269,7 +1269,6 @@
1269 1269  
1270 1270  Bb cc dd ee: number to be set
1271 1271  
1272 -
1273 1273  * Downlink Payload (prefix 0xA8):
1274 1274  
1275 1275  (% class="box infomessage" %)
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0