Changes for page SDI-12-LB/LS -- SDI-12 to LoRaWAN Converter User Manual
Last modified by Xiaoling on 2025/04/25 08:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -65,7 +65,6 @@ 65 65 * Downlink to change configure 66 66 * 8500mAh Battery for long term use 67 67 68 - 69 69 == 1.3 Specification == 70 70 71 71 ... ... @@ -114,7 +114,6 @@ 114 114 * Sleep Mode: 5uA @ 3.3v 115 115 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 116 116 117 - 118 118 == 1.4 Connect to SDI-12 Sensor == 119 119 120 120 ... ... @@ -149,7 +149,6 @@ 149 149 ))) 150 150 |(% 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. 151 151 152 - 153 153 == 1.7 Pin Mapping == 154 154 155 155 ... ... @@ -483,8 +483,8 @@ 483 483 (% style="color:blue" %)**AT+DATACUTx**(%%) : This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes. 484 484 485 485 (% border="1" style="width:436px" %) 486 -|(% style=" width:433px;background-color:#F2F2F2 %)(((487 - **(% style="color:#0070C0" %)AT+DATACUTx=a,b,c**483 +|(% style="background-color:#f2f2f2; width:433px" %)((( 484 +(% style="color:#0070c0" %)**AT+DATACUTx=a,b,c** 488 488 489 489 **a**: length for the return of AT+COMMAND 490 490 ... ... @@ -498,9 +498,9 @@ 498 498 499 499 (% border="1" cellspacing="4" style="width:510px" %) 500 500 |=(% style="width: 164px;background-color:#D9E2F3;color:#0070C0" %)**AT+DATACUT1 value**|=(% style="width: 344px;background-color:#D9E2F3;color:#0070C0" %)**Final Result to combine Payload** 501 -|(% style=" width:164px;background-color:#F2F2F2" %)34,1,1+2+3|(% style="width:344px;background-color:#F2F2F2" %)0D 00 01 30 31 33502 -|(% 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 32503 -|(% 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 0A498 +|(% style="background-color:#f2f2f2; width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33 499 +|(% 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 500 +|(% 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 504 504 505 505 * (% style="color:blue" %)** Downlink Payload:** 506 506 ... ... @@ -689,7 +689,7 @@ 689 689 690 690 * Periodically Uplink: FPORT=2 691 691 692 -(% border="1" cellspacing="4" style="background-color:# F2F2F2; width:500px" %)689 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 693 693 |=(% style="width: 90px;" %)((( 694 694 **Size(bytes)** 695 695 )))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands** ... ... @@ -883,7 +883,6 @@ 883 883 Set transmit interval to 60000ms = 60 seconds 884 884 ))) 885 885 886 - 887 887 (% style="color:blue" %)**Downlink Command: 0x01** 888 888 889 889 ... ... @@ -894,7 +894,6 @@ 894 894 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 895 895 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 896 896 897 - 898 898 == 3.2 Set Interrupt Mode == 899 899 900 900 ... ... @@ -917,7 +917,6 @@ 917 917 3. (Trigger by rising edge) 918 918 )))|(% style="background-color:#f2f2f2; width:157px" %)OK 919 919 920 - 921 921 (% style="color:blue" %)**Downlink Command: 0x06** 922 922 923 923 Format: Command Code (0x06) followed by 3 bytes. ... ... @@ -927,7 +927,6 @@ 927 927 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 928 928 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 929 929 930 - 931 931 == 3.3 Set the output time == 932 932 933 933 ... ... @@ -952,7 +952,6 @@ 952 952 OK 953 953 ))) 954 954 955 - 956 956 (% style="color:blue" %)**AT Command: AT+5VT** 957 957 958 958 (% border="1" cellspacing="4" style="width:470px" %) ... ... @@ -972,7 +972,6 @@ 972 972 OK 973 973 ))) 974 974 975 - 976 976 (% style="color:blue" %)**AT Command: AT+12VT** 977 977 978 978 (% border="1" cellspacing="4" style="width:443px" %) ... ... @@ -999,7 +999,6 @@ 999 999 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 1000 1000 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 1001 1001 1002 - 1003 1003 == 3.4 Set the all data mode == 1004 1004 1005 1005 ... ... @@ -1009,11 +1009,11 @@ 1009 1009 1010 1010 (% border="1" cellspacing="4" style="width:437px" %) 1011 1011 |=(% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response** 1012 -|(% style="background-color:# F2F2F2" %)AT+ALLDATAMOD=?|(% style="background-color:#F2F2F2" %)Show current all data mode|(% style="background-color:#F2F2F2" %)(((1002 +|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)((( 1013 1013 0 1014 1014 OK 1015 1015 ))) 1016 -|(% style="background-color:# F2F2F2" %)AT+ALLDATAMOD=1|(% style="background-color:#F2F2F2" %)Set all data mode is 1.|(% style="background-color:#F2F2F2" %)OK1006 +|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=1|(% style="background-color:#f2f2f2" %)Set all data mode is 1.|(% style="background-color:#f2f2f2" %)OK 1017 1017 1018 1018 (% style="color:blue" %)**Downlink Command: 0xAB** 1019 1019 ... ... @@ -1022,7 +1022,6 @@ 1022 1022 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 1023 1023 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1024 1024 1025 - 1026 1026 == 3.5 Set the splicing payload for uplink == 1027 1027 1028 1028 ... ... @@ -1032,19 +1032,19 @@ 1032 1032 1033 1033 (% border="1" cellspacing="4" style="width:510px" %) 1034 1034 |=(% 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** 1035 -|(% style=" width:154px;background-color:#F2F2F2" %)AT+DATAUP =?|(% style="width:266px;background-color:#F2F2F2" %)Show current splicing payload for uplink mode|(% style="background-color:#F2F2F2" %)(((1024 +|(% 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" %)((( 1036 1036 0 1037 1037 OK 1038 1038 ))) 1039 -|(% style=" width:154px;background-color:#F2F2F2" %)AT+DATAUP =0|(% style="width:266px;background-color:#F2F2F2" %)(((1028 +|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =0|(% style="background-color:#f2f2f2; width:266px" %)((( 1040 1040 Set splicing payload for uplink mode is 0. 1041 -)))|(% style="background-color:# F2F2F2" %)(((1030 +)))|(% style="background-color:#f2f2f2" %)((( 1042 1042 OK 1043 1043 ))) 1044 -|(% style=" width:154px;background-color:#F2F2F2" %)AT+DATAUP =1|(% style="width:266px;background-color:#F2F2F2" %)Set splicing payload for uplink mode is 1 , and the each splice uplink is sent sequentially.|(% style="background-color:#F2F2F2" %)OK1045 -|(% style=" width:154px;background-color:#F2F2F2" %)AT+DATAUP =1,20000|(% style="width:266px;background-color:#F2F2F2" %)(((1033 +|(% 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 1034 +|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =1,20000|(% style="background-color:#f2f2f2; width:266px" %)((( 1046 1046 Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds. 1047 -)))|(% style="background-color:# F2F2F2" %)OK1036 +)))|(% style="background-color:#f2f2f2" %)OK 1048 1048 1049 1049 (% style="color:blue" %)**Downlink Command: 0xAD** 1050 1050 ... ... @@ -1066,11 +1066,11 @@ 1066 1066 1067 1067 (% border="1" cellspacing="4" style="width:437px" %) 1068 1068 |=(% 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** 1069 -|(% style=" width:158px;background-color:#F2F2F2" %)AT+PAYVER=?|(% style="width:192px;background-color:#F2F2F2" %)Show current payload version|(% style="background-color:#F2F2F2" %)(((1058 +|(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2; width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)((( 1070 1070 1 1071 1071 OK 1072 1072 ))) 1073 -|(% style=" width:158px;background-color:#F2F2F2" %)AT+PAYVER=5|(% style="width:192px;background-color:#F2F2F2" %)Set payload version is 5.|(% style="background-color:#F2F2F2" %)OK1062 +|(% 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 1074 1074 1075 1075 (% style="color:blue" %)**Downlink Command: 0xAE** 1076 1076 ... ... @@ -1079,14 +1079,76 @@ 1079 1079 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1080 1080 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1081 1081 1071 += 4. Battery & how to replace = 1082 1082 1083 -= 4. Battery & PowerConsumption=1073 +== 4.1 Battery Type == 1084 1084 1085 -SDI-12-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1086 1086 1087 - [[**BatteryInfo& Power ConsumptionAnalyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]].1076 +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. 1088 1088 1089 1089 1079 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 1080 + 1081 +[[image:1675234124233-857.png||_mstalt="295035"]] 1082 + 1083 + 1084 +Minimum Working Voltage for the SDI-12-LB: 1085 + 1086 +SDI-12-LB: 2.45v ~~ 3.6v 1087 + 1088 + 1089 +== 4.2 Replace Battery == 1090 + 1091 + 1092 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1093 + 1094 +And make sure the positive and negative pins match. 1095 + 1096 + 1097 +== 4.3 Power Consumption Analyze == 1098 + 1099 + 1100 +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. 1101 + 1102 +Instruction to use as below: 1103 + 1104 +(% 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]] 1105 + 1106 +(% style="color:blue" %)**Step 2:**(%%) Open it and choose 1107 + 1108 +* Product Model 1109 +* Uplink Interval 1110 +* Working Mode 1111 + 1112 +And the Life expectation in difference case will be shown on the right. 1113 + 1114 + 1115 +[[image:1675234155374-163.png||_mstalt="294411"]] 1116 + 1117 + 1118 +The battery related documents as below: 1119 + 1120 +* [[Battery Dimension>>https://www.dropbox.com/s/ox5g9njwjle7aw3/LSN50-Battery-Dimension.pdf?dl=0]], 1121 +* [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]] 1122 +* [[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]] 1123 + 1124 +[[image:image-20230201145019-19.png||_mstalt="453947"]] 1125 + 1126 + 1127 +=== 4.3.1 Battery Note === 1128 + 1129 + 1130 +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. 1131 + 1132 + 1133 +=== 4.3.2 Replace the battery === 1134 + 1135 + 1136 +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. 1137 + 1138 +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) 1139 + 1140 + 1090 1090 = 5. Remote Configure device = 1091 1091 1092 1092 == 5.1 Connect via BLE == ... ... @@ -1166,7 +1166,6 @@ 1166 1166 * Package Size / pcs : cm 1167 1167 * Weight / pcs : g 1168 1168 1169 - 1170 1170 = 10. Support = 1171 1171 1172 1172