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

From version 19.1
edited by Xiaoling
on 2022/05/23 18:12
Change comment: Uploaded new attachment "image-20220523181301-6.png", version {1}
To version 33.2
edited by Xiaoling
on 2022/05/24 09:44
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -4,8 +4,13 @@
4 4  **LT-22222-L LoRa IO Controller User Manual **
5 5  
6 6  
7 +**Table of Contents:**
7 7  
9 +{{toc/}}
8 8  
11 +
12 +
13 +
9 9  = 1.Introduction =
10 10  
11 11  == 1.1 What is LT Series I/O Controller ==
... ... @@ -246,7 +246,7 @@
246 246  
247 247  (% style="color:red" %)Note: DO3 bit is not valid for LT-22222-L.
248 248  
249 -To use counting mode, please run:
254 +**To use counting mode, please run:**
250 250  
251 251  (% class="box infomessage" %)
252 252  (((
... ... @@ -258,7 +258,7 @@
258 258  **ATZ**
259 259  )))
260 260  
261 -AT Commands for counting:
266 +(% style="color:#4f81bd" %)**AT Commands for counting:**
262 262  
263 263  **For LT22222-L:**
264 264  
... ... @@ -282,228 +282,180 @@
282 282  **AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
283 283  )))
284 284  
290 +(% class="box infomessage" %)
291 +(((
292 +**AT+SETCNT=1,60   (Set COUNT1 value to 60)**
293 +)))
285 285  
286 -AT+SETCNT=1,60   (Set COUNT1 value to 60)
295 +(% class="box infomessage" %)
296 +(((
297 +**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
298 +)))
287 287  
288 -AT+SETCNT=2,60   (Set COUNT2 value to 60)
300 +=== 3.3.3 AT+MOD~=3, Single DI Counting + 2 x ACI ===
289 289  
290 -
291 -**For both LT22222-L & LT33222-L**:
292 -
293 -AT+CLRCOUNT clear all countings
294 -
295 -AT+COUTIME=60  Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
296 -
297 -
298 -
299 -1.
300 -11.
301 -111. AT+MOD=3, Single DI Counting + 2 x ACI
302 -
303 -**LT33222-L**: This mode the DI3 is used as a counting pin.
304 -
305 305  **LT22222-L**: This mode the DI1 is used as a counting pin.
306 306  
304 +[[image:image-20220523181246-5.png]]
307 307  
308 -(% border="1" style="background-color:#f7faff" %)
309 -|Size(bytes)|4|2|2|1|1|1
310 -|Value|COUNT1|(((
311 -ACI1
306 +(((
307 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
308 +)))
312 312  
313 -Current
314 -)))|(((
315 -ACI2
310 +[[image:image-20220523181301-6.png]]
316 316  
317 -Current
318 -)))|DIDORO*|Reserve|MOD
319 -
320 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
321 -
322 -(% border="1" style="background-color:#f7faff" %)
323 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
324 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
325 -
326 326  * RO is for relay. ROx=1 : close,ROx=0 always open.
327 327  * FIRST: Indicate this is the first packet after join network.
328 328  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
329 329  
330 -Note: DO3 is not valid for LT-22222-L.
316 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
331 331  
318 +**To use counting mode, please run:**
332 332  
333 -To use counting mode, please run:
320 +(% class="box infomessage" %)
321 +(((
322 +**AT+MOD=3**
323 +)))
334 334  
335 -AT+MOD=3
325 +(% class="box infomessage" %)
326 +(((
327 +**ATZ**
328 +)))
336 336  
337 -ATZ
338 -
339 -
340 340  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
341 341  
332 +=== 3.3.4 AT+MOD~=4, Single DI Counting + 1 x Voltage Counting ===
342 342  
343 -
344 -
345 -1.
346 -11.
347 -111. AT+MOD=4, Single DI Counting + 1 x Voltage Counting
348 -
349 -**LT33222-L**: This mode the DI3 is used as a counting pin.
350 -
351 351  **LT22222-L**: This mode the DI1 is used as a counting pin.
352 352  
353 -
354 354  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.
355 355  
338 +[[image:image-20220523181903-8.png]]
356 356  
357 -(% border="1" style="background-color:#f7faff" %)
358 -|Size(bytes)|4|4|1|1|1
359 -|Value|COUNT1|AVI1 Counting|DIDORO*|(((
360 -Reserve
340 +(((
341 +(% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
342 +)))
361 361  
362 -
363 -)))|MOD
344 +[[image:image-20220523181727-7.png]]
364 364  
365 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
366 -
367 -(% border="1" style="background-color:#f7faff" %)
368 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
369 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
370 -
371 371  * RO is for relay. ROx=1 : close,ROx=0 always open.
372 372  * FIRST: Indicate this is the first packet after join network.
373 373  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
374 374  
375 -Note: DO3 is not valid for LT-22222-L.
350 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
376 376  
352 +**To use this mode, please run:**
377 377  
378 -To use this mode, please run:
354 +(% class="box infomessage" %)
355 +(((
356 +**AT+MOD=4**
357 +)))
379 379  
380 -AT+MOD=4
359 +(% class="box infomessage" %)
360 +(((
361 +**ATZ**
362 +)))
381 381  
382 -ATZ
383 383  
384 -
385 -
386 386  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
387 387  
388 -Plus below command for AVI1 Counting:
367 +**Plus below command for AVI1 Counting:**
389 389  
390 -AT+SETCNT=3,60   (set AVI Count to 60)
369 +(% class="box infomessage" %)
370 +(((
371 +**AT+SETCNT=3,60   (set AVI Count to 60)**
372 +)))
391 391  
392 -AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)
374 +(% class="box infomessage" %)
375 +(((
376 +**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
377 +)))
393 393  
394 -AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)
379 +(% class="box infomessage" %)
380 +(((
381 +**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
382 +)))
395 395  
396 -AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)
384 +(% class="box infomessage" %)
385 +(((
386 +**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
387 +)))
397 397  
389 +=== 3.3.5 AT+MOD~=5, Single DI Counting + 2 x AVI + 1 x ACI ===
398 398  
399 -
400 -1.
401 -11.
402 -111. AT+MOD=5, Single DI Counting + 2 x AVI + 1 x ACI
403 -
404 -**LT33222-L**: This mode the DI3 is used as a counting pin.
405 -
406 406  **LT22222-L**: This mode the DI1 is used as a counting pin.
407 407  
393 +[[image:image-20220523182334-9.png]]
408 408  
409 -(% border="1" style="background-color:#f7faff" %)
410 -|Size(bytes)|2|2|2|2|1|1|1
411 -|Value|(((
412 -AVI1
395 +(((
396 +(% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
397 +)))
413 413  
414 -voltage
415 -)))|(((
416 -AVI2
417 -
418 -voltage
419 -)))|(((
420 -ACI1
421 -
422 -Current
423 -)))|COUNT1|DIDORO*|(((
424 -Reserve
425 -
426 -
427 -)))|MOD
428 -
429 -**DIDORO** is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
430 -
431 -(% border="1" style="background-color:#f7faff" %)
432 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
433 -|RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
434 -
435 435  * RO is for relay. ROx=1 : close,ROx=0 always open.
436 436  * FIRST: Indicate this is the first packet after join network.
437 437  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
438 438  
439 -Note: DO3 is not valid for LT-22222-L.
403 +(% style="color:red" %)Note: DO3 is not valid for LT-22222-L.
440 440  
405 +**To use this mode, please run:**
441 441  
442 -To use this mode, please run:
407 +(% class="box infomessage" %)
408 +(((
409 +**AT+MOD=5**
410 +)))
443 443  
444 -AT+MOD=5
412 +(% class="box infomessage" %)
413 +(((
414 +**ATZ**
415 +)))
445 445  
446 -ATZ
447 -
448 -
449 449  Other AT Commands for counting are similar to [[MOD2 Counting Command>>path:#COUNT_COMMAND]].
450 450  
419 +=== 3.3.6 AT+ADDMOD~=6. (Trigger Mode, Optional) ===
451 451  
421 +(% style="color:#4f81bd" %)**This mode is an optional mode for trigger purpose. It can run together with other mode.**
452 452  
453 -
454 -
455 -1.
456 -11.
457 -111. AT+ADDMOD=6. (Trigger Mode, Optional)
458 -
459 -**This mode is an optional mode for trigger purpose. It can run together with other mode.**
460 -
461 461  For example, if user has configured below commands:
462 462  
463 -* AT+MOD=1   à The normal working mode
464 -* AT+ADDMOD6=1    à Enable trigger
425 +* **AT+MOD=1 ** **~-~->** The normal working mode
426 +* **AT+ADDMOD6=1**   **~-~->** Enable trigger
465 465  
466 466  LT will keep monitoring AV1/AV2/AC1/AC2 every 5 seconds; LT will send uplink packets in two cases:
467 467  
468 -1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN **unconfirmed** data type
469 -1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN **CONFIRMED data type.**
430 +1. Periodically uplink (Base on TDC time). Payload is same as the normal MOD (MOD 1 for above command). This uplink uses LoRaWAN (% style="color:#4f81bd" %)**unconfirmed**(%%) data type
431 +1. Trigger uplink when meet the trigger condition. LT will sent two packets in this case, the first uplink use payload specify in this mod (mod=6), the second packets use the normal mod payload(MOD=1 for above settings). Both Uplinks use LoRaWAN (% style="color:#4f81bd" %)**CONFIRMED data type.**
470 470  
471 471  **AT Command to set Trigger Condition**:
472 472  
473 -**Trigger base on voltage**:
435 +(% style="color:#4f81bd" %)**Trigger base on voltage**:
474 474  
475 475  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
476 476  
477 -Example:
439 +**Example:**
478 478  
479 479  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)
480 480  
481 481  AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
482 482  
445 +(% style="color:#4f81bd" %)**Trigger base on current**:
483 483  
484 -**Trigger base on current**:
485 -
486 486  Format: AT+ACLIM=<AC1_LIMIT_LOW>,< AC1_LIMIT_HIGH>,<AC2_LIMIT_LOW>,< AC2_LIMIT_HIGH>
487 487  
488 -Example:
449 +**Example:**
489 489  
490 490  AT+ACLIM=10000,15000,0,0   (If ACI1 voltage lower than 10mA or higher than 15mA, trigger an uplink)
491 491  
453 +(% style="color:#4f81bd" %)**Trigger base on DI status**:
492 492  
493 -**Trigger base on DI status**:
494 -
495 495  DI status trigger Flag.
496 496  
497 497  Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
498 498  
499 -Example:
459 +**Example:**
500 500  
501 501  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
502 502  
503 503  
504 -
505 -
506 -
507 507  **Downlink Command to set Trigger Condition**
508 508  
509 509  Type Code: 0xAA. Downlink command same as AT Command [[AT+AVLIM, AT+ACLIM>>path:#AT_Trigger]]
... ... @@ -522,9 +522,8 @@
522 522  
523 523   Yy4 yy4: AC2 or AV2 high limit.
524 524  
482 +**Example1**: AA 00 13 88 00 00 00 00 00 00
525 525  
526 -Example1: AA 00 13 88 00 00 00 00 00 00
527 -
528 528  Same as AT+AVLIM=5000,0,0,0   (If AVI1 voltage lower than 5V , trigger uplink, 0 means ignore)
529 529  
530 530  Example2: AA 02 01 00
... ... @@ -531,134 +531,41 @@
531 531  
532 532  Same as AT+ DTRI =1,0  (Enable DI1 trigger / disable DI2 trigger)
533 533  
490 +(% style="color:#4f81bd" %)**Trigger Settings Payload Explanation:**
534 534  
535 -
536 -
537 -**Trigger Settings Payload Explanation:**
538 -
539 539  MOD6 Payload : total 11 bytes payload
540 540  
541 -(% border="1" style="background-color:#f7faff" %)
542 -|Size(bytes)|1|1|1|6|1|1
543 -|Value|(((
544 -TRI_A
494 +[[image:image-20220524085923-1.png]]
545 545  
546 -FLAG
547 -)))|(((
548 -TRI_A
496 +(% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
549 549  
550 -Status
551 -)))|(((
552 -TRI_DI
498 +[[image:image-20220524090106-2.png]]
553 553  
554 -FLAG+STA
555 -)))|Reserve|Enable/Disable MOD6|(((
556 -MOD
557 -
558 -(6)
559 -)))
560 -
561 -**TRI FLAG1** is a combination to show if trigger is set for this part. Totally 1byte as below
562 -
563 -(% border="1" style="background-color:#f7faff" %)
564 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
565 -|(((
566 -AV1_
567 -
568 -LOW
569 -)))|(((
570 -AV1_
571 -
572 -HIGH
573 -)))|(((
574 -AV2_
575 -
576 -LOW
577 -)))|(((
578 -AV2_
579 -
580 -HIGH
581 -)))|(((
582 -AC1_
583 -
584 -LOW
585 -)))|(((
586 -AC1_
587 -
588 -HIGH
589 -)))|(((
590 -AC2_
591 -
592 -LOW
593 -)))|(((
594 -AC2_
595 -
596 -HIGH
597 -)))
598 -
599 599  * Each bits shows if the corresponding trigger has been configured.
600 600  
601 -Example:
502 +**Example:**
602 602  
603 603  10100000: Means the system has configure to use the trigger: AC1_LOW and AV2_LOW
604 604  
605 605  
606 -**TRI Status1** is a combination to show which condition is trigger. Totally 1byte as below
507 +(% style="color:#4f81bd" %)**TRI Status1**(%%) is a combination to show which condition is trigger. Totally 1byte as below
607 607  
608 -(% border="1" style="background-color:#f7faff" %)
609 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
610 -|(((
611 -AV1_
509 +[[image:image-20220524090249-3.png]]
612 612  
613 -LOW
614 -)))|(((
615 -AV1_
616 -
617 -HIGH
618 -)))|(((
619 -AV2_
620 -
621 -LOW
622 -)))|(((
623 -AV2_
624 -
625 -HIGH
626 -)))|(((
627 -AC1_
628 -
629 -LOW
630 -)))|(((
631 -AC1_
632 -
633 -HIGH
634 -)))|(((
635 -AC2_
636 -
637 -LOW
638 -)))|(((
639 -AC2_
640 -
641 -HIGH
642 -)))
643 -
644 644  * Each bits shows which status has been trigger on this uplink.
645 645  
646 -Example:
513 +**Example:**
647 647  
648 648  10000000: Means this packet is trigger by AC1_LOW. Means voltage too low.
649 649  
650 650  
518 +(% style="color:#4f81bd" %)**TRI_DI FLAG+STA **(%%)is a combination to show which condition is trigger. Totally 1byte as below
651 651  
520 +[[image:image-20220524090456-4.png]]
652 652  
653 -**TRI_DI FLAG+STA **is a combination to show which condition is trigger. Totally 1byte as below
654 -
655 -(% border="1" style="background-color:#f7faff" %)
656 -|bit7|bit6|bit5|bit4|bit3|bit2|bit1|bit0
657 -|N/A|N/A|N/A|N/A|DI2_STATUS|DI2_FLAG|DI1_STATUS|DI1_FLAG
658 -
659 659  * Each bits shows which status has been trigger on this uplink.
660 660  
661 -Example:
524 +**Example:**
662 662  
663 663  00000111: Means both DI1 and DI2 trigger are enabled and this packet is trigger by DI1.
664 664  
... ... @@ -665,117 +665,117 @@
665 665  00000101: Means both DI1 and DI2 trigger are enabled.
666 666  
667 667  
668 -**Enable/Disable MOD6 **: 0x01: MOD6 is enable. 0x00: MOD6 is disable.
531 +(% style="color:#4f81bd" %)**Enable/Disable MOD6 **(%%): 0x01: MOD6 is enable. 0x00: MOD6 is disable.
669 669  
670 -
671 671  Downlink command to poll MOD6 status:
672 672  
673 -AB 06
535 +**AB 06**
674 674  
675 675  When device got this command, it will send the MOD6 payload.
676 676  
539 +=== 3.3.7 Payload Decoder ===
677 677  
678 -1.
679 -11.
680 -111. Payload Decoder
681 -
541 +(((
682 682  **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/]]
543 +)))
683 683  
545 +== 3.4 ​Configure LT via AT or Downlink ==
684 684  
547 +User can configure LT I/O Controller via AT Commands or LoRaWAN Downlink Commands
685 685  
686 -
687 -
688 -
689 -
690 -1.
691 -11. ​Configure LT via AT or Downlink
692 -
693 -User can configure LT I/O Controller via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
694 -
549 +(((
695 695  There are two kinds of Commands:
551 +)))
696 696  
697 -* **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
553 +* (% 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
698 698  
699 -* **Sensor Related Commands**: These commands are special designed for LT-22222-L.  User can see these commands below:
555 +* (% style="color:#4f81bd" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
700 700  
701 -1.
702 -11.
703 -111. Common Commands:
557 +=== 3.4.1 Common Commands ===
704 704  
705 -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: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands
559 +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/]]
706 706  
561 +=== 3.4.2 Sensor related commands ===
707 707  
708 -1.
709 -11.
710 -111. Sensor related commands:
563 +==== 3.4.2.1 Set Transmit Interval ====
711 711  
712 -==== Set Transmit Interval ====
713 -
714 714  Set device uplink interval.
715 715  
716 716  * AT Command:
717 717  
718 -AT+TDC=N
569 +(% class="box infomessage" %)
570 +(((
571 +**AT+TDC=N **
572 +)))
719 719  
720 -Example: AT+TDC=30000. Means set interval to 30 seconds
574 +**Example: **AT+TDC=30000. Means set interval to 30 seconds
721 721  
722 -
723 723  * Downlink Payload (prefix 0x01):
724 724  
725 -0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)
578 +(% class="box infomessage" %)
579 +(((
580 +**0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
581 +)))
726 726  
583 +==== 3.4.2.2 Set Work Mode (AT+MOD) ====
727 727  
728 -==== Set Work Mode (AT+MOD) ====
729 -
730 730  Set work mode.
731 731  
732 732  * AT Command:
733 733  
734 -AT+MOD=N 
589 +(% class="box infomessage" %)
590 +(((
591 +**AT+MOD=N  **
592 +)))
735 735  
736 -Example: AT+MOD=2. Set work mode to Double DI counting mode
594 +**Example**: AT+MOD=2. Set work mode to Double DI counting mode
737 737  
738 -
739 739  * Downlink Payload (prefix 0x0A):
740 740  
741 -0x0A aa     ~/~/ Same as AT+MOD=aa
598 +(% class="box infomessage" %)
599 +(((
600 +**0x0A aa     ~/~/ Same as AT+MOD=aa**
601 +)))
742 742  
603 +==== 3.4.2.3 Poll an uplink ====
743 743  
744 -
745 -==== Poll an uplink ====
746 -
747 747  * AT Command:
748 748  
749 749  There is no AT Command to poll uplink
750 750  
751 -
752 752  * Downlink Payload (prefix 0x08):
753 753  
754 -0x08 FF     ~/~/ Poll an uplink,
611 +(% class="box infomessage" %)
612 +(((
613 +**0x08 FF     ~/~/ Poll an uplink,**
614 +)))
755 755  
756 -Example: 0x08FF, ask device to send an Uplink
616 +**Example**: 0x08FF, ask device to send an Uplink
757 757  
618 +==== 3.4.2.4 Enable Trigger Mode ====
758 758  
759 -==== Enable Trigger Mode ====
620 +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]]
760 760  
761 -Use of trigger mode, please check [[ADDMOD6>>path:#MOD6]]
762 -
763 763  * AT Command:
764 764  
765 -AT+ADDMOD6=1 or 0
624 +(% class="box infomessage" %)
625 +(((
626 +**AT+ADDMOD6=1 or 0**
627 +)))
766 766  
767 767  1: Enable Trigger Mode
768 768  
769 769  0: Disable Trigger Mode
770 770  
771 -
772 772  * Downlink Payload (prefix 0x0A 06):
773 773  
774 -0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,
635 +(% class="box infomessage" %)
636 +(((
637 +**0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
638 +)))
775 775  
640 +==== 3.4.2.5 Poll trigger settings ====
776 776  
777 -==== Poll trigger settings ====
778 -
779 779  Poll trigger settings,
780 780  
781 781  * AT Command:
... ... @@ -782,339 +782,337 @@
782 782  
783 783  There is no AT Command for this feature.
784 784  
785 -
786 786  * Downlink Payload (prefix 0x AB 06):
787 787  
788 -0xAB 06  ~/~/ Poll trigger settings, device will uplink [[trigger settings>>path:#Trigger_Settings]] once receive this command
650 +(% class="box infomessage" %)
651 +(((
652 +**0xAB 06  ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command**
653 +)))
789 789  
655 +==== 3.4.2.6 Enable / Disable DI1/DI2/DI3 as trigger ====
790 790  
791 -==== Enable / Disable DI1/DI2/DI3 as trigger ====
792 -
793 793  Enable Disable DI1/DI2/DI2 as trigger,
794 794  
795 795  * AT Command:
796 796  
797 -Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >
661 +(% class="box infomessage" %)
662 +(((
663 +**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
664 +)))
798 798  
799 -Example:
666 +**Example:**
800 800  
801 801  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
802 802  
803 -
804 -
805 805  * Downlink Payload (prefix 0xAA 02):
806 806  
807 -0xAA 02 aa bb  ~/~/ Same as AT+DTRI=aa,bb
672 +(% class="box infomessage" %)
673 +(((
674 +**0xAA 02 aa bb  ~/~/ Same as AT+DTRI=aa,bb**
675 +)))
808 808  
677 +==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
809 809  
810 -
811 -==== Trigger1 – Set DI1 or DI3 as trigger ====
812 -
813 813  Set DI1 or DI3(for LT-33222-L) trigger.
814 814  
815 815  * AT Command:
816 816  
817 -AT+TRIG1=a,b
683 +(% class="box infomessage" %)
684 +(((
685 +**AT+TRIG1=a,b**
686 +)))
818 818  
819 819  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
820 820  
821 821  b : delay timing.
822 822  
823 -Example:
692 +**Example:**
824 824  
825 825  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
826 826  
827 -
828 828  * Downlink Payload (prefix 0x09 01 ):
829 829  
830 -0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)
698 +(% class="box infomessage" %)
699 +(((
700 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
701 +)))
831 831  
703 +==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
832 832  
833 -==== Trigger2 – Set DI2 as trigger ====
834 -
835 835  Set DI2 trigger.
836 836  
837 837  * AT Command:
838 838  
839 -AT+TRIG2=a,b
709 +(% class="box infomessage" %)
710 +(((
711 +**AT+TRIG2=a,b**
712 +)))
840 840  
841 841  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
842 842  
843 843  b : delay timing.
844 844  
845 -Example:
718 +**Example:**
846 846  
847 847  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
848 848  
849 -
850 850  * Downlink Payload (prefix 0x09 02 ):
851 851  
852 -0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)
724 +(% class="box infomessage" %)
725 +(((
726 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
727 +)))
853 853  
729 +==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
854 854  
855 -==== Trigger Set AC (current) as trigger ====
731 +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]]
856 856  
857 -Set current trigger , base on AC port. See [[trigger mode>>path:#MOD6]]
858 -
859 859  * AT Command:
860 860  
861 -AT+ACLIM. See [[trigger mode>>path:#MOD6]]
735 +(% class="box infomessage" %)
736 +(((
737 +**AT+ACLIM. **
738 +)))
862 862  
863 -
864 864  * Downlink Payload (prefix 0xAA 01 ):
865 865  
866 -0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>path:#MOD6]]
742 +(% class="box infomessage" %)
743 +(((
744 +**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]]**
745 +)))
867 867  
747 +==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
868 868  
869 -==== Trigger Set AV (voltage) as trigger ====
749 +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]]
870 870  
871 -Set current trigger , base on AV port. See [[trigger mode>>path:#MOD6]]
872 -
873 873  * AT Command:
874 874  
875 -AT+AVLIM. See [[trigger mode>>path:#MOD6]]
753 +(% class="box infomessage" %)
754 +(((
755 +**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]]**
756 +)))
876 876  
877 -
878 878  * Downlink Payload (prefix 0xAA 00 ):
879 879  
880 -0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>path:#MOD6]]
760 +(% class="box infomessage" %)
761 +(((
762 +**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]] **
763 +)))
881 881  
882 -==== Trigger – Set minimum interval ====
765 +==== 3.4.2.11 Trigger – Set minimum interval ====
883 883  
884 884  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
885 885  
886 886  * AT Command:
887 887  
888 -AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.
771 +(% class="box infomessage" %)
772 +(((
773 +**AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
774 +)))
889 889  
890 -
891 891  * Downlink Payload (prefix 0xAC ):
892 892  
893 -0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
778 +(% class="box infomessage" %)
779 +(((
780 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)**
781 +)))
894 894  
783 +==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
895 895  
896 -==== DO ~-~- Control Digital Output DO1/DO2/DO3 ====
897 -
898 898  * AT Command:
899 899  
900 900  There is no AT Command to control Digital Output
901 901  
902 -
903 903  * Downlink Payload (prefix 0x02):
904 904  
905 -0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output
791 +(% class="box infomessage" %)
792 +(((
793 +**0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
794 +)))
906 906  
796 +(((
907 907  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
798 +)))
908 908  
800 +(((
909 909  01: Low,  00: High ,  11: No action
802 +)))
910 910  
911 -(% border="1" style="background-color:#f7faff" %)
912 -|Downlink Code|DO1|DO2|DO3
913 -|02  01  00  11|Low|High|No Action
914 -|02  00  11  01|High|No Action|Low
915 -|02  11  01  00|No Action|Low|High
804 +[[image:image-20220524092754-5.png]]
916 916  
917 -Note: For LT-22222-L, there is no DO3, the last byte can use any value.
806 +(((
807 +(% style="color:red" %)Note: For LT-22222-L, there is no DO3, the last byte can use any value.
808 +)))
918 918  
919 -Device will upload a packet if downlink code executes successfully.
810 +(((
811 +(% style="color:red" %)Device will upload a packet if downlink code executes successfully.
812 +)))
920 920  
921 921  
815 +==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
922 922  
923 -
924 -
925 -==== DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
926 -
927 927  * AT Command:
928 928  
929 929  There is no AT Command to control Digital Output
930 930  
931 -
932 932  * Downlink Payload (prefix 0xA9):
933 933  
934 -0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control
823 +(% class="box infomessage" %)
824 +(((
825 +**0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
826 +)))
935 935  
936 936  This is to control the digital output time of DO pin. Include four bytes:
937 937  
938 -**First Byte:** Type code (0xA9)
830 +(% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
939 939  
940 -**Second Byte**: Inverter Mode
832 +(% style="color:#4f81bd" %)**Second Byte**(%%): Inverter Mode
941 941  
942 942  01: DO pins will change back to original state after timeout.
943 943  
944 944  00: DO pins will change to an inverter state after timeout 
945 945  
838 +(% style="color:#4f81bd" %)**Third Byte**(%%): Control Method and Ports status:
946 946  
947 -**Third Byte**: Control Method and Ports status:
840 +[[image:image-20220524093238-6.png]]
948 948  
949 -(% border="1" style="background-color:#f7faff" %)
950 -|Second Byte|Status
951 -|0x01|DO1 set to low
952 -|0x00|DO1 set to high
953 -|0x11|DO1 NO Action
842 +(% style="color:#4f81bd" %)**Fourth Byte**(%%): Control Method and Ports status:
954 954  
955 -**Fourth Byte**: Control Method and Ports status:
844 +[[image:image-20220524093328-7.png]]
956 956  
957 -(% border="1" style="background-color:#f7faff" %)
958 -|Second Byte|Status
959 -|0x01|DO2 set to low
960 -|0x00|DO2 set to high
961 -|0x11|DO2 NO Action
846 +(% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
962 962  
963 -**Fifth Byte**: Control Method and Ports status:
848 +[[image:image-20220524093351-8.png]]
964 964  
965 -(% border="1" style="background-color:#f7faff" %)
966 -|Second Byte|Status
967 -|0x01|DO3 set to low
968 -|0x00|DO3 set to high
969 -|0x11|DO3 NO Action
850 +(% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
970 970  
971 -**Sixth and Seventh Byte**:
972 -
973 973   Latching time. Unit: ms
974 974  
975 975  Device will upload a packet if downlink code executes successfully.
976 976  
856 +**Example payload:**
977 977  
858 +**~1. A9 01 01 01 01 07 D0**
978 978  
979 -Example payload:
980 -
981 -1. A9 01 01 01 01 07 D0
982 -
983 983  DO1 pin & DO2 pin & DO3 pin will be set to Low, last 2 seconds, then change back to original state.
984 984  
862 +**2. A9 01 00 01 11 07 D0**
985 985  
986 -1. A9 01 00 01 11 07 D0
987 -
988 988  DO1 pin set high, DO2 pin set low, DO3 pin no action, last 2 seconds, then change back to original state.
989 989  
866 +**3. A9 00 00 00 00 07 D0**
990 990  
991 -1. A9 00 00 00 00 07 D0
992 -
993 993  DO1 pin & DO2 pin & DO3 pin will be set to high, last 2 seconds, then both change to low.
994 994  
870 +**4. A9 00 11 01 00 07 D0**
995 995  
996 -1. A9 00 11 01 00 07 D0
997 -
998 998  DO1 pin no action, DO2 pin set low, DO3 pin set high, last 2 seconds, then DO1 pin no action, DO2 pin set high, DO3 pin set low
999 999  
1000 1000  
875 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
1001 1001  
1002 -
1003 -==== Relay ~-~- Control Relay Output RO1/RO2 ====
1004 -
1005 1005  * AT Command:
1006 1006  
1007 1007  There is no AT Command to control Relay Output
1008 1008  
1009 -
1010 1010  * Downlink Payload (prefix 0x03):
1011 1011  
1012 -0x03 aa bb     ~/~/ Set RO1/RO2 output
883 +(% class="box infomessage" %)
884 +(((
885 +**0x03 aa bb     ~/~/ Set RO1/RO2 output**
886 +)))
1013 1013  
888 +(((
1014 1014  If payload = 0x030100, it means set RO1 to close and RO2 to open.
890 +)))
1015 1015  
892 +(((
1016 1016  01: Close ,  00: Open , 11: No action
894 +)))
1017 1017  
1018 -(% border="1" style="background-color:#f7faff" %)
1019 -|Downlink Code|RO1|RO2
1020 -|03  00  11|Open|No Action
1021 -|03  01  11|Close|No Action
1022 -|03  11  00|No Action|Open
1023 -|03  11  01|No Action|Close
1024 -|03  00  00|Open|Open
1025 -|03  01  01|Close|Close
1026 -|03  01  00|Close|Open
1027 -|03  00  01|Open|Close
896 +(((
897 +[[image:image-20220524093724-9.png]]
898 +)))
1028 1028  
1029 1029  Device will upload a packet if downlink code executes successfully.
1030 1030  
1031 1031  
1032 -==== Relay ~-~- Control Relay Output RO1/RO2 with time control ====
903 +==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1033 1033  
1034 1034  * AT Command:
1035 1035  
1036 1036  There is no AT Command to control Relay Output
1037 1037  
1038 -
1039 1039  * Downlink Payload (prefix 0x05):
1040 1040  
1041 -0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:
911 +(% class="box infomessage" %)
912 +(((
913 +**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
914 +)))
1042 1042  
1043 1043  This is to control the relay output time of relay. Include four bytes:
1044 1044  
1045 -**First Byte:** Type code (0x05)
918 +(% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
1046 1046  
1047 -**Second Byte(aa)**: Inverter Mode
920 +(% style="color:#4f81bd" %)**Second Byte(aa)**(%%): Inverter Mode
1048 1048  
1049 1049  01: Relays will change back to original state after timeout.
1050 1050  
1051 1051  00: Relays will change to an inverter state after timeout
1052 1052  
926 +(% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
1053 1053  
1054 -**Third Byte(bb)**: Control Method and Ports status:
928 +[[image:image-20220524093831-10.png]]
1055 1055  
1056 -(% border="1" style="background-color:#f7faff" %)
1057 -|Value|Status
1058 -|0x11|RO1 and RO2 to NO
1059 -|0x10|RO2 to NO, RO1 to NC
1060 -|0x01|RO2 to NC, RO1 to NO
1061 -|0x00|RO1 and RO2 to NC.
1062 -|0x20|RO1 No Action, RO2 to NC
1063 -|0x21|RO1 No Action, RO2 to NO
1064 -|0x02|RO1 to NC, RO2 No Action
1065 -|0x12|RO1 to NO, RO2 No Action
930 +(% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
1066 1066  
1067 -**Fourth / Fifth Bytes (cc)**: Latching time. Unit: ms
1068 -
1069 1069  Device will upload a packet if downlink code executes successfully.
1070 1070  
1071 -
1072 -
1073 1073  **Example payload:**
1074 1074  
1075 -1. 05 01 11 07 D0
936 +**~1. 05 01 11 07 D0**
1076 1076  
1077 1077  Relay1 and Relay 2 will be set to NO , last 2 seconds, then change back to original state.
1078 1078  
940 +**2. 05 01 10 07 D0**
1079 1079  
1080 -1. 05 01 10 07 D0
1081 -
1082 1082  Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then both change back to original state.
1083 1083  
944 +**3. 05 00 01 07 D0**
1084 1084  
1085 -1. 05 00 01 07 D0
1086 -
1087 1087  Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then relay change to NO, Relay2 change to NC.
1088 1088  
948 +**4. 05 00 00 07 D0**
1089 1089  
1090 -1. 05 00 00 07 D0
1091 -
1092 1092  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
1093 1093  
1094 1094  
953 +==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1095 1095  
955 +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]]
1096 1096  
1097 -
1098 -
1099 -==== Counting ~-~- Voltage threshold counting ====
1100 -
1101 -When voltage exceed the threshold, count. Feature see [[MOD4>>path:#MOD4]]
1102 -
1103 1103  * AT Command:
1104 1104  
1105 -AT+VOLMAX    ~/~/ See [[MOD4>>path:#MOD4]]
959 +(% class="box infomessage" %)
960 +(((
961 +**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]]**
962 +)))
1106 1106  
1107 -
1108 1108  * Downlink Payload (prefix 0xA5):
1109 1109  
1110 -0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc
966 +(% class="box infomessage" %)
967 +(((
968 +**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
969 +)))
1111 1111  
971 +==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1112 1112  
1113 -==== Counting ~-~- Pre-configure the Count Number ====
1114 -
1115 1115  * AT Command:
1116 1116  
1117 -AT+SETCNT=aa,(bb cc dd ee)
975 +(% class="box infomessage" %)
976 +(((
977 +**AT+SETCNT=aa,(bb cc dd ee) **
978 +)))
1118 1118  
1119 1119  aa: 1: Set count1,
1120 1120  
... ... @@ -1124,41 +1124,46 @@
1124 1124  
1125 1125  Bb cc dd ee: number to be set
1126 1126  
1127 -
1128 1128  * Downlink Payload (prefix 0xA8):
1129 1129  
1130 -0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
990 +(% class="box infomessage" %)
991 +(((
992 +**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
993 +)))
1131 1131  
995 +==== 3.4.2.18 Counting ~-~- Clear Counting ====
1132 1132  
1133 -
1134 -
1135 -
1136 -==== Counting ~-~- Clear Counting ====
1137 -
1138 1138  Clear counting for counting mode
1139 1139  
1140 1140  * AT Command:
1141 1141  
1142 -AT+CLRCOUNT ~/~/ clear all counting
1001 +(% class="box infomessage" %)
1002 +(((
1003 +**AT+CLRCOUNT ~/~/ clear all counting**
1004 +)))
1143 1143  
1144 -
1145 1145  * Downlink Payload (prefix 0xA6):
1146 1146  
1147 -0x A6 01     ~/~/ clear all counting,
1008 +(% class="box infomessage" %)
1009 +(((
1010 +**0x A6 01     ~/~/ clear all counting,**
1011 +)))
1148 1148  
1013 +==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1149 1149  
1150 -
1151 -
1152 -==== Counting ~-~- Change counting mode save time ====
1153 -
1154 1154  * AT Command:
1155 1155  
1156 -AT+COUTIME=60  ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1017 +(% class="box infomessage" %)
1018 +(((
1019 +**AT+COUTIME=60  ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)**
1020 +)))
1157 1157  
1158 -
1159 1159  * Downlink Payload (prefix 0xA7):
1160 1160  
1161 -0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,
1024 +(% class="box infomessage" %)
1025 +(((
1026 +**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1027 +)))
1162 1162  
1163 1163  range: aa bb cc:0 to 16777215,  (unit:second)
1164 1164  
... ... @@ -1165,7 +1165,7 @@
1165 1165  
1166 1166  
1167 1167  
1168 -1.
1034 +1.
1169 1169  11. Integrate with Mydevice
1170 1170  
1171 1171  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:
... ... @@ -1223,7 +1223,7 @@
1223 1223  
1224 1224  
1225 1225  1.
1226 -11.
1092 +11.
1227 1227  111. Digital Input Port: DI1/DI2 ( For LT-22222-L)
1228 1228  
1229 1229  The DI port of LT-22222-L can support NPN or PNP output sensor.
... ... @@ -1277,8 +1277,8 @@
1277 1277  If sensor output is 220v, the //IF//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] = 4.3mA , So the LT-22222-L will be able to detect this high active signal safely.
1278 1278  
1279 1279  
1280 -1.
1281 -11.
1146 +1.
1147 +11.
1282 1282  111. Digital Output Port: DO1/DO2 /DO3
1283 1283  
1284 1284  NPN output: GND or Float. Max voltage can apply to output pin is 36v.
... ... @@ -1289,7 +1289,7 @@
1289 1289  
1290 1290  
1291 1291  1.
1292 -11.
1158 +11.
1293 1293  111. Analog Input Interface
1294 1294  
1295 1295  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:
... ... @@ -1322,7 +1322,7 @@
1322 1322  
1323 1323  
1324 1324  1.
1325 -11.
1191 +11.
1326 1326  111. Relay Output
1327 1327  
1328 1328  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:
... ... @@ -1482,7 +1482,7 @@
1482 1482  
1483 1483  
1484 1484  
1485 -1.
1351 +1.
1486 1486  11. Common AT Command Sequence
1487 1487  111. Multi-channel ABP mode (Use with SX1301/LG308)
1488 1488  
... ... @@ -1505,8 +1505,8 @@
1505 1505  
1506 1506  ATZ
1507 1507  
1508 -1.
1509 -11.
1374 +1.
1375 +11.
1510 1510  111. Single-channel ABP mode (Use with LG01/LG02)
1511 1511  
1512 1512  123456   Enter Password to have AT access.
... ... @@ -1546,7 +1546,7 @@
1546 1546  
1547 1547  
1548 1548  1.
1549 -11.
1415 +11.
1550 1550  111. Change to Class A
1551 1551  
1552 1552  If sensor JOINED
... ... @@ -1561,7 +1561,7 @@
1561 1561  
1562 1562  1. FAQ
1563 1563  
1564 -1.
1430 +1.
1565 1565  11. How to upgrade the image?
1566 1566  
1567 1567  The LT LoRaWAN Controller is shipped with a 3.5mm cable, the cable is used to upload image to LT to:
... ... @@ -1620,7 +1620,7 @@
1620 1620  User can follow the introduction for [[how to upgrade image>>path:#upgrade_image]]. When download the images, choose the required image file for download.
1621 1621  
1622 1622  
1623 -1.
1489 +1.
1624 1624  11. How to set up LT to work with Single Channel Gateway such as LG01/LG02?
1625 1625  
1626 1626  In this case, users need to set LT-33222-L to work in ABP mode & transmit in only one frequency.
... ... @@ -1679,7 +1679,7 @@
1679 1679  [[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]]
1680 1680  
1681 1681  
1682 -1.
1548 +1.
1683 1683  11. Have trouble to upload image.
1684 1684  
1685 1685  See this link for trouble shooting:
... ... @@ -1687,7 +1687,7 @@
1687 1687  [[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]]
1688 1688  
1689 1689  
1690 -1.
1556 +1.
1691 1691  11. Why I can’t join TTN in US915 /AU915 bands?
1692 1692  
1693 1693  It might be about the channels mapping. Please see this link for detail:
image-20220523181727-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.8 KB
Content
image-20220523181903-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +4.9 KB
Content
image-20220523182334-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.4 KB
Content
image-20220524085923-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.4 KB
Content
image-20220524090106-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.2 KB
Content
image-20220524090249-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.8 KB
Content
image-20220524090456-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +5.1 KB
Content
image-20220524092754-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +7.8 KB
Content
image-20220524093238-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.0 KB
Content
image-20220524093328-7.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.1 KB
Content
image-20220524093351-8.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +6.2 KB
Content
image-20220524093724-9.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +14.3 KB
Content
image-20220524093831-10.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +15.2 KB
Content