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
From version 102.1
edited by Mengting Qiu
on 2024/07/31 08:53
on 2024/07/31 08:53
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 6 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Xiaoling - Content
-
... ... @@ -1,7 +1,7 @@ 1 1 2 2 3 3 (% style="text-align:center" %) 4 -[[image:image-20240103165259-3.png ||height="433" width="591"]]4 +[[image:image-20240103165259-3.png]] 5 5 6 6 7 7 ... ... @@ -140,8 +140,8 @@ 140 140 141 141 [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/RS485-LB_Waterproof_RS485UART_to_LoRaWAN_Converter/WebHome/image-20240103160425-4.png?rev=1.1||alt="image-20240103160425-4.png"]] 142 142 143 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)144 -|=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 22 6px;background-color:#4F81BD;color:white" %)**Action**143 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 144 +|=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 225px;background-color:#4F81BD;color:white" %)**Action** 145 145 |(% 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" %)((( 146 146 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 147 147 Meanwhile, BLE module will be active and user can connect via BLE to configure device. ... ... @@ -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 S DI-12-LB/LSis 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 PS-LB-NA is in Deep Sleep Mode. 155 155 156 156 == 1.7 Pin Mapping == 157 157 ... ... @@ -526,8 +526,8 @@ 526 526 For example, if return from AT+COMMAND1 is “013METER TER12 112T12-00024895<CR><LF>” , Below AT+DATACUT1 will get different result to combine payload: 527 527 528 528 529 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)530 -|=(% style="width: 164px;background-color:#4F81BD;color:white" %)**AT+DATACUT1 value**|=(% style="width: 34 6px;background-color:#4F81BD;color:white" %)**Final Result to combine Payload**529 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 530 +|=(% style="width: 164px;background-color:#4F81BD;color:white" %)**AT+DATACUT1 value**|=(% style="width: 344px;background-color:#4F81BD;color:white" %)**Final Result to combine Payload** 531 531 |(% style="background-color:#f2f2f2; width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33 532 532 |(% 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 533 533 |(% 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 ... ... @@ -647,7 +647,7 @@ 647 647 648 648 Users can also use the downlink command(0x26 01) to ask SDI-12-LB/LS to resend this uplink. 649 649 650 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)650 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 651 651 |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)** 652 652 |(% 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** 653 653 |(% 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 ... ... @@ -719,7 +719,7 @@ 719 719 720 720 * Periodically Uplink: FPORT=2 721 721 722 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:500px" %)722 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 723 723 |=(% style="width: 90px;background-color:#4F81BD;color:white" %)((( 724 724 **Size(bytes)** 725 725 )))|=(% style="width: 80px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 90px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 240px;background-color:#4F81BD;color:white" %)**Length depends on the return from the commands** ... ... @@ -829,27 +829,27 @@ 829 829 (% style="color:#037691" %)**AT+COMMANDx=4M!,1,1,1** 830 830 831 831 832 -(% style="color:blue" %)**2) The AT+DATACUTx command is applied to the green arrow part, receiving and cut out data from the SDI12 sensor :**832 +(% style="color:blue" %)**2) The AT+DATACUTx command is applied to the green arrow part, receiving and cut out data from the SDI12 sensor:** 833 833 834 834 a. The first reply, all 34 characters: ”113TRUEBNERSMT100038220303182331<CR><LF>” 835 835 836 836 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34**(% style="color:#037691" %); 837 837 838 -b. The sixth reply, all 31 characters : "1+19210+1.04+0.00+22.49+11.75<CR><LF>"838 +b. The sixth reply, all 31 characters:”1+19210+1.04+0.00+22.49+11.75<CR><LF>” 839 839 840 840 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %); 841 841 842 -c. The eighth reply, all 31 characters : "2+18990+1.08+0.00+22.24+11.80<CR><LF>"842 +c. The eighth reply, all 31 characters:”2+18990+1.08+0.00+22.24+11.80<CR><LF>” 843 843 844 844 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %); 845 845 846 -d. The tenth reply, all 15 characters : "3-2919.8+24.0<CR><LF>"846 +d. The tenth reply, all 15 characters:”3-2919.8+24.0<CR><LF>” 847 847 848 848 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=15,2,1~~15**(% style="color:#037691" %); 849 849 850 -e. The twelfth reply, all 25 characters : "4+30.8+22.84+4.7+954.38<CR><LF>"850 +e. The twelfth reply, all 25 characters:”4+30.8+22.84+4.7+954.38<CR><LF>” 851 851 852 -Partial cut, the cut sensor address and the first two parameters :(% style="color:#037691" %)**AT+DATACUTx=25,2,1~~12, cut out the character field"4+30.8+22.84"**.852 +Partial cut, the cut sensor address and the first two parameters:(% style="color:#037691" %)**AT+DATACUTx=25,2,1~~12, cut out the character field ” 4+30.8+22.84”**. 853 853 854 854 855 855 === 2.6.2 Example 2 ~-~- Connect to Hygrovue10 === ... ... @@ -1050,43 +1050,6 @@ 1050 1050 [[image:image-20230627180303-6.png||height="292" width="1171"]] 1051 1051 1052 1052 1053 -=== 2.6.7 Example 6 ~-~- Connect to GroPoint Profile-8 (SDI-12 Version) === 1054 - 1055 -==== 2.6.7.1 Reference Manual and Command ==== 1056 - 1057 -* [[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]] 1058 - 1059 -* Commands to be used in PC and output. 1060 - 1061 -1. check device address 1062 -1. change device address 1063 -1. check device ID 1064 -1. start measure 1065 -1. Get Meausre result 1066 - 1067 -[[image:image-20240423143921-1.png]] 1068 - 1069 - 1070 -==== 2.6.7.2 Hardware Connection to SDI-12-LB/LS ==== 1071 - 1072 -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.) 1073 - 1074 -[[image:image-20240423145522-2.png||height="345" width="400"]] 1075 - 1076 - 1077 -==== 2.6.7.3 Commands set in SDI-12-LB/LS and uplink payload ==== 1078 - 1079 -[[image:image-20240423151202-3.png]] 1080 - 1081 -(% class="wikigeneratedid" id="H" %) 1082 -[[image:image-20240423162851-6.png||height="251" width="935"]] 1083 - 1084 - 1085 -DATA in TTN: 1086 - 1087 -[[image:image-20240423162322-4.png||height="269" width="933"]] 1088 - 1089 - 1090 1090 == 2.7 Frequency Plans == 1091 1091 1092 1092 ... ... @@ -1137,7 +1137,7 @@ 1137 1137 1138 1138 (% style="color:blue" %)**AT Command: AT+TDC** 1139 1139 1140 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)1103 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1141 1141 |=(% style="width: 160px; background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 160px; background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 190px;background-color:#4F81BD;color:white" %)**Response** 1142 1142 |(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)((( 1143 1143 30000 ... ... @@ -1165,7 +1165,7 @@ 1165 1165 1166 1166 (% style="color:blue" %)**AT Command: AT+INTMOD** 1167 1167 1168 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)1131 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1169 1169 |=(% style="width: 154px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 196px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 160px;background-color:#4F81BD;color:white" %)**Response** 1170 1170 |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)((( 1171 1171 0 ... ... @@ -1196,7 +1196,7 @@ 1196 1196 1197 1197 (% style="color:blue" %)**AT Command: AT+3V3T** 1198 1198 1199 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:474px" %)1162 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %) 1200 1200 |=(% style="width: 154px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 201px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 120px;background-color:#4F81BD;color:white" %)**Response** 1201 1201 |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)((( 1202 1202 0 ... ... @@ -1267,7 +1267,7 @@ 1267 1267 1268 1268 (% style="color:blue" %)**AT Command: AT+ALLDATAMOD** 1269 1269 1270 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:437px" %)1233 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %) 1271 1271 |=(% style="background-color:#4F81BD;color:white" %)**Command Example**|=(% style="background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response** 1272 1272 |(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)((( 1273 1273 0 ... ... @@ -1289,7 +1289,7 @@ 1289 1289 1290 1290 (% style="color:blue" %)**AT Command: AT+DATAUP** 1291 1291 1292 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)1255 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1293 1293 |=(% style="width: 154px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 266px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response** 1294 1294 |(% 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" %)((( 1295 1295 0 ... ... @@ -1323,7 +1323,7 @@ 1323 1323 1324 1324 (% style="color:blue" %)**AT Command: AT+PAYVER** 1325 1325 1326 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:437px" %)1289 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %) 1327 1327 |=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Command Example**|=(% style="width: 192px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response** 1328 1328 |(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2; width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)((( 1329 1329 1 ... ... @@ -1382,34 +1382,11 @@ 1382 1382 1383 1383 == 7.3 How to change the LoRa Frequency Bands/Region? == 1384 1384 1348 + 1385 1385 You can follow the instructions for [[how to upgrade image>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]. 1386 1386 When downloading the images, choose the required image file for download. 1387 1387 1388 1388 1389 -== 7.4 Why is the data uploaded to the LoRaWAN platform node empty and fProt~=0? == 1390 - 1391 -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. 1392 - 1393 -Please refer to the following link for the number of bytes limited by different frequencies and different DRs in the lorawan protocol 1394 - 1395 -[[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]] 1396 - 1397 -Example: 1398 - 1399 -[[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"]] 1400 - 1401 -Please refer to the following command to fix DR 1402 - 1403 -AT+ADR=0 1404 - 1405 -AT+DR=3 1406 - 1407 -Downlink command: 1408 - 1409 -[[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]] 1410 - 1411 -= = 1412 - 1413 1413 = 8. Order Info = 1414 1414 1415 1415 ... ... @@ -1437,6 +1437,7 @@ 1437 1437 * M12: M12 hole 1438 1438 * M16: M16 hole 1439 1439 1380 + 1440 1440 = 9. Packing Info = 1441 1441 1442 1442 ... ... @@ -1451,6 +1451,7 @@ 1451 1451 * Package Size / pcs : cm 1452 1452 * Weight / pcs : g 1453 1453 1395 + 1454 1454 = 10. Support = 1455 1455 1456 1456
- image-20240423143921-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -43.8 KB - Content
- image-20240423145522-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -709.9 KB - Content
- image-20240423151202-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -45.6 KB - Content
- image-20240423162322-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -87.5 KB - Content
- image-20240423162811-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -45.6 KB - Content
- image-20240423162851-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.kai - Size
-
... ... @@ -1,1 +1,0 @@ 1 -45.6 KB - Content