<
From version < 66.22 >
edited by Xiaoling
on 2022/05/24 13:56
To version < 75.17 >
edited by Xiaoling
on 2022/06/01 17:46
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -16,7 +16,7 @@
16 16  == 1.1 What is LT Series I/O Controller ==
17 17  
18 18  (((
19 -The Dragino LT series I/O Modules are Long Range LoRaWAN I/O Controller. It contains different I/O Interfaces such as: analog current Input, analog voltage input, relay output, digital input and digital output etc. The LT I/O Modules are designed to simplify the installation of I/O monitoring.
19 +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.
20 20  )))
21 21  
22 22  (((
... ... @@ -24,7 +24,7 @@
24 24  )))
25 25  
26 26  (((
27 -The LT I/O Controllers is aiming to provide a simple plug and play, low cost installation by using LoRaWAN wireless technology.
27 +The LT I/O Controllers is aiming to provide an (% style="color:blue" %)**easy and low cost installation** (%%)by using LoRa wireless technology.
28 28  )))
29 29  
30 30  (((
... ... @@ -41,6 +41,8 @@
41 41  
42 42  (((
43 43  [[image:1653295757274-912.png]]
44 +
45 +
44 44  )))
45 45  
46 46  == 1.2  Specifications ==
... ... @@ -151,6 +151,8 @@
151 151  )))
152 152  * (((
153 153  Packet engine up to 256 bytes with CRC.
156 +
157 +
154 154  )))
155 155  
156 156  == 1.3 Features ==
... ... @@ -163,6 +163,7 @@
163 163  * Firmware upgradable via program port
164 164  * Counting
165 165  
170 +
166 166  == 1.4  Applications ==
167 167  
168 168  * Smart Buildings & Home Automation
... ... @@ -172,6 +172,7 @@
172 172  * Smart Cities
173 173  * Smart Factory
174 174  
180 +
175 175  == 1.5 Hardware Variants ==
176 176  
177 177  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -185,6 +185,7 @@
185 185  * 1 x Counting Port
186 186  )))
187 187  
194 +
188 188  = 2. Power ON Device =
189 189  
190 190  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.
... ... @@ -195,6 +195,7 @@
195 195  
196 196  [[image:1653297104069-180.png]]
197 197  
205 +
198 198  = 3. Operation Mode =
199 199  
200 200  == 3.1 How it works? ==
... ... @@ -204,13 +204,13 @@
204 204  )))
205 205  
206 206  (((
207 -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>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H4.UseATCommand]] to set the keys in the devices.
208 -)))
215 +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.
209 209  
210 -(((
211 -3.2 Example to join LoRaWAN network
217 +
212 212  )))
213 213  
220 +== 3.2 Example to join LoRaWAN network ==
221 +
214 214  (((
215 215  This chapter shows an example for how to join the TTN LoRaWAN Network. Below is the network structure, we use our LG308 as LoRaWAN gateway here. 
216 216  )))
... ... @@ -217,7 +217,6 @@
217 217  
218 218  [[image:image-20220523172350-1.png||height="266" width="864"]]
219 219  
220 -
221 221  (((
222 222  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:
223 223  )))
... ... @@ -238,10 +238,12 @@
238 238  
239 239  [[image:1653297955910-247.png||height="321" width="716"]]
240 240  
248 +
241 241  Add APP KEY and DEV EUI
242 242  
243 243  [[image:1653298023685-319.png]]
244 244  
253 +
245 245  (((
246 246  **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.
247 247  )))
... ... @@ -248,6 +248,7 @@
248 248  
249 249  [[image:1653298044601-602.png||height="405" width="709"]]
250 250  
260 +
251 251  == 3.3 Uplink Payload ==
252 252  
253 253  There are five working modes + one interrupt mode on LT for different type application:
... ... @@ -259,6 +259,7 @@
259 259  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
260 260  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
261 261  
272 +
262 262  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
263 263  
264 264  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -309,6 +309,7 @@
309 309  ** DO1 is high in case there is load between DO1 and V+.
310 310  ** DO1 LED is off in both case
311 311  
323 +
312 312  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
313 313  
314 314  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
... ... @@ -329,54 +329,79 @@
329 329  * FIRST: Indicate this is the first packet after join network.
330 330  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
331 331  
344 +(((
332 332  (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
346 +)))
333 333  
348 +(((
334 334  **To use counting mode, please run:**
350 +)))
335 335  
336 336  (% class="box infomessage" %)
337 337  (((
354 +(((
338 338  **AT+MOD=2**
339 339  )))
357 +)))
340 340  
341 341  (% class="box infomessage" %)
342 342  (((
361 +(((
343 343  **ATZ**
344 344  )))
364 +)))
345 345  
366 +(((
346 346  (% style="color:#4f81bd" %)**AT Commands for counting:**
368 +)))
347 347  
370 +(((
348 348  **For LT22222-L:**
372 +)))
349 349  
350 350  (% class="box infomessage" %)
351 351  (((
376 +(((
352 352  **AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
353 353  )))
379 +)))
354 354  
355 355  (% class="box infomessage" %)
356 356  (((
383 +(((
357 357  **AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
358 358  )))
386 +)))
359 359  
360 360  (% class="box infomessage" %)
361 361  (((
390 +(((
362 362  **AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
363 363  )))
393 +)))
364 364  
365 365  (% class="box infomessage" %)
366 366  (((
397 +(((
367 367  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
368 368  )))
400 +)))
369 369  
370 370  (% class="box infomessage" %)
371 371  (((
404 +(((
372 372  **AT+SETCNT=1,60   (Set COUNT1 value to 60)**
373 373  )))
407 +)))
374 374  
375 375  (% class="box infomessage" %)
376 376  (((
411 +(((
377 377  **AT+SETCNT=2,60   (Set COUNT2 value to 60)**
378 378  )))
414 +)))
379 379  
416 +
380 380  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
381 381  
382 382  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -393,22 +393,34 @@
393 393  * FIRST: Indicate this is the first packet after join network.
394 394  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
395 395  
433 +(((
396 396  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
435 +)))
397 397  
437 +(((
398 398  **To use counting mode, please run:**
439 +)))
399 399  
400 400  (% class="box infomessage" %)
401 401  (((
443 +(((
402 402  **AT+MOD=3**
403 403  )))
446 +)))
404 404  
405 405  (% class="box infomessage" %)
406 406  (((
450 +(((
407 407  **ATZ**
408 408  )))
453 +)))
409 409  
410 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]].
455 +(((
456 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
411 411  
458 +
459 +)))
460 +
412 412  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
413 413  
414 414  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -427,45 +427,69 @@
427 427  * FIRST: Indicate this is the first packet after join network.
428 428  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
429 429  
479 +(((
430 430  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
481 +)))
431 431  
483 +(((
432 432  **To use this mode, please run:**
485 +)))
433 433  
434 434  (% class="box infomessage" %)
435 435  (((
489 +(((
436 436  **AT+MOD=4**
437 437  )))
492 +)))
438 438  
439 439  (% class="box infomessage" %)
440 440  (((
496 +(((
441 441  **ATZ**
442 442  )))
499 +)))
443 443  
501 +(((
502 +
503 +)))
444 444  
445 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]].
505 +(((
506 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
507 +)))
446 446  
509 +(((
447 447  **Plus below command for AVI1 Counting:**
511 +)))
448 448  
449 449  (% class="box infomessage" %)
450 450  (((
515 +(((
451 451  **AT+SETCNT=3,60   (set AVI Count to 60)**
452 452  )))
518 +)))
453 453  
454 454  (% class="box infomessage" %)
455 455  (((
522 +(((
456 456  **AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
457 457  )))
525 +)))
458 458  
459 459  (% class="box infomessage" %)
460 460  (((
529 +(((
461 461  **AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
462 462  )))
532 +)))
463 463  
464 464  (% class="box infomessage" %)
465 465  (((
536 +(((
466 466  **AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
467 467  )))
539 +)))
468 468  
541 +
469 469  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
470 470  
471 471  **LT22222-L**: This mode the DI1 is used as a counting pin.
... ... @@ -478,24 +478,38 @@
478 478  
479 479  * RO is for relay. ROx=1 : close,ROx=0 always open.
480 480  * FIRST: Indicate this is the first packet after join network.
481 -* DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
554 +* (((
555 +DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
556 +)))
482 482  
558 +(((
483 483  (% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
560 +)))
484 484  
562 +(((
485 485  **To use this mode, please run:**
564 +)))
486 486  
487 487  (% class="box infomessage" %)
488 488  (((
568 +(((
489 489  **AT+MOD=5**
490 490  )))
571 +)))
491 491  
492 492  (% class="box infomessage" %)
493 493  (((
575 +(((
494 494  **ATZ**
495 495  )))
578 +)))
496 496  
497 -Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:http://8.211.40.43/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.2AT2BMOD3D22C28DoubleDICounting29]].
580 +(((
581 +Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
498 498  
583 +
584 +)))
585 +
499 499  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
500 500  
501 501  (% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
... ... @@ -522,6 +522,7 @@
522 522  
523 523  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
524 524  
612 +
525 525  (% style="color:#4f81bd" %)**Trigger base on current**:
526 526  
527 527  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
... ... @@ -530,6 +530,7 @@
530 530  
531 531  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
532 532  
621 +
533 533  (% style="color:#4f81bd" %)**Trigger base on DI status**:
534 534  
535 535  DI status trigger Flag.
... ... @@ -616,10 +616,13 @@
616 616  
617 617  When device got this command, it will send the MOD6 payload.
618 618  
708 +
619 619  === 3.3.7 Payload Decoder ===
620 620  
621 621  (((
622 622  **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/]]
713 +
714 +
623 623  )))
624 624  
625 625  == 3.4 ​Configure LT via AT or Downlink ==
... ... @@ -630,14 +630,15 @@
630 630  There are two kinds of Commands:
631 631  )))
632 632  
633 -* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.5.4, user can find what common commands it supports: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands
725 +* (% style="color:#4f81bd" %)**Common Commands**(%%): They should be available for each sensor, 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]]
634 634  
635 635  * (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
636 636  
637 637  === 3.4.1 Common Commands ===
638 638  
639 -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>>http://8.211.40.43:8080/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]
731 +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]]
640 640  
733 +
641 641  === 3.4.2 Sensor related commands ===
642 642  
643 643  ==== 3.4.2.1 Set Transmit Interval ====
... ... @@ -660,6 +660,7 @@
660 660  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
661 661  )))
662 662  
756 +
663 663  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
664 664  
665 665  Set work mode.
... ... @@ -680,6 +680,7 @@
680 680  **0x0A aa     ~/~/ Same as AT+MOD=aa**
681 681  )))
682 682  
777 +
683 683  ==== 3.4.2.3 Poll an uplink ====
684 684  
685 685  * AT Command:
... ... @@ -695,9 +695,10 @@
695 695  
696 696  **Example**: 0x08FF, ask device to send an Uplink
697 697  
793 +
698 698  ==== 3.4.2.4 Enable Trigger Mode ====
699 699  
700 -Use of trigger mode, please check [[ADDMOD6>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
796 +Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
701 701  
702 702  * AT Command:
703 703  
... ... @@ -717,6 +717,7 @@
717 717  **0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
718 718  )))
719 719  
816 +
720 720  ==== 3.4.2.5 Poll trigger settings ====
721 721  
722 722  Poll trigger settings,
... ... @@ -732,6 +732,7 @@
732 732  **0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
733 733  )))
734 734  
832 +
735 735  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
736 736  
737 737  Enable Disable DI1/DI2/DI2 as trigger,
... ... @@ -754,6 +754,7 @@
754 754  **0xAA 02 aa bb  ~/~/ Same as AT+DTRI=aa,bb**
755 755  )))
756 756  
855 +
757 757  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
758 758  
759 759  Set DI1 or DI3(for LT-33222-L) trigger.
... ... @@ -780,6 +780,7 @@
780 780  **0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
781 781  )))
782 782  
882 +
783 783  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
784 784  
785 785  Set DI2 trigger.
... ... @@ -806,9 +806,10 @@
806 806  **0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
807 807  )))
808 808  
909 +
809 809  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
810 810  
811 -Set current trigger , base on AC port. See [[trigger mode>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
912 +Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
812 812  
813 813  * AT Command:
814 814  
... ... @@ -821,18 +821,19 @@
821 821  
822 822  (% class="box infomessage" %)
823 823  (((
824 -**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]**
925 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
825 825  )))
826 826  
928 +
827 827  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
828 828  
829 -Set current trigger , base on AV port. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]
931 +Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
830 830  
831 831  * AT Command:
832 832  
833 833  (% class="box infomessage" %)
834 834  (((
835 -**AT+AVLIM. See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]]**
937 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
836 836  )))
837 837  
838 838  * Downlink Payload (prefix 0xAA 00 ):
... ... @@ -839,9 +839,10 @@
839 839  
840 840  (% class="box infomessage" %)
841 841  (((
842 -**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>url:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29]] **
944 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] **
843 843  )))
844 844  
947 +
845 845  ==== 3.4.2.11 Trigger – Set minimum interval ====
846 846  
847 847  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
... ... @@ -860,6 +860,7 @@
860 860  **0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)**
861 861  )))
862 862  
966 +
863 863  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
864 864  
865 865  * AT Command:
... ... @@ -902,8 +902,10 @@
902 902  
903 903  (% class="box infomessage" %)
904 904  (((
1009 +(((
905 905  **0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
906 906  )))
1012 +)))
907 907  
908 908  This is to control the digital output time of DO pin. Include four bytes:
909 909  
... ... @@ -1032,13 +1032,13 @@
1032 1032  
1033 1033  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1034 1034  
1035 -When voltage exceed the threshold, count. Feature see [[MOD4>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]]
1141 +When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1036 1036  
1037 1037  * AT Command:
1038 1038  
1039 1039  (% class="box infomessage" %)
1040 1040  (((
1041 -**AT+VOLMAX    ~/~/ See [[MOD4>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting]]**
1147 +**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1042 1042  )))
1043 1043  
1044 1044  * Downlink Payload (prefix 0xA5):
... ... @@ -1048,6 +1048,7 @@
1048 1048  **0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
1049 1049  )))
1050 1050  
1157 +
1051 1051  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1052 1052  
1053 1053  * AT Command:
... ... @@ -1072,6 +1072,7 @@
1072 1072  **0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
1073 1073  )))
1074 1074  
1182 +
1075 1075  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1076 1076  
1077 1077  Clear counting for counting mode
... ... @@ -1090,6 +1090,7 @@
1090 1090  **0x A6 01     ~/~/ clear all counting,**
1091 1091  )))
1092 1092  
1201 +
1093 1093  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1094 1094  
1095 1095  * AT Command:
... ... @@ -1106,23 +1106,31 @@
1106 1106  **0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1107 1107  )))
1108 1108  
1218 +(((
1109 1109  range: aa bb cc:0 to 16777215,  (unit:second)
1110 1110  
1221 +
1222 +)))
1223 +
1111 1111  == 3.5 Integrate with Mydevice ==
1112 1112  
1113 1113  Mydevices provides a human friendly interface to show the sensor data, once we have data in TTN, we can use Mydevices to connect to TTN and see the data in Mydevices. Below are the steps:
1114 1114  
1228 +(((
1115 1115  **Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1230 +)))
1116 1116  
1232 +(((
1117 1117  **Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1234 +)))
1118 1118  
1119 1119  [[image:1653356737703-362.png||height="232" width="732"]]
1120 1120  
1121 1121  [[image:image-20220524094641-11.png||height="390" width="723"]]
1122 1122  
1123 -
1124 1124  [[image:image-20220524094641-12.png||height="402" width="718"]]
1125 1125  
1242 +
1126 1126  **Step 3**: Create an account or log in Mydevices.
1127 1127  
1128 1128  **Step 4**: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
... ... @@ -1131,6 +1131,7 @@
1131 1131  
1132 1132  [[image:1653356838789-523.png||height="337" width="740"]]
1133 1133  
1251 +
1134 1134  After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
1135 1135  
1136 1136  [[image:image-20220524094909-1.png||height="335" width="729"]]
... ... @@ -1143,6 +1143,7 @@
1143 1143  
1144 1144  [[image:image-20220524094909-5.png||height="341" width="734"]]
1145 1145  
1264 +
1146 1146  == 3.6 Interface Detail ==
1147 1147  
1148 1148  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
... ... @@ -1151,6 +1151,7 @@
1151 1151  
1152 1152  [[image:1653356991268-289.png]]
1153 1153  
1273 +
1154 1154  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1155 1155  
1156 1156  (((
... ... @@ -1166,51 +1166,105 @@
1166 1166  [[image:1653357170703-587.png]]
1167 1167  
1168 1168  (((
1289 +(((
1169 1169  When use need to connect a device to the DI port, both DI1+ and DI1- must be connected.
1170 1170  )))
1292 +)))
1171 1171  
1294 +(((
1295 +
1296 +)))
1172 1172  
1298 +(((
1173 1173  **Example1**: Connect to a Low active sensor.
1300 +)))
1174 1174  
1302 +(((
1175 1175  This type of sensor will output a low signal GND when active.
1304 +)))
1176 1176  
1177 -* Connect sensor’s output to DI1-
1178 -* Connect sensor’s VCC to DI1+.
1306 +* (((
1307 +Connect sensor’s output to DI1-
1308 +)))
1309 +* (((
1310 +Connect sensor’s VCC to DI1+.
1311 +)))
1179 1179  
1180 -So when sensor active, the current between NEC2501 pin1 and pin2 is: ​​
1313 +(((
1314 +So when sensor active, the current between NEC2501 pin1 and pin2 is:
1315 +)))
1181 1181  
1182 - //IF// = DI1+ / 1K.
1317 +(((
1318 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.**
1319 +)))
1183 1183  
1184 -If DI1+ = 12v, the //IF// = 12mA , So the LT-22222-L will be able to detect this active signal.
1321 +(((
1322 +If DI1+ = 12v, the [[image:1653968155772-850.png||height="23" width="19"]]= 12mA , So the LT-22222-L will be able to detect this active signal.
1323 +)))
1185 1185  
1325 +(((
1326 +
1327 +)))
1186 1186  
1329 +(((
1187 1187  **Example2**: Connect to a High active sensor.
1331 +)))
1188 1188  
1333 +(((
1189 1189  This type of sensor will output a high signal (example 24v) when active.
1335 +)))
1190 1190  
1191 -* Connect sensor’s output to DI1+
1192 -* Connect sensor’s GND DI1-.
1337 +* (((
1338 +Connect sensor’s output to DI1+
1339 +)))
1340 +* (((
1341 +Connect sensor’s GND DI1-.
1342 +)))
1193 1193  
1344 +(((
1194 1194  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1346 +)))
1195 1195  
1196 -[[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]** [[image:image-20220524095628-8.png]]= DI1+ / 1K.**
1348 +(((
1349 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.**
1350 +)))
1197 1197  
1198 -If **DI1+ = 24v**, the [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]]** = 24mA , So the LT-22222-L will be able to detect this high active signal.
1352 +(((
1353 +If **DI1+ = 24v**, the[[image:1653968155772-850.png||height="23" width="19"]] 24mA , So the LT-22222-L will be able to detect this high active signal.
1354 +)))
1199 1199  
1356 +(((
1357 +
1358 +)))
1200 1200  
1360 +(((
1201 1201  **Example3**: Connect to a 220v high active sensor.
1362 +)))
1202 1202  
1364 +(((
1203 1203  Assume user want to monitor an active signal higher than 220v, to make sure not burn the photocoupler  
1366 +)))
1204 1204  
1205 -* Connect sensor’s output to DI1+ with a serial 50K resistor
1206 -* Connect sensor’s GND DI1-.
1368 +* (((
1369 +Connect sensor’s output to DI1+ with a serial 50K resistor
1370 +)))
1371 +* (((
1372 +Connect sensor’s GND DI1-.
1373 +)))
1207 1207  
1375 +(((
1208 1208  So when sensor active, the current between NEC2501 pin1 and pin2 is:
1377 +)))
1209 1209  
1210 - [[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]][[image:/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/WebHome/image-20220524095628-8.png?rev=1.1||alt="image-20220524095628-8.png"]]**[[image:image-20220524095628-8.png]] = DI1+ / 51K.**
1379 +(((
1380 + [[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 51K.**
1381 +)))
1211 1211  
1212 -If sensor output is 220v, the (% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K.  = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely.
1383 +(((
1384 +If sensor output is 220v, the [[image:1653968155772-850.png||height="23" width="19"]](% id="cke_bm_243359S" style="display:none" %)[[image:image-20220524095628-8.png]](%%) = DI1+ / 51K.  = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely.
1385 +)))
1213 1213  
1387 +
1214 1214  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1215 1215  
1216 1216  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1217,6 +1217,7 @@
1217 1217  
1218 1218  [[image:1653357531600-905.png]]
1219 1219  
1394 +
1220 1220  === 3.6.4 Analog Input Interface ===
1221 1221  
1222 1222  The analog input interface is as below. The LT will measure the IN2 voltage so to calculate the current pass the Load. The formula is:
... ... @@ -1244,6 +1244,7 @@
1244 1244  
1245 1245  [[image:1653357648330-671.png||height="155" width="733"]]
1246 1246  
1422 +
1247 1247  === 3.6.5 Relay Output ===
1248 1248  
1249 1249  (((
... ... @@ -1254,10 +1254,12 @@
1254 1254  
1255 1255  [[image:image-20220524100215-10.png||height="382" width="723"]]
1256 1256  
1433 +
1257 1257  == 3.7 LEDs Indicators ==
1258 1258  
1259 1259  [[image:image-20220524100748-11.png]]
1260 1260  
1438 +
1261 1261  = 4. Use AT Command =
1262 1262  
1263 1263  == 4.1 Access AT Command ==
... ... @@ -1266,11 +1266,15 @@
1266 1266  
1267 1267  [[image:1653358238933-385.png]]
1268 1268  
1447 +(((
1269 1269  In PC, User needs to set (% style="color:#4f81bd" %)**serial tool**(%%)(such as [[putty>>url:https://www.chiark.greenend.org.uk/~~sgtatham/putty/latest.html]], SecureCRT) baud rate to (% style="color:green" %)**9600**(%%) to access to access serial console for LT. The AT commands are disable by default and need to enter password (default:(% style="color:green" %)**123456**)(%%) to active it. As shown below:
1449 +)))
1270 1270  
1271 1271  [[image:1653358355238-883.png]]
1272 1272  
1453 +(((
1273 1273  More detail AT Command manual can be found at [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
1455 +)))
1274 1274  
1275 1275  (((
1276 1276  AT+<CMD>?        : Help on <CMD>
... ... @@ -1454,6 +1454,8 @@
1454 1454  
1455 1455  (((
1456 1456  AT+CFG: Print all settings
1639 +
1640 +
1457 1457  )))
1458 1458  
1459 1459  == 4.2 Common AT Command Sequence ==
... ... @@ -1495,6 +1495,8 @@
1495 1495  
1496 1496  (((
1497 1497  (% style="background-color:#dcdcdc" %)ATZ
1682 +
1683 +
1498 1498  )))
1499 1499  
1500 1500  === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
... ... @@ -1576,6 +1576,7 @@
1576 1576  (% style="background-color:#dcdcdc" %)AT+CLASS=A
1577 1577  ATZ
1578 1578  
1765 +
1579 1579  = 5. FAQ =
1580 1580  
1581 1581  == 5.1 How to upgrade the image? ==
... ... @@ -1588,11 +1588,13 @@
1588 1588  Below shows the hardware connection for how to upload an image to the LT:
1589 1589  * [[image:1653359603330-121.png]]
1590 1590  
1778 +(((
1591 1591  **Step1:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
1592 1592  **Step2**: Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
1593 1593  **Step3: **Open flashloader; choose the correct COM port to update.
1594 1594  **For LT-22222-L**:
1595 1595  Hold down the PRO button and then momentarily press the RST reset button and the **DO1 led** will change from OFF to ON. When **DO1 LED** is on, it means the device is in download mode.
1784 +)))
1596 1596  
1597 1597   [[image:image-20220524103407-12.png]]
1598 1598  
... ... @@ -1604,6 +1604,7 @@
1604 1604  
1605 1605  [[image:1653360054704-518.png||height="186" width="745"]]
1606 1606  
1796 +
1607 1607  (((
1608 1608  (((
1609 1609  == 5.2 How to change the LoRa Frequency Bands/Region? ==
... ... @@ -1611,7 +1611,9 @@
1611 1611  )))
1612 1612  
1613 1613  (((
1614 -User can follow the introduction for [[how to upgrade image>>path:http://8.211.40.43:8080/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LT-22222-L/#H5.1Howtoupgradetheimage3F]]. When download the images, choose the required image file for download.
1804 +User can follow the introduction for [[how to upgrade image>>||anchor="H5.1Howtoupgradetheimage3F"]]. When download the images, choose the required image file for download.
1805 +
1806 +
1615 1615  )))
1616 1616  
1617 1617  (((
... ... @@ -1638,10 +1638,15 @@
1638 1638  [[image:1653360231087-571.png||height="401" width="727"]]
1639 1639  )))
1640 1640  
1833 +(((
1641 1641  (% style="color:red" %)Note: user just need to make sure above three keys match, User can change either in TTN or Device to make then match. In TTN, NETSKEY and APPSKEY can be configured by user in setting page, but Device Addr is generated by TTN.
1835 +)))
1642 1642  
1837 +(((
1643 1643  (% style="color:#4f81bd" %)**Step2**(%%)**: **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
1839 +)))
1644 1644  
1841 +(((
1645 1645  (% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1646 1646  (% style="background-color:#dcdcdc" %)AT+FDR  (%%) Reset Parameters to Factory Default, Keys Reserve
1647 1647  (% style="background-color:#dcdcdc" %)123456  (%%) Enter Password to have AT access.
... ... @@ -1652,19 +1652,25 @@
1652 1652  (% style="background-color:#dcdcdc" %)AT+CHS=868400000 (%%)Set transmit frequency to 868.4Mhz
1653 1653  (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%) Set Device Address to 26 01 1A F1
1654 1654  (% style="background-color:#dcdcdc" %)ATZ                (%%)Reset MCU
1852 +)))
1655 1655  
1854 +(((
1656 1656  As shown in below:
1856 +)))
1657 1657  
1658 1658  [[image:1653360498588-932.png||height="485" width="726"]]
1659 1659  
1860 +
1660 1660  == 5.4 Can I see counting event in Serial? ==
1661 1661  
1662 1662  (((
1663 1663  User can run AT+DEBUG command to see the counting event in serial. If firmware too old and doesn’t support AT+DEBUG. User can update to latest firmware first.
1865 +
1866 +
1664 1664  )))
1665 1665  
1666 1666  (((
1667 -= 6. Trouble Shooting =
1870 += 6. Trouble Shooting =
1668 1668  )))
1669 1669  
1670 1670  (((
... ... @@ -1674,25 +1674,21 @@
1674 1674  )))
1675 1675  
1676 1676  (((
1677 -Please see this link for how to debug:
1880 +Please see this link for how to debug: [[LoRaWAN Communication Debug>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H5.1Howitwork"]]
1678 1678  
1679 -[[http:~~/~~/8.211.40.43:8080/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/>>http://8.211.40.43:8080/xwiki/bin/view/Main/LoRaWAN%20Communication%20Debug/]]
1882 +
1680 1680  )))
1681 1681  
1682 1682  (((
1683 -[[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#How_it_work]]
1684 -)))
1685 -
1686 -(((
1687 1687  == 6.2 Have trouble to upload image. ==
1688 1688  )))
1689 1689  
1690 1690  (((
1691 -See this link for trouble shooting:
1890 +See this link for trouble shooting: [[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
1692 1692  )))
1693 1693  
1694 1694  (((
1695 -[[http:~~/~~/wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting>>url:http://wiki.dragino.com/index.php?title=Firmware_Upgrade_Trouble_Shooting#UART_upgrade_trouble_shooting]]
1894 +
1696 1696  )))
1697 1697  
1698 1698  (((
... ... @@ -1700,11 +1700,11 @@
1700 1700  )))
1701 1701  
1702 1702  (((
1703 -It might be about the channels mapping. Please see this link for detail:
1902 +It might be about the channels mapping. [[Please see this link for detail>>doc:Main.LoRaWAN Communication Debug.WebHome||anchor="H2.NoticeofUS9152FCN4702FAU915Frequencyband"]]
1704 1704  )))
1705 1705  
1706 1706  (((
1707 -[[http:~~/~~/wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band>>url:http://wiki.dragino.com/index.php?title=LoRaWAN_Communication_Debug#Notice_of_US915.2FCN470.2FAU915_Frequency_band]]
1906 +
1708 1708  )))
1709 1709  
1710 1710  (((
... ... @@ -1723,34 +1723,61 @@
1723 1723  )))
1724 1724  )))
1725 1725  
1925 +(((
1726 1726  * (((
1727 1727  (% style="color:#4f81bd" %)**EU433**(%%): LT with frequency bands EU433
1728 1728  )))
1929 +)))
1930 +
1931 +(((
1729 1729  * (((
1730 1730  (% style="color:#4f81bd" %)**EU868**(%%): LT with frequency bands EU868
1731 1731  )))
1935 +)))
1936 +
1937 +(((
1732 1732  * (((
1733 1733  (% style="color:#4f81bd" %)**KR920**(%%): LT with frequency bands KR920
1734 1734  )))
1941 +)))
1942 +
1943 +(((
1735 1735  * (((
1736 1736  (% style="color:#4f81bd" %)**CN470**(%%): LT with frequency bands CN470
1737 1737  )))
1947 +)))
1948 +
1949 +(((
1738 1738  * (((
1739 1739  (% style="color:#4f81bd" %)**AS923**(%%): LT with frequency bands AS923
1740 1740  )))
1953 +)))
1954 +
1955 +(((
1741 1741  * (((
1742 1742  (% style="color:#4f81bd" %)**AU915**(%%): LT with frequency bands AU915
1743 1743  )))
1959 +)))
1960 +
1961 +(((
1744 1744  * (((
1745 1745  (% style="color:#4f81bd" %)**US915**(%%): LT with frequency bands US915
1746 1746  )))
1965 +)))
1966 +
1967 +(((
1747 1747  * (((
1748 1748  (% style="color:#4f81bd" %)**IN865**(%%): LT with frequency bands IN865
1749 1749  )))
1971 +)))
1750 1750  
1751 1751  (((
1752 -* (% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1974 +* (((
1975 +(% style="color:#4f81bd" %)**CN779**(%%): LT with frequency bands CN779
1753 1753  
1977 +
1978 +)))
1979 +
1754 1754  = 8. Packing Info =
1755 1755  )))
1756 1756  
... ... @@ -1781,6 +1781,8 @@
1781 1781  * Device Weight: 105g
1782 1782  * Package Size / pcs : 14.5 x 8 x 5 cm
1783 1783  * Weight / pcs : 170g
2010 +
2011 +
1784 1784  )))
1785 1785  )))
1786 1786  
... ... @@ -1802,6 +1802,8 @@
1802 1802  (((
1803 1803  (((
1804 1804   [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
2033 +
2034 +
1805 1805  )))
1806 1806  
1807 1807  (((
1653968155772-850.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +886 bytes
Content
1653968164738-884.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +886 bytes
Content
1653968172068-832.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +886 bytes
Content
image-20220531113415-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +172 bytes
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0