<
From version < 36.1 >
edited by Saxer Lin
on 2023/05/13 11:59
To version < 37.1 >
edited by Saxer Lin
on 2023/05/13 12:52
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -968,7 +968,6 @@
968 968  * Example 3: Downlink Payload: 06000102  **~-~-->**  AT+INTMOD2=2
969 969  * Example 4: Downlink Payload: 06000201  **~-~-->**  AT+INTMOD3=1
970 970  
971 -(% class="wikigeneratedid" %)
972 972  === 3.3.4 Set Power Output Duration ===
973 973  
974 974  Control the output duration 5V . Before each sampling, device will
... ... @@ -1001,31 +1001,37 @@
1001 1001  * Example 1: Downlink Payload: 070000  **~-~-->**  AT+5VT=0
1002 1002  * Example 2: Downlink Payload: 0701F4  **~-~-->**  AT+5VT=500
1003 1003  
1004 -(% class="wikigeneratedid" %)
1005 1005  === 3.3.5 Set Weighing parameters ===
1006 1006  
1007 -Feature: Working mode 5 is effective, hair removal and setting of weight factor of HX711.
1005 +Feature: Working mode 5 is effective, weight initialization and weight factor setting of HX711.
1008 1008  
1009 1009  (% style="color:blue" %)**AT Command: AT+WEIGRE,AT+WEIGAP**
1010 1010  
1011 1011  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1012 1012  |=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**
1013 -|(% style="width:154px" %) |(% style="width:196px" %) |(% style="width:157px" %)
1014 -|(% style="width:154px" %) |(% style="width:196px" %) |(% style="width:157px" %)
1011 +|(% style="width:154px" %)AT+WEIGRE|(% style="width:196px" %)Weight is initialized to 0.|(% style="width:157px" %)OK
1012 +|(% style="width:154px" %)AT+WEIGAP=?|(% style="width:196px" %)400.0|(% style="width:157px" %)OK(default)
1013 +|(% style="width:154px" %)AT+WEIGAP=400.3|(% style="width:196px" %)Set the factor to 400.3.|(% style="width:157px" %)OK
1015 1015  
1016 -
1017 1017  (% style="color:blue" %)**Downlink Command: 0x08**
1018 1018  
1019 1019  
1020 -Format: Command Code (0x07) followed by 2 bytes.
1018 +Format: Command Code (0x08) followed by 2 bytes or 4 bytes.
1021 1021  
1022 -The first and second bytes are the time to turn on.
1020 +Use AT+WEIGRE when the first byte is 1, only 1 byte. When it is 2, use AT+WEIGAP, there are 3 bytes.
1023 1023  
1022 +The second and third bytes are multiplied by 10 times to be the AT+WEIGAP value.
1024 1024  
1024 +* Example 1: Downlink Payload: 0801  **~-~-->**  AT+WEIGRE
1025 +* Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
1026 +* Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
1027 +
1025 1025  === 3.3.6 Set Digital pulse count value ===
1026 1026  
1027 1027  Feature: Set the pulse count value.
1028 1028  
1032 +Count 1 is PA8 pin of mode 6 and mode 9. Count 2 is PA4 pin of mode 9.
1033 +
1029 1029  (% style="color:blue" %)**AT Command: AT+SETCNT**
1030 1030  
1031 1031  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
... ... @@ -1033,7 +1033,6 @@
1033 1033  |(% style="width:154px" %)AT+SETCNT=1,100|(% style="width:196px" %)Initialize the count value 1 to 100.|(% style="width:157px" %)OK
1034 1034  |(% style="width:154px" %)AT+SETCNT=2,0|(% style="width:196px" %)Initialize the count value 2 to 0.|(% style="width:157px" %)OK
1035 1035  
1036 -
1037 1037  (% style="color:blue" %)**Downlink Command: 0x09**
1038 1038  
1039 1039  
... ... @@ -1042,11 +1042,11 @@
1042 1042  The first byte is to select which count value to initialize, and the next four bytes are the count value to be initialized.
1043 1043  
1044 1044  * Example 1: Downlink Payload: 090100000000  **~-~-->**  AT+SETCNT=1,0
1045 -* Example 2: Downlink Payload: 090200000000  **~-~-->**  AT+5VT=500
1049 +* Example 2: Downlink Payload: 0902000003E8  **~-~-->**  AT+SETCNT=2,1000
1046 1046  
1047 1047  === 3.3.7 Set Workmode ===
1048 1048  
1049 -Feature: switch working mode.
1053 +Feature: Switch working mode.
1050 1050  
1051 1051  (% style="color:blue" %)**AT Command: AT+MOD**
1052 1052  
... ... @@ -1061,7 +1061,6 @@
1061 1061  Attention:Take effect after ATZ
1062 1062  )))
1063 1063  
1064 -
1065 1065  (% style="color:blue" %)**Downlink Command: 0x0A**
1066 1066  
1067 1067  
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0