<
From version < 126.4 >
edited by Xiaoling
on 2023/06/19 15:47
To version < 122.1 >
edited by Bei Jinggeng
on 2023/06/08 10:19
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
Content
... ... @@ -189,6 +189,7 @@
189 189  
190 190  * Counting
191 191  
192 +
192 192  == 1.4  Applications ==
193 193  
194 194  
... ... @@ -205,13 +205,11 @@
205 205  * Smart Factory
206 206  
207 207  
208 -
209 -
210 210  == 1.5 Hardware Variants ==
211 211  
212 212  
213 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
214 -|(% 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:266px" %)**Description**
212 +(% border="1" style="background-color:#f2f2f2; width:500px" %)
213 +|(% 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**
215 215  |(% style="width:103px" %)**LT22222-L**|(% style="width:131px" %)(((
216 216  (% style="text-align:center" %)
217 217  [[image:image-20230424115112-1.png||height="106" width="58"]]
... ... @@ -224,6 +224,7 @@
224 224  * 1 x Counting Port
225 225  )))
226 226  
226 +
227 227  = 2. Power ON Device =
228 228  
229 229  
... ... @@ -311,17 +311,13 @@
311 311  There are five working modes + one interrupt mode on LT for different type application:
312 312  
313 313  * (% style="color:blue" %)**MOD1**(%%): (default setting): 2 x ACI + 2AVI + DI + DO + RO
314 -
315 315  * (% style="color:blue" %)**MOD2**(%%): Double DI Counting + DO + RO
316 -
317 317  * (% style="color:blue" %)**MOD3**(%%): Single DI Counting + 2 x ACI + DO + RO
318 -
319 319  * (% style="color:blue" %)**MOD4**(%%): Single DI Counting + 1 x Voltage Counting + DO + RO
320 -
321 321  * (% style="color:blue" %)**MOD5**(%%): Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
322 -
323 323  * (% style="color:blue" %)**ADDMOD6**(%%): Trigger Mode, Optional, used together with MOD1 ~~ MOD5
324 324  
320 +
325 325  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
326 326  
327 327  
... ... @@ -329,15 +329,19 @@
329 329  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default. (% style="display:none" %)
330 330  
331 331  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
332 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
328 +|**Size(bytes)(% style="display:none" %) (%%)**|**2**|**2**|**2**|**2**|**1**|**1**|**1**
333 333  |Value|(((
334 -AVI1 voltage
330 +AVI1
331 +voltage
335 335  )))|(((
336 -AVI2 voltage
333 +AVI2
334 +voltage
337 337  )))|(((
338 -ACI1 Current
336 +ACI1
337 +Current
339 339  )))|(((
340 -ACI2 Current
339 +ACI2
340 +Current
341 341  )))|DIDORO*|(((
342 342  Reserve
343 343  )))|MOD
... ... @@ -344,6 +344,8 @@
344 344  )))
345 345  
346 346  (((
347 +
348 +
347 347  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
348 348  
349 349  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -351,6 +351,7 @@
351 351  |RO1|RO2|DI3|DI2|DI1|DO3|DO2|DO1
352 352  )))
353 353  
356 +
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.
... ... @@ -390,6 +390,7 @@
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  
396 +
393 393  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
394 394  
395 395  
... ... @@ -401,13 +401,17 @@
401 401  Total : 11 bytes payload
402 402  
403 403  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
404 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
408 +|**Size(bytes)**|**4**|**4**|**1**|**1**|**1**
405 405  |Value|COUNT1|COUNT2 |DIDORO*|(((
406 -Reserve
410 +Reserve
411 +
412 +
407 407  )))|MOD
408 408  )))
409 409  
410 410  (((
417 +
418 +
411 411  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DO3, DO2 and DO1. Totally 1bytes as below
412 412  
413 413  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -447,11 +447,14 @@
447 447  
448 448  
449 449  (% style="color:#4f81bd" %)**AT Commands for counting:**
458 +
459 +
450 450  )))
451 451  
452 452  (((
453 453  **For LT22222-L:**
454 454  
465 +
455 455  (% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
456 456  
457 457  (% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
... ... @@ -472,7 +472,7 @@
472 472  **LT22222-L**: This mode the DI1 is used as a counting pin.
473 473  
474 474  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
475 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
486 +|**Size(bytes)**|**4**|**2**|**2**|**1**|**1**|**1**
476 476  |Value|COUNT1|(((
477 477  ACI1 Current
478 478  )))|(((
... ... @@ -480,6 +480,8 @@
480 480  )))|DIDORO*|Reserve|MOD
481 481  
482 482  (((
494 +
495 +
483 483  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
484 484  
485 485  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -487,6 +487,7 @@
487 487  |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
488 488  )))
489 489  
503 +
490 490  * RO is for relay. ROx=1 : close,ROx=0 always open.
491 491  * FIRST: Indicate this is the first packet after join network.
492 492  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
... ... @@ -529,12 +529,15 @@
529 529  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.
530 530  
531 531  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
532 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
546 +|**Size(bytes)**|**4**|**4**|**1**|**1**|**1**
533 533  |Value|COUNT1|AVI1 Counting|DIDORO*|(((
534 534  Reserve
549 +
550 +
535 535  )))|MOD
536 536  )))
537 537  
554 +
538 538  (((
539 539  (% style="color:#4f81bd" %)**DIDORO **(%%)is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
540 540  
... ... @@ -543,6 +543,7 @@
543 543  |RO1|RO2|FIRST|Reserve|Reserve|DO3|DO2|DO1
544 544  )))
545 545  
563 +
546 546  * RO is for relay. ROx=1 : close,ROx=0 always open.
547 547  * FIRST: Indicate this is the first packet after join network.
548 548  * DO is for reverse digital output. DOx=1: output low, DOx=0: high or float.
... ... @@ -576,8 +576,11 @@
576 576  )))
577 577  
578 578  (((
597 +
598 +
579 579  **Plus below command for AVI1 Counting:**
580 580  
601 +
581 581  (% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
582 582  
583 583  (% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
... ... @@ -594,18 +594,23 @@
594 594  **LT22222-L**: This mode the DI1 is used as a counting pin.
595 595  
596 596  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
597 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**1**
618 +|**Size(bytes)**|**2**|**2**|**2**|**2**|**1**|**1**|**1**
598 598  |Value|(((
599 -AVI1 voltage
620 +AVI1
621 +voltage
600 600  )))|(((
601 -AVI2 voltage
623 +AVI2
624 +voltage
602 602  )))|(((
603 -ACI1 Current
626 +ACI1
627 +Current
604 604  )))|COUNT1|DIDORO*|(((
605 605  Reserve
606 606  )))|MOD
607 607  
608 608  (((
633 +
634 +
609 609  (% style="color:#4f81bd" %)**DIDORO**(%%) is a combination for RO1, RO2, DI3, DI2, DI1, DO3, DO2 and DO1. Totally 1bytes as below
610 610  
611 611  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
... ... @@ -736,15 +736,19 @@
736 736  MOD6 Payload : total 11 bytes payload
737 737  
738 738  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
739 -|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:110px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**6**|(% style="background-color:#d9e2f3; color:#0070c0; width:110px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**1**
765 +|**Size(bytes)**|**1**|**1**|**1**|**6**|**1**|**1**
740 740  |Value|(((
741 -TRI_A FLAG
767 +TRI_A
768 +FLAG
742 742  )))|(((
743 -TRI_A Status
770 +TRI_A
771 +Status
744 744  )))|(((
745 -TRI_DI FLAG+STA
773 +TRI_DI
774 +FLAG+STA
746 746  )))|Reserve|Enable/Disable MOD6|(((
747 -MOD(6)
776 +MOD
777 +(6)
748 748  )))
749 749  
750 750  (% style="color:#4f81bd" %)**TRI FLAG1**(%%) is a combination to show if trigger is set for this part. Totally 1byte as below
... ... @@ -752,21 +752,29 @@
752 752  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
753 753  |**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
754 754  |(((
755 -AV1_LOW
785 +AV1_
786 +LOW
756 756  )))|(((
757 -AV1_HIGH
788 +AV1_
789 +HIGH
758 758  )))|(((
759 -AV2_LOW
791 +AV2_
792 +LOW
760 760  )))|(((
761 -AV2_HIGH
794 +AV2_
795 +HIGH
762 762  )))|(((
763 -AC1_LOW
797 +AC1_
798 +LOW
764 764  )))|(((
765 -AC1_HIGH
800 +AC1_
801 +HIGH
766 766  )))|(((
767 -AC2_LOW
803 +AC2_
804 +LOW
768 768  )))|(((
769 -AC2_HIGH
806 +AC2_
807 +HIGH
770 770  )))
771 771  
772 772  * Each bits shows if the corresponding trigger has been configured.
... ... @@ -781,21 +781,29 @@
781 781  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
782 782  |**bit7**|**bit6**|**bit5**|**bit4**|**bit3**|**bit2**|**bit1**|**bit0**
783 783  |(((
784 -AV1_LOW
822 +AV1_
823 +LOW
785 785  )))|(((
786 -AV1_HIGH
825 +AV1_
826 +HIGH
787 787  )))|(((
788 -AV2_LOW
828 +AV2_
829 +LOW
789 789  )))|(((
790 -AV2_HIGH
831 +AV2_
832 +HIGH
791 791  )))|(((
792 -AC1_LOW
834 +AC1_
835 +LOW
793 793  )))|(((
794 -AC1_HIGH
837 +AC1_
838 +HIGH
795 795  )))|(((
796 -AC2_LOW
840 +AC2_
841 +LOW
797 797  )))|(((
798 -AC2_HIGH
843 +AC2_
844 +HIGH
799 799  )))
800 800  
801 801  * Each bits shows which status has been trigger on this uplink.
... ... @@ -855,6 +855,7 @@
855 855  
856 856  * (% style="color:blue" %)**Sensor Related Commands**(%%): These commands are special designed for LT-22222-L.  User can see these commands below:
857 857  
904 +
858 858  === 3.4.1 Common Commands ===
859 859  
860 860  
... ... @@ -889,10 +889,14 @@
889 889  
890 890  Set work mode.
891 891  
892 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+MOD=N  **
939 +* (% style="color:#037691" %)**AT Command:**
893 893  
941 +(% style="color:blue" %)**AT+MOD=N  **
942 +
943 +
894 894  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
895 895  
946 +
896 896  * (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
897 897  
898 898  (% style="color:blue" %)**0x0A aa  **(%%)** ** ~/~/ Same as AT+MOD=aa
... ... @@ -902,12 +902,16 @@
902 902  ==== 3.4.2.3 Poll an uplink ====
903 903  
904 904  
905 -* (% style="color:#037691" %)**AT Command:**(%%) There is no AT Command to poll uplink
956 +* (% style="color:#037691" %)**AT Command:**
906 906  
958 +There is no AT Command to poll uplink
959 +
960 +
907 907  * (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
908 908  
909 909  (% style="color:blue" %)**0x08 FF  **(%%)** **~/~/ Poll an uplink
910 910  
965 +
911 911  **Example**: 0x08FF, ask device to send an Uplink
912 912  
913 913  
... ... @@ -917,8 +917,10 @@
917 917  
918 918  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
919 919  
920 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+ADDMOD6=1 or 0**
975 +* (% style="color:#037691" %)**AT Command:**
921 921  
977 +(% style="color:blue" %)**AT+ADDMOD6=1 or 0**
978 +
922 922  (% style="color:red" %)**1:** (%%)Enable Trigger Mode
923 923  
924 924  (% style="color:red" %)**0: **(%%)Disable Trigger Mode
... ... @@ -933,12 +933,13 @@
933 933  ==== 3.4.2.5 Poll trigger settings ====
934 934  
935 935  
936 -Poll trigger settings
993 +Poll trigger settings,
937 937  
938 938  * (% style="color:#037691" %)**AT Command:**
939 939  
940 940  There is no AT Command for this feature.
941 941  
999 +
942 942  * (% style="color:#037691" %)**Downlink Payload (prefix 0x AB 06):**
943 943  
944 944  (% style="color:blue" %)**0xAB 06  ** (%%) ~/~/ Poll trigger settings, device will uplink trigger settings once receive this command
... ... @@ -950,11 +950,15 @@
950 950  
951 951  Enable Disable DI1/DI2/DI2 as trigger,
952 952  
953 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
1011 +* (% style="color:#037691" %)**AT Command:**
954 954  
955 -**Example:** AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
1013 +(% style="color:blue" %)**Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
956 956  
957 957  
1016 +**Example:**
1017 +
1018 +AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
1019 +
958 958  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 02):**
959 959  
960 960  (% style="color:blue" %)**0xAA 02 aa bb   ** (%%) ~/~/ Same as AT+DTRI=aa,bb
... ... @@ -966,15 +966,20 @@
966 966  
967 967  Set DI1 or DI3(for LT-33222-L) trigger.
968 968  
969 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG1=a,b**
1031 +* (% style="color:#037691" %)**AT Command:**
970 970  
1033 +(% style="color:blue" %)**AT+TRIG1=a,b**
1034 +
971 971  (% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
972 972  
973 973  (% style="color:red" %)**b :** (%%)delay timing.
974 974  
975 -**Example:** AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
976 976  
1040 +**Example:**
977 977  
1042 +AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
1043 +
1044 +
978 978  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
979 979  
980 980  (% style="color:blue" %)**0x09 01 aa bb cc    ** (%%) ~/~/ same as AT+TRIG1=aa,0x(bb cc)
... ... @@ -986,15 +986,20 @@
986 986  
987 987  Set DI2 trigger.
988 988  
989 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+TRIG2=a,b**
1056 +* (% style="color:#037691" %)**AT Command:**
990 990  
1058 +(% style="color:blue" %)**AT+TRIG2=a,b**
1059 +
991 991  (% style="color:red" %)**a :** (%%)Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
992 992  
993 993  (% style="color:red" %)**b :** (%%)delay timing.
994 994  
995 -**Example:** AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
996 996  
1065 +**Example:**
997 997  
1067 +AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
1068 +
1069 +
998 998  * (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
999 999  
1000 1000  (% style="color:blue" %)**0x09 02 aa bb cc   ** (%%)~/~/ same as AT+TRIG2=aa,0x(bb cc)
... ... @@ -1006,8 +1006,11 @@
1006 1006  
1007 1007  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1008 1008  
1009 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+ACLIM**
1081 +* (% style="color:#037691" %)**AT Command**
1010 1010  
1083 +(% style="color:blue" %)**AT+ACLIM**
1084 +
1085 +
1011 1011  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
1012 1012  
1013 1013  (% 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"]]
... ... @@ -1019,8 +1019,11 @@
1019 1019  
1020 1020  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1021 1021  
1022 -* (% style="color:#037691" %)**AT Command**(%%): (% style="color:blue" %)**AT+AVLIM    **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1097 +* (% style="color:#037691" %)**AT Command**
1023 1023  
1099 +(% style="color:blue" %)**AT+AVLIM    **(%%)** See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1100 +
1101 +
1024 1024  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
1025 1025  
1026 1026  (% 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"]]
... ... @@ -1032,13 +1032,18 @@
1032 1032  
1033 1033  Set AV and AC trigger minimum interval, system won't response to the second trigger within this set time after the first trigger.
1034 1034  
1035 -* (% style="color:#037691" %)**AT Command**(%%): (% style="color:blue" %)**AT+ATDC=5        ** ~/~/ (%%)Device won't response the second trigger within 5 minute after the first trigger.
1113 +* (% style="color:#037691" %)**AT Command**
1036 1036  
1115 +(% style="color:blue" %)**AT+ATDC=5        ** (%%)Device won't response the second trigger within 5 minute after the first trigger.
1116 +
1117 +
1037 1037  * (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
1038 1038  
1039 1039  (% style="color:blue" %)**0x AC aa bb   **(%%) ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
1040 1040  
1041 1041  (((
1123 +
1124 +
1042 1042  (% style="color:red" %)**Note: ATDC setting must be more than 5min**
1043 1043  )))
1044 1044  
... ... @@ -1053,9 +1053,8 @@
1053 1053  
1054 1054  
1055 1055  * (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
1139 +* (% style="color:blue" %)**0x02 aa bb cc     ** (%%)~/~/ Set DO1/DO2/DO3 output
1056 1056  
1057 -(% style="color:blue" %)**0x02 aa bb cc     ** (%%)~/~/ Set DO1/DO2/DO3 output
1058 -
1059 1059  (((
1060 1060  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
1061 1061  )))
... ... @@ -1063,7 +1063,7 @@
1063 1063  (((
1064 1064  01: Low,  00: High ,  11: No action
1065 1065  
1066 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1148 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
1067 1067  |(% style="background-color:#d9e2f3; color:#0070c0" %)**Downlink Code**|(% style="background-color:#d9e2f3; color:#0070c0" %)**DO1**|(% style="background-color:#d9e2f3; color:#0070c0" %)**DO2**|(% style="background-color:#d9e2f3; color:#0070c0" %)**DO3**
1068 1068  |02  01  00  11|Low|High|No Action
1069 1069  |02  00  11  01|High|No Action|Low
... ... @@ -1070,6 +1070,7 @@
1070 1070  |02  11  01  00|No Action|Low|High
1071 1071  )))
1072 1072  
1155 +
1073 1073  (((
1074 1074  (% style="color:red" %)**Note: For LT-22222-L, there is no DO3, the last byte can use any value.**
1075 1075  )))
... ... @@ -1137,6 +1137,7 @@
1137 1137  
1138 1138   Before Firmwre v1.6.0 the latch time only suport 2 bytes.
1139 1139  
1223 +
1140 1140  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1141 1141  
1142 1142  
... ... @@ -1192,6 +1192,10 @@
1192 1192  |03  00  01|Open|Close
1193 1193  )))
1194 1194  
1279 +(((
1280 +
1281 +)))
1282 +
1195 1195  (% style="color:red" %)**Device will upload a packet if downlink code executes successfully.**
1196 1196  
1197 1197  
... ... @@ -1263,8 +1263,11 @@
1263 1263  
1264 1264  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1265 1265  
1266 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1354 +* (% style="color:#037691" %)**AT Command:**
1267 1267  
1356 +(% style="color:blue" %)**AT+VOLMAX   ** (%%)~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1357 +
1358 +
1268 1268  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1269 1269  
1270 1270  (% style="color:blue" %)**0xA5 aa bb cc   ** (%%)~/~/ Same as AT+VOLMAX=(aa bb),cc
... ... @@ -1274,8 +1274,10 @@
1274 1274  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1275 1275  
1276 1276  
1277 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1368 +* (% style="color:#037691" %)**AT Command:**
1278 1278  
1370 +(% style="color:blue" %)**AT+SETCNT=aa,(bb cc dd ee) **
1371 +
1279 1279  (% style="color:red" %)**aa:**(%%) 1: Set count1; 2: Set count2; 3: Set AV1 count
1280 1280  
1281 1281  (% style="color:red" %)**bb cc dd ee: **(%%)number to be set
... ... @@ -1292,8 +1292,11 @@
1292 1292  
1293 1293  Clear counting for counting mode
1294 1294  
1295 -* (% style="color:#037691" %)**AT Command:**(%%) (% style="color:blue" %)**AT+CLRCOUNT         **(%%) ~/~/ clear all counting
1388 +* (% style="color:#037691" %)**AT Command:**
1296 1296  
1390 +(% style="color:blue" %)**AT+CLRCOUNT **(%%) ~/~/ clear all counting
1391 +
1392 +
1297 1297  * (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1298 1298  
1299 1299  (% style="color:blue" %)**0x A6 01    ** (%%)~/~/ clear all counting
... ... @@ -1484,12 +1484,12 @@
1484 1484  
1485 1485  
1486 1486  (((
1487 -The DI port of LT-22222-L can support **NPN** or **PNP** or **Dry Contact** output sensor.
1583 +The DI port of LT-22222-L can support NPN or PNP output sensor.
1488 1488  )))
1489 1489  
1490 1490  (((
1491 1491  (((
1492 -Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA). (% class="mark" %)When there is active current pass NEC2501 pin1 to pin2. The DI will be active high and DI LED status will change.
1588 +Internal circuit as below, the NEC2501 is a photocoupler, the Active current (from NEC2501 pin 1 to pin 2 is 1ma and the max current is 50mA. When there is active current pass NEC2501 pin1 to pin2. The DI will be active high.
1493 1493  
1494 1494  
1495 1495  )))
... ... @@ -1597,16 +1597,6 @@
1597 1597  )))
1598 1598  
1599 1599  
1600 -(% style="color:blue" %)**Example4**(%%): Connect to Dry Contact sensor
1601 -
1602 -From above DI ports circuit, we can see that active the photocoupler will need to have a voltage difference between DI+ and DI- port. While the Dry Contact sensor is a passive component which can't provide this voltage difference.
1603 -
1604 -To detect a Dry Contact, we can provide a power source to one pin of the Dry Contact. Below is a reference connection.
1605 -
1606 -[[image:image-20230616235145-1.png]]
1607 -
1608 -
1609 -
1610 1610  === 3.6.3 Digital Output Port: DO1/DO2 /DO3 ===
1611 1611  
1612 1612  
... ... @@ -1716,6 +1716,7 @@
1716 1716  |**RO1**|
1717 1717  |**RO2**|
1718 1718  
1805 +
1719 1719  = 4. Use AT Command =
1720 1720  
1721 1721  == 4.1 Access AT Command ==
... ... @@ -2096,7 +2096,7 @@
2096 2096  
2097 2097  (((
2098 2098  (% 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]].
2099 -(% style="color:blue" %)**Step2**(%%)**:** Download the [[LT Image files>>https://www.dropbox.com/sh/g99v0fxcltn9r1y/AACrbrDN0AqLHbBat0ViWx5Da/LT-22222-L/Firmware?dl=0&subfolder_nav_tracking=1]].
2186 +(% 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]].
2100 2100  (% style="color:blue" %)**Step3**(%%)**:** Open flashloader; choose the correct COM port to update.
2101 2101  
2102 2102  
... ... @@ -2307,6 +2307,7 @@
2307 2307  * (% style="color:red" %)**IN865**(%%):  LT with frequency bands IN865
2308 2308  * (% style="color:red" %)**CN779**(%%):  LT with frequency bands CN779
2309 2309  
2397 +
2310 2310  = 9. Packing Info =
2311 2311  
2312 2312  
... ... @@ -2324,6 +2324,7 @@
2324 2324  * Package Size / pcs : 14.5 x 8 x 5 cm
2325 2325  * Weight / pcs : 170g
2326 2326  
2415 +
2327 2327  = 10. Support =
2328 2328  
2329 2329  
... ... @@ -2343,5 +2343,3 @@
2343 2343  * 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]]
2344 2344  * [[Datasheet, Document Base>>https://www.dropbox.com/sh/gxxmgks42tqfr3a/AACEdsj_mqzeoTOXARRlwYZ2a?dl=0]]
2345 2345  * [[Hardware Source>>url:https://github.com/dragino/Lora/tree/master/LT/LT-33222-L/v1.0]]
2346 -
2347 -
image-20230616235145-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Edwin
Size
... ... @@ -1,1 +1,0 @@
1 -19.4 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0