<
From version < 33.1 >
edited by Xiaoling
on 2022/05/24 09:38
To version < 43.1 >
edited by Xiaoling
on 2022/05/24 09:49
>
Change comment: Uploaded new attachment "image-20220524094909-5.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -845,11 +845,7 @@
845 845  
846 846  (% style="color:#4f81bd" %)**Fifth Byte**(%%): Control Method and Ports status:
847 847  
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
848 +[[image:image-20220524093351-8.png]]
853 853  
854 854  (% style="color:#4f81bd" %)**Sixth and Seventh Byte**:
855 855  
... ... @@ -857,147 +857,129 @@
857 857  
858 858  Device will upload a packet if downlink code executes successfully.
859 859  
856 +**Example payload:**
860 860  
858 +**~1. A9 01 01 01 01 07 D0**
861 861  
862 -Example payload:
863 -
864 -1. A9 01 01 01 01 07 D0
865 -
866 866  DO1 pin & DO2 pin & DO3 pin will be set to Low, last 2 seconds, then change back to original state.
867 867  
862 +**2. A9 01 00 01 11 07 D0**
868 868  
869 -1. A9 01 00 01 11 07 D0
870 -
871 871  DO1 pin set high, DO2 pin set low, DO3 pin no action, last 2 seconds, then change back to original state.
872 872  
866 +**3. A9 00 00 00 00 07 D0**
873 873  
874 -1. A9 00 00 00 00 07 D0
875 -
876 876  DO1 pin & DO2 pin & DO3 pin will be set to high, last 2 seconds, then both change to low.
877 877  
870 +**4. A9 00 11 01 00 07 D0**
878 878  
879 -1. A9 00 11 01 00 07 D0
880 -
881 881  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
882 882  
883 883  
875 +=== 3.4.2.14 Relay ~-~- Control Relay Output RO1/RO2 ===
884 884  
885 -
886 -==== Relay ~-~- Control Relay Output RO1/RO2 ====
887 -
888 888  * AT Command:
889 889  
890 890  There is no AT Command to control Relay Output
891 891  
892 -
893 893  * Downlink Payload (prefix 0x03):
894 894  
895 -0x03 aa bb     ~/~/ Set RO1/RO2 output
883 +(% class="box infomessage" %)
884 +(((
885 +**0x03 aa bb     ~/~/ Set RO1/RO2 output**
886 +)))
896 896  
888 +(((
897 897  If payload = 0x030100, it means set RO1 to close and RO2 to open.
890 +)))
898 898  
892 +(((
899 899  01: Close ,  00: Open , 11: No action
894 +)))
900 900  
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
896 +(((
897 +[[image:image-20220524093724-9.png]]
898 +)))
911 911  
912 912  Device will upload a packet if downlink code executes successfully.
913 913  
914 914  
915 -==== Relay ~-~- Control Relay Output RO1/RO2 with time control ====
903 +==== 3.4.2.15 Relay ~-~- Control Relay Output RO1/RO2 with time control ====
916 916  
917 917  * AT Command:
918 918  
919 919  There is no AT Command to control Relay Output
920 920  
921 -
922 922  * Downlink Payload (prefix 0x05):
923 923  
924 -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 +)))
925 925  
926 926  This is to control the relay output time of relay. Include four bytes:
927 927  
928 -**First Byte:** Type code (0x05)
918 +(% style="color:#4f81bd" %)**First Byte **(%%)**:** Type code (0x05)
929 929  
930 -**Second Byte(aa)**: Inverter Mode
920 +(% style="color:#4f81bd" %)**Second Byte(aa)**(%%): Inverter Mode
931 931  
932 932  01: Relays will change back to original state after timeout.
933 933  
934 934  00: Relays will change to an inverter state after timeout
935 935  
926 +(% style="color:#4f81bd" %)**Third Byte(bb)**(%%): Control Method and Ports status:
936 936  
937 -**Third Byte(bb)**: Control Method and Ports status:
928 +[[image:image-20220524093831-10.png]]
938 938  
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
930 +(% style="color:#4f81bd" %)**Fourth/Fifth Bytes(cc)**(%%): Latching time. Unit: ms
949 949  
950 -**Fourth / Fifth Bytes (cc)**: Latching time. Unit: ms
951 -
952 952  Device will upload a packet if downlink code executes successfully.
953 953  
954 -
955 -
956 956  **Example payload:**
957 957  
958 -1. 05 01 11 07 D0
936 +**~1. 05 01 11 07 D0**
959 959  
960 960  Relay1 and Relay 2 will be set to NO , last 2 seconds, then change back to original state.
961 961  
940 +**2. 05 01 10 07 D0**
962 962  
963 -1. 05 01 10 07 D0
964 -
965 965  Relay1 will change to NO, Relay2 will change to NC, last 2 seconds, then both change back to original state.
966 966  
944 +**3. 05 00 01 07 D0**
967 967  
968 -1. 05 00 01 07 D0
969 -
970 970  Relay1 will change to NC, Relay2 will change to NO, last 2 seconds, then relay change to NO, Relay2 change to NC.
971 971  
948 +**4. 05 00 00 07 D0**
972 972  
973 -1. 05 00 00 07 D0
974 -
975 975  Relay 1 & relay2 will change to NC, last 2 seconds, then both change to NO.
976 976  
977 977  
953 +==== 3.4.2.16 Counting ~-~- Voltage threshold counting ====
978 978  
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]]
979 979  
980 -
981 -
982 -==== Counting ~-~- Voltage threshold counting ====
983 -
984 -When voltage exceed the threshold, count. Feature see [[MOD4>>path:#MOD4]]
985 -
986 986  * AT Command:
987 987  
988 -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 +)))
989 989  
990 -
991 991  * Downlink Payload (prefix 0xA5):
992 992  
993 -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 +)))
994 994  
971 +==== 3.4.2.17 Counting ~-~- Pre-configure the Count Number ====
995 995  
996 -==== Counting ~-~- Pre-configure the Count Number ====
997 -
998 998  * AT Command:
999 999  
1000 -AT+SETCNT=aa,(bb cc dd ee)
975 +(% class="box infomessage" %)
976 +(((
977 +**AT+SETCNT=aa,(bb cc dd ee) **
978 +)))
1001 1001  
1002 1002  aa: 1: Set count1,
1003 1003  
... ... @@ -1007,75 +1007,73 @@
1007 1007  
1008 1008  Bb cc dd ee: number to be set
1009 1009  
1010 -
1011 1011  * Downlink Payload (prefix 0xA8):
1012 1012  
1013 -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 +)))
1014 1014  
995 +==== 3.4.2.18 Counting ~-~- Clear Counting ====
1015 1015  
1016 -
1017 -
1018 -
1019 -==== Counting ~-~- Clear Counting ====
1020 -
1021 1021  Clear counting for counting mode
1022 1022  
1023 1023  * AT Command:
1024 1024  
1025 -AT+CLRCOUNT ~/~/ clear all counting
1001 +(% class="box infomessage" %)
1002 +(((
1003 +**AT+CLRCOUNT ~/~/ clear all counting**
1004 +)))
1026 1026  
1027 -
1028 1028  * Downlink Payload (prefix 0xA6):
1029 1029  
1030 -0x A6 01     ~/~/ clear all counting,
1008 +(% class="box infomessage" %)
1009 +(((
1010 +**0x A6 01     ~/~/ clear all counting,**
1011 +)))
1031 1031  
1013 +==== 3.4.2.19 Counting ~-~- Change counting mode save time ====
1032 1032  
1033 -
1034 -
1035 -==== Counting ~-~- Change counting mode save time ====
1036 -
1037 1037  * AT Command:
1038 1038  
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)
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 +)))
1040 1040  
1041 -
1042 1042  * Downlink Payload (prefix 0xA7):
1043 1043  
1044 -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 +)))
1045 1045  
1046 1046  range: aa bb cc:0 to 16777215,  (unit:second)
1047 1047  
1031 +== 3.5 Integrate with Mydevice ==
1048 1048  
1049 -
1050 -
1051 -1.
1052 -11. Integrate with Mydevice
1053 -
1054 1054  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:
1055 1055  
1035 +**Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
1056 1056  
1057 -Step 1: Be sure that your device is programmed and properly connected to the network at this time.
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:
1058 1058  
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:
1039 +[[image:1653356737703-362.png||height="232" width="732"]]
1060 1060  
1041 +[[image:image-20220524094641-11.png||height="390" width="723"]]
1061 1061  
1062 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
1063 1063  
1044 +[[image:image-20220524094641-12.png||height="402" width="718"]]
1064 1064  
1065 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]]
1066 1066  
1067 1067  
1068 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]]
1048 +**Step **3: Create an account or log in Mydevices.
1069 1069  
1050 +**Step 4**: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.(% style="display:none" %)
1070 1070  
1071 -
1072 -Step 3: Create an account or log in Mydevices.
1073 -
1074 -Step 4: Search LT-22222-L(for both LT-22222-L / LT-33222-L) and add DevEUI.
1075 -
1076 1076  Search under The things network
1077 1077  
1078 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]]
1054 +[[image:1653356838789-523.png]]
1079 1079  
1080 1080  
1081 1081  After added, the sensor data arrive TTN, it will also arrive and show in Mydevices.
1653356737703-362.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +42.1 KB
Content
1653356838789-523.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +131.7 KB
Content
image-20220524094641-11.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +136.2 KB
Content
image-20220524094641-12.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +69.1 KB
Content
image-20220524094909-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +297.8 KB
Content
image-20220524094909-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +325.2 KB
Content
image-20220524094909-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +330.9 KB
Content
image-20220524094909-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +329.2 KB
Content
image-20220524094909-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +212.8 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0