<
From version < 36.2 >
edited by Xiaoling
on 2022/05/24 09:47
To version < 33.1 >
edited by Xiaoling
on 2022/05/24 09:38
>
Change comment: Uploaded new attachment "image-20220524093831-10.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -845,7 +845,11 @@
845 845  
846 846  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
847 847  
848 -[[image:image-20220524093351-8.png]]
848 +(% border="1" style="background-color:#f7faff" %)
849 +|Second Byte|Status
850 +|0x01|DO3 set to low
851 +|0x00|DO3 set to high
852 +|0x11|DO3 NO Action
849 849  
850 850  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
851 851  
... ... @@ -853,129 +853,147 @@
853 853  
854 854  Device will upload a packet if downlink code executes successfully.
855 855  
856 -**Example payload:**
857 857  
858 -**~1. A9 01 01 01 01 07 D0**
859 859  
862 +Example payload:
863 +
864 +1. A9 01 01 01 01 07 D0
865 +
860 860  DO1 pin & DO2 pin & DO3 pin will be set to Low, last 2 seconds, then change back to original state.
861 861  
862 -**2. A9 01 00 01 11 07 D0**
863 863  
869 +1. A9 01 00 01 11 07 D0
870 +
864 864  DO1 pin set high, DO2 pin set low, DO3 pin no action, last 2 seconds, then change back to original state.
865 865  
866 -**3. A9 00 00 00 00 07 D0**
867 867  
874 +1. A9 00 00 00 00 07 D0
875 +
868 868  DO1 pin & DO2 pin & DO3 pin will be set to high, last 2 seconds, then both change to low.
869 869  
870 -**4. A9 00 11 01 00 07 D0**
871 871  
879 +1. A9 00 11 01 00 07 D0
880 +
872 872  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
873 873  
874 874  
875 -=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
876 876  
885 +
886 +==== Relay ~-~- Control Relay Output RO1/RO2 ====
887 +
877 877  * AT Command:
878 878  
879 879  There is no AT Command to control Relay Output
880 880  
892 +
881 881  * Downlink Payload (prefix 0x03):
882 882  
883 -(% class="box infomessage" %)
884 -(((
885 -**0x03 aa bb     ~/~/ Set RO1/RO2 output**
886 -)))
895 +0x03 aa bb     ~/~/ Set RO1/RO2 output
887 887  
888 -(((
889 889  If payload = 0x030100, it means set RO1 to close and RO2 to open.
890 -)))
891 891  
892 -(((
893 893  01: Close ,  00: Open , 11: No action
894 -)))
895 895  
896 -(((
897 -[[image:image-20220524093724-9.png]]
898 -)))
901 +(% border="1" style="background-color:#f7faff" %)
902 +|Downlink Code|RO1|RO2
903 +|03  00  11|Open|No Action
904 +|03  01  11|Close|No Action
905 +|03  11  00|No Action|Open
906 +|03  11  01|No Action|Close
907 +|03  00  00|Open|Open
908 +|03  01  01|Close|Close
909 +|03  01  00|Close|Open
910 +|03  00  01|Open|Close
899 899  
900 900  Device will upload a packet if downlink code executes successfully.
901 901  
902 902  
903 -==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
915 +==== Relay ~-~- Control Relay Output RO1/RO2 with time control ====
904 904  
905 905  * AT Command:
906 906  
907 907  There is no AT Command to control Relay Output
908 908  
921 +
909 909  * Downlink Payload (prefix 0x05):
910 910  
911 -(% class="box infomessage" %)
912 -(((
913 -**0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:**
914 -)))
924 +0x05 aa bb cc dd     ~/~/ Set RO1/RO2 relay with time control:
915 915  
916 916  This is to control the relay output time of relay. Include four bytes:
917 917  
918 -(% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
928 +**First Byte:** Type code (0x05)
919 919  
920 -(% style="color:#4f81bd" %)**Second Byte(aa)**(%%): Inverter Mode
930 +**Second Byte(aa)**: Inverter Mode
921 921  
922 922  01: Relays will change back to original state after timeout.
923 923  
924 924  00: Relays will change to an inverter state after timeout
925 925  
926 -(% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
927 927  
928 -[[image:image-20220524093831-10.png]]
937 +**Third Byte(bb)**: Control Method and Ports status:
929 929  
930 -(% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
939 +(% border="1" style="background-color:#f7faff" %)
940 +|Value|Status
941 +|0x11|RO1 and RO2 to NO
942 +|0x10|RO2 to NO, RO1 to NC
943 +|0x01|RO2 to NC, RO1 to NO
944 +|0x00|RO1 and RO2 to NC.
945 +|0x20|RO1 No Action, RO2 to NC
946 +|0x21|RO1 No Action, RO2 to NO
947 +|0x02|RO1 to NC, RO2 No Action
948 +|0x12|RO1 to NO, RO2 No Action
931 931  
950 +**Fourth / Fifth Bytes (cc)**: Latching time. Unit: ms
951 +
932 932  Device will upload a packet if downlink code executes successfully.
933 933  
954 +
955 +
934 934  **Example payload:**
935 935  
936 -**~1. 05 01 11 07 D0**
958 +1. 05 01 11 07 D0
937 937  
938 938  Relay1 and Relay 2 will be set to NO , last 2 seconds, then change back to original state.
939 939  
940 -**2. 05 01 10 07 D0**
941 941  
963 +1. 05 01 10 07 D0
964 +
942 942  Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then both change back to original state.
943 943  
944 -**3. 05 00 01 07 D0**
945 945  
968 +1. 05 00 01 07 D0
969 +
946 946  Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then relay change to NO, Relay2 change to NC.
947 947  
948 -**4. 05 00 00 07 D0**
949 949  
973 +1. 05 00 00 07 D0
974 +
950 950  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
951 951  
952 952  
953 -==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
954 954  
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]]
956 956  
980 +
981 +
982 +==== Counting ~-~- Voltage threshold counting ====
983 +
984 +When voltage exceed the threshold, count. Feature see [[MOD4>>path:#MOD4]]
985 +
957 957  * AT Command:
958 958  
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 -)))
988 +AT+VOLMAX    ~/~/ See [[MOD4>>path:#MOD4]]
963 963  
990 +
964 964  * Downlink Payload (prefix 0xA5):
965 965  
966 -(% class="box infomessage" %)
967 -(((
968 -**0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc**
969 -)))
993 +0xA5 aa bb cc   ~/~/ Same as AT+VOLMAX=(aa bb),cc
970 970  
971 -==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
972 972  
996 +==== Counting ~-~- Pre-configure the Count Number ====
997 +
973 973  * AT Command:
974 974  
975 -(% class="box infomessage" %)
976 -(((
977 -**AT+SETCNT=aa,(bb cc dd ee) **
978 -)))
1000 +AT+SETCNT=aa,(bb cc dd ee)
979 979  
980 980  aa: 1: Set count1,
981 981  
... ... @@ -985,66 +985,65 @@
985 985  
986 986  Bb cc dd ee: number to be set
987 987  
1010 +
988 988  * Downlink Payload (prefix 0xA8):
989 989  
990 -(% class="box infomessage" %)
991 -(((
992 -**0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)**
993 -)))
1013 +0x A8 aa bb cc dd ee     ~/~/ same as AT+SETCNT=aa,(bb cc dd ee)
994 994  
995 -==== 3.4.2.18 Counting ~-~- Clear Counting ====
996 996  
1016 +
1017 +
1018 +
1019 +==== Counting ~-~- Clear Counting ====
1020 +
997 997  Clear counting for counting mode
998 998  
999 999  * AT Command:
1000 1000  
1001 -(% class="box infomessage" %)
1002 -(((
1003 -**AT+CLRCOUNT ~/~/ clear all counting**
1004 -)))
1025 +AT+CLRCOUNT ~/~/ clear all counting
1005 1005  
1027 +
1006 1006  * Downlink Payload (prefix 0xA6):
1007 1007  
1008 -(% class="box infomessage" %)
1009 -(((
1010 -**0x A6 01     ~/~/ clear all counting,**
1011 -)))
1030 +0x A6 01     ~/~/ clear all counting,
1012 1012  
1013 -==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1014 1014  
1033 +
1034 +
1035 +==== Counting ~-~- Change counting mode save time ====
1036 +
1015 1015  * AT Command:
1016 1016  
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 -)))
1039 +AT+COUTIME=60  ~/~/ Set save time to 60 seconds. Device will save the counting result in internal flash every 60 seconds. (min value: 30)
1021 1021  
1041 +
1022 1022  * Downlink Payload (prefix 0xA7):
1023 1023  
1024 -(% class="box infomessage" %)
1025 -(((
1026 -**0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,**
1027 -)))
1044 +0x A7 aa bb cc     ~/~/ same as AT+COUTIME =aa bb cc,
1028 1028  
1029 1029  range: aa bb cc:0 to 16777215,  (unit:second)
1030 1030  
1031 -== 3.5 Integrate with Mydevice ==
1032 1032  
1049 +
1050 +
1051 +1.
1052 +11. Integrate with Mydevice
1053 +
1033 1033  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:
1034 1034  
1035 -**Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1036 1036  
1037 -**Step 2**: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1057 +Step 1: Be sure that your device is programmed and properly connected to the network at this time.
1038 1038  
1039 -[[image:1653356737703-362.png||height="232" width="732"]]
1059 +Step 2: To configure the Application to forward data to Mydevices you will need to add integration. To add the Mydevices integration, perform the following steps:
1040 1040  
1041 -[[image:image-20220524094641-11.png||height="390" width="723"]]
1042 1042  
1062 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
1043 1043  
1044 -[[image:image-20220524094641-12.png||height="402" width="718"]]
1045 1045  
1065 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]]
1046 1046  
1047 1047  
1068 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]]
1048 1048  
1049 1049  
1050 1050  
1653356737703-362.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -42.1 KB
Content
image-20220524094641-11.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -136.2 KB
Content
image-20220524094641-12.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -69.1 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0