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 (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 12 added, 0 removed)
- image-20240823165402-1.jpeg
- image-20240823165526-2.png
- image-20240903152517-1.png
- image-20240903152627-2.png
- image-20240903152650-3.png
- image-20240903152742-4.jpeg
- image-20240903153004-5.png
- image-20240903153258-6.png
- image-20240903153627-7.png
- image-20240903153727-8.png
- image-20240903153854-9.png
- image-20240903154020-10.png
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. kai1 +XWiki.Xiaoling - Content
-
... ... @@ -47,7 +47,7 @@ 47 47 ))) 48 48 49 49 ((( 50 -SDI-12-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%) or (% style="color:blue" %)**solar powered + li-on battery**(%%) it is designed for long term use up to 5 years.50 +SDI-12-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%) or (% style="color:blue" %)**solar powered + Li-ion battery**(%%) it is designed for long term use up to 5 years. 51 51 ))) 52 52 53 53 ((( ... ... @@ -72,7 +72,7 @@ 72 72 * Uplink on periodically 73 73 * Downlink to change configure 74 74 * 8500mAh Li/SOCl2 Battery (SDI-12-LB) 75 -* Solar panel + 3000mAh Li-on battery (SDI-12-LS) 75 +* Solar panel + 3000mAh Li-ion battery (SDI-12-LS) 76 76 77 77 == 1.3 Specification == 78 78 ... ... @@ -151,7 +151,7 @@ 151 151 (% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 152 152 Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device join or not join LoRaWAN network. 153 153 ))) 154 -|(% 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-NAis in Deep Sleep Mode.154 +|(% 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 SDI-12-LB/LS is in Deep Sleep Mode. 155 155 156 156 == 1.7 Pin Mapping == 157 157 ... ... @@ -205,7 +205,7 @@ 205 205 Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example. 206 206 207 207 208 -[[image:image-20230201090528-5.png||_mstalt="430300" height="4 65" width="1111"]]208 +[[image:image-20230201090528-5.png||_mstalt="430300" height="442" width="1056"]] 209 209 210 210 211 211 The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server. ... ... @@ -259,7 +259,16 @@ 259 259 260 260 User need to configure SDI-12-LB/LS to communicate with SDI-12 sensors otherwise the uplink payload will only include a few bytes. 261 261 262 +If you use UART to connect a computer, refer to the following connection methods: 262 262 264 +[[image:image-20240823165402-1.jpeg||height="488" width="678"]] 265 + 266 +Screenshot example: 267 + 268 +[[image:image-20240823165526-2.png||height="489" width="690"]] 269 + 270 + 271 + 263 263 === 2.3.1 Basic SDI-12 debug command === 264 264 265 265 ... ... @@ -596,7 +596,6 @@ 596 596 If AT+ALLDATAMOD=1, (% style="color:#4f81bd" %)**FX,X**(%%) will be added in the payload, FX specify which command is used and X specify the length of return. for example in above screen, F1 05 means the return is from AT+COMMAND1 and the return is 5 bytes. 597 597 598 598 599 - 600 600 (% style="color:blue" %)**Compose Uplink** 601 601 602 602 (% style="color:#4f81bd" %)**AT+DATAUP=0** ... ... @@ -933,7 +933,6 @@ 933 933 [[image:image-20230603121826-11.png||height="155" width="1104"]] 934 934 935 935 936 - 937 937 === 2.6.4 Example 4 ~-~- Connect to TEROS-12 === 938 938 939 939 ==== 2.6.4.1 Reference Manual and Command ==== ... ... @@ -1036,7 +1036,6 @@ 1036 1036 [[image:image-20230627174446-2.png]] 1037 1037 1038 1038 1039 - 1040 1040 ==== 2.6.6.3 Commands set in SDI-12-LB/LS and uplink payload ==== 1041 1041 1042 1042 ... ... @@ -1050,9 +1050,9 @@ 1050 1050 [[image:image-20230627180303-6.png||height="292" width="1171"]] 1051 1051 1052 1052 1053 -=== 2.6.7 Example 6~-~- Connect to GroPoint_SDI-12 ===1059 +=== 2.6.7 Example 7 ~-~- Connect to GroPoint Profile-8 (SDI-12 Version) === 1054 1054 1055 -==== 2.6.7.1Reference Manual and Command ==== 1061 +==== 2.6.7.1 Reference Manual and Command ==== 1056 1056 1057 1057 1058 1058 * [[https:~~/~~/static1.squarespace.com/static/5db0b690c4990258f8f6d042/t/64189e1ab3ebc54e6947b0c0/1679334941034/2625-N-T+GroPoint+Profile+User+Manual-V1.1.3.pdf>>https://static1.squarespace.com/static/5db0b690c4990258f8f6d042/t/64189e1ab3ebc54e6947b0c0/1679334941034/2625-N-T+GroPoint+Profile+User+Manual-V1.1.3.pdf]] ... ... @@ -1059,21 +1059,20 @@ 1059 1059 1060 1060 * Commands to be used in PC and output. 1061 1061 1062 -1.check device address 1068 +1. check device address 1069 +1. change device address 1070 +1. check device ID 1071 +1. start measure 1072 +1. Get Meausre result 1063 1063 1064 -2.change device address 1065 - 1066 -3.check device ID 1067 - 1068 -4.start measure 1069 - 1070 -5.Get Meausre result 1071 - 1072 1072 [[image:image-20240423143921-1.png]] 1073 1073 1074 1074 1075 1075 ==== 2.6.7.2 Hardware Connection to SDI-12-LB/LS ==== 1076 1076 1079 + 1080 +(% style="color:red" %)**Note: When the bytes returned by the sensor are not fixed, the full byte interception can be used: AT+ALLDATAMOD=1 (The DATACUTx parameter needs to be cleared when using this directive, or it will not work.)** 1081 + 1077 1077 [[image:image-20240423145522-2.png||height="345" width="400"]] 1078 1078 1079 1079 ... ... @@ -1090,6 +1090,46 @@ 1090 1090 [[image:image-20240423162322-4.png||height="269" width="933"]] 1091 1091 1092 1092 1098 +=== 2.6.8 Example 8 ~-~- Connect to Acclima TDR Soil Moisture Sensor === 1099 + 1100 +==== 2.6.8.1 Reference Manual and Command ==== 1101 + 1102 + 1103 +* [[Acclima TDR Soil Moisture Sensor User Manual>>url:https://acclima.com/tdr-soil-moisture-sensor-user-manual/]] 1104 + 1105 +* Commands to be used in PC and output. 1106 + 1107 +1. check device address 1108 +1. change device address 1109 +1. check device ID 1110 +1. start measure 1111 +1. Get Meausre result 1112 + 1113 +[[image:image-20240903152650-3.png]] 1114 + 1115 +[[image:image-20240903152627-2.png]] 1116 + 1117 + 1118 +==== 2.6.8.2 Hardware Connection to SDI-12-LB/LS ==== 1119 + 1120 + 1121 +(% style="color:red" %)**Note: When the bytes returned by the sensor are not fixed, the full byte interception can be used: AT+ALLDATAMOD=1 (The DATACUTx parameter needs to be cleared when using this directive, or it will not work.)** 1122 + 1123 +[[image:image-20240903153004-5.png||height="358" width="660"]] 1124 + 1125 + 1126 +==== 2.6.8.3 Commands set in SDI-12-LB/LS and uplink payload ==== 1127 + 1128 + 1129 +[[image:image-20240903153258-6.png]] 1130 + 1131 +[[image:image-20240903153627-7.png]] 1132 + 1133 +DATA in TTN: 1134 + 1135 +[[image:image-20240903154020-10.png||height="467" width="961"]] 1136 + 1137 + 1093 1093 == 2.7 Frequency Plans == 1094 1094 1095 1095 ... ... @@ -1161,6 +1161,7 @@ 1161 1161 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1162 1162 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1163 1163 1209 + 1164 1164 == 3.2 Set Interrupt Mode == 1165 1165 1166 1166 ... ... @@ -1192,6 +1192,8 @@ 1192 1192 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1193 1193 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1194 1194 1241 + 1242 + 1195 1195 == 3.3 Set the output time == 1196 1196 1197 1197 ... ... @@ -1263,6 +1263,8 @@ 1263 1263 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 1264 1264 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 1265 1265 1314 + 1315 + 1266 1266 == 3.4 Set the all data mode == 1267 1267 1268 1268 ... ... @@ -1285,6 +1285,8 @@ 1285 1285 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 1286 1286 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1287 1287 1338 + 1339 + 1288 1288 == 3.5 Set the splicing payload for uplink == 1289 1289 1290 1290 ... ... @@ -1390,6 +1390,30 @@ 1390 1390 When downloading the images, choose the required image file for download. 1391 1391 1392 1392 1445 +== 7.4 Why is the data uploaded to the LoRaWAN platform node empty and fProt~=0? == 1446 + 1447 + 1448 +This is due to The length of bytes sent by the node is limited by the lorawan protocol, and the fixed DR needs to be adjusted to improve this problem. 1449 + 1450 +Please refer to the following link for the number of bytes limited by different frequencies and different DRs in the lorawan protocol 1451 + 1452 +[[lora-alliance.org/wp-content/uploads/2021/05/RP002-1.0.3-FINAL-1.pdf>>url:https://lora-alliance.org/wp-content/uploads/2021/05/RP002-1.0.3-FINAL-1.pdf]] 1453 + 1454 +Example: 1455 + 1456 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/RS485-LN%20%E2%80%93%20RS485%20to%20LoRaWAN%20Converter/WebHome/image-20240620145456-1.png?rev=1.1||alt="image-20240620145456-1.png"]] 1457 + 1458 +Please refer to the following command to fix DR 1459 + 1460 +AT+ADR=0 1461 + 1462 +AT+DR=3 1463 + 1464 +Downlink command: 1465 + 1466 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.4DataRate>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H7.4DataRate]] 1467 + 1468 + 1393 1393 = 8. Order Info = 1394 1394 1395 1395
- image-20240823165402-1.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +580.7 KB - Content
- image-20240823165526-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.ting - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.0 KB - Content
- image-20240903152517-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +11.5 KB - Content
- image-20240903152627-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +36.2 KB - Content
- image-20240903152650-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.7 KB - Content
- image-20240903152742-4.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.2 MB - Content
- image-20240903153004-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +1.1 MB - Content
- image-20240903153258-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.4 KB - Content
- image-20240903153627-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +21.2 KB - Content
- image-20240903153727-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +102.0 KB - Content
- image-20240903153854-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +214.8 KB - Content
- image-20240903154020-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +100.9 KB - Content