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

From version 82.33
edited by Xiaoling
on 2022/06/20 13:36
Change comment: There is no comment for this version
To version 82.9
edited by Xiaoling
on 2022/06/20 11:19
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -181,6 +181,9 @@
181 181  * Firmware upgradable via program port
182 182  * Counting
183 183  
184 +
185 +
186 +
184 184  == 1.4  Applications ==
185 185  
186 186  * Smart Buildings & Home Automation
... ... @@ -190,6 +190,9 @@
190 190  * Smart Cities
191 191  * Smart Factory
192 192  
196 +
197 +
198 +
193 193  == 1.5 Hardware Variants ==
194 194  
195 195  (% border="1" style="background-color:#f7faff; width:500px" %)
... ... @@ -285,6 +285,9 @@
285 285  * **MOD5**: Single DI Counting + 2 x AVI + 1 x ACI + DO + RO
286 286  * **ADDMOD6**: Trigger Mode, Optional, used together with MOD1 ~~ MOD5
287 287  
294 +
295 +
296 +
288 288  === 3.3.1 AT+MOD~=1, 2ACI+2AVI ===
289 289  
290 290  The uplink payload includes totally 9 bytes. Uplink packets use FPORT=2 and every 10 minutes send one uplink by default.
... ... @@ -323,6 +323,7 @@
323 323  * [1] RO1 relay channel is close and the RO1 LED is ON.
324 324  * [0] RO2 relay channel is open and RO2 LED is OFF;
325 325  
335 +
326 326  **LT22222-L:**
327 327  
328 328  * [1] DI2 channel is high input and DI2 LED is ON;
... ... @@ -338,6 +338,9 @@
338 338  ** DO1 is high in case there is load between DO1 and V+.
339 339  ** DO1 LED is off in both case
340 340  
351 +
352 +
353 +
341 341  === 3.3.2 AT+MOD~=2, (Double DI Counting) ===
342 342  
343 343  
... ... @@ -374,7 +374,12 @@
374 374  (((
375 375  (((
376 376  **AT+MOD=2**
390 +)))
391 +)))
377 377  
393 +(% class="box infomessage" %)
394 +(((
395 +(((
378 378  **ATZ**
379 379  )))
380 380  )))
... ... @@ -387,20 +387,49 @@
387 387  
388 388  (((
389 389  **For LT22222-L:**
408 +)))
390 390  
410 +(% class="box infomessage" %)
411 +(((
412 +(((
413 +**AT+TRIG1=0,100 (set DI1 port to trigger on low level, valid signal is 100ms) **
414 +)))
415 +)))
391 391  
392 -(% style="color:blue" %)**AT+TRIG1=0,100**(%%)**  (set DI1 port to trigger on low level, valid signal is 100ms) **
417 +(% class="box infomessage" %)
418 +(((
419 +(((
420 +**AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms ) **
421 +)))
422 +)))
393 393  
394 -(% style="color:blue" %)**AT+TRIG1=1,100**(%%)**  (set DI1 port to trigger on high level, valid signal is 100ms ) **
424 +(% class="box infomessage" %)
425 +(((
426 +(((
427 +**AT+TRIG2=0,100 (set DI2 port to trigger on low level, valid signal is 100ms) **
428 +)))
429 +)))
395 395  
396 -(% style="color:blue" %)**AT+TRIG2=0,100**(%%)**  (set DI2 port to trigger on low level, valid signal is 100ms) **
431 +(% class="box infomessage" %)
432 +(((
433 +(((
434 +**AT+TRIG2=1,100 (set DI2 port to trigger on high level, valid signal is 100ms ) **
435 +)))
436 +)))
397 397  
398 -(% style="color:blue" %)**AT+TRIG2=1,100**(%%)**  (set DI2 port to trigger on high level, valid signal is 100ms ) **
438 +(% class="box infomessage" %)
439 +(((
440 +(((
441 +**AT+SETCNT=1,60   (Set COUNT1 value to 60)**
442 +)))
443 +)))
399 399  
400 -(% style="color:blue" %)**AT+SETCNT=1,60**(%%)**   (Set COUNT1 value to 60)**
401 -
402 -(% style="color:blue" %)**AT+SETCNT=2,60**(%%)**   (Set COUNT2 value to 60)**
445 +(% class="box infomessage" %)
446 +(((
447 +(((
448 +**AT+SETCNT=2,60   (Set COUNT2 value to 60)**
403 403  )))
450 +)))
404 404  
405 405  
406 406  
... ... @@ -432,7 +432,12 @@
432 432  (((
433 433  (((
434 434  **AT+MOD=3**
482 +)))
483 +)))
435 435  
485 +(% class="box infomessage" %)
486 +(((
487 +(((
436 436  **ATZ**
437 437  )))
438 438  )))
... ... @@ -477,13 +477,20 @@
477 477  (((
478 478  (((
479 479  **AT+MOD=4**
532 +)))
533 +)))
480 480  
535 +(% class="box infomessage" %)
536 +(((
537 +(((
481 481  **ATZ**
482 482  )))
483 483  )))
484 484  
542 +(((
543 +
544 +)))
485 485  
486 -
487 487  (((
488 488  Other AT Commands for counting are similar to [[MOD2 Counting Command>>||anchor="H3.3.2AT2BMOD3D22C28DoubleDICounting29"]].
489 489  )))
... ... @@ -492,16 +492,35 @@
492 492  
493 493  
494 494  **Plus below command for AVI1 Counting:**
554 +)))
495 495  
556 +(% class="box infomessage" %)
557 +(((
558 +(((
559 +**AT+SETCNT=3,60   (set AVI Count to 60)**
560 +)))
561 +)))
496 496  
497 -(% style="color:blue" %)**AT+SETCNT=3,60**(%%)**  (set AVI Count to 60)**
563 +(% class="box infomessage" %)
564 +(((
565 +(((
566 +**AT+VOLMAX=20000   (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
567 +)))
568 +)))
498 498  
499 -(% style="color:blue" %)**AT+VOLMAX=20000**(%%)**  (If AVI1 voltage higher than VOLMAX (20000mV =20v), counter increase 1)**
570 +(% class="box infomessage" %)
571 +(((
572 +(((
573 +**AT+VOLMAX=20000,0   (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
574 +)))
575 +)))
500 500  
501 -(% style="color:blue" %)**AT+VOLMAX=20000,0**(%%)**  (If AVI1 voltage lower than VOLMAX (20000mV =20v), counter increase 1)**
502 -
503 -(% style="color:blue" %)**AT+VOLMAX=20000,1**(%%)**  (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
577 +(% class="box infomessage" %)
578 +(((
579 +(((
580 +**AT+VOLMAX=20000,1   (If AVI1 voltage higer than VOLMAX (20000mV =20v), counter increase 1)**
504 504  )))
582 +)))
505 505  
506 506  
507 507  
... ... @@ -538,7 +538,12 @@
538 538  (((
539 539  (((
540 540  **AT+MOD=5**
619 +)))
620 +)))
541 541  
622 +(% class="box infomessage" %)
623 +(((
624 +(((
542 542  **ATZ**
543 543  )))
544 544  )))
... ... @@ -564,9 +564,8 @@
564 564  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
565 565  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.**
566 566  
650 +**AT Command to set Trigger Condition**:
567 567  
568 -(% style="color:#037691" %)**AT Command to set Trigger Condition**:
569 -
570 570  (% style="color:#4f81bd" %)**Trigger base on voltage**:
571 571  
572 572  Format: AT+AVLIM=<AV1_LIMIT_LOW>,< AV1_LIMIT_HIGH>,<AV2_LIMIT_LOW>,< AV2_LIMIT_HIGH>
... ... @@ -601,7 +601,7 @@
601 601  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
602 602  
603 603  
604 -(% style="color:#037691" %)**Downlink Command to set Trigger Condition:**
686 +**Downlink Command to set Trigger Condition:**
605 605  
606 606  Type Code: 0xAA. Downlink command same as AT Command **AT+AVLIM, AT+ACLIM**
607 607  
... ... @@ -718,50 +718,61 @@
718 718  
719 719  Set device uplink interval.
720 720  
721 -* (% style="color:#037691" %)**AT Command:**
803 +* AT Command:
722 722  
805 +(% class="box infomessage" %)
806 +(((
723 723  **AT+TDC=N **
808 +)))
724 724  
725 -
726 726  **Example: **AT+TDC=30000. Means set interval to 30 seconds
727 727  
728 728  
729 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x01):**
813 +* Downlink Payload (prefix 0x01):
730 730  
815 +(% class="box infomessage" %)
816 +(((
731 731  **0x01 aa bb cc     ~/~/ Same as AT+TDC=0x(aa bb cc)**
818 +)))
732 732  
733 733  
734 734  
735 -
736 736  ==== 3.4.2.2 Set Work Mode (AT+MOD) ====
737 737  
738 738  Set work mode.
739 739  
740 -* (% style="color:#037691" %)**AT Command:**
826 +* AT Command:
741 741  
828 +(% class="box infomessage" %)
829 +(((
742 742  **AT+MOD=N  **
831 +)))
743 743  
744 -
745 745  **Example**: AT+MOD=2. Set work mode to Double DI counting mode
746 746  
747 747  
748 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A):**
836 +* Downlink Payload (prefix 0x0A):
749 749  
750 -**0x0A aa    ** ~/~/ Same as AT+MOD=aa
838 +(% class="box infomessage" %)
839 +(((
840 +**0x0A aa     ~/~/ Same as AT+MOD=aa**
841 +)))
751 751  
752 752  
753 753  
754 -
755 755  ==== 3.4.2.3 Poll an uplink ====
756 756  
757 -* (% style="color:#037691" %)**AT Command:**
847 +* AT Command:
758 758  
759 759  There is no AT Command to poll uplink
760 760  
761 761  
762 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x08):**
852 +* Downlink Payload (prefix 0x08):
763 763  
764 -**0x08 FF     **~/~/ Poll an uplink
854 +(% class="box infomessage" %)
855 +(((
856 +**0x08 FF     ~/~/ Poll an uplink,**
857 +)))
765 765  
766 766  **Example**: 0x08FF, ask device to send an Uplink
767 767  
... ... @@ -771,9 +771,12 @@
771 771  
772 772  Use of trigger mode, please check [[ADDMOD6>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
773 773  
774 -* (% style="color:#037691" %)**AT Command:**
867 +* AT Command:
775 775  
869 +(% class="box infomessage" %)
870 +(((
776 776  **AT+ADDMOD6=1 or 0**
872 +)))
777 777  
778 778  1: Enable Trigger Mode
779 779  
... ... @@ -780,23 +780,25 @@
780 780  0: Disable Trigger Mode
781 781  
782 782  
783 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x0A 06):**
879 +* Downlink Payload (prefix 0x0A 06):
784 784  
785 -**0x0A 06 aa    ** ~/~/ Same as AT+ADDMOD6=aa
881 +(% class="box infomessage" %)
882 +(((
883 +**0x0A 06 aa     ~/~/ Same as AT+ADDMOD6=aa,**
884 +)))
786 786  
787 787  
788 788  
789 -
790 790  ==== 3.4.2.5 Poll trigger settings ====
791 791  
792 792  Poll trigger settings,
793 793  
794 -* (% style="color:#037691" %)AT Command:
892 +* AT Command:
795 795  
796 796  There is no AT Command for this feature.
797 797  
798 798  
799 -* (% style="color:#037691" %)Downlink Payload (prefix 0x AB 06):
897 +* Downlink Payload (prefix 0x AB 06):
800 800  
801 801  (% class="box infomessage" %)
802 802  (((
... ... @@ -809,9 +809,12 @@
809 809  
810 810  Enable Disable DI1/DI2/DI2 as trigger,
811 811  
812 -* (% style="color:#037691" %)AT Command:
910 +* AT Command:
813 813  
912 +(% class="box infomessage" %)
913 +(((
814 814  **Format: AT+DTRI=<DI1_TIRGGER_FlAG>,< DI2_TIRGGER_FlAG >**
915 +)))
815 815  
816 816  
817 817  **Example:**
... ... @@ -818,20 +818,25 @@
818 818  
819 819  AT+ DTRI =1,0   (Enable DI1 trigger / disable DI2 trigger)
820 820  
821 -* (% style="color:#037691" %)Downlink Payload (prefix 0xAA 02):
922 +* Downlink Payload (prefix 0xAA 02):
822 822  
823 -**0xAA 02 aa bb        **~/~/ Same as AT+DTRI=aa,bb
924 +(% class="box infomessage" %)
925 +(((
926 +**0xAA 02 aa bb  ~/~/ Same as AT+DTRI=aa,bb**
927 +)))
824 824  
825 825  
826 826  
827 -
828 828  ==== 3.4.2.7 Trigger1 – Set DI1 or DI3 as trigger ====
829 829  
830 830  Set DI1 or DI3(for LT-33222-L) trigger.
831 831  
832 -* (% style="color:#037691" %)AT Command:
935 +* AT Command:
833 833  
937 +(% class="box infomessage" %)
938 +(((
834 834  **AT+TRIG1=a,b**
940 +)))
835 835  
836 836  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
837 837  
... ... @@ -843,19 +843,26 @@
843 843  AT+TRIG1=1,100(set DI1 port to trigger on high level, valid signal is 100ms )
844 844  
845 845  
846 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 01 ):**
847 -* **0x09 01 aa bb cc    ** ~/~/ same as AT+TRIG1=aa,0x(bb cc)
952 +* Downlink Payload (prefix 0x09 01 ):
848 848  
954 +(% class="box infomessage" %)
955 +(((
956 +**0x09 01 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
957 +)))
849 849  
959 +
960 +
850 850  ==== 3.4.2.8 Trigger2 – Set DI2 as trigger ====
851 851  
852 852  Set DI2 trigger.
853 853  
854 -* (% style="color:#037691" %)**AT Command:**
965 +* AT Command:
855 855  
967 +(% class="box infomessage" %)
968 +(((
856 856  **AT+TRIG2=a,b**
970 +)))
857 857  
858 -
859 859  a : Interrupt mode. 0: falling edge; 1: rising edge, 2: falling and raising edge(for MOD=1).
860 860  
861 861  b : delay timing.
... ... @@ -866,72 +866,93 @@
866 866  AT+TRIG2=0,100(set DI1 port to trigger on low level, valid signal is 100ms )
867 867  
868 868  
869 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x09 02 ):**
982 +* Downlink Payload (prefix 0x09 02 ):
870 870  
871 -**0x09 02 aa bb cc           **~/~/ same as AT+TRIG1=aa,0x(bb cc)
984 +(% class="box infomessage" %)
985 +(((
986 +**0x09 02 aa bb cc ~/~/ same as AT+TRIG1=aa,0x(bb cc)**
987 +)))
872 872  
873 873  
874 874  
875 -
876 876  ==== 3.4.2.9 Trigger – Set AC (current) as trigger ====
877 877  
878 878  Set current trigger , base on AC port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
879 879  
880 -* (% style="color:#037691" %)**AT Command**
995 +* AT Command:
881 881  
882 -**AT+ACLIM**
997 +(% class="box infomessage" %)
998 +(((
999 +**AT+ACLIM. **
1000 +)))
883 883  
884 884  
885 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 01 )**
1003 +* Downlink Payload (prefix 0xAA 01 ):
886 886  
887 -**0x AA 01 aa bb cc dd ee ff gg hh        ** ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1005 +(% class="box infomessage" %)
1006 +(((
1007 +**0x AA 01 aa bb cc dd ee ff gg hh ~/~/ same as AT+ACLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1008 +)))
888 888  
889 889  
890 890  
891 -
892 892  ==== 3.4.2.10 Trigger – Set AV (voltage) as trigger ====
893 893  
894 894  Set current trigger , base on AV port. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
895 895  
896 -* (% style="color:#037691" %)**AT Command**
1016 +* AT Command:
897 897  
898 -**AT+AVLIM  See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1018 +(% class="box infomessage" %)
1019 +(((
1020 +**AT+AVLIM. See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]**
1021 +)))
899 899  
900 900  
901 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAA 00 )**
1024 +* Downlink Payload (prefix 0xAA 00 ):
902 902  
903 -**0x AA 00 aa bb cc dd ee ff gg hh    ** ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]]
1026 +(% class="box infomessage" %)
1027 +(((
1028 +**0x AA 00 aa bb cc dd ee ff gg hh ~/~/ same as AT+AVLIM See [[trigger mode>>||anchor="H3.3.6AT2BADDMOD3D6.28TriggerMode2COptional29"]] **
1029 +)))
904 904  
905 905  
906 906  
907 -
908 908  ==== 3.4.2.11 Trigger – Set minimum interval ====
909 909  
910 910  Set AV and AC trigger minimum interval, system won’t response to the second trigger within this set time after the first trigger.
911 911  
912 -* (% style="color:#037691" %)**AT Command**
1037 +* AT Command:
913 913  
1039 +(% class="box infomessage" %)
1040 +(((
914 914  **AT+ATDC=5. Device won’t response the second trigger within 5 minute after the first trigger.**
1042 +)))
915 915  
916 916  
917 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xAC )**
1045 +* Downlink Payload (prefix 0xAC ):
918 918  
919 -**0x AC aa bb   ** ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)
1047 +(% class="box infomessage" %)
1048 +(((
1049 +**0x AC aa bb ~/~/ same as AT+ATDC=0x(aa bb)   . Unit (min)**
1050 +)))
920 920  
921 921  
922 922  
923 -
924 924  ==== 3.4.2.12 DO ~-~- Control Digital Output DO1/DO2/DO3 ====
925 925  
926 -* (% style="color:#037691" %)**AT Command**
1056 +* AT Command:
927 927  
928 928  There is no AT Command to control Digital Output
929 929  
930 930  
931 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x02)**
932 -* **0x02 aa bb cc     **~/~/ Set DO1/DO2/DO3 output
1061 +* Downlink Payload (prefix 0x02):
933 933  
1063 +(% class="box infomessage" %)
934 934  (((
1065 +**0x02 aa bb cc     ~/~/ Set DO1/DO2/DO3 output**
1066 +)))
1067 +
1068 +(((
935 935  If payload = 0x02010001, while there is load between V+ and DOx, it means set DO1 to low, DO2 to high and DO3 to low.
936 936  )))
937 937  
... ... @@ -951,19 +951,22 @@
951 951  
952 952  
953 953  
954 -
955 955  ==== 3.4.2.13 DO ~-~- Control Digital Output DO1/DO2/DO3 with time control ====
956 956  
957 -* (% style="color:#037691" %)**AT Command**
1090 +* AT Command:
958 958  
959 959  There is no AT Command to control Digital Output
960 960  
961 961  
962 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA9)**
1095 +* Downlink Payload (prefix 0xA9):
963 963  
964 -**0xA9 aa bb cc     **~/~/ Set DO1/DO2/DO3 output with time control
1097 +(% class="box infomessage" %)
1098 +(((
1099 +(((
1100 +**0xA9 aa bb cc     ~/~/ Set DO1/DO2/DO3 output with time control**
1101 +)))
1102 +)))
965 965  
966 -
967 967  This is to control the digital output time of DO pin. Include four bytes:
968 968  
969 969  (% style="color:#4f81bd" %)**First Byte**(%%)**:** Type code (0xA9)
... ... @@ -1017,19 +1017,20 @@
1017 1017  
1018 1018  
1019 1019  
1020 -
1021 1021  ==== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ====
1022 1022  
1023 -* (% style="color:#037691" %)**AT Command:**
1159 +* AT Command:
1024 1024  
1025 1025  There is no AT Command to control Relay Output
1026 1026  
1027 1027  
1028 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x03):**
1164 +* Downlink Payload (prefix 0x03):
1029 1029  
1030 -**0x03 aa bb     **~/~/ Set RO1/RO2 output
1166 +(% class="box infomessage" %)
1167 +(((
1168 +**0x03 aa bb     ~/~/ Set RO1/RO2 output**
1169 +)))
1031 1031  
1032 -
1033 1033  (((
1034 1034  If payload = 0x030100, it means set RO1 to close and RO2 to open.
1035 1035  )))
... ... @@ -1046,19 +1046,20 @@
1046 1046  
1047 1047  
1048 1048  
1049 -
1050 1050  ==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
1051 1051  
1052 -* (% style="color:#037691" %)**AT Command:**
1189 +* AT Command:
1053 1053  
1054 1054  There is no AT Command to control Relay Output
1055 1055  
1056 1056  
1057 -* (% style="color:#037691" %)**Downlink Payload (prefix 0x05):**
1194 +* Downlink Payload (prefix 0x05):
1058 1058  
1059 -**0x05 aa bb cc dd     **~/~/ Set RO1/RO2 relay with time control
1196 +(% class="box infomessage" %)
1197 +(((
1198 +**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
1199 +)))
1060 1060  
1061 -
1062 1062  This is to control the relay output time of relay. Include four bytes:
1063 1063  
1064 1064  (% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
... ... @@ -1100,28 +1100,35 @@
1100 1100  
1101 1101  
1102 1102  
1103 -
1104 1104  ==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
1105 1105  
1106 1106  When voltage exceed the threshold, count. Feature see [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1107 1107  
1108 -* (% style="color:#037691" %)**AT Command:**
1246 +* AT Command:
1109 1109  
1110 -**AT+VOLMAX   ** ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]
1248 +(% class="box infomessage" %)
1249 +(((
1250 +**AT+VOLMAX    ~/~/ See [[MOD4>>||anchor="H3.3.4AT2BMOD3D42CSingleDICounting2B1xVoltageCounting"]]**
1251 +)))
1111 1111  
1112 1112  
1113 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA5):**
1254 +* Downlink Payload (prefix 0xA5):
1114 1114  
1115 -**0xA5 aa bb cc   **~/~/ Same as AT+VOLMAX=(aa bb),cc
1256 +(% class="box infomessage" %)
1257 +(((
1258 +**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
1259 +)))
1116 1116  
1117 1117  
1118 1118  
1119 -
1120 1120  ==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
1121 1121  
1122 -* (% style="color:#037691" %)**AT Command:**
1265 +* AT Command:
1123 1123  
1124 -(% style="color:#037691" %)**​​​​​​​​​​​​​​**(%%)**AT+SETCNT=aa,(bb cc dd ee) **
1267 +(% class="box infomessage" %)
1268 +(((
1269 +**AT+SETCNT=aa,(bb cc dd ee) **
1270 +)))
1125 1125  
1126 1126  aa: 1: Set count1,
1127 1127  
... ... @@ -1132,40 +1132,51 @@
1132 1132  Bb cc dd ee: number to be set
1133 1133  
1134 1134  
1135 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA8):**
1281 +* Downlink Payload (prefix 0xA8):
1136 1136  
1137 -**0x A8 aa bb cc dd ee     **~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
1283 +(% class="box infomessage" %)
1284 +(((
1285 +**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
1286 +)))
1138 1138  
1139 1139  
1140 1140  
1141 -
1142 1142  ==== 3.4.2.18 Counting ~-~- Clear Counting ====
1143 1143  
1144 1144  Clear counting for counting mode
1145 1145  
1146 -* (% style="color:#037691" %)**AT Command:**
1294 +* AT Command:
1147 1147  
1148 -(% style="color:#037691" %)​​​​​​​​​​​​​​(%%)**AT+CLRCOUNT ** ~/~/ clear all counting
1296 +(% class="box infomessage" %)
1297 +(((
1298 +**AT+CLRCOUNT ~/~/ clear all counting**
1299 +)))
1149 1149  
1301 +* Downlink Payload (prefix 0xA6):
1150 1150  
1151 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA6):**
1303 +(% class="box infomessage" %)
1304 +(((
1305 +**0x A6 01     ~/~/ clear all counting,**
1306 +)))
1152 1152  
1153 -**0x A6 01    ** ~/~/ clear all counting
1154 1154  
1155 1155  
1156 -
1157 -
1158 1158  ==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1159 1159  
1160 -* (% style="color:#037691" %)**AT Command:**
1312 +* AT Command:
1161 1161  
1162 -**AT+COUTIME=60  **~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1314 +(% class="box infomessage" %)
1315 +(((
1316 +**AT+COUTIME=60  ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)**
1317 +)))
1163 1163  
1319 +* Downlink Payload (prefix 0xA7):
1164 1164  
1165 -* (% style="color:#037691" %)**Downlink Payload (prefix 0xA7):**
1321 +(% class="box infomessage" %)
1322 +(((
1323 +**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1324 +)))
1166 1166  
1167 -**0x A7 aa bb cc     **~/~/ same as AT+COUTIME =aa bb cc,
1168 -
1169 1169  (((
1170 1170  range: aa bb cc:0 to 16777215,  (unit:second)
1171 1171  
... ... @@ -1173,7 +1173,6 @@
1173 1173  )))
1174 1174  
1175 1175  
1176 -
1177 1177  == 3.5 Integrate with Mydevice ==
1178 1178  
1179 1179  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: