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 104.1
edited by Mengting Qiu
on 2024/08/23 16:54
on 2024/08/23 16:54
Change comment:
Uploaded new attachment "image-20240823165402-1.jpeg", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 7 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 ... ... @@ -71,8 +71,7 @@ 71 71 * Support wireless OTA update firmware 72 72 * Uplink on periodically 73 73 * Downlink to change configure 74 -* 8500mAh Li/SOCl2 Battery (SDI-12-LB) 75 -* Solar panel + 3000mAh Li-on battery (SDI-12-LS) 74 +* 8500mAh Battery for long term use 76 76 77 77 == 1.3 Specification == 78 78 ... ... @@ -85,7 +85,7 @@ 85 85 86 86 (% style="color:#037691" %)**Common DC Characteristics:** 87 87 88 -* Supply Voltage: Built-in Battery,2.5v ~~ 3.6v87 +* Supply Voltage: 2.5v ~~ 3.6v 89 89 * Support current: 5V 300mA, 12V 100mA 90 90 * Operating Temperature: -40 ~~ 85°C 91 91 ... ... @@ -138,10 +138,11 @@ 138 138 == 1.6 Button & LEDs == 139 139 140 140 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"]]140 +[[image:1675212633011-651.png||_mstalt="291538"]] 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: 226px;background-color:#4F81BD;color:white" %)**Action** 142 + 143 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 144 +|=(% 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** 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 ... ... @@ -162,7 +162,7 @@ 162 162 == 1.8 BLE connection == 163 163 164 164 165 -SDI-12-LB /LSsupport BLE remote configure.165 +SDI-12-LB support BLE remote configure. 166 166 167 167 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case: 168 168 ... ... @@ -175,9 +175,7 @@ 175 175 176 176 == 1.9 Mechanical == 177 177 178 -=== 1.9.1 for LB version === 179 179 180 - 181 181 [[image:image-20230201090139-2.png||_mstalt="428623"]] 182 182 183 183 [[image:image-20230201090139-3.png||_mstalt="428987"]] ... ... @@ -185,18 +185,12 @@ 185 185 [[image:image-20230201090139-4.png||_mstalt="429351"]] 186 186 187 187 188 -=== 1.9.2 for LS version === 189 - 190 - 191 -[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20231231203439-3.png?width=886&height=385&rev=1.1||alt="image-20231231203439-3.png"]] 192 - 193 - 194 194 = 2. Configure SDI-12 to connect to LoRaWAN network = 195 195 196 196 == 2.1 How it works == 197 197 198 198 199 -The SDI-12-LB /LSis configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and activate the SDI-12-LB/LS. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.191 +The SDI-12-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and activate the SDI-12-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 200 200 201 201 202 202 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == ... ... @@ -205,15 +205,15 @@ 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"]]200 +[[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. 212 212 213 213 214 -(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from SDI-12-LB /LS.206 +(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from SDI-12-LB. 215 215 216 -Each SDI-12-LB /LSis shipped with a sticker with the default device EUI as below:208 +Each SDI-12-LB is shipped with a sticker with the default device EUI as below: 217 217 218 218 [[image:image-20230426084456-1.png||height="241" width="519"]] 219 219 ... ... @@ -243,10 +243,10 @@ 243 243 [[image:1675213686734-883.png||_mstalt="298064"]] 244 244 245 245 246 -(% style="color:blue" %)**Step 2**(%%): Activate on SDI-12-LB /LS238 +(% style="color:blue" %)**Step 2**(%%): Activate on SDI-12-LB 247 247 248 248 249 -Press the button for 5 seconds to activate the SDI-12-LB /LS.241 +Press the button for 5 seconds to activate the SDI-12-LB. 250 250 251 251 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode** (%%)for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 252 252 ... ... @@ -257,7 +257,7 @@ 257 257 == 2.3 SDI-12 Related Commands == 258 258 259 259 260 -User need to configure SDI-12-LB /LSto communicate with SDI-12 sensors otherwise the uplink payload will only include a few bytes.252 +User need to configure SDI-12-LB to communicate with SDI-12 sensors otherwise the uplink payload will only include a few bytes. 261 261 262 262 263 263 === 2.3.1 Basic SDI-12 debug command === ... ... @@ -265,7 +265,7 @@ 265 265 266 266 User can run some basic SDI-12 command to debug the connection to the SDI-12 sensor. These commands can be sent via AT Command or LoRaWAN downlink command. 267 267 268 -If SDI-12 sensor return value after get these commands, //SDI-12-LB/ LS//will uplink the return on FPORT=100, otherwise, if there is no response from SDI-12 sensor. //SDI-12-LB/LS//will uplink NULL (0x 4E 55 4C 4C) to server.260 +If SDI-12 sensor return value after get these commands, //SDI-12-LB// will uplink the return on FPORT=100, otherwise, if there is no response from SDI-12 sensor. //SDI-12-LB// will uplink NULL (0x 4E 55 4C 4C) to server. 269 269 270 270 The following is the display information on the serial port and the server. 271 271 ... ... @@ -483,7 +483,7 @@ 483 483 484 484 AT+COMMANDx & AT+DATACUTx 485 485 486 -User can define max 15 SDI-12 Commands (AT+COMMAND1 ~~ AT+COMMANDF). On each uplink period (TDC time, default 20 minutes), SDI-12-LB /LSwill send these SDI-12 commands and wait for return from SDI-12 sensors. SDI-12-LB/LSwill then combine these returns and uplink via LoRaWAN.478 +User can define max 15 SDI-12 Commands (AT+COMMAND1 ~~ AT+COMMANDF). On each uplink period (TDC time, default 20 minutes), SDI-12-LB will send these SDI-12 commands and wait for return from SDI-12 sensors. SDI-12-LB will then combine these returns and uplink via LoRaWAN. 487 487 488 488 489 489 * (% style="color:blue" %)**AT Command:** ... ... @@ -496,7 +496,7 @@ 496 496 497 497 (% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//. 498 498 499 -(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB /LSwill resend this command. Max 3 retries.491 +(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 3 retries. 500 500 501 501 (% style="color:red" %)**0 **(%%) No validation check; 502 502 ... ... @@ -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: 346px;background-color:#4F81BD;color:white" %)**Final Result to combine Payload**521 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 522 +|=(% style="width: 164px;background-color:#D9E2F3;color:#0070C0" %)**AT+DATACUT1 value**|=(% style="width: 344px;background-color:#D9E2F3;color:#0070C0" %)**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 ... ... @@ -548,7 +548,7 @@ 548 548 * (% style="color:#037691" %)**NN **(%%): 1: set the AT+COMMAND value ; 2: set the AT+DATACUT value. 549 549 * (% style="color:#037691" %)**LL **(%%): The length of AT+COMMAND or AT+DATACUT command 550 550 * (% style="color:#037691" %)**XX XX XX XX **(%%): AT+COMMAND or AT+DATACUT command 551 -* (% style="color:#037691" %)**YY **(%%): If YY=0, SDI-12-LB /LSwill execute the downlink command without uplink; if YY=1, SDI-12-LB/LSwill execute an uplink after got this command.543 +* (% style="color:#037691" %)**YY **(%%): If YY=0, SDI-12-LB will execute the downlink command without uplink; if YY=1, SDI-12-LB will execute an uplink after got this command. 552 552 553 553 (% style="color:blue" %)**Example:** 554 554 ... ... @@ -569,7 +569,7 @@ 569 569 Etc. AT+CMDEAR=1,10 means erase AT+COMMAND1/AT+DATACUT1 to AT+COMMAND10/AT+DATACUT10 570 570 571 571 572 -* (% style="color:#037691" %)**Downlink Payload:** 564 +* (% style="color:#037691" %)** Downlink Payload:** 573 573 574 574 (% style="color:#4f81bd" %)**0x09 aa bb**(%%) same as AT+CMDEAR=aa,bb 575 575 ... ... @@ -596,6 +596,7 @@ 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 591 + 599 599 (% style="color:blue" %)**Compose Uplink** 600 600 601 601 (% style="color:#4f81bd" %)**AT+DATAUP=0** ... ... @@ -642,12 +642,12 @@ 642 642 === 2.4.1 Device Payload, FPORT~=5 === 643 643 644 644 645 -Include device configure status. Once SDI-12-LB /LSJoined the network, it will uplink this message to the server.638 +Include device configure status. Once SDI-12-LB Joined the network, it will uplink this message to the server. 646 646 647 -Users can also use the downlink command(0x26 01) to ask SDI-12-LB /LSto resend this uplink.640 +Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink. 648 648 649 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)650 -|(% colspan="6" style="background-color:# 4f81bd; color:white" %)**Device Status (FPORT=5)**642 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 643 +|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 651 651 |(% 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** 652 652 |(% 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 653 653 ... ... @@ -656,7 +656,7 @@ 656 656 [[image:1675215946738-635.png||_mstalt="297778"]] 657 657 658 658 659 -(% style="color:#037691" %)**Sensor Model**(%%): For SDI-12-LB /LS, this value is 0x17652 +(% style="color:#037691" %)**Sensor Model**(%%): For SDI-12-LB, this value is 0x17 660 660 661 661 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 662 662 ... ... @@ -718,10 +718,10 @@ 718 718 719 719 * Periodically Uplink: FPORT=2 720 720 721 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:500px" %)722 -|=(% style="width: 90px;background-color:# 4F81BD;color:white" %)(((714 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 715 +|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)((( 723 723 **Size(bytes)** 724 -)))|=(% 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**717 +)))|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 240px;background-color:#D9E2F3;color:#0070C0" %)**Length depends on the return from the commands** 725 725 |(% style="width:93px" %)Value|(% style="width:83px" %)((( 726 726 Battery(mV) 727 727 & ... ... @@ -737,7 +737,7 @@ 737 737 === 2.4.3 Battery Info === 738 738 739 739 740 -Check the battery voltage for SDI-12-LB /LS.733 +Check the battery voltage for SDI-12-LB. 741 741 742 742 Ex1: 0x0B45 = 2885mV 743 743 ... ... @@ -772,13 +772,13 @@ 772 772 773 773 There is no fix payload decoder in LoRaWAN server because the SDI-12 sensors returns are different. User need to write the decoder themselves for their case. 774 774 775 -SDI-12-LB /LSTTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]768 +SDI-12-LB TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]] 776 776 777 777 778 778 == 2.5 Uplink Interval == 779 779 780 780 781 -The SDI-12-LB /LSby default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link:774 +The SDI-12-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: 782 782 783 783 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval]] 784 784 ... ... @@ -788,7 +788,7 @@ 788 788 === 2.6.1 Examples 1 ~-~- General Example === 789 789 790 790 791 -COM port and SDI-12 sensor communication converted to SDI-12-LB /LSand SDI-12 sensor communication.784 +COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication. 792 792 793 793 [[image:image-20230222143809-1.png||_mstalt="429962" height="564" width="729"]] 794 794 ... ... @@ -828,27 +828,27 @@ 828 828 (% style="color:#037691" %)**AT+COMMANDx=4M!,1,1,1** 829 829 830 830 831 -(% style="color:blue" %)**2) The AT+DATACUTx command is applied to the green arrow part, receiving and cut out data from the SDI12 sensor :**824 +(% 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 832 833 833 a. The first reply, all 34 characters: ”113TRUEBNERSMT100038220303182331<CR><LF>” 834 834 835 835 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34**(% style="color:#037691" %); 836 836 837 -b. The sixth reply, all 31 characters : "1+19210+1.04+0.00+22.49+11.75<CR><LF>"830 +b. The sixth reply, all 31 characters:”1+19210+1.04+0.00+22.49+11.75<CR><LF>” 838 838 839 839 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %); 840 840 841 -c. The eighth reply, all 31 characters : "2+18990+1.08+0.00+22.24+11.80<CR><LF>"834 +c. The eighth reply, all 31 characters:”2+18990+1.08+0.00+22.24+11.80<CR><LF>” 842 842 843 843 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %); 844 844 845 -d. The tenth reply, all 15 characters : "3-2919.8+24.0<CR><LF>"838 +d. The tenth reply, all 15 characters:”3-2919.8+24.0<CR><LF>” 846 846 847 847 Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=15,2,1~~15**(% style="color:#037691" %); 848 848 849 -e. The twelfth reply, all 25 characters : "4+30.8+22.84+4.7+954.38<CR><LF>"842 +e. The twelfth reply, all 25 characters:”4+30.8+22.84+4.7+954.38<CR><LF>” 850 850 851 -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"**.844 +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 852 853 853 854 854 === 2.6.2 Example 2 ~-~- Connect to Hygrovue10 === ... ... @@ -873,13 +873,13 @@ 873 873 [[image:image-20230603120209-2.png||height="281" width="267"]] 874 874 875 875 876 -==== 2.6.2.2 Hardware Connection to SDI-12-LB /LS====869 +==== 2.6.2.2 Hardware Connection to SDI-12-LB ==== 877 877 878 878 879 879 [[image:image-20230603120515-3.png]] 880 880 881 881 882 -==== 2.6.2.3 Commands set in SDI-12-LB /LSand uplink payload ====875 +==== 2.6.2.3 Commands set in SDI-12-LB and uplink payload ==== 883 883 884 884 885 885 [[image:image-20230603120648-4.png]] ... ... @@ -914,13 +914,13 @@ 914 914 [[image:image-20230603121606-7.png||height="242" width="307"]] 915 915 916 916 917 -==== 2.6.3.2 Hardware Connection to SDI-12-LB /LS====910 +==== 2.6.3.2 Hardware Connection to SDI-12-LB ==== 918 918 919 919 920 920 [[image:image-20230603121643-8.png||height="442" width="656"]] 921 921 922 922 923 -==== 2.6.3.3 Commands set in SDI-12-LB /LSand uplink payload ====916 +==== 2.6.3.3 Commands set in SDI-12-LB and uplink payload ==== 924 924 925 925 926 926 [[image:image-20230603121721-9.png]] ... ... @@ -932,6 +932,7 @@ 932 932 [[image:image-20230603121826-11.png||height="155" width="1104"]] 933 933 934 934 928 + 935 935 === 2.6.4 Example 4 ~-~- Connect to TEROS-12 === 936 936 937 937 ==== 2.6.4.1 Reference Manual and Command ==== ... ... @@ -954,13 +954,13 @@ 954 954 [[image:image-20230603122248-16.png||height="196" width="198"]] 955 955 956 956 957 -==== 2.6.4.2 Hardware Connection to SDI-12-LB /LS====951 +==== 2.6.4.2 Hardware Connection to SDI-12-LB ==== 958 958 959 959 960 960 [[image:image-20230603122212-15.png||height="502" width="667"]] 961 961 962 962 963 -==== 2.6.4.3 Commands set in SDI-12-LB /LSand uplink payload ====957 +==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ==== 964 964 965 965 966 966 [[image:image-20230603122040-12.png]] ... ... @@ -984,15 +984,15 @@ 984 984 985 985 * The sensor needs to be powered to a steady statue. So the 12VT time need to be set to the maximum stable time for the sensors. in this example, it is 13 seconds. 986 986 987 -* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB /LS.981 +* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB. 988 988 989 -==== 2.6.5.2 Hardware Connection to SDI-12-LB /LS====983 +==== 2.6.5.2 Hardware Connection to SDI-12-LB ==== 990 990 991 991 992 992 [[image:image-20230603122508-17.png||height="526" width="742"]] 993 993 994 994 995 -==== 2.6.5.3 Commands set in SDI-12-LB /LSand uplink payload ====989 +==== 2.6.5.3 Commands set in SDI-12-LB and uplink payload ==== 996 996 997 997 998 998 [[image:image-20230603122549-18.png]] ... ... @@ -1028,15 +1028,16 @@ 1028 1028 [[image:image-20230627174559-3.png]] 1029 1029 1030 1030 1031 -==== 2.6.6.2 Hardware Connection to SDI-12-LB /LS====1025 +==== 2.6.6.2 Hardware Connection to SDI-12-LB ==== 1032 1032 1033 1033 1034 1034 [[image:image-20230627174446-2.png]] 1035 1035 1036 1036 1037 -==== 2.6.6.3 Commands set in SDI-12-LB/LS and uplink payload ==== 1038 1038 1032 +==== 2.6.6.3 Commands set in SDI-12-LB and uplink payload ==== 1039 1039 1034 + 1040 1040 [[image:image-20230627175513-4.png||height="596" width="576"]] 1041 1041 1042 1042 [[image:image-20230627175736-5.png||height="429" width="693"]] ... ... @@ -1047,49 +1047,10 @@ 1047 1047 [[image:image-20230627180303-6.png||height="292" width="1171"]] 1048 1048 1049 1049 1050 -=== 2.6.7 Example 6 ~-~- Connect to GroPoint Profile-8 (SDI-12 Version) === 1051 - 1052 -==== 2.6.7.1 Reference Manual and Command ==== 1053 - 1054 - 1055 -* [[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]] 1056 - 1057 -* Commands to be used in PC and output. 1058 - 1059 -1. check device address 1060 -1. change device address 1061 -1. check device ID 1062 -1. start measure 1063 -1. Get Meausre result 1064 - 1065 -[[image:image-20240423143921-1.png]] 1066 - 1067 - 1068 -==== 2.6.7.2 Hardware Connection to SDI-12-LB/LS ==== 1069 - 1070 - 1071 -(% 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.)** 1072 - 1073 -[[image:image-20240423145522-2.png||height="345" width="400"]] 1074 - 1075 - 1076 -==== 2.6.7.3 Commands set in SDI-12-LB/LS and uplink payload ==== 1077 - 1078 -[[image:image-20240423151202-3.png]] 1079 - 1080 -(% class="wikigeneratedid" id="H" %) 1081 -[[image:image-20240423162851-6.png||height="251" width="935"]] 1082 - 1083 - 1084 -DATA in TTN: 1085 - 1086 -[[image:image-20240423162322-4.png||height="269" width="933"]] 1087 - 1088 - 1089 1089 == 2.7 Frequency Plans == 1090 1090 1091 1091 1092 -The SDI-12-LB /LSuses OTAA mode and below frequency plans by default.Eachfrequencybanduse different firmware,userupdatethefirmwareto the corresponding bandfor theircountry.1048 +The SDI-12-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 1093 1093 1094 1094 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 1095 1095 ... ... @@ -1102,15 +1102,15 @@ 1102 1102 [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]] 1103 1103 1104 1104 1105 -= 3. Configure SDI-12-LB /LSvia AT Command or LoRaWAN Downlink =1061 += 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink = 1106 1106 1107 1107 1108 -Use can configure SDI-12-LB /LSvia AT Command or LoRaWAN Downlink.1064 +Use can configure SDI-12-LB via AT Command or LoRaWAN Downlink. 1109 1109 1110 1110 * AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]]. 1111 1111 * LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 1112 1112 1113 -There are two kinds of commands to configure SDI-12-LB /LS, they are:1069 +There are two kinds of commands to configure SDI-12-LB, they are: 1114 1114 1115 1115 * (% style="color:blue" %)**General Commands**. 1116 1116 ... ... @@ -1124,9 +1124,9 @@ 1124 1124 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 1125 1125 1126 1126 1127 -* (% style="color:blue" %)**Commands special design for SDI-12-LB /LS**1083 +* (% style="color:blue" %)**Commands special design for SDI-12-LB** 1128 1128 1129 -These commands only valid for SDI-12-LB /LS, as below:1085 +These commands only valid for SDI-12-LB, as below: 1130 1130 1131 1131 1132 1132 == 3.1 Set Transmit Interval Time == ... ... @@ -1136,8 +1136,8 @@ 1136 1136 1137 1137 (% style="color:blue" %)**AT Command: AT+TDC** 1138 1138 1139 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)1140 -|=(% 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**1095 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1096 +|=(% 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** 1141 1141 |(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)((( 1142 1142 30000 1143 1143 OK ... ... @@ -1164,8 +1164,8 @@ 1164 1164 1165 1165 (% style="color:blue" %)**AT Command: AT+INTMOD** 1166 1166 1167 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)1168 -|=(% 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**1123 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1124 +|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 160px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1169 1169 |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)((( 1170 1170 0 1171 1171 OK ... ... @@ -1195,8 +1195,8 @@ 1195 1195 1196 1196 (% style="color:blue" %)**AT Command: AT+3V3T** 1197 1197 1198 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:474px" %)1199 -|=(% 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**1154 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %) 1155 +|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 201px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1200 1200 |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)((( 1201 1201 0 1202 1202 OK ... ... @@ -1215,7 +1215,7 @@ 1215 1215 (% style="color:blue" %)**AT Command: AT+5VT** 1216 1216 1217 1217 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %) 1218 -|=(% style="width: 155px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 196px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 119px;background-color:#4F81BD;color:white" %)**Response**1174 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 119px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1219 1219 |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)((( 1220 1220 0 1221 1221 OK ... ... @@ -1236,7 +1236,7 @@ 1236 1236 (% style="color:blue" %)**(The v1.2 version is enabled for 1 second by default, and the version below v1.2 is disabled by default)** 1237 1237 1238 1238 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %) 1239 -|=(% style="width: 156px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 199px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 89px;background-color:#4F81BD;color:white" %)**Response**1195 +|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 199px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 89px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1240 1240 |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)((( 1241 1241 0 1242 1242 OK ... ... @@ -1266,8 +1266,8 @@ 1266 1266 1267 1267 (% style="color:blue" %)**AT Command: AT+ALLDATAMOD** 1268 1268 1269 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:437px" %)1270 -|=(% style="background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response**1225 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %) 1226 +|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response** 1271 1271 |(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)((( 1272 1272 0 1273 1273 OK ... ... @@ -1288,8 +1288,8 @@ 1288 1288 1289 1289 (% style="color:blue" %)**AT Command: AT+DATAUP** 1290 1290 1291 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)1292 -|=(% 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**1247 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1248 +|=(% 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** 1293 1293 |(% 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" %)((( 1294 1294 0 1295 1295 OK ... ... @@ -1322,8 +1322,8 @@ 1322 1322 1323 1323 (% style="color:blue" %)**AT Command: AT+PAYVER** 1324 1324 1325 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:437px" %)1326 -|=(% 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**1281 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %) 1282 +|=(% 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** 1327 1327 |(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2; width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)((( 1328 1328 1 1329 1329 OK ... ... @@ -1340,7 +1340,7 @@ 1340 1340 = 4. Battery & Power Consumption = 1341 1341 1342 1342 1343 -SDI-12-LB use ER26500 + SPC1520 battery pack and SDI-12-LS use 3000mAh Recharable Battery with Solar Panel. See below link for detail information about the battery info and how to replace.1299 +SDI-12-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1344 1344 1345 1345 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 1346 1346 ... ... @@ -1386,35 +1386,11 @@ 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 - 1392 -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. 1393 - 1394 -Please refer to the following link for the number of bytes limited by different frequencies and different DRs in the lorawan protocol 1395 - 1396 -[[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]] 1397 - 1398 -Example: 1399 - 1400 -[[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"]] 1401 - 1402 -Please refer to the following command to fix DR 1403 - 1404 -AT+ADR=0 1405 - 1406 -AT+DR=3 1407 - 1408 -Downlink command: 1409 - 1410 -[[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]] 1411 - 1412 - 1413 1413 = 8. Order Info = 1414 1414 1415 1415 1416 1416 ((( 1417 - **Part Number:(% style="color:blue" %)SDI-12-LB-XX-YY(%%) or(% style="color:blue"%)SDI-12-LS-XX-YY(%%)**1349 +(% style="color:blue" %)**Part Number: SDI-12-LB-XX-YY** 1418 1418 ))) 1419 1419 1420 1420 ((( ... ... @@ -1442,7 +1442,7 @@ 1442 1442 1443 1443 (% style="color:#037691" %)**Package Includes**: 1444 1444 1445 -* SDI-12-LB orSDI-12-LSSDI-12to LoRaWAN Converter x 11377 +* SDI-12-LB SDI-12 to LoRaWAN Converter x 1 1446 1446 1447 1447 (% style="color:#037691" %)**Dimension and weight**: 1448 1448
- 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