Changes for page SDI-12-LB/LS -- SDI-12 to LoRaWAN Converter User Manual
Last modified by Mengting Qiu on 2025/07/03 15:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -136,7 +136,7 @@ 136 136 [[image:1675212633011-651.png||_mstalt="291538"]] 137 137 138 138 139 -(% border="1" cellspacing="4" style="width:510px ;background-color:#F2F2F2" %)139 +(% border="1" cellspacing="4" style="width:510px" %) 140 140 |=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action** 141 141 |(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Send an uplink|(% style="background-color:#f2f2f2; width:225px" %)((( 142 142 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. ... ... @@ -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="background-color:# f2f2f2;width:433px"%)(((487 -(% style="color:#0070 c0" %)**AT+DATACUTx=a,b,c**486 +|(% style="width:433px;background-color:#F2F2F2 %)((( 487 +**(% style="color:#0070C0" %)AT+DATACUTx=a,b,c** 488 488 489 489 **a**: length for the return of AT+COMMAND 490 490 ... ... @@ -496,11 +496,11 @@ 496 496 For example, if return from AT+COMMAND1 is “013METER TER12 112T12-00024895<CR><LF>” , Below AT+DATACUT1 will get different result to combine payload: 497 497 498 498 499 -(% border="1" cellspacing="4" style="width:510px ;background-color:#f2f2f2" %)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="background-color:# f2f2f2; width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33502 -|(% 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 32503 -|(% 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 0A501 +|(% 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 504 504 505 505 * (% style="color:blue" %)** Downlink Payload:** 506 506 ... ... @@ -617,7 +617,7 @@ 617 617 618 618 Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink. 619 619 620 -(% border="1" cellspacing="4" style="width:510px ;background-color:#f2f2f2" %)620 +(% border="1" cellspacing="4" style="width:510px" %) 621 621 |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 622 622 |(% style="background-color:#f2f2f2; width:103px" %)**Size (bytes)**|(% style="background-color:#f2f2f2; width:72px" %)**1**|(% style="background-color:#f2f2f2" %)**2**|(% style="background-color:#f2f2f2; width:91px" %)**1**|(% style="background-color:#f2f2f2; width:86px" %)**1**|(% style="background-color:#f2f2f2; width:44px" %)**2** 623 623 |(% style="background-color:#f2f2f2; width:103px" %)**Value**|(% style="background-color:#f2f2f2; width:72px" %)Sensor Model|(% style="background-color:#f2f2f2" %)Firmware Version|(% style="background-color:#f2f2f2; width:91px" %)Frequency Band|(% style="background-color:#f2f2f2; width:86px" %)Sub-band|(% style="background-color:#f2f2f2; width:44px" %)BAT ... ... @@ -689,10 +689,10 @@ 689 689 690 690 * Periodically Uplink: FPORT=2 691 691 692 -(% border="1" cellspacing="4" style="background-color:# f2f2f2; width:500px" %)693 -|=(% style="width: 90px; background-color:#D9E2F3" %)(((692 +(% border="1" cellspacing="4" style="background-color:#F2F2F2; width:500px" %) 693 +|=(% style="width: 90px;" %)((( 694 694 **Size(bytes)** 695 -)))|=(% style="width: 80px; background-color:#D9E2F3" %)**2**|=(% style="width: 90px;background-color:#D9E2F3" %)**1**|=(% style="width: 240px;background-color:#D9E2F3" %)**Length depends on the return from the commands**695 +)))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands** 696 696 |(% style="width:93px" %)**Value**|(% style="width:83px" %)((( 697 697 Battery(mV) 698 698 & ... ... @@ -871,7 +871,7 @@ 871 871 872 872 (% style="color:blue" %)**AT Command: AT+TDC** 873 873 874 -(% border="1" cellspacing="4" style="width:510px ;background-color:#f2f2f2" %)874 +(% border="1" cellspacing="4" style="width:510px" %) 875 875 |=(% style="width: 160px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Command Example**|=(% style="width: 160px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Response** 876 876 |(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)((( 877 877 30000 ... ... @@ -883,6 +883,7 @@ 883 883 Set transmit interval to 60000ms = 60 seconds 884 884 ))) 885 885 886 + 886 886 (% style="color:blue" %)**Downlink Command: 0x01** 887 887 888 888 ... ... @@ -901,7 +901,7 @@ 901 901 902 902 (% style="color:blue" %)**AT Command: AT+INTMOD** 903 903 904 -(% border="1" cellspacing="4" style="width:510px ;background-color:#f2f2f2" %)905 +(% border="1" cellspacing="4" style="width:510px" %) 905 905 |=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Response** 906 906 |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)((( 907 907 0 ... ... @@ -916,6 +916,7 @@ 916 916 3. (Trigger by rising edge) 917 917 )))|(% style="background-color:#f2f2f2; width:157px" %)OK 918 918 920 + 919 919 (% style="color:blue" %)**Downlink Command: 0x06** 920 920 921 921 Format: Command Code (0x06) followed by 3 bytes. ... ... @@ -933,7 +933,7 @@ 933 933 934 934 (% style="color:blue" %)**AT Command: AT+3V3T** 935 935 936 -(% border="1" cellspacing="4" style="width:474px ;background-color:#f2f2f2" %)938 +(% border="1" cellspacing="4" style="width:474px" %) 937 937 |=(% 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** 938 938 |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)((( 939 939 0 ... ... @@ -950,9 +950,10 @@ 950 950 OK 951 951 ))) 952 952 955 + 953 953 (% style="color:blue" %)**AT Command: AT+5VT** 954 954 955 -(% border="1" cellspacing="4" style="width:470px ;background-color:#f2f2f2" %)958 +(% border="1" cellspacing="4" style="width:470px" %) 956 956 |=(% 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** 957 957 |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)((( 958 958 0 ... ... @@ -969,9 +969,10 @@ 969 969 OK 970 970 ))) 971 971 975 + 972 972 (% style="color:blue" %)**AT Command: AT+12VT** 973 973 974 -(% border="1" cellspacing="4" style="width:443px ;background-color:#f2f2f2" %)978 +(% border="1" cellspacing="4" style="width:443px" %) 975 975 |=(% 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** 976 976 |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)((( 977 977 0 ... ... @@ -1003,13 +1003,13 @@ 1003 1003 1004 1004 (% style="color:blue" %)**AT Command: AT+ALLDATAMOD** 1005 1005 1006 -(% border="1" cellspacing="4" style=" width:437px;background-color:#f2f2f2" %)1007 -|= (% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**1008 -| (% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)(((1010 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %) 1011 +|=**Command Example**|=**Function**|=**Response** 1012 +|AT+ALLDATAMOD=?|Show current all data mode|((( 1009 1009 0 1010 1010 OK 1011 1011 ))) 1012 -| (% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=1|(% style="background-color:#f2f2f2" %)Set all data mode is 1.|(% style="background-color:#f2f2f2" %)OK1016 +|AT+ALLDATAMOD=1|Set all data mode is 1.|OK 1013 1013 1014 1014 (% style="color:blue" %)**Downlink Command: 0xAB** 1015 1015 ... ... @@ -1026,21 +1026,21 @@ 1026 1026 1027 1027 (% style="color:blue" %)**AT Command: AT+DATAUP** 1028 1028 1029 -(% border="1" cellspacing="4" style=" width:510px;background-color:#f2f2f2" %)1030 -|=(% 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**1031 -|(% 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" %)(((1033 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) 1034 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 266px;" %)**Function**|=**Response** 1035 +|(% style="width:154px" %)AT+DATAUP =?|(% style="width:266px" %)Show current splicing payload for uplink mode|((( 1032 1032 0 1033 1033 OK 1034 1034 ))) 1035 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+DATAUP =0|(% style="background-color:#f2f2f2;width:266px" %)(((1039 +|(% style="width:154px" %)AT+DATAUP =0|(% style="width:266px" %)((( 1036 1036 Set splicing payload for uplink mode is 0. 1037 -)))|( % style="background-color:#f2f2f2" %)(((1041 +)))|((( 1038 1038 OK 1039 1039 ))) 1040 -|(% 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" %)OK1041 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+DATAUP =1,20000|(% style="background-color:#f2f2f2;width:266px" %)(((1044 +|(% 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 1045 +|(% style="width:154px" %)AT+DATAUP =1,20000|(% style="width:266px" %)((( 1042 1042 Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds. 1043 -)))| (% style="background-color:#f2f2f2" %)OK1047 +)))|OK 1044 1044 1045 1045 (% style="color:blue" %)**Downlink Command: 0xAD** 1046 1046 ... ... @@ -1060,13 +1060,13 @@ 1060 1060 1061 1061 (% style="color:blue" %)**AT Command: AT+PAYVER** 1062 1062 1063 -(% border="1" cellspacing="4" style=" width:437px;background-color:#f2f2f2" %)1064 -|=(% 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**1065 -|(% style=" background-color:#f2f2f2;width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2;width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)(((1067 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %) 1068 +|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 192px;" %)**Function**|=**Response** 1069 +|(% style="width:158px" %)AT+PAYVER=?|(% style="width:192px" %)Show current payload version|((( 1066 1066 1 1067 1067 OK 1068 1068 ))) 1069 -|(% style=" background-color:#f2f2f2;width:158px" %)AT+PAYVER=5|(% style="background-color:#f2f2f2;width:192px" %)Set payload version is 5.|(% style="background-color:#f2f2f2" %)OK1073 +|(% style="width:158px" %)AT+PAYVER=5|(% style="width:192px" %)Set payload version is 5.|OK 1070 1070 1071 1071 (% style="color:blue" %)**Downlink Command: 0xAE** 1072 1072 ... ... @@ -1076,14 +1076,76 @@ 1076 1076 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1077 1077 1078 1078 1079 -= 4. Battery & PowerConsumption=1083 += 4. Battery & how to replace = 1080 1080 1085 +== 4.1 Battery Type == 1081 1081 1082 -SDI-12-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1083 1083 1084 - [[**BatteryInfo& Power ConsumptionAnalyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]].1088 +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. 1085 1085 1086 1086 1091 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 1092 + 1093 +[[image:1675234124233-857.png||_mstalt="295035"]] 1094 + 1095 + 1096 +Minimum Working Voltage for the SDI-12-LB: 1097 + 1098 +SDI-12-LB: 2.45v ~~ 3.6v 1099 + 1100 + 1101 +== 4.2 Replace Battery == 1102 + 1103 + 1104 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1105 + 1106 +And make sure the positive and negative pins match. 1107 + 1108 + 1109 +== 4.3 Power Consumption Analyze == 1110 + 1111 + 1112 +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. 1113 + 1114 +Instruction to use as below: 1115 + 1116 +(% 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]] 1117 + 1118 +(% style="color:blue" %)**Step 2:**(%%) Open it and choose 1119 + 1120 +* Product Model 1121 +* Uplink Interval 1122 +* Working Mode 1123 + 1124 +And the Life expectation in difference case will be shown on the right. 1125 + 1126 + 1127 +[[image:1675234155374-163.png||_mstalt="294411"]] 1128 + 1129 + 1130 +The battery related documents as below: 1131 + 1132 +* [[Battery Dimension>>https://www.dropbox.com/s/ox5g9njwjle7aw3/LSN50-Battery-Dimension.pdf?dl=0]], 1133 +* [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]] 1134 +* [[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]] 1135 + 1136 +[[image:image-20230201145019-19.png||_mstalt="453947"]] 1137 + 1138 + 1139 +=== 4.3.1 Battery Note === 1140 + 1141 + 1142 +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. 1143 + 1144 + 1145 +=== 4.3.2 Replace the battery === 1146 + 1147 + 1148 +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. 1149 + 1150 +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) 1151 + 1152 + 1087 1087 = 5. Remote Configure device = 1088 1088 1089 1089 == 5.1 Connect via BLE ==