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

Summary

Details

Page properties
Content
... ... @@ -429,7 +429,6 @@
429 429  
430 430  ==== 2.3.2.4 MOD~=4 (3 x DS18B20) ====
431 431  
432 -[[image:image-20230512170701-3.png||height="565" width="743"]]
433 433  
434 434  This mode has total 11 bytes. As shown below:
435 435  
... ... @@ -452,7 +452,9 @@
452 452  
453 453  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50%20%26%20LSN50-V2%20-%20LoRaWAN%20Sensor%20Node%20User%20Manual/WebHome/1656377606181-607.png?rev=1.1||alt="1656377606181-607.png"]]
454 454  
454 +[[image:image-20230513134006-1.png||height="559" width="736"]]
455 455  
456 +
456 456  ==== 2.3.2.5  MOD~=5(Weight Measurement by HX711) ====
457 457  
458 458  [[image:image-20230512164658-2.png||height="532" width="729"]]
... ... @@ -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.
1006 +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" %)
1012 +|(% style="width:154px" %)AT+WEIGRE|(% style="width:196px" %)Weight is initialized to 0.|(% style="width:157px" %)OK
1013 +|(% style="width:154px" %)AT+WEIGAP=?|(% style="width:196px" %)400.0|(% style="width:157px" %)OK(default)
1014 +|(% 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.
1019 +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.
1021 +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  
1023 +The second and third bytes are multiplied by 10 times to be the AT+WEIGAP value.
1024 1024  
1025 +* Example 1: Downlink Payload: 0801  **~-~-->**  AT+WEIGRE
1026 +* Example 2: Downlink Payload: 08020FA3  **~-~-->**  AT+WEIGAP=400.3
1027 +* Example 3: Downlink Payload: 08020FA0  **~-~-->**  AT+WEIGAP=400.0
1028 +
1025 1025  === 3.3.6 Set Digital pulse count value ===
1026 1026  
1027 1027  Feature: Set the pulse count value.
1028 1028  
1033 +Count 1 is PA8 pin of mode 6 and mode 9. Count 2 is PA4 pin of mode 9.
1034 +
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
1050 +* 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.
1054 +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  
image-20230513134006-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Saxer
Size
... ... @@ -1,0 +1,1 @@
1 +1.9 MB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0