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 106.1
edited by Mengting Qiu
on 2024/08/23 16:55
on 2024/08/23 16:55
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 8 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 ... ... @@ -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 ... ... @@ -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 42" width="1056"]]208 +[[image:image-20230201090528-5.png||_mstalt="430300" height="465" width="1111"]] 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,16 +259,7 @@ 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: 263 263 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 - 272 272 === 2.3.1 Basic SDI-12 debug command === 273 273 274 274 ... ... @@ -536,7 +536,7 @@ 536 536 537 537 538 538 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 539 -|=(% 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**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** 540 540 |(% style="background-color:#f2f2f2; width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33 541 541 |(% 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 542 542 |(% 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 ... ... @@ -605,6 +605,7 @@ 605 605 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. 606 606 607 607 599 + 608 608 (% style="color:blue" %)**Compose Uplink** 609 609 610 610 (% style="color:#4f81bd" %)**AT+DATAUP=0** ... ... @@ -837,27 +837,27 @@ 837 837 (% style="color:#037691" %)**AT+COMMANDx=4M!,1,1,1** 838 838 839 839 840 -(% 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:** 841 841 842 842 a. The first reply, all 34 characters: ”113TRUEBNERSMT100038220303182331<CR><LF>” 843 843 844 844 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34**(% style="color:#037691" %); 845 845 846 -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>” 847 847 848 848 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %); 849 849 850 -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>” 851 851 852 852 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %); 853 853 854 -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>” 855 855 856 856 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=15,2,1~~15**(% style="color:#037691" %); 857 857 858 -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>” 859 859 860 -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”**. 861 861 862 862 863 863 === 2.6.2 Example 2 ~-~- Connect to Hygrovue10 === ... ... @@ -941,6 +941,7 @@ 941 941 [[image:image-20230603121826-11.png||height="155" width="1104"]] 942 942 943 943 936 + 944 944 === 2.6.4 Example 4 ~-~- Connect to TEROS-12 === 945 945 946 946 ==== 2.6.4.1 Reference Manual and Command ==== ... ... @@ -1043,6 +1043,7 @@ 1043 1043 [[image:image-20230627174446-2.png]] 1044 1044 1045 1045 1039 + 1046 1046 ==== 2.6.6.3 Commands set in SDI-12-LB/LS and uplink payload ==== 1047 1047 1048 1048 ... ... @@ -1056,45 +1056,6 @@ 1056 1056 [[image:image-20230627180303-6.png||height="292" width="1171"]] 1057 1057 1058 1058 1059 -=== 2.6.7 Example 6 ~-~- Connect to GroPoint Profile-8 (SDI-12 Version) === 1060 - 1061 -==== 2.6.7.1 Reference Manual and Command ==== 1062 - 1063 - 1064 -* [[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]] 1065 - 1066 -* Commands to be used in PC and output. 1067 - 1068 -1. check device address 1069 -1. change device address 1070 -1. check device ID 1071 -1. start measure 1072 -1. Get Meausre result 1073 - 1074 -[[image:image-20240423143921-1.png]] 1075 - 1076 - 1077 -==== 2.6.7.2 Hardware Connection to SDI-12-LB/LS ==== 1078 - 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 - 1082 -[[image:image-20240423145522-2.png||height="345" width="400"]] 1083 - 1084 - 1085 -==== 2.6.7.3 Commands set in SDI-12-LB/LS and uplink payload ==== 1086 - 1087 -[[image:image-20240423151202-3.png]] 1088 - 1089 -(% class="wikigeneratedid" id="H" %) 1090 -[[image:image-20240423162851-6.png||height="251" width="935"]] 1091 - 1092 - 1093 -DATA in TTN: 1094 - 1095 -[[image:image-20240423162322-4.png||height="269" width="933"]] 1096 - 1097 - 1098 1098 == 2.7 Frequency Plans == 1099 1099 1100 1100 ... ... @@ -1395,30 +1395,6 @@ 1395 1395 When downloading the images, choose the required image file for download. 1396 1396 1397 1397 1398 -== 7.4 Why is the data uploaded to the LoRaWAN platform node empty and fProt~=0? == 1399 - 1400 - 1401 -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. 1402 - 1403 -Please refer to the following link for the number of bytes limited by different frequencies and different DRs in the lorawan protocol 1404 - 1405 -[[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]] 1406 - 1407 -Example: 1408 - 1409 -[[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"]] 1410 - 1411 -Please refer to the following command to fix DR 1412 - 1413 -AT+ADR=0 1414 - 1415 -AT+DR=3 1416 - 1417 -Downlink command: 1418 - 1419 -[[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]] 1420 - 1421 - 1422 1422 = 8. Order Info = 1423 1423 1424 1424
- 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
- image-20240823165402-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -580.7 KB - Content
- image-20240823165526-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.ting - Size
-
... ... @@ -1,1 +1,0 @@ 1 -63.0 KB - Content