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
-
... ... @@ -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 ... ... @@ -138,7 +138,7 @@ 138 138 [[image:1675212633011-651.png||_mstalt="291538"]] 139 139 140 140 141 -(% border="1" cellspacing="4" style=" background-color:#f2f2f2;width:510px" %)139 +(% border="1" cellspacing="4" style="width:510px" %) 142 142 |=(% 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** 143 143 |(% 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" %)((( 144 144 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. ... ... @@ -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:#0070 c0" %)**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 ... ... @@ -499,11 +499,11 @@ 499 499 For example, if return from AT+COMMAND1 is “013METER TER12 112T12-00024895<CR><LF>” , Below AT+DATACUT1 will get different result to combine payload: 500 500 501 501 502 -(% border="1" cellspacing="4" style=" background-color:#f2f2f2;width:510px" %)499 +(% 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 33505 -|(% 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 32506 -|(% 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 507 507 508 508 * (% style="color:blue" %)** Downlink Payload:** 509 509 ... ... @@ -620,7 +620,7 @@ 620 620 621 621 Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink. 622 622 623 -(% border="1" cellspacing="4" style=" background-color:#f2f2f2;width:510px" %)620 +(% border="1" cellspacing="4" style="width:510px" %) 624 624 |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 625 625 |(% 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** 626 626 |(% 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 ... ... @@ -692,10 +692,10 @@ 692 692 693 693 * Periodically Uplink: FPORT=2 694 694 695 -(% border="1" cellspacing="4" style="background-color:# f2f2f2; width:500px" %)696 -|=(% style="width: 90px; background-color:#D9E2F3" %)(((692 +(% border="1" cellspacing="4" style="background-color:#F2F2F2; width:500px" %) 693 +|=(% style="width: 90px;" %)((( 697 697 **Size(bytes)** 698 -)))|=(% 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** 699 699 |(% style="width:93px" %)**Value**|(% style="width:83px" %)((( 700 700 Battery(mV) 701 701 & ... ... @@ -874,7 +874,7 @@ 874 874 875 875 (% style="color:blue" %)**AT Command: AT+TDC** 876 876 877 -(% border="1" cellspacing="4" style=" background-color:#f2f2f2;width:510px" %)874 +(% border="1" cellspacing="4" style="width:510px" %) 878 878 |=(% 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** 879 879 |(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)((( 880 880 30000 ... ... @@ -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 ... ... @@ -905,7 +905,7 @@ 905 905 906 906 (% style="color:blue" %)**AT Command: AT+INTMOD** 907 907 908 -(% border="1" cellspacing="4" style=" background-color:#f2f2f2;width:510px" %)905 +(% border="1" cellspacing="4" style="width:510px" %) 909 909 |=(% 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** 910 910 |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)((( 911 911 0 ... ... @@ -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,7 +938,7 @@ 938 938 939 939 (% style="color:blue" %)**AT Command: AT+3V3T** 940 940 941 -(% border="1" cellspacing="4" style=" background-color:#f2f2f2;width:474px" %)938 +(% border="1" cellspacing="4" style="width:474px" %) 942 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 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" %)((( 944 944 0 ... ... @@ -955,9 +955,10 @@ 955 955 OK 956 956 ))) 957 957 955 + 958 958 (% style="color:blue" %)**AT Command: AT+5VT** 959 959 960 -(% border="1" cellspacing="4" style=" background-color:#f2f2f2;width:470px" %)958 +(% border="1" cellspacing="4" style="width:470px" %) 961 961 |=(% 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** 962 962 |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)((( 963 963 0 ... ... @@ -974,9 +974,10 @@ 974 974 OK 975 975 ))) 976 976 975 + 977 977 (% style="color:blue" %)**AT Command: AT+12VT** 978 978 979 -(% border="1" cellspacing="4" style=" background-color:#f2f2f2;width:443px" %)978 +(% border="1" cellspacing="4" style="width:443px" %) 980 980 |=(% 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** 981 981 |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)((( 982 982 0 ... ... @@ -1001,7 +1001,6 @@ 1001 1001 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 1002 1002 1003 1003 1004 - 1005 1005 == 3.4 Set the all data mode == 1006 1006 1007 1007 ... ... @@ -1009,13 +1009,13 @@ 1009 1009 1010 1010 (% style="color:blue" %)**AT Command: AT+ALLDATAMOD** 1011 1011 1012 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:437px" %)1013 -|= (% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**1014 -| (% 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|((( 1015 1015 0 1016 1016 OK 1017 1017 ))) 1018 -| (% 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 1019 1019 1020 1020 (% style="color:blue" %)**Downlink Command: 0xAB** 1021 1021 ... ... @@ -1025,7 +1025,6 @@ 1025 1025 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1026 1026 1027 1027 1028 - 1029 1029 == 3.5 Set the splicing payload for uplink == 1030 1030 1031 1031 ... ... @@ -1033,21 +1033,21 @@ 1033 1033 1034 1034 (% style="color:blue" %)**AT Command: AT+DATAUP** 1035 1035 1036 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)1037 -|=(% 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**1038 -|(% 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|((( 1039 1039 0 1040 1040 OK 1041 1041 ))) 1042 -|(% 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" %)((( 1043 1043 Set splicing payload for uplink mode is 0. 1044 -)))|( % style="background-color:#f2f2f2" %)(((1041 +)))|((( 1045 1045 OK 1046 1046 ))) 1047 -|(% 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" %)OK1048 -|(% 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" %)((( 1049 1049 Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds. 1050 -)))| (% style="background-color:#f2f2f2" %)OK1047 +)))|OK 1051 1051 1052 1052 (% style="color:blue" %)**Downlink Command: 0xAD** 1053 1053 ... ... @@ -1067,13 +1067,13 @@ 1067 1067 1068 1068 (% style="color:blue" %)**AT Command: AT+PAYVER** 1069 1069 1070 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:437px" %)1071 -|=(% 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**1072 -|(% 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|((( 1073 1073 1 1074 1074 OK 1075 1075 ))) 1076 -|(% 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 1077 1077 1078 1078 (% style="color:blue" %)**Downlink Command: 0xAE** 1079 1079 ... ... @@ -1083,15 +1083,76 @@ 1083 1083 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1084 1084 1085 1085 1083 += 4. Battery & how to replace = 1086 1086 1087 -= 4. Battery & PowerConsumption=1085 +== 4.1 Battery Type == 1088 1088 1089 1089 1090 -SDI-12-LB usesER26500+SPC1520batteryk.See belowlink fordetail informationaboutthe battery infoandhowto replace.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. 1091 1091 1092 -[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 1093 1093 1091 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 1094 1094 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 + 1095 1095 = 5. Remote Configure device = 1096 1096 1097 1097 == 5.1 Connect via BLE == ... ... @@ -1172,7 +1172,6 @@ 1172 1172 * Weight / pcs : g 1173 1173 1174 1174 1175 - 1176 1176 = 10. Support = 1177 1177 1178 1178