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
-
... ... @@ -66,6 +66,7 @@ 66 66 * 8500mAh Battery for long term use 67 67 68 68 69 + 69 69 == 1.3 Specification == 70 70 71 71 ... ... @@ -115,6 +115,7 @@ 115 115 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 116 116 117 117 119 + 118 118 == 1.4 Connect to SDI-12 Sensor == 119 119 120 120 ... ... @@ -150,6 +150,7 @@ 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 152 155 + 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**489 +|(% style="background-color:#f2f2f2; width:433px" %)((( 490 +(% 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 0A504 +|(% 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 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" %)695 +(% 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 ... ... @@ -895,6 +895,7 @@ 895 895 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 896 896 897 897 900 + 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. ... ... @@ -928,6 +928,7 @@ 928 928 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 929 929 930 930 933 + 931 931 == 3.3 Set the output time == 932 932 933 933 ... ... @@ -935,52 +935,54 @@ 935 935 936 936 (% style="color:blue" %)**AT Command: AT+3V3T** 937 937 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" %)((( 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" %)((( 941 941 0 942 942 OK 943 943 ))) 944 -|(% style="width:154px" %)AT+3V3T=0|(% style="width:201px" %)Normally open 3V3 power supply.|(% style="width:116px" %)((( 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" %)((( 945 945 OK 946 946 default setting 947 947 ))) 948 -|(% style="width:154px" %)AT+3V3T=1000|(% style="width:201px" %)Close after a delay of 1000 milliseconds.|(% style="width:116px" %)((( 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" %)((( 949 949 OK 950 950 ))) 951 -|(% style="width:154px" %)AT+3V3T=65535|(% style="width:201px" %)Normally closed 3V3 power supply.|(% style="width:116px" %)((( 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" %)((( 952 952 OK 953 953 ))) 954 954 958 + 955 955 (% style="color:blue" %)**AT Command: AT+5VT** 956 956 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" %)((( 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" %)((( 960 960 0 961 961 OK 962 962 ))) 963 -|(% style="width:155px" %)AT+5VT=0|(% style="width:196px" %)Normally closed 5V power supply.|(% style="width:114px" %)((( 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" %)((( 964 964 OK 965 965 default setting 966 966 ))) 967 -|(% style="width:155px" %)AT+5VT=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:114px" %)((( 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" %)((( 968 968 OK 969 969 ))) 970 -|(% style="width:155px" %)AT+5VT=65535|(% style="width:196px" %)Normally open 5V power supply.|(% style="width:114px" %)((( 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" %)((( 971 971 OK 972 972 ))) 973 973 978 + 974 974 (% style="color:blue" %)**AT Command: AT+12VT** 975 975 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" %)((( 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" %)((( 979 979 0 980 980 OK 981 981 ))) 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" %)((( 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" %)((( 984 984 OK 985 985 ))) 986 986 ... ... @@ -998,6 +998,7 @@ 998 998 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 999 999 1000 1000 1006 + 1001 1001 == 3.4 Set the all data mode == 1002 1002 1003 1003 ... ... @@ -1005,13 +1005,13 @@ 1005 1005 1006 1006 (% style="color:blue" %)**AT Command: AT+ALLDATAMOD** 1007 1007 1008 -(% border="1" cellspacing="4" style=" background-color:#f7faff;width:437px" %)1009 -|=**Command Example**|=**Function**|=**Response** 1010 -|AT+ALLDATAMOD=?|Show current all data mode|((( 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" %)((( 1011 1011 0 1012 1012 OK 1013 1013 ))) 1014 -|AT+ALLDATAMOD=1|Set all data mode is 1.|OK 1020 +|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=1|(% style="background-color:#f2f2f2" %)Set all data mode is 1.|(% style="background-color:#f2f2f2" %)OK 1015 1015 1016 1016 (% style="color:blue" %)**Downlink Command: 0xAB** 1017 1017 ... ... @@ -1021,6 +1021,7 @@ 1021 1021 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1022 1022 1023 1023 1030 + 1024 1024 == 3.5 Set the splicing payload for uplink == 1025 1025 1026 1026 ... ... @@ -1028,21 +1028,21 @@ 1028 1028 1029 1029 (% style="color:blue" %)**AT Command: AT+DATAUP** 1030 1030 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|((( 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" %)((( 1034 1034 0 1035 1035 OK 1036 1036 ))) 1037 -|(% style="width:154px" %)AT+DATAUP =0|(% style="width:266px" %)((( 1044 +|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =0|(% style="background-color:#f2f2f2; width:266px" %)((( 1038 1038 Set splicing payload for uplink mode is 0. 1039 -)))|((( 1046 +)))|(% style="background-color:#f2f2f2" %)((( 1040 1040 OK 1041 1041 ))) 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" %)((( 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" %)((( 1044 1044 Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds. 1045 -)))|OK 1052 +)))|(% style="background-color:#f2f2f2" %)OK 1046 1046 1047 1047 (% style="color:blue" %)**Downlink Command: 0xAD** 1048 1048 ... ... @@ -1062,13 +1062,13 @@ 1062 1062 1063 1063 (% style="color:blue" %)**AT Command: AT+PAYVER** 1064 1064 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|((( 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" %)((( 1068 1068 1 1069 1069 OK 1070 1070 ))) 1071 -|(% style="width:158px" %)AT+PAYVER=5|(% style="width:192px" %)Set payload version is 5.|OK 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 1072 1072 1073 1073 (% style="color:blue" %)**Downlink Command: 0xAE** 1074 1074 ... ... @@ -1078,76 +1078,15 @@ 1078 1078 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1079 1079 1080 1080 1081 -= 4. Battery & how to replace = 1082 1082 1083 -= =4.1BatteryType ==1089 += 4. Battery & Power Consumption = 1084 1084 1085 1085 1086 -SDI-12-LB isquippedwith a [[8500mAHER26500Li-SOCI2 battery>>https://www.dropbox.com/sh/w9l2oa3ytpculph/AAAPtt-apH4lYfCj-2Y6lHvQa?dl=0]].Thebatteryis un-rechargeablebattery withlowdischargeratetargetingfor8~~10 yearsuse.Thistypeofbattery is commonlyusedin IoTtarget forlong-term running, suchas water meter.1092 +SDI-12-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1087 1087 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/]] . 1088 1088 1089 -The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 1090 1090 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 - 1151 1151 = 5. Remote Configure device = 1152 1152 1153 1153 == 5.1 Connect via BLE == ... ... @@ -1228,6 +1228,7 @@ 1228 1228 * Weight / pcs : g 1229 1229 1230 1230 1177 + 1231 1231 = 10. Support = 1232 1232 1233 1233