Last modified by Mengting Qiu on 2025/07/03 15:42

From version 48.17
edited by Xiaoling
on 2023/04/03 13:41
Change comment: There is no comment for this version
To version 48.8
edited by Xiaoling
on 2023/04/03 11:38
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -66,7 +66,6 @@
66 66  * 8500mAh Battery for long term use
67 67  
68 68  
69 -
70 70  == 1.3 Specification ==
71 71  
72 72  
... ... @@ -116,7 +116,6 @@
116 116  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
117 117  
118 118  
119 -
120 120  == 1.4 Connect to SDI-12 Sensor ==
121 121  
122 122  
... ... @@ -152,7 +152,6 @@
152 152  |(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB-NA is in Deep Sleep Mode.
153 153  
154 154  
155 -
156 156  == 1.7 Pin Mapping ==
157 157  
158 158  
... ... @@ -486,8 +486,8 @@
486 486  (% style="color:blue" %)**AT+DATACUTx**(%%) : This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes.
487 487  
488 488  (% border="1" style="width:436px" %)
489 -|(% style="background-color:#f2f2f2; width:433px" %)(((
490 -(% style="color:#0070c0" %)**AT+DATACUTx=a,b,c**
486 +|(% style="width:433px;background-color:#F2F2F2 %)(((
487 +**(% style="color:#0070C0" %)AT+DATACUTx=a,b,c**
491 491  
492 492  **a**:  length for the return of AT+COMMAND
493 493  
... ... @@ -501,9 +501,9 @@
501 501  
502 502  (% border="1" cellspacing="4" style="width:510px" %)
503 503  |=(% style="width: 164px;background-color:#D9E2F3;color:#0070C0" %)**AT+DATACUT1 value**|=(% style="width: 344px;background-color:#D9E2F3;color:#0070C0" %)**Final Result to combine Payload**
504 -|(% style="background-color:#f2f2f2; width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33
505 -|(% style="background-color:#f2f2f2; width:164px" %)34,2,1~~8+12~~16|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32
506 -|(% style="background-color:#f2f2f2; width:164px" %)34,2,1~~34|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 20 20 20 54 45 52 31 32 20 31 31 32 54 31 32 2D 30 30 30 32 34 38 39 35 0D 0A
501 +|(% style="width:164px;background-color:#F2F2F2" %)34,1,1+2+3|(% style="width:344px;background-color:#F2F2F2" %)0D 00 01 30 31 33
502 +|(% style="width:164px;background-color:#F2F2F2" %)34,2,1~~8+12~~16|(% style="width:344px;background-color:#F2F2F2" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32
503 +|(% style="width:164px;background-color:#F2F2F2" %)34,2,1~~34|(% style="width:344px;background-color:#F2F2F2" %)0D 00 01 30 31 33 4D 45 54 45 52 20 20 20 54 45 52 31 32 20 31 31 32 54 31 32 2D 30 30 30 32 34 38 39 35 0D 0A
507 507  
508 508  * (% style="color:blue" %)** Downlink Payload:**
509 509  
... ... @@ -692,7 +692,7 @@
692 692  
693 693  * Periodically Uplink: FPORT=2
694 694  
695 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
692 +(% border="1" cellspacing="4" style="background-color:#F2F2F2; width:500px" %)
696 696  |=(% style="width: 90px;" %)(((
697 697  **Size(bytes)**
698 698  )))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands**
... ... @@ -886,6 +886,7 @@
886 886  Set transmit interval to 60000ms = 60 seconds
887 887  )))
888 888  
886 +
889 889  (% style="color:blue" %)**Downlink Command: 0x01**
890 890  
891 891  
... ... @@ -897,7 +897,6 @@
897 897  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
898 898  
899 899  
900 -
901 901  == 3.2 Set Interrupt Mode ==
902 902  
903 903  
... ... @@ -920,6 +920,7 @@
920 920  3. (Trigger by rising edge)
921 921  )))|(% style="background-color:#f2f2f2; width:157px" %)OK
922 922  
920 +
923 923  (% style="color:blue" %)**Downlink Command: 0x06**
924 924  
925 925  Format: Command Code (0x06) followed by 3 bytes.
... ... @@ -930,7 +930,6 @@
930 930  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
931 931  
932 932  
933 -
934 934  == 3.3 Set the output time ==
935 935  
936 936  
... ... @@ -938,54 +938,52 @@
938 938  
939 939  (% style="color:blue" %)**AT Command: AT+3V3T**
940 940  
941 -(% border="1" cellspacing="4" style="width:474px" %)
942 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 201px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 116px;background-color:#D9E2F3;color:#0070C0" %)**Response**
943 -|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)(((
938 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:474px" %)
939 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 201px;" %)**Function**|=(% style="width: 116px;" %)**Response**
940 +|(% style="width:154px" %)AT+3V3T=?|(% style="width:201px" %)Show 3V3 open time.|(% style="width:116px" %)(((
944 944  0
945 945  OK
946 946  )))
947 -|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=0|(% style="background-color:#f2f2f2; width:201px" %)Normally open 3V3 power supply.|(% style="background-color:#f2f2f2; width:116px" %)(((
944 +|(% style="width:154px" %)AT+3V3T=0|(% style="width:201px" %)Normally open 3V3 power supply.|(% style="width:116px" %)(((
948 948  OK
949 949  default setting
950 950  )))
951 -|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=1000|(% style="background-color:#f2f2f2; width:201px" %)Close after a delay of 1000 milliseconds.|(% style="background-color:#f2f2f2; width:116px" %)(((
948 +|(% style="width:154px" %)AT+3V3T=1000|(% style="width:201px" %)Close after a delay of 1000 milliseconds.|(% style="width:116px" %)(((
952 952  OK
953 953  )))
954 -|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=65535|(% style="background-color:#f2f2f2; width:201px" %)Normally closed 3V3 power supply.|(% style="background-color:#f2f2f2; width:116px" %)(((
951 +|(% style="width:154px" %)AT+3V3T=65535|(% style="width:201px" %)Normally closed 3V3 power supply.|(% style="width:116px" %)(((
955 955  OK
956 956  )))
957 957  
958 -
959 959  (% style="color:blue" %)**AT Command: AT+5VT**
960 960  
961 -(% border="1" cellspacing="4" style="width:470px" %)
962 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 114px;background-color:#D9E2F3;color:#0070C0" %)**Response**
963 -|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)(((
957 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:470px" %)
958 +|=(% style="width: 155px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 114px;" %)**Response**
959 +|(% style="width:155px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:114px" %)(((
964 964  0
965 965  OK
966 966  )))
967 -|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=0|(% style="background-color:#f2f2f2; width:196px" %)Normally closed 5V power supply.|(% style="background-color:#f2f2f2; width:114px" %)(((
963 +|(% style="width:155px" %)AT+5VT=0|(% style="width:196px" %)Normally closed 5V power supply.|(% style="width:114px" %)(((
968 968  OK
969 969  default setting
970 970  )))
971 -|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=1000|(% style="background-color:#f2f2f2; width:196px" %)Close after a delay of 1000 milliseconds.|(% style="background-color:#f2f2f2; width:114px" %)(((
967 +|(% style="width:155px" %)AT+5VT=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:114px" %)(((
972 972  OK
973 973  )))
974 -|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=65535|(% style="background-color:#f2f2f2; width:196px" %)Normally open 5V power supply.|(% style="background-color:#f2f2f2; width:114px" %)(((
970 +|(% style="width:155px" %)AT+5VT=65535|(% style="width:196px" %)Normally open 5V power supply.|(% style="width:114px" %)(((
975 975  OK
976 976  )))
977 977  
978 -
979 979  (% style="color:blue" %)**AT Command: AT+12VT**
980 980  
981 -(% border="1" cellspacing="4" style="width:443px" %)
982 -|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 199px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 83px;background-color:#D9E2F3;color:#0070C0" %)**Response**
983 -|(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)(((
976 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:443px" %)
977 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 199px;" %)**Function**|=(% style="width: 83px;" %)**Response**
978 +|(% style="width:156px" %)AT+12VT=?|(% style="width:199px" %)Show 12V open time.|(% style="width:83px" %)(((
984 984  0
985 985  OK
986 986  )))
987 -|(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=0|(% style="background-color:#f2f2f2; width:199px" %)Normally closed 12V power supply.|(% style="background-color:#f2f2f2; width:83px" %)OK
988 -|(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=500|(% style="background-color:#f2f2f2; width:199px" %)Close after a delay of 500 milliseconds.|(% style="background-color:#f2f2f2; width:83px" %)(((
982 +|(% style="width:156px" %)AT+12VT=0|(% style="width:199px" %)Normally closed 12V power supply.|(% style="width:83px" %)OK
983 +|(% style="width:156px" %)AT+12VT=500|(% style="width:199px" %)Close after a delay of 500 milliseconds.|(% style="width:83px" %)(((
989 989  OK
990 990  )))
991 991  
... ... @@ -1003,7 +1003,6 @@
1003 1003  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
1004 1004  
1005 1005  
1006 -
1007 1007  == 3.4 Set the all data mode ==
1008 1008  
1009 1009  
... ... @@ -1011,13 +1011,13 @@
1011 1011  
1012 1012  (% style="color:blue" %)**AT Command: AT+ALLDATAMOD**
1013 1013  
1014 -(% border="1" cellspacing="4" style="width:437px" %)
1015 -|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**
1016 -|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)(((
1008 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %)
1009 +|=**Command Example**|=**Function**|=**Response**
1010 +|AT+ALLDATAMOD=?|Show current all data mode|(((
1017 1017  0
1018 1018  OK
1019 1019  )))
1020 -|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=1|(% style="background-color:#f2f2f2" %)Set all data mode is 1.|(% style="background-color:#f2f2f2" %)OK
1014 +|AT+ALLDATAMOD=1|Set all data mode is 1.|OK
1021 1021  
1022 1022  (% style="color:blue" %)**Downlink Command: 0xAB**
1023 1023  
... ... @@ -1027,7 +1027,6 @@
1027 1027  * Example 2: Downlink Payload: AB 01  ~/~/  AT+ALLDATAMOD=1
1028 1028  
1029 1029  
1030 -
1031 1031  == 3.5 Set the splicing payload for uplink ==
1032 1032  
1033 1033  
... ... @@ -1035,21 +1035,21 @@
1035 1035  
1036 1036  (% style="color:blue" %)**AT Command: AT+DATAUP**
1037 1037  
1038 -(% border="1" cellspacing="4" style="width:510px" %)
1039 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 266px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**
1040 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =?|(% style="background-color:#f2f2f2; width:266px" %)Show current splicing payload for uplink mode|(% style="background-color:#f2f2f2" %)(((
1031 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
1032 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 266px;" %)**Function**|=**Response**
1033 +|(% style="width:154px" %)AT+DATAUP =?|(% style="width:266px" %)Show current splicing payload for uplink mode|(((
1041 1041  0
1042 1042  OK
1043 1043  )))
1044 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =0|(% style="background-color:#f2f2f2; width:266px" %)(((
1037 +|(% style="width:154px" %)AT+DATAUP =0|(% style="width:266px" %)(((
1045 1045  Set splicing payload for uplink mode is 0.
1046 -)))|(% style="background-color:#f2f2f2" %)(((
1039 +)))|(((
1047 1047  OK
1048 1048  )))
1049 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =1|(% style="background-color:#f2f2f2; width:266px" %)Set splicing payload for uplink mode is 1 , and the each splice uplink is sent sequentially.|(% style="background-color:#f2f2f2" %)OK
1050 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =1,20000|(% style="background-color:#f2f2f2; width:266px" %)(((
1042 +|(% style="width:154px" %)AT+DATAUP =1|(% style="width:266px" %)Set splicing payload for uplink mode is 1 , and the each splice uplink is sent sequentially.|OK
1043 +|(% style="width:154px" %)AT+DATAUP =1,20000|(% style="width:266px" %)(((
1051 1051  Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds.
1052 -)))|(% style="background-color:#f2f2f2" %)OK
1045 +)))|OK
1053 1053  
1054 1054  (% style="color:blue" %)**Downlink Command: 0xAD**
1055 1055  
... ... @@ -1069,13 +1069,13 @@
1069 1069  
1070 1070  (% style="color:blue" %)**AT Command: AT+PAYVER**
1071 1071  
1072 -(% border="1" cellspacing="4" style="width:437px" %)
1073 -|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 192px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**
1074 -|(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2; width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)(((
1065 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %)
1066 +|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 192px;" %)**Function**|=**Response**
1067 +|(% style="width:158px" %)AT+PAYVER=?|(% style="width:192px" %)Show current payload version|(((
1075 1075  1
1076 1076  OK
1077 1077  )))
1078 -|(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=5|(% style="background-color:#f2f2f2; width:192px" %)Set payload version is 5.|(% style="background-color:#f2f2f2" %)OK
1071 +|(% style="width:158px" %)AT+PAYVER=5|(% style="width:192px" %)Set payload version is 5.|OK
1079 1079  
1080 1080  (% style="color:blue" %)**Downlink Command: 0xAE**
1081 1081  
... ... @@ -1085,15 +1085,76 @@
1085 1085  * Example 2: Downlink Payload: AE 05  ~/~/  AT+PAYVER=5
1086 1086  
1087 1087  
1081 += 4. Battery & how to replace =
1088 1088  
1089 -= 4. Battery & Power Consumption =
1083 +== 4.1 Battery Type ==
1090 1090  
1091 1091  
1092 -SDI-12-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
1086 +SDI-12-LB is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>https://www.dropbox.com/sh/w9l2oa3ytpculph/AAAPtt-apH4lYfCj-2Y6lHvQa?dl=0]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter.
1093 1093  
1094 -[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1095 1095  
1089 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
1096 1096  
1091 +[[image:1675234124233-857.png||_mstalt="295035"]]
1092 +
1093 +
1094 +Minimum Working Voltage for the SDI-12-LB:
1095 +
1096 +SDI-12-LB:  2.45v ~~ 3.6v
1097 +
1098 +
1099 +== 4.2 Replace Battery ==
1100 +
1101 +
1102 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
1103 +
1104 +And make sure the positive and negative pins match.
1105 +
1106 +
1107 +== 4.3 Power Consumption Analyze ==
1108 +
1109 +
1110 +Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval.
1111 +
1112 +Instruction to use as below:
1113 +
1114 +(% style="color:blue" %)**Step 1:**(%%) Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: [[https:~~/~~/www.dropbox.com/sh/zwex6i331j5oeq2/AACIMf9f_v2qsJ39CuMQ5Py_a?dl=0>>https://www.dropbox.com/sh/zwex6i331j5oeq2/AACIMf9f_v2qsJ39CuMQ5Py_a?dl=0]]
1115 +
1116 +(% style="color:blue" %)**Step 2:**(%%) Open it and choose
1117 +
1118 +* Product Model
1119 +* Uplink Interval
1120 +* Working Mode
1121 +
1122 +And the Life expectation in difference case will be shown on the right.
1123 +
1124 +
1125 +[[image:1675234155374-163.png||_mstalt="294411"]]
1126 +
1127 +
1128 +The battery related documents as below:
1129 +
1130 +* [[Battery Dimension>>https://www.dropbox.com/s/ox5g9njwjle7aw3/LSN50-Battery-Dimension.pdf?dl=0]],
1131 +* [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]]
1132 +* [[Lithium-ion Battery-Capacitor datasheet>>https://www.dropbox.com/s/791gjes2lcbfi1p/SPC_1520_datasheet.jpg?dl=0]], [[Tech Spec>>https://www.dropbox.com/s/4pkepr9qqqvtzf2/SPC1520%20Technical%20Specification20171123.pdf?dl=0]]
1133 +
1134 +[[image:image-20230201145019-19.png||_mstalt="453947"]]
1135 +
1136 +
1137 +=== 4.3.1 ​Battery Note ===
1138 +
1139 +
1140 +The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased.
1141 +
1142 +
1143 +=== 4.3.2 Replace the battery ===
1144 +
1145 +
1146 +You can change the battery in the SDI-12-LB.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won't be voltage drop between battery and main board.
1147 +
1148 +The default battery pack of SDI-12-LB includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes)
1149 +
1150 +
1097 1097  = 5. Remote Configure device =
1098 1098  
1099 1099  == 5.1 Connect via BLE ==
... ... @@ -1174,7 +1174,6 @@
1174 1174  * Weight / pcs : g
1175 1175  
1176 1176  
1177 -
1178 1178  = 10. ​Support =
1179 1179  
1180 1180