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

From version 118.9
edited by Xiaoling
on 2023/05/17 11:18
Change comment: There is no comment for this version
To version 90.3
edited by Xiaoling
on 2022/08/18 11:46
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -20,13 +20,11 @@
20 20  (((
21 21  
22 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 -)))
27 27  
28 28  (((
29 -The LT I/O Controllers allows the user to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, building automation, and so on.
27 +The LT I/O Controllers allows the user to send data and reach extremely long ranges. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection, building automation, and so on.
30 30  )))
31 31  
32 32  (((
... ... @@ -38,7 +38,7 @@
38 38  )))
39 39  
40 40  (((
41 -1) If user's area has LoRaWAN service coverage, they can just install the I/O controller and configure it to connect the LoRaWAN provider via wireless.
39 +1) If users area has LoRaWAN service coverage, they can just install the I/O controller and configure it to connect the LoRaWAN provider via wireless.
42 42  )))
43 43  
44 44  (((
... ... @@ -53,16 +53,17 @@
53 53  
54 54  )))
55 55  
54 +
56 56  == 1.2  Specifications ==
57 57  
58 58  (((
59 59  
60 60  
61 -(% style="color:#037691" %)**Hardware System:**
60 +**Hardware System:**
62 62  )))
63 63  
64 64  * (((
65 -STM32L072xxxx MCU
64 +STM32L072CZT6 MCU
66 66  )))
67 67  * (((
68 68  SX1276/78 Wireless Chip 
... ... @@ -83,7 +83,7 @@
83 83  (((
84 84  
85 85  
86 -(% style="color:#037691" %)**Interface for Model: LT22222-L:**
85 +**Interface for Model: LT22222-L:**
87 87  )))
88 88  
89 89  * (((
... ... @@ -108,7 +108,7 @@
108 108  (((
109 109  
110 110  
111 -(% style="color:#037691" %)**LoRa Spec:**
110 +**LoRa Spec:**
112 112  )))
113 113  
114 114  * (((
... ... @@ -169,6 +169,7 @@
169 169  Packet engine up to 256 bytes with CRC.
170 170  
171 171  
171 +
172 172  
173 173  )))
174 174  
... ... @@ -176,43 +176,35 @@
176 176  
177 177  
178 178  * LoRaWAN Class A & Class C protocol
179 -
180 180  * Optional Customized LoRa Protocol
181 -
182 -* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865/MA869
183 -
180 +* Frequency Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/RU864/IN865
184 184  * AT Commands to change parameters
185 -
186 186  * Remote configure parameters via LoRa Downlink
187 -
188 188  * Firmware upgradable via program port
189 -
190 190  * Counting
191 191  
186 +
187 +
188 +
192 192  == 1.4  Applications ==
193 193  
194 194  
195 195  * Smart Buildings & Home Automation
196 -
197 197  * Logistics and Supply Chain Management
198 -
199 199  * Smart Metering
200 -
201 201  * Smart Agriculture
202 -
203 203  * Smart Cities
204 -
205 205  * Smart Factory
206 206  
199 +
200 +
201 +
207 207  == 1.5 Hardware Variants ==
208 208  
209 209  
210 -(% border="1" style="background-color:#f2f2f2; width:500px" %)
211 -|(% style="background-color:#d9e2f3; color:#0070c0; width:103px" %)**Model**|(% style="background-color:#d9e2f3; color:#0070c0; width:131px" %)**Photo**|(% style="background-color:#d9e2f3; color:#0070c0; width:334px" %)**Description**
212 -|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)(((
213 -(% style="text-align:center" %)
214 -[[image:image-20230424115112-1.png||height="106" width="58"]]
215 -)))|(% style="width:334px" %)(((
205 +(% border="1" style="background-color:#f7faff; width:500px" %)
206 +|(% style="width:103px" %)**Model**|(% style="width:131px" %)**Photo**|(% style="width:334px" %)**Description**
207 +|(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)[[image:1653296302983-697.png]]|(% style="width:334px" %)(((
216 216  * 2 x Digital Input (Bi-direction)
217 217  * 2 x Digital Output
218 218  * 2 x Relay Output (5A@250VAC / 30VDC)
... ... @@ -221,22 +221,21 @@
221 221  * 1 x Counting Port
222 222  )))
223 223  
216 +
217 +
224 224  = 2. Power ON Device =
225 225  
226 226  
227 -(((
228 228  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.
229 -)))
230 230  
231 231  (((
232 232  PWR will on when device is properly powered.
233 -
234 -
235 235  )))
236 236  
237 237  [[image:1653297104069-180.png]]
238 238  
239 239  
230 +
240 240  = 3. Operation Mode =
241 241  
242 242  == 3.1 How it works? ==
... ... @@ -251,6 +251,7 @@
251 251  )))
252 252  
253 253  
245 +
254 254  == 3.2 Example to join LoRaWAN network ==
255 255  
256 256  
... ... @@ -277,17 +277,17 @@
277 277  Each LT is shipped with a sticker with the default device EUI as below:
278 278  )))
279 279  
280 -[[image:image-20230425173427-2.png||height="246" width="530"]]
272 +[[image:1653297924498-393.png]]
281 281  
282 282  
283 283  Input these keys in the LoRaWAN Server portal. Below is TTN screen shot:
284 284  
285 -**Add APP EUI in the application.**
277 +Add APP EUI in the application.
286 286  
287 287  [[image:1653297955910-247.png||height="321" width="716"]]
288 288  
289 289  
290 -**Add APP KEY and DEV EUI**
282 +Add APP KEY and DEV EUI
291 291  
292 292  [[image:1653298023685-319.png]]
293 293  
... ... @@ -295,13 +295,12 @@
295 295  
296 296  (((
297 297  (% 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.
298 -
299 -
300 300  )))
301 301  
302 302  [[image:1653298044601-602.png||height="405" width="709"]]
303 303  
304 304  
295 +
305 305  == 3.3 Uplink Payload ==
306 306  
307 307  
... ... @@ -314,48 +314,29 @@
314 314  * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
315 315  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
316 316  
317 -=== 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
318 318  
319 319  
320 -(((
321 -The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. (% style="display:none" %)
322 322  
323 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
324 -|Size(bytes)(% style="display:none" %) |2|2|2|2|1|1|1
325 -|Value|(((
326 -AVI1
327 -voltage
328 -)))|(((
329 -AVI2
330 -voltage
331 -)))|(((
332 -ACI1
333 -Current
334 -)))|(((
335 -ACI2
336 -Current
337 -)))|DIDORO*|(((
338 -Reserve
339 -)))|MOD
340 -)))
311 +=== 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
341 341  
342 342  
314 +The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
315 +
316 +[[image:image-20220523174024-3.png]]
317 +
343 343  (((
344 344  
345 345  
346 346  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
347 -
348 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
349 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
350 -|RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1
351 351  )))
352 352  
324 +[[image:image-20220523174254-4.png]]
353 353  
354 354  * RO is for relay. ROx=1 : close,ROx=0 always open.
355 355  * DI is for digital input. DIx=1: high or float, DIx=0: low.
356 356  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
357 357  
358 -(% style="color:red" %)**Note: DI3 and DO3 bit are not valid for LT-22222-L**
330 +(% style="color:red" %)Note: DI3 and DO3 bit are not valid for LT-22222-L
359 359  
360 360  For example if payload is: [[image:image-20220523175847-2.png]]
361 361  
... ... @@ -375,6 +375,7 @@
375 375  * [1] RO1 relay channel is close and the RO1 LED is ON.
376 376  * [0] RO2 relay channel is open and RO2 LED is OFF;
377 377  
350 +
378 378  **LT22222-L:**
379 379  
380 380  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -390,42 +390,33 @@
390 390  ** DO1 is high in case there is load between DO1 and V+.
391 391  ** DO1 LED is off in both case
392 392  
366 +
367 +
368 +
393 393  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
394 394  
395 395  
396 -(((
397 397  **For LT-22222-L**: this mode the **DI1 and DI2** are used as counting pins.
398 -)))
399 399  
400 400  (((
401 401  Total : 11 bytes payload
376 +)))
402 402  
403 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
404 -|Size(bytes)|4|4|1|1|1
405 -|Value|COUNT1|COUNT2 |DIDORO*|(((
406 -Reserve
378 +[[image:image-20220523180452-3.png]]
407 407  
408 -
409 -)))|MOD
410 -)))
411 411  
412 412  (((
413 -
414 -
415 415  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
416 -
417 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
418 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
419 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
420 -
421 -RO is for relay. ROx=1 : close,ROx=0 always open.
422 422  )))
423 423  
385 +[[image:image-20220523180506-4.png]]
386 +
387 +* RO is for relay. ROx=1 : close,ROx=0 always open.
424 424  * FIRST: Indicate this is the first packet after join network.
425 425  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
426 426  
427 427  (((
428 -(% style="color:red" %)**Note: DO3 bit is not valid for LT-22222-L.**
392 +(% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
429 429  )))
430 430  
431 431  (((
... ... @@ -437,22 +437,16 @@
437 437  (% class="box infomessage" %)
438 438  (((
439 439  (((
440 -(((
441 441  **AT+MOD=2**
442 -)))
443 443  
444 -(((
445 445  **ATZ**
446 446  )))
447 447  )))
448 -)))
449 449  
450 450  (((
451 451  
452 452  
453 453  (% style="color:#4f81bd" %)**AT Commands for counting:**
454 -
455 -
456 456  )))
457 457  
458 458  (((
... ... @@ -473,29 +473,21 @@
473 473  )))
474 474  
475 475  
434 +
476 476  === 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
477 477  
478 478  
479 479  **LT22222-L**: This mode the DI1 is used as a counting pin.
480 480  
481 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
482 -|Size(bytes)|4|2|2|1|1|1
483 -|Value|COUNT1|(((
484 -ACI1 Current
485 -)))|(((
486 -ACI2 Current
487 -)))|DIDORO*|Reserve|MOD
440 +[[image:image-20220523181246-5.png]]
488 488  
489 489  (((
490 490  
491 491  
492 492  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
493 -
494 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
495 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
496 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
497 497  )))
498 498  
448 +[[image:image-20220523181301-6.png]]
499 499  
500 500  * RO is for relay. ROx=1 : close,ROx=0 always open.
501 501  * FIRST: Indicate this is the first packet after join network.
... ... @@ -502,7 +502,7 @@
502 502  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
503 503  
504 504  (((
505 -(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.**
455 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
506 506  )))
507 507  
508 508  
... ... @@ -513,15 +513,11 @@
513 513  (% class="box infomessage" %)
514 514  (((
515 515  (((
516 -(((
517 517  **AT+MOD=3**
518 -)))
519 519  
520 -(((
521 521  **ATZ**
522 522  )))
523 523  )))
524 -)))
525 525  
526 526  (((
527 527  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
... ... @@ -528,35 +528,22 @@
528 528  )))
529 529  
530 530  
477 +
531 531  === 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
532 532  
533 533  
534 -(((
535 535  **LT22222-L**: This mode the DI1 is used as a counting pin.
536 -)))
537 537  
538 -(((
539 539  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.
540 540  
541 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
542 -|Size(bytes)|4|4|1|1|1
543 -|Value|COUNT1|AVI1 Counting|DIDORO*|(((
544 -Reserve
485 +[[image:image-20220523181903-8.png]]
545 545  
546 -
547 -)))|MOD
548 -)))
549 549  
550 -
551 -
552 552  (((
553 553  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
554 -
555 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
556 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
557 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
558 558  )))
559 559  
492 +[[image:image-20220523181727-7.png]]
560 560  
561 561  * RO is for relay. ROx=1 : close,ROx=0 always open.
562 562  * FIRST: Indicate this is the first packet after join network.
... ... @@ -563,7 +563,7 @@
563 563  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
564 564  
565 565  (((
566 -(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.**
499 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
567 567  )))
568 568  
569 569  (((
... ... @@ -575,17 +575,14 @@
575 575  (% class="box infomessage" %)
576 576  (((
577 577  (((
578 -(((
579 579  **AT+MOD=4**
580 -)))
581 581  
582 -(((
583 583  **ATZ**
584 584  )))
585 585  )))
586 -)))
587 587  
588 588  
518 +
589 589  (((
590 590  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
591 591  )))
... ... @@ -606,34 +606,18 @@
606 606  )))
607 607  
608 608  
539 +
609 609  === 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
610 610  
611 611  
612 612  **LT22222-L**: This mode the DI1 is used as a counting pin.
613 613  
614 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
615 -|Size(bytes)|2|2|2|2|1|1|1
616 -|Value|(((
617 -AVI1
618 -voltage
619 -)))|(((
620 -AVI2
621 -voltage
622 -)))|(((
623 -ACI1
624 -Current
625 -)))|COUNT1|DIDORO*|(((
626 -Reserve
627 -)))|MOD
545 +[[image:image-20220523182334-9.png]]
628 628  
629 629  (((
630 630  
631 631  
632 632  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
633 -
634 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
635 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
636 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
637 637  )))
638 638  
639 639  * RO is for relay. ROx=1 : close,ROx=0 always open.
... ... @@ -643,7 +643,7 @@
643 643  )))
644 644  
645 645  (((
646 -(% style="color:red" %)**Note: DO3 is not valid for LT-22222-L.**
560 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
647 647  )))
648 648  
649 649  (((
... ... @@ -655,15 +655,11 @@
655 655  (% class="box infomessage" %)
656 656  (((
657 657  (((
658 -(((
659 659  **AT+MOD=5**
660 -)))
661 661  
662 -(((
663 663  **ATZ**
664 664  )))
665 665  )))
666 -)))
667 667  
668 668  (((
669 669  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
... ... @@ -670,6 +670,7 @@
670 670  )))
671 671  
672 672  
583 +
673 673  === 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
674 674  
675 675  
... ... @@ -692,7 +692,6 @@
692 692  
693 693  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
694 694  
695 -
696 696  **Example:**
697 697  
698 698  AT+AVLIM=3000,6000,0,2000   (If AVI1 voltage lower than 3v or higher than 6v. or AV2 voltage is higher than 2v, LT will trigger Uplink)
... ... @@ -705,7 +705,6 @@
705 705  
706 706  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
707 707  
708 -
709 709  **Example:**
710 710  
711 711  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
... ... @@ -758,51 +758,12 @@
758 758  
759 759  MOD6 Payload : total 11 bytes payload
760 760  
761 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
762 -|Size(bytes)|1|1|1|6|1|1
763 -|Value|(((
764 -TRI_A
765 -FLAG
766 -)))|(((
767 -TRI_A
768 -Status
769 -)))|(((
770 -TRI_DI
771 -FLAG+STA
772 -)))|Reserve|Enable/Disable MOD6|(((
773 -MOD
774 -(6)
775 -)))
670 +[[image:image-20220524085923-1.png]]
776 776  
672 +
777 777  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
778 778  
779 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
780 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
781 -|(((
782 -AV1_
783 -LOW
784 -)))|(((
785 -AV1_
786 -HIGH
787 -)))|(((
788 -AV2_
789 -LOW
790 -)))|(((
791 -AV2_
792 -HIGH
793 -)))|(((
794 -AC1_
795 -LOW
796 -)))|(((
797 -AC1_
798 -HIGH
799 -)))|(((
800 -AC2_
801 -LOW
802 -)))|(((
803 -AC2_
804 -HIGH
805 -)))
675 +[[image:image-20220524090106-2.png]]
806 806  
807 807  * Each bits shows if the corresponding trigger has been configured.
808 808  
... ... @@ -811,38 +811,10 @@
811 811  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
812 812  
813 813  
814 -
815 815  (% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below
816 816  
817 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
818 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
819 -|(((
820 -AV1_
821 -LOW
822 -)))|(((
823 -AV1_
824 -HIGH
825 -)))|(((
826 -AV2_
827 -LOW
828 -)))|(((
829 -AV2_
830 -HIGH
831 -)))|(((
832 -AC1_
833 -LOW
834 -)))|(((
835 -AC1_
836 -HIGH
837 -)))|(((
838 -AC2_
839 -LOW
840 -)))|(((
841 -AC2_
842 -HIGH
843 -)))
686 +[[image:image-20220524090249-3.png]]
844 844  
845 -
846 846  * Each bits shows which status has been trigger on this uplink.
847 847  
848 848  **Example:**
... ... @@ -852,9 +852,7 @@
852 852  
853 853  (% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
854 854  
855 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
856 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
857 -|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG
697 +[[image:image-20220524090456-4.png]]
858 858  
859 859  * Each bits shows which status has been trigger on this uplink.
860 860  
... ... @@ -874,12 +874,15 @@
874 874  When device got this command, it will send the MOD6 payload.
875 875  
876 876  
717 +
877 877  === 3.3.7 Payload Decoder ===
878 878  
879 879  (((
880 880  
881 881  
882 -**Decoder for TTN/loraserver/ChirpStack**:  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
723 +**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/]]
724 +
725 +
883 883  )))
884 884  
885 885  
... ... @@ -886,30 +886,29 @@
886 886  == 3.4 ​Configure LT via AT or Downlink ==
887 887  
888 888  
889 -(((
890 890  User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
891 -)))
892 892  
893 893  (((
894 -(((
895 895  There are two kinds of Commands:
896 896  )))
897 -)))
898 898  
899 -* (% style="color:blue" %)**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]]
738 +* (% 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]]
900 900  
901 -* (% style="color:blue" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
740 +* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
902 902  
742 +
743 +
744 +
903 903  === 3.4.1 Common Commands ===
904 904  
905 905  
906 -(((
907 907  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]]
908 -)))
909 909  
910 910  
751 +
911 911  === 3.4.2 Sensor related commands ===
912 912  
754 +
913 913  ==== 3.4.2.1 Set Transmit Interval ====
914 914  
915 915  
... ... @@ -917,7 +917,7 @@
917 917  
918 918  * (% style="color:#037691" %)**AT Command:**
919 919  
920 -(% style="color:blue" %)**AT+TDC=N **
762 +**AT+TDC=N **
921 921  
922 922  
923 923  **Example: **AT+TDC=30000. Means set interval to 30 seconds
... ... @@ -925,10 +925,11 @@
925 925  
926 926  * (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
927 927  
928 -(% style="color:blue" %)**0x01 aa bb cc  **(%%)** ~/~/ Same as AT+TDC=0x(aa bb cc)**
770 +**0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
929 929  
930 930  
931 931  
774 +
932 932  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
933 933  
934 934  
... ... @@ -936,7 +936,7 @@
936 936  
937 937  * (% style="color:#037691" %)**AT Command:**
938 938  
939 -(% style="color:blue" %)**AT+MOD=N  **
782 +**AT+MOD=N  **
940 940  
941 941  
942 942  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
... ... @@ -944,10 +944,11 @@
944 944  
945 945  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
946 946  
947 -(% style="color:blue" %)**0x0A aa  **(%%)** ** ~/~/ Same as AT+MOD=aa
790 +**0x0A aa    ** ~/~/ Same as AT+MOD=aa
948 948  
949 949  
950 950  
794 +
951 951  ==== 3.4.2.3 Poll an uplink ====
952 952  
953 953  
... ... @@ -958,13 +958,13 @@
958 958  
959 959  * (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
960 960  
961 -(% style="color:blue" %)**0x08 FF  **(%%)** **~/~/ Poll an uplink
805 +**0x08 FF     **~/~/ Poll an uplink
962 962  
963 -
964 964  **Example**: 0x08FF, ask device to send an Uplink
965 965  
966 966  
967 967  
811 +
968 968  ==== 3.4.2.4 Enable Trigger Mode ====
969 969  
970 970  
... ... @@ -972,19 +972,20 @@
972 972  
973 973  * (% style="color:#037691" %)**AT Command:**
974 974  
975 -(% style="color:blue" %)**AT+ADDMOD6=1 or 0**
819 +**AT+ADDMOD6=1 or 0**
976 976  
977 -(% style="color:red" %)**1:** (%%)Enable Trigger Mode
821 +1: Enable Trigger Mode
978 978  
979 -(% style="color:red" %)**0: **(%%)Disable Trigger Mode
823 +0: Disable Trigger Mode
980 980  
981 981  
982 982  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
983 983  
984 -(% style="color:blue" %)**0x0A 06 aa    **(%%) ~/~/ Same as AT+ADDMOD6=aa
828 +**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
985 985  
986 986  
987 987  
832 +
988 988  ==== 3.4.2.5 Poll trigger settings ====
989 989  
990 990  
... ... @@ -997,10 +997,11 @@
997 997  
998 998  * (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
999 999  
1000 -(% style="color:blue" %)**0xAB 06  ** (%%) ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
845 +**0xAB 06         **~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
1001 1001  
1002 1002  
1003 1003  
849 +
1004 1004  ==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
1005 1005  
1006 1006  
... ... @@ -1008,7 +1008,7 @@
1008 1008  
1009 1009  * (% style="color:#037691" %)**AT Command:**
1010 1010  
1011 -(% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
857 +**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
1012 1012  
1013 1013  
1014 1014  **Example:**
... ... @@ -1017,10 +1017,11 @@
1017 1017  
1018 1018  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
1019 1019  
1020 -(% style="color:blue" %)**0xAA 02 aa bb   ** (%%) ~/~/ Same as AT+DTRI=aa,bb
866 +**0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
1021 1021  
1022 1022  
1023 1023  
870 +
1024 1024  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
1025 1025  
1026 1026  
... ... @@ -1028,11 +1028,11 @@
1028 1028  
1029 1029  * (% style="color:#037691" %)**AT Command:**
1030 1030  
1031 -(% style="color:blue" %)**AT+TRIG1=a,b**
878 +**AT+TRIG1=a,b**
1032 1032  
1033 -(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
880 +a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
1034 1034  
1035 -(% style="color:red" %)**b :** (%%)delay timing.
882 +b : delay timing.
1036 1036  
1037 1037  
1038 1038  **Example:**
... ... @@ -1041,8 +1041,8 @@
1041 1041  
1042 1042  
1043 1043  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
891 +* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
1044 1044  
1045 -(% style="color:blue" %)**0x09 01 aa bb cc    ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc)
1046 1046  
1047 1047  
1048 1048  
... ... @@ -1053,13 +1053,14 @@
1053 1053  
1054 1054  * (% style="color:#037691" %)**AT Command:**
1055 1055  
1056 -(% style="color:blue" %)**AT+TRIG2=a,b**
903 +**AT+TRIG2=a,b**
1057 1057  
1058 -(% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
1059 1059  
1060 -(% style="color:red" %)**b :** (%%)delay timing.
906 +a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
1061 1061  
908 +b : delay timing.
1062 1062  
910 +
1063 1063  **Example:**
1064 1064  
1065 1065  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
... ... @@ -1067,10 +1067,11 @@
1067 1067  
1068 1068  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
1069 1069  
1070 -(% style="color:blue" %)**0x09 02 aa bb cc   ** (%%)~/~/ same as AT+TRIG2=aa,0x(bb cc)
918 +**0x09 02 aa bb cc           **~/~/ same as AT+TRIG1=aa,0x(bb cc)
1071 1071  
1072 1072  
1073 1073  
922 +
1074 1074  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
1075 1075  
1076 1076  
... ... @@ -1078,15 +1078,16 @@
1078 1078  
1079 1079  * (% style="color:#037691" %)**AT Command**
1080 1080  
1081 -(% style="color:blue" %)**AT+ACLIM**
930 +**AT+ACLIM**
1082 1082  
1083 1083  
1084 1084  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
1085 1085  
1086 -(% style="color:blue" %)**0x AA 01 aa bb cc dd ee ff gg hh        ** (%%) ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
935 +**0x AA 01 aa bb cc dd ee ff gg hh        ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1087 1087  
1088 1088  
1089 1089  
939 +
1090 1090  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
1091 1091  
1092 1092  
... ... @@ -1094,15 +1094,16 @@
1094 1094  
1095 1095  * (% style="color:#037691" %)**AT Command**
1096 1096  
1097 -(% style="color:blue" %)**AT+AVLIM    **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
947 +**AT+AVLIM  See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1098 1098  
1099 1099  
1100 1100  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
1101 1101  
1102 -(% style="color:blue" %)**0x AA 00 aa bb cc dd ee ff gg hh    ** (%%) ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
952 +**0x AA 00 aa bb cc dd ee ff gg hh    ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1103 1103  
1104 1104  
1105 1105  
956 +
1106 1106  ==== 3.4.2.11 Trigger – Set minimum interval ====
1107 1107  
1108 1108  
... ... @@ -1110,21 +1110,22 @@
1110 1110  
1111 1111  * (% style="color:#037691" %)**AT Command**
1112 1112  
1113 -(% style="color:blue" %)**AT+ATDC=5        ** (%%)Device won't response the second trigger within 5 minute after the first trigger.
964 +**AT+ATDC=5        ** Device won't response the second trigger within 5 minute after the first trigger.
1114 1114  
1115 1115  
1116 1116  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
1117 1117  
1118 -(% style="color:blue" %)**0x AC aa bb   **(%%) ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
969 +**0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
1119 1119  
1120 1120  (((
1121 1121  
1122 1122  
1123 -(% style="color:red" %)**Note: ATDC setting must be more than 5min**
974 +(% style="color:red" %)Note: ATDC setting must be more than 5min
1124 1124  )))
1125 1125  
1126 1126  
1127 1127  
979 +
1128 1128  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
1129 1129  
1130 1130  
... ... @@ -1134,7 +1134,7 @@
1134 1134  
1135 1135  
1136 1136  * (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
1137 -* (% style="color:blue" %)**0x02 aa bb cc     ** (%%)~/~/ Set DO1/DO2/DO3 output
989 +* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
1138 1138  
1139 1139  (((
1140 1140  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
... ... @@ -1142,25 +1142,21 @@
1142 1142  
1143 1143  (((
1144 1144  01: Low,  00: High ,  11: No action
1145 -
1146 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
1147 -|Downlink Code|DO1|DO2|DO3
1148 -|02  01  00  11|Low|High|No Action
1149 -|02  00  11  01|High|No Action|Low
1150 -|02  11  01  00|No Action|Low|High
1151 1151  )))
1152 1152  
999 +[[image:image-20220524092754-5.png]]
1153 1153  
1154 1154  (((
1155 -(% style="color:red" %)**Note: For LT-22222-L, there is no DO3, the last byte can use any value.**
1002 +(% style="color:red" %)Note: For LT-22222-L, there is no DO3, the last byte can use any value.
1156 1156  )))
1157 1157  
1158 1158  (((
1159 -(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1006 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully.
1160 1160  )))
1161 1161  
1162 1162  
1163 1163  
1011 +
1164 1164  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
1165 1165  
1166 1166  
... ... @@ -1171,7 +1171,7 @@
1171 1171  
1172 1172  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1173 1173  
1174 -(% style="color:blue" %)**0xA9 aa bb cc     **(%%) ~/~/ Set DO1/DO2/DO3 output with time control
1022 +**0xA9 aa bb cc     **~/~/ Set DO1/DO2/DO3 output with time control
1175 1175  
1176 1176  
1177 1177  This is to control the digital output time of DO pin. Include four bytes:
... ... @@ -1187,49 +1187,26 @@
1187 1187  
1188 1188  (% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
1189 1189  
1190 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1191 -|**Second Byte**|**Status**
1192 -|0x01|DO1 set to low
1193 -|0x00|DO1 set to high
1194 -|0x11|DO1 NO Action
1038 +[[image:image-20220524093238-6.png]]
1195 1195  
1196 1196  
1197 -
1198 1198  (% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
1199 1199  
1200 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1201 -|**Second Byte**|**Status**
1202 -|0x01|DO2 set to low
1203 -|0x00|DO2 set to high
1204 -|0x11|DO2 NO Action
1043 +[[image:image-20220524093328-7.png]]
1205 1205  
1206 1206  
1207 -
1208 1208  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
1209 1209  
1210 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:300px" %)
1211 -|**Second Byte**|**Status**
1212 -|0x01|DO3 set to low
1213 -|0x00|DO3 set to high
1214 -|0x11|DO3 NO Action
1048 +[[image:image-20220524093351-8.png]]
1215 1215  
1216 1216  
1051 +(% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
1217 1217  
1218 -(% style="color:#4f81bd" %)**Sixth and Seventh and Eighth and Ninth Byte**:
1219 -
1220 1220   Latching time. Unit: ms
1221 1221  
1055 +Device will upload a packet if downlink code executes successfully.
1222 1222  
1223 -(% style="color:red" %)**Note: **
1224 1224  
1225 - Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1226 -
1227 - Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1228 -
1229 -
1230 -(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1231 -
1232 -
1233 1233  **Example payload:**
1234 1234  
1235 1235  **~1. A9 01 01 01 01 07 D0**
... ... @@ -1250,9 +1250,10 @@
1250 1250  
1251 1251  
1252 1252  
1253 -==== 3.4.2. 14 Relay ~-~- Control Relay Output RO1/RO2 ====
1254 1254  
1079 +==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1255 1255  
1081 +
1256 1256  * (% style="color:#037691" %)**AT Command:**
1257 1257  
1258 1258  There is no AT Command to control Relay Output
... ... @@ -1260,7 +1260,7 @@
1260 1260  
1261 1261  * (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1262 1262  
1263 -(% style="color:blue" %)**0x03 aa bb     ** (%%)~/~/ Set RO1/RO2 output
1089 +**0x03 aa bb     **~/~/ Set RO1/RO2 output
1264 1264  
1265 1265  
1266 1266  (((
... ... @@ -1269,27 +1269,17 @@
1269 1269  
1270 1270  (((
1271 1271  01: Close ,  00: Open , 11: No action
1272 -
1273 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:320px" %)
1274 -|**Downlink Code**|**RO1**|**RO2**
1275 -|03  00  11|Open|No Action
1276 -|03  01  11|Close|No Action
1277 -|03  11  00|No Action|Open
1278 -|03  11  01|No Action|Close
1279 -|03  00  00|Open|Open
1280 -|03  01  01|Close|Close
1281 -|03  01  00|Close|Open
1282 -|03  00  01|Open|Close
1283 1283  )))
1284 1284  
1285 1285  (((
1286 -
1101 +[[image:image-20220524093724-9.png]]
1287 1287  )))
1288 1288  
1289 -(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1104 +Device will upload a packet if downlink code executes successfully.
1290 1290  
1291 1291  
1292 1292  
1108 +
1293 1293  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1294 1294  
1295 1295  
... ... @@ -1300,7 +1300,7 @@
1300 1300  
1301 1301  * (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1302 1302  
1303 -(% style="color:blue" %)**0x05 aa bb cc dd     ** (%%)~/~/ Set RO1/RO2 relay with time control
1119 +**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1304 1304  
1305 1305  
1306 1306  This is to control the relay output time of relay. Include four bytes:
... ... @@ -1316,25 +1316,17 @@
1316 1316  
1317 1317  (% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1318 1318  
1319 -[[image:image-20221008095908-1.png||height="364" width="564"]]
1135 +[[image:image-20220714135731-1.png||height="406" width="627"]]
1320 1320  
1321 1321  
1322 -(% style="color:#4f81bd" %)**Fourth/Fifth/Sixth/Seventh Bytes(cc)**(%%): Latching time. Unit: ms
1138 +(% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1323 1323  
1140 +Device will upload a packet if downlink code executes successfully.
1324 1324  
1325 -(% style="color:red" %)**Note:**
1326 1326  
1327 - Since Firmware v1.6.0, the latch time support 4 bytes and 2 bytes
1328 -
1329 - Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1330 -
1331 -
1332 -(% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1333 -
1334 -
1335 1335  **Example payload:**
1336 1336  
1337 -**~1. 05 01 11 07 D0**
1145 +**~1. 05 01 11 07 D**
1338 1338  
1339 1339  Relay1 and Relay 2 will be set to NC , last 2 seconds, then change back to original state.
1340 1340  
... ... @@ -1352,6 +1352,7 @@
1352 1352  
1353 1353  
1354 1354  
1163 +
1355 1355  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1356 1356  
1357 1357  
... ... @@ -1359,33 +1359,39 @@
1359 1359  
1360 1360  * (% style="color:#037691" %)**AT Command:**
1361 1361  
1362 -(% style="color:blue" %)**AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1171 +**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1363 1363  
1364 1364  
1365 1365  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1366 1366  
1367 -(% style="color:blue" %)**0xA5 aa bb cc   ** (%%)~/~/ Same as AT+VOLMAX=(aa bb),cc
1176 +**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1368 1368  
1369 1369  
1370 1370  
1180 +
1371 1371  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1372 1372  
1373 1373  
1374 1374  * (% style="color:#037691" %)**AT Command:**
1375 1375  
1376 -(% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1186 +**AT+SETCNT=aa,(bb cc dd ee) **
1377 1377  
1378 -(% style="color:red" %)**aa:**(%%) 1: Set count1; 2: Set count2; 3: Set AV1 count
1188 +aa: 1: Set count1,
1379 1379  
1380 -(% style="color:red" %)**bb cc dd ee: **(%%)number to be set
1190 +2: Set count2,
1381 1381  
1192 +3: Set AV1 count
1382 1382  
1194 +Bb cc dd ee: number to be set
1195 +
1196 +
1383 1383  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1384 1384  
1385 -(% style="color:blue" %)**0x A8 aa bb cc dd ee     ** (%%)~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1199 +**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1386 1386  
1387 1387  
1388 1388  
1203 +
1389 1389  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1390 1390  
1391 1391  
... ... @@ -1393,136 +1393,36 @@
1393 1393  
1394 1394  * (% style="color:#037691" %)**AT Command:**
1395 1395  
1396 -(% style="color:blue" %)**AT+CLRCOUNT **(%%) ~/~/ clear all counting
1211 +**AT+CLRCOUNT ** ~/~/ clear all counting
1397 1397  
1398 1398  
1399 1399  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1400 1400  
1401 -(% style="color:blue" %)**0x A6 01    ** (%%)~/~/ clear all counting
1216 +**0x A6 01    ** ~/~/ clear all counting
1402 1402  
1403 1403  
1404 1404  
1220 +
1405 1405  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1406 1406  
1407 1407  
1408 1408  * (% style="color:#037691" %)**AT Command:**
1409 1409  
1410 -(% style="color:blue" %)**AT+COUTIME=60  **(%%)~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1226 +**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1411 1411  
1412 1412  
1413 1413  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1414 1414  
1415 -(% style="color:blue" %)**0x A7 aa bb cc     ** (%%)~/~/ same as AT+COUTIME =aa bb cc,
1231 +**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1416 1416  
1417 1417  (((
1418 1418  range: aa bb cc:0 to 16777215,  (unit:second)
1419 -)))
1420 1420  
1421 -
1422 -
1423 -==== 3.4.2.20 Reset save RO DO state ====
1424 -
1425 -
1426 -* (% style="color:#037691" %)**AT Command:**
1427 -
1428 -(% style="color:blue" %)**AT+RODORESET=1    **(%%)~/~/ RODO will close when the device joining the network. (default)
1429 -
1430 -(% style="color:blue" %)**AT+RODORESET=0    **(%%)~/~/ After the device is reset, the previously saved RODO state (only MOD2 to MOD5) is read, and its state is not changed when it is reconnected to the network.
1431 -
1432 -
1433 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAD):**
1434 -
1435 -(% style="color:blue" %)**0x AD aa      ** (%%)~/~/ same as AT+RODORET =aa
1436 -
1437 -
1438 -
1439 -==== 3.4.2.21 Encrypted payload ====
1440 -
1441 -
1442 -* (% style="color:#037691" %)**AT Command:**
1443 -
1444 -(% style="color:blue" %)**AT+DECRYPT=1  ** (%%)~/~/ The payload is uploaded without encryption
1445 -
1446 -(% style="color:blue" %)**AT+DECRYPT=0    **(%%)~/~/  Encrypt when uploading payload (default)
1447 -
1448 -
1449 -
1450 -==== 3.4.2.22 Get sensor value ====
1451 -
1452 -
1453 -* (% style="color:#037691" %)**AT Command:**
1454 -
1455 -(% style="color:blue" %)**AT+GETSENSORVALUE=0    **(%%)~/~/ The serial port gets the reading of the current sensor
1456 -
1457 -(% style="color:blue" %)**AT+GETSENSORVALUE=1    **(%%)~/~/ The serial port gets the current sensor reading and uploads it.
1458 -
1459 -
1460 -
1461 -==== 3.4.2.23 Resets the downlink packet count ====
1462 -
1463 -
1464 -* (% style="color:#037691" %)**AT Command:**
1465 -
1466 -(% style="color:blue" %)**AT+DISFCNTCHECK=0   **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node will no longer receive downlink packets (default)
1467 -
1468 -(% style="color:blue" %)**AT+DISFCNTCHECK=1   **(%%)~/~/ When the downlink packet count sent by the server is less than the node downlink packet count or exceeds 16384, the node resets the downlink packet count and keeps it consistent with the server downlink packet count.
1469 -
1470 -
1471 -
1472 -==== 3.4.2.24 When the limit bytes are exceeded, upload in batches ====
1473 -
1474 -
1475 -* (% style="color:#037691" %)**AT Command:**
1476 -
1477 -(% style="color:blue" %)**AT+DISMACANS=0**   (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of 11 bytes (DR0 of US915, DR2 of AS923, DR2 of AU195), the node will send a packet with a payload of 00 and a port of 4. (default)
1478 -
1479 -(% style="color:blue" %)**AT+DISMACANS=1**  (%%) ~/~/ When the MACANS of the reply server plus the payload exceeds the maximum number of bytes of the DR, the node will ignore the MACANS and not reply, and only upload the payload part.
1480 -
1481 -
1482 -* (% style="color:#037691" %)**Downlink Payload **(%%)**:**
1483 -
1484 -(% style="color:blue" %)**0x21 00 01 ** (%%) ~/~/ Set  the DISMACANS=1
1485 -
1486 -
1487 -
1488 -==== 3.4.2.25 Copy downlink to uplink ====
1489 -
1490 -
1491 -* (% style="color:#037691" %)**AT Command**(%%)**:**
1492 -
1493 -(% 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.
1494 -
1495 -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.
1496 -
1497 -
1498 -[[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"]]
1499 -
1500 -For example, sending 11 22 33 44 55 66 77 will return invalid configuration 00 11 22 33 44 55 66 77.
1501 -
1502 -
1503 -
1504 -[[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"]]
1505 -
1506 -For example, if 01 00 02 58 is issued, a valid configuration of 01 01 00 02 58 will be returned.
1507 -
1508 -
1509 -
1510 -==== 3.4.2.26 Query version number and frequency band 、TDC ====
1511 -
1512 -
1513 -* (((
1514 -(% style="color:#037691" %)**Downlink Payload**(%%)**:**
1515 -
1516 -(% style="color:blue" %)**26 01  ** (%%) ~/~/  Downlink 26 01 can query device upload frequency, frequency band, software version number, TDC time.
1517 -
1518 1518  
1519 1519  )))
1520 1520  
1521 -**Example:**
1522 1522  
1523 -[[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-20220823173929-8.png?width=1205&height=76&rev=1.1||alt="image-20220823173929-8.png"]]
1524 1524  
1525 -
1526 1526  == 3.5 Integrate with Mydevice ==
1527 1527  
1528 1528  
... ... @@ -1572,8 +1572,10 @@
1572 1572  [[image:image-20220524094909-5.png||height="341" width="734"]]
1573 1573  
1574 1574  
1290 +
1575 1575  == 3.6 Interface Detail ==
1576 1576  
1293 +
1577 1577  === 3.6.1 Digital Input Port: DI1/DI2 /DI3 ( For LT-33222-L, low active ) ===
1578 1578  
1579 1579  
... ... @@ -1582,6 +1582,7 @@
1582 1582  [[image:1653356991268-289.png]]
1583 1583  
1584 1584  
1302 +
1585 1585  === 3.6.2 Digital Input Port: DI1/DI2 ( For LT-22222-L) ===
1586 1586  
1587 1587  
... ... @@ -1618,10 +1618,10 @@
1618 1618  )))
1619 1619  
1620 1620  * (((
1621 -Connect sensor's output to DI1-
1339 +Connect sensors output to DI1-
1622 1622  )))
1623 1623  * (((
1624 -Connect sensor's VCC to DI1+.
1342 +Connect sensors VCC to DI1+.
1625 1625  )))
1626 1626  
1627 1627  (((
... ... @@ -1629,15 +1629,17 @@
1629 1629  )))
1630 1630  
1631 1631  (((
1632 -[[image:1653968155772-850.png||height="23" width="19"]]**= DI1**+** / 1K.**
1350 +[[image:1653968155772-850.png||height="23" width="19"]]**= DI1+ / 1K.**
1633 1633  )))
1634 1634  
1635 1635  (((
1636 -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.
1354 +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.
1637 1637  )))
1638 1638  
1639 1639  (((
1640 1640  
1359 +
1360 +
1641 1641  )))
1642 1642  
1643 1643  (((
... ... @@ -1649,10 +1649,10 @@
1649 1649  )))
1650 1650  
1651 1651  * (((
1652 -Connect sensor's output to DI1+
1372 +Connect sensors output to DI1+
1653 1653  )))
1654 1654  * (((
1655 -Connect sensor's GND DI1-.
1375 +Connect sensors GND DI1-.
1656 1656  )))
1657 1657  
1658 1658  (((
... ... @@ -1669,6 +1669,8 @@
1669 1669  
1670 1670  (((
1671 1671  
1392 +
1393 +
1672 1672  )))
1673 1673  
1674 1674  (((
... ... @@ -1680,10 +1680,10 @@
1680 1680  )))
1681 1681  
1682 1682  * (((
1683 -Connect sensor's output to DI1+ with a serial 50K resistor
1405 +Connect sensors output to DI1+ with a serial 50K resistor
1684 1684  )))
1685 1685  * (((
1686 -Connect sensor's GND DI1-.
1408 +Connect sensors GND DI1-.
1687 1687  )))
1688 1688  
1689 1689  (((
... ... @@ -1699,16 +1699,16 @@
1699 1699  )))
1700 1700  
1701 1701  
1424 +
1702 1702  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1703 1703  
1704 1704  
1705 -(% style="color:blue" %)**NPN output**(%%): GND or Float. Max voltage can apply to output pin is 36v.
1428 +NPN output: GND or Float. Max voltage can apply to output pin is 36v.
1706 1706  
1707 -(% style="color:red" %)**Note: DO pins go to float when device is power off.**
1708 -
1709 1709  [[image:1653357531600-905.png]]
1710 1710  
1711 1711  
1433 +
1712 1712  === 3.6.4 Analog Input Interface ===
1713 1713  
1714 1714  
... ... @@ -1724,13 +1724,13 @@
1724 1724  We take the wind speed sensor as an example for reference only.
1725 1725  
1726 1726  
1727 -(% style="color:blue" %)**Specifications of the wind speed sensor:**
1449 +**Specifications of the wind speed sensor:**
1728 1728  
1729 -(% style="color:red" %)**Red:  12~~24v**
1451 +Red:  12~~24v
1730 1730  
1731 -(% style="color:#ffc000" %)**Yellow:  4~~20mA**
1453 +Yellow:  4~~20mA
1732 1732  
1733 -**Black:  GND**
1455 +Black:  GND
1734 1734  
1735 1735  
1736 1736  **Connection diagram:**
... ... @@ -1740,21 +1740,20 @@
1740 1740  [[image:1653357648330-671.png||height="155" width="733"]]
1741 1741  
1742 1742  
1465 +
1743 1743  === 3.6.5 Relay Output ===
1744 1744  
1745 1745  
1746 1746  (((
1747 -The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device's Power Line to in serial of RO1_1 and RO_2. Such as below:
1748 -
1749 -**Note**: RO pins go to Open(NO) when device is power off.
1470 +The LT serial controller has two relay interfaces; each interface uses two pins of the screw terminal. User can connect other device’s Power Line to in serial of RO1_1 and RO_2. Such as below:
1750 1750  )))
1751 1751  
1752 1752  [[image:image-20220524100215-9.png]]
1753 1753  
1754 -
1755 1755  [[image:image-20220524100215-10.png||height="382" width="723"]]
1756 1756  
1757 1757  
1478 +
1758 1758  == 3.7 LEDs Indicators ==
1759 1759  
1760 1760  
... ... @@ -1761,19 +1761,15 @@
1761 1761  [[image:image-20220524100748-11.png]]
1762 1762  
1763 1763  
1485 +
1764 1764  = 4. Use AT Command =
1765 1765  
1488 +
1766 1766  == 4.1 Access AT Command ==
1767 1767  
1768 1768  
1769 -(((
1770 1770  LT supports AT Command set. User can use a USB to TTL adapter plus the 3.5mm Program Cable to connect to LT for using AT command, as below.
1771 -)))
1772 1772  
1773 -(((
1774 -
1775 -)))
1776 -
1777 1777  [[image:1653358238933-385.png]]
1778 1778  
1779 1779  
... ... @@ -1801,7 +1801,7 @@
1801 1801  )))
1802 1802  
1803 1803  (((
1804 -AT+<CMD>=?       :  Get the value
1521 +AT+<CMD>=?       : Get the value
1805 1805  )))
1806 1806  
1807 1807  (((
... ... @@ -1829,11 +1829,11 @@
1829 1829  )))
1830 1830  
1831 1831  (((
1832 -AT+APPSKEY:  Get or Set the Application Session Key
1549 +AT+APPSKEY: Get or Set the Application Session Key
1833 1833  )))
1834 1834  
1835 1835  (((
1836 -AT+APPEUI:  Get or Set the Application EUI
1553 +AT+APPEUI: Get or Set the Application EUI
1837 1837  )))
1838 1838  
1839 1839  (((
... ... @@ -1845,7 +1845,7 @@
1845 1845  )))
1846 1846  
1847 1847  (((
1848 -AT+DR:  Get or Set the Data Rate. (0-7 corresponding to DR_X)  
1565 +AT+DR: Get or Set the Data Rate. (0-7 corresponding to DR_X)  
1849 1849  )))
1850 1850  
1851 1851  (((
... ... @@ -1881,7 +1881,7 @@
1881 1881  )))
1882 1882  
1883 1883  (((
1884 -AT+NJM:  Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1601 +AT+NJM: Get or Set the Network Join Mode. (0: ABP, 1: OTAA)
1885 1885  )))
1886 1886  
1887 1887  (((
... ... @@ -1925,7 +1925,7 @@
1925 1925  )))
1926 1926  
1927 1927  (((
1928 -AT+VER:  Get current image version and Frequency Band
1645 +AT+VER: Get current image version and Frequency Band
1929 1929  )))
1930 1930  
1931 1931  (((
... ... @@ -1933,7 +1933,7 @@
1933 1933  )))
1934 1934  
1935 1935  (((
1936 -AT+CFS:  Get confirmation status of the last AT+SEND (0-1)
1653 +AT+CFS: Get confirmation status of the last AT+SEND (0-1)
1937 1937  )))
1938 1938  
1939 1939  (((
... ... @@ -1973,108 +1973,107 @@
1973 1973  )))
1974 1974  
1975 1975  
1693 +
1976 1976  == 4.2 Common AT Command Sequence ==
1977 1977  
1696 +
1978 1978  === 4.2.1 Multi-channel ABP mode (Use with SX1301/LG308) ===
1979 1979  
1980 1980  (((
1981 1981  
1982 1982  
1983 -(((
1984 -(% style="color:blue" %)**If device has not joined network yet:**
1702 +**If device has not joined network yet:**
1985 1985  )))
1986 -)))
1987 1987  
1988 1988  (((
1989 -(% style="background-color:#dcdcdc" %)**123456**
1706 +(% style="background-color:#dcdcdc" %)123456
1990 1990  )))
1991 1991  
1992 1992  (((
1993 -(% style="background-color:#dcdcdc" %)**AT+FDR**
1710 +(% style="background-color:#dcdcdc" %)AT+FDR
1994 1994  )))
1995 1995  
1996 1996  (((
1997 -(% style="background-color:#dcdcdc" %)**123456**
1714 +(% style="background-color:#dcdcdc" %)123456
1998 1998  )))
1999 1999  
2000 2000  (((
2001 -(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1718 +(% style="background-color:#dcdcdc" %)AT+NJM=0
2002 2002  )))
2003 2003  
2004 2004  (((
2005 -(% style="background-color:#dcdcdc" %)**ATZ**
1722 +(% style="background-color:#dcdcdc" %)ATZ
2006 2006  )))
2007 2007  
2008 2008  
2009 2009  (((
2010 -(% style="color:blue" %)**If device already joined network:**
1727 +**If device already joined network:**
2011 2011  )))
2012 2012  
2013 2013  (((
2014 -(% style="background-color:#dcdcdc" %)**AT+NJM=0**
1731 +(% style="background-color:#dcdcdc" %)AT+NJM=0
2015 2015  )))
2016 2016  
2017 2017  (((
2018 -(% style="background-color:#dcdcdc" %)**ATZ**
1735 +(% style="background-color:#dcdcdc" %)ATZ
2019 2019  )))
2020 2020  
2021 2021  
1739 +
2022 2022  === 4.2.2 Single-channel ABP mode (Use with LG01/LG02) ===
2023 2023  
2024 2024  (((
2025 2025  
2026 2026  
2027 -(((
2028 -(% style="background-color:#dcdcdc" %)**123456**(%%)  ~/~/ Enter Password to have AT access.
1745 +(% style="background-color:#dcdcdc" %)123456(%%)  Enter Password to have AT access.
2029 2029  )))
2030 -)))
2031 2031  
2032 2032  (((
2033 -(% style="background-color:#dcdcdc" %)** AT+FDR**(%%)  ~/~/ Reset Parameters to Factory Default, Keys Reserve
1749 +(% style="background-color:#dcdcdc" %) AT+FDR(%%)   Reset Parameters to Factory Default, Keys Reserve
2034 2034  )))
2035 2035  
2036 2036  (((
2037 -(% style="background-color:#dcdcdc" %)** 123456**(%%)  ~/~/ Enter Password to have AT access.
1753 +(% style="background-color:#dcdcdc" %) 123456(%%)  Enter Password to have AT access.
2038 2038  )))
2039 2039  
2040 2040  (((
2041 -(% style="background-color:#dcdcdc" %)** AT+CLASS=C**(%%)  ~/~/ Set to work in CLASS C
1757 +(% style="background-color:#dcdcdc" %) AT+CLASS=C(%%) Set to work in CLASS C
2042 2042  )))
2043 2043  
2044 2044  (((
2045 -(% style="background-color:#dcdcdc" %)** AT+NJM=0**(%%)  ~/~/ Set to ABP mode
1761 +(% style="background-color:#dcdcdc" %) AT+NJM=0(%%)  Set to ABP mode
2046 2046  )))
2047 2047  
2048 2048  (((
2049 -(% style="background-color:#dcdcdc" %) **AT+ADR=0**(%%)  ~/~/ Set the Adaptive Data Rate Off
1765 +(% style="background-color:#dcdcdc" %) AT+ADR=0(%%)  Set the Adaptive Data Rate Off
2050 2050  )))
2051 2051  
2052 2052  (((
2053 -(% style="background-color:#dcdcdc" %)** AT+DR=5**(%%)  ~/~/ Set Data Rate
1769 +(% style="background-color:#dcdcdc" %) AT+DR=5(%%)  Set Data Rate
2054 2054  )))
2055 2055  
2056 2056  (((
2057 -(% style="background-color:#dcdcdc" %)** AT+TDC=60000**(%%)  ~/~/ Set transmit interval to 60 seconds
1773 +(% style="background-color:#dcdcdc" %) AT+TDC=60000(%%)  Set transmit interval to 60 seconds
2058 2058  )))
2059 2059  
2060 2060  (((
2061 -(% style="background-color:#dcdcdc" %)** AT+CHS=868400000**(%%)  ~/~/ Set transmit frequency to 868.4Mhz
1777 +(% style="background-color:#dcdcdc" %) AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
2062 2062  )))
2063 2063  
2064 2064  (((
2065 -(% style="background-color:#dcdcdc" %)** AT+RX2FQ=868400000**(%%)  ~/~/ Set RX2Frequency to 868.4Mhz (according to the result from server)
1781 +(% style="background-color:#dcdcdc" %) AT+RX2FQ=868400000(%%)  Set RX2Frequency to 868.4Mhz (according to the result from server)
2066 2066  )))
2067 2067  
2068 2068  (((
2069 -(% style="background-color:#dcdcdc" %)** AT+RX2DR=5**(%%)** ** ~/~/ Set RX2DR to match the downlink DR from server. see below
1785 +(% style="background-color:#dcdcdc" %) AT+RX2DR=5(%%)  Set RX2DR to match the downlink DR from server. see below
2070 2070  )))
2071 2071  
2072 2072  (((
2073 -(% style="background-color:#dcdcdc" %)** AT+DADDR=26 01 1A F1** (%%) ~/~/ Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
1789 +(% style="background-color:#dcdcdc" %) AT+DADDR=26 01 1A F1 (%%) Set Device Address to 26 01 1A F1, this ID can be found in the LoRa Server portal.
2074 2074  )))
2075 2075  
2076 2076  (((
2077 -(% style="background-color:#dcdcdc" %)** ATZ**         (%%) ~/~/ Reset MCU
1793 +(% style="background-color:#dcdcdc" %) ATZ         (%%) Reset MCU
2078 2078  
2079 2079  
2080 2080  )))
... ... @@ -2084,16 +2084,10 @@
2084 2084  )))
2085 2085  
2086 2086  (((
2087 -**~1. Make sure the device is set to ABP mode in the IoT Server.**
2088 -
2089 -**2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.**
2090 -
2091 -**3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?
2092 -dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.**
2093 -
2094 -**4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5.**
2095 -
2096 -
1803 +(% style="color:red" %)1. Make sure the device is set to ABP mode in the IoT Server.
1804 +2. Make sure the LG01/02 gateway RX frequency is exactly the same as AT+CHS setting.
1805 +3. Make sure SF / bandwidth setting in LG01/LG02 match the settings of AT+DR. refer [[this link>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_Gateway/&file=LoRaWAN%201.0.3%20Regional%20Parameters.xlsx]] to see what DR means.
1806 +4. The command AT+RX2FQ and AT+RX2DR is to let downlink work. to set the correct parameters, user can check the actually downlink parameters to be used. As below. Which shows the RX2FQ should use 868400000 and RX2DR should be 5
2097 2097  )))
2098 2098  
2099 2099  (((
... ... @@ -2104,30 +2104,22 @@
2104 2104  
2105 2105  )))
2106 2106  
1817 +
2107 2107  === 4.2.3 Change to Class A ===
2108 2108  
2109 2109  
2110 -(((
2111 -(% style="color:blue" %)**If sensor JOINED:**
1821 +If sensor JOINED
1822 +(% style="background-color:#dcdcdc" %)AT+CLASS=A
1823 +ATZ
2112 2112  
2113 -(% style="background-color:#dcdcdc" %)**AT+CLASS=A
2114 -ATZ**
2115 -)))
2116 2116  
2117 2117  
2118 -= 5. Case Study =
1827 += 5. FAQ =
2119 2119  
2120 -== 5.1 Counting how many objects pass in Flow Line ==
2121 2121  
1830 +== 5.1 How to upgrade the image? ==
2122 2122  
2123 -Reference Link: [[How to set up to count objects pass in flow line>>How to set up to count objects pass in flow line]]?
2124 2124  
2125 -
2126 -= 6. FAQ =
2127 -
2128 -== 6.1 How to upgrade the image? ==
2129 -
2130 -
2131 2131  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
2132 2132  
2133 2133  * Support new features
... ... @@ -2141,14 +2141,12 @@
2141 2141  
2142 2142  (((
2143 2143  (% style="color:blue" %)**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]].
2144 -(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:https://www.dropbox.com/sh/g99v0fxcltn9r1y/AADKXQ2v5ZT-S3sxdmbvE7UAa/LT-22222-L/image?dl=0&subfolder_nav_tracking=1]].
1846 +(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]].
2145 2145  (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update.
2146 2146  
2147 2147  
2148 -(((
2149 2149  (% style="color:blue" %)**For LT-22222-L**(%%):
2150 2150  Hold down the PRO button and then momentarily press the RST reset button and the (% style="color:red" %)**DO1 led**(%%) will change from OFF to ON. When (% style="color:red" %)**DO1 LED**(%%) is on, it means the device is in download mode.
2151 -)))
2152 2152  
2153 2153  
2154 2154  )))
... ... @@ -2155,10 +2155,8 @@
2155 2155  
2156 2156   [[image:image-20220524103407-12.png]]
2157 2157  
2158 -
2159 2159  [[image:image-20220524103429-13.png]]
2160 2160  
2161 -
2162 2162  [[image:image-20220524104033-15.png]]
2163 2163  
2164 2164  
... ... @@ -2170,8 +2170,10 @@
2170 2170  
2171 2171  (((
2172 2172  (((
2173 -== 6.2 How to change the LoRa Frequency Bands/Region? ==
1871 +
2174 2174  
1873 +== 5.2 How to change the LoRa Frequency Bands/Region? ==
1874 +
2175 2175  
2176 2176  )))
2177 2177  )))
... ... @@ -2183,8 +2183,9 @@
2183 2183  (((
2184 2184  
2185 2185  
2186 -== 6.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
2187 2187  
1887 +== 5.3 How to set up LT to work with Single Channel Gateway such as LG01/LG02? ==
1888 +
2188 2188  
2189 2189  )))
2190 2190  
... ... @@ -2204,14 +2204,10 @@
2204 2204  
2205 2205  (((
2206 2206  (% style="color:blue" %)**Step1**(%%):  Log in TTN, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.
2207 -
2208 -
2209 2209  )))
2210 2210  
2211 2211  (((
2212 2212  [[image:1653360231087-571.png||height="401" width="727"]]
2213 -
2214 -
2215 2215  )))
2216 2216  
2217 2217  (((
... ... @@ -2219,23 +2219,21 @@
2219 2219  )))
2220 2220  
2221 2221  
2222 -
2223 2223  (((
2224 2224  (% style="color:blue" %)**Step2**(%%)**:  **Run AT Command to make LT work in Single frequency & ABP mode. Below is the AT commands:
2225 -
2226 -
2227 2227  )))
2228 2228  
2229 2229  (((
2230 -(% style="background-color:#dcdcdc" %)**123456** (%%) :  Enter Password to have AT access.
2231 -(% style="background-color:#dcdcdc" %)**AT+FDR**(%%)  :  Reset Parameters to Factory Default, Keys Reserve
2232 -(% style="background-color:#dcdcdc" %)**AT+NJM=0** (%%) :  Set to ABP mode
2233 -(% style="background-color:#dcdcdc" %)**AT+ADR=0** (%%) :  Set the Adaptive Data Rate Off
2234 -(% style="background-color:#dcdcdc" %)**AT+DR=5** (%%) :  Set Data Rate (Set AT+DR=3 for 915 band)
2235 -(% style="background-color:#dcdcdc" %)**AT+TDC=60000 **(%%) :  Set transmit interval to 60 seconds
2236 -(% style="background-color:#dcdcdc" %)**AT+CHS=868400000**(%%) : Set transmit frequency to 868.4Mhz
2237 -(% style="background-color:#dcdcdc" %)**AT+DADDR=26 01 1A F1**(%%)  :  Set Device Address to 26 01 1A F1
2238 -(% style="background-color:#dcdcdc" %)**ATZ**        (%%) :  Reset MCU
1924 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1925 +(% style="background-color:#dcdcdc" %)AT+FDR(%%)  Reset Parameters to Factory Default, Keys Reserve
1926 +(% style="background-color:#dcdcdc" %)123456 (%%) Enter Password to have AT access.
1927 +(% style="background-color:#dcdcdc" %)AT+NJM=0 (%%) Set to ABP mode
1928 +(% style="background-color:#dcdcdc" %)AT+ADR=0 (%%) Set the Adaptive Data Rate Off
1929 +(% style="background-color:#dcdcdc" %)AT+DR=5 (%%) Set Data Rate (Set AT+DR=3 for 915 band)
1930 +(% style="background-color:#dcdcdc" %)AT+TDC=60000 (%%) Set transmit interval to 60 seconds
1931 +(% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
1932 +(% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%)  Set Device Address to 26 01 1A F1
1933 +(% style="background-color:#dcdcdc" %)ATZ        (%%) Reset MCU
2239 2239  )))
2240 2240  
2241 2241  
... ... @@ -2246,29 +2246,26 @@
2246 2246  [[image:1653360498588-932.png||height="485" width="726"]]
2247 2247  
2248 2248  
2249 -== 6.4 How to change the uplink interval? ==
2250 2250  
1945 +== 5.4 Can I see counting event in Serial? ==
2251 2251  
2252 -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/]]
2253 2253  
2254 -
2255 -== 6.5 Can I see counting event in Serial? ==
2256 -
2257 -
2258 2258  (((
2259 2259  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.
2260 2260  
2261 2261  
2262 -== 6.6 Can i use point to point communication for LT-22222-L? ==
2263 2263  
1953 +== 5.5 Can i use point to point communication for LT-22222-L? ==
2264 2264  
2265 -Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]  ,this is [[firmware>>https://github.com/dragino/LT-22222-L/releases]].
2266 2266  
1956 +Yes, please refer [[Point to Point Communication>>doc:Main. Point to Point Communication of LT-22222-L.WebHome]]
1957 +
1958 +
2267 2267  
2268 2268  )))
2269 2269  
2270 2270  (((
2271 -== 6.7 Why does the relay output become the default and open relay after the lt22222 is powered off? ==
1963 +== 5.Why does the relay output become the default and open relay after the lt22222 is powered off? ==
2272 2272  
2273 2273  
2274 2274  If the device is not shut down, but directly powered off.
... ... @@ -2280,27 +2280,13 @@
2280 2280  After restart, the status before power failure will be read from flash.
2281 2281  
2282 2282  
2283 -== 6.8 Can i set up LT-22222-L as a NC(Normal Close) Relay? ==
2284 2284  
2285 -
2286 -LT-22222-L built-in relay is NO (Normal Open). User can use an external relay to achieve Normal Close purpose. Diagram as below:
2287 -
2288 -
2289 -[[image:image-20221006170630-1.png||height="610" width="945"]]
2290 -
2291 -
2292 -== 6.9 Can LT22222-L save RO state? ==
2293 -
2294 -
2295 -Firmware version needs to be no less than 1.6.0.
2296 -
2297 -
2298 -= 7. Trouble Shooting =
1976 += 6. Trouble Shooting =
2299 2299  )))
2300 2300  
2301 2301  (((
2302 2302  (((
2303 -== 7.1 Downlink doesn't work, how to solve it? ==
1981 +== 6.1 Downlink doesn't work, how to solve it? ==
2304 2304  
2305 2305  
2306 2306  )))
... ... @@ -2313,8 +2313,9 @@
2313 2313  (((
2314 2314  
2315 2315  
2316 -== 7.2 Have trouble to upload image. ==
2317 2317  
1995 +== 6.2 Have trouble to upload image. ==
1996 +
2318 2318  
2319 2319  )))
2320 2320  
... ... @@ -2325,8 +2325,9 @@
2325 2325  (((
2326 2326  
2327 2327  
2328 -== 7.3 Why I can't join TTN in US915 /AU915 bands? ==
2329 2329  
2008 +== 6.3 Why I can't join TTN in US915 /AU915 bands? ==
2009 +
2330 2330  
2331 2331  )))
2332 2332  
... ... @@ -2335,9 +2335,10 @@
2335 2335  )))
2336 2336  
2337 2337  
2338 -= 8. Order Info =
2339 2339  
2019 += 7. Order Info =
2340 2340  
2021 +
2341 2341  (% style="color:#4f81bd" %)**LT-22222-L-XXX:**
2342 2342  
2343 2343  (% style="color:#4f81bd" %)**XXX:**
... ... @@ -2352,9 +2352,13 @@
2352 2352  * (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
2353 2353  * (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
2354 2354  
2355 -= 9. Packing Info =
2356 2356  
2357 2357  
2038 +
2039 +
2040 += 8. Packing Info =
2041 +
2042 +
2358 2358  **Package Includes**:
2359 2359  
2360 2360  * LT-22222-L I/O Controller x 1
... ... @@ -2369,9 +2369,13 @@
2369 2369  * Package Size / pcs : 14.5 x 8 x 5 cm
2370 2370  * Weight / pcs : 170g
2371 2371  
2372 -= 10. Support =
2373 2373  
2374 2374  
2059 +
2060 +
2061 += 9. Support =
2062 +
2063 +
2375 2375  * (((
2376 2376  Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
2377 2377  )))
... ... @@ -2379,12 +2379,18 @@
2379 2379  Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:file:///D:/市场资料/说明书/LoRa/LT系列/support@dragino.com]]
2380 2380  
2381 2381  
2071 +
2072 +
2382 2382  
2383 2383  )))
2384 2384  
2385 -= 11. Reference​​​​​ =
2076 += 10. Reference​​​​​ =
2386 2386  
2387 2387  
2388 2388  * 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]]
2389 -* [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2080 +* [[Image Download>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/image/]]
2081 +* [[AT Command Manual>>url:http://www.dragino.com/downloads/index.php?dir=LT_LoRa_IO_Controller/LT33222-L/]]
2390 2390  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2083 +
2084 +
2085 +
image-20221006170630-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -486.5 KB
Content
image-20221008095908-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -41.8 KB
Content
image-20221112174847-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -102.6 KB
Content
image-20230424115112-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -27.1 KB
Content
image-20230425173351-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -207.8 KB
Content
image-20230425173427-2.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -150.1 KB
Content
image-20230426161322-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -15.2 KB
Content