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 (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 22 removed)
- image-20230222143809-1.png
- image-20230426084456-1.png
- image-20230603120127-1.png
- image-20230603120209-2.png
- image-20230603120515-3.png
- image-20230603120648-4.png
- image-20230603120726-5.png
- image-20230603120859-6.png
- image-20230603121606-7.png
- image-20230603121643-8.png
- image-20230603121721-9.png
- image-20230603121752-10.png
- image-20230603121826-11.png
- image-20230603122040-12.png
- image-20230603122109-13.png
- image-20230603122139-14.png
- image-20230603122212-15.png
- image-20230603122248-16.png
- image-20230603122508-17.png
- image-20230603122549-18.png
- image-20230603122623-19.png
- image-20230603122719-20.png
Details
- Page properties
-
- Content
-
... ... @@ -1,5 +1,5 @@ 1 1 (% style="text-align:center" %) 2 -[[image:image-20230131183542-1.jpeg|| _mstalt="470678"height="694" width="694"]]2 +[[image:image-20230131183542-1.jpeg||height="694" width="694"]] 3 3 4 4 **Table of Contents:** 5 5 ... ... @@ -47,7 +47,7 @@ 47 47 ))) 48 48 49 49 50 -[[image:image-20230201084414-1.png|| _mstalt="427765"height="464" width="1108"]]50 +[[image:image-20230201084414-1.png||height="464" width="1108"]] 51 51 52 52 53 53 == 1.2 Features == ... ... @@ -55,7 +55,7 @@ 55 55 56 56 * LoRaWAN 1.0.3 Class A 57 57 * Ultra-low power consumption 58 -* Controllable 3.3v,5v and 12v output to power external sensor58 +* Controllable 5v and 12v output to power external sensor 59 59 * SDI-12 Protocol to connect to SDI-12 Sensor 60 60 * Monitor Battery Level 61 61 * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865 ... ... @@ -79,8 +79,6 @@ 79 79 (% style="color:#037691" %)**Common DC Characteristics:** 80 80 81 81 * Supply Voltage: 2.5v ~~ 3.6v 82 -* Support current: 5V 300mA 83 - 12V 100mA 84 84 * Operating Temperature: -40 ~~ 85°C 85 85 86 86 (% style="color:#037691" %)**LoRa Spec:** ... ... @@ -121,7 +121,7 @@ 121 121 122 122 123 123 124 -[[image:1675212538524-889.png ||_mstalt="298272"]]122 +[[image:1675212538524-889.png]] 125 125 126 126 127 127 == 1.5 Sleep mode and working mode == ... ... @@ -135,21 +135,21 @@ 135 135 == 1.6 Button & LEDs == 136 136 137 137 138 -[[image:1675212633011-651.png ||_mstalt="291538"]]136 +[[image:1675212633011-651.png]] 139 139 140 140 141 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)142 -|=(% 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**143 -|(% 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" %)(((139 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 140 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 109px;" %)**Function**|=(% style="width: 231px;" %)**Action** 141 +|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:109px" %)Send an uplink|(% style="width:231px" %)((( 144 144 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 145 145 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 146 146 ))) 147 -|(% style=" background-color:#f2f2f2;width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2;width:117px" %)Active Device|(% style="background-color:#f2f2f2;width:225px" %)(((148 -(% style=" background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network.149 -(% style=" background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.145 +|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:109px" %)Active Device|(% style="width:231px" %)((( 146 +(% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. 147 +(% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 150 150 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. 151 151 ))) 152 -|(% 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.150 +|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:109px" %)Deactivate Device|(% style="width:231px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode. 153 153 154 154 155 155 ... ... @@ -156,7 +156,7 @@ 156 156 == 1.7 Pin Mapping == 157 157 158 158 159 -[[image:1675213198663-754.png ||_mstalt="297167"]]157 +[[image:1675213198663-754.png]] 160 160 161 161 162 162 == 1.8 BLE connection == ... ... @@ -176,11 +176,11 @@ 176 176 == 1.9 Mechanical == 177 177 178 178 179 -[[image:image-20230201090139-2.png ||_mstalt="428623"]]177 +[[image:image-20230201090139-2.png]] 180 180 181 -[[image:image-20230201090139-3.png ||_mstalt="428987"]]179 +[[image:image-20230201090139-3.png]] 182 182 183 -[[image:image-20230201090139-4.png ||_mstalt="429351"]]181 +[[image:image-20230201090139-4.png]] 184 184 185 185 186 186 = 2. Configure SDI-12 to connect to LoRaWAN network = ... ... @@ -197,7 +197,7 @@ 197 197 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. 198 198 199 199 200 -[[image:image-20230201090528-5.png|| _mstalt="430300"height="465" width="1111"]]198 +[[image:image-20230201090528-5.png||height="465" width="1111"]] 201 201 202 202 203 203 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. ... ... @@ -208,7 +208,7 @@ 208 208 Each SDI-12-LB is shipped with a sticker with the default device EUI as below: 209 209 210 210 211 -[[image:image-20230 426084456-1.png||height="241" width="519"]]209 +[[image:image-20230201152430-20.jpeg]] 212 212 213 213 214 214 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: ... ... @@ -216,24 +216,24 @@ 216 216 217 217 (% style="color:blue" %)**Register the device** 218 218 219 -[[image:1675213652444-622.png ||_mstalt="293657"]]217 +[[image:1675213652444-622.png]] 220 220 221 221 222 222 (% style="color:blue" %)**Add APP EUI and DEV EUI** 223 223 224 224 225 -[[image:1675213661769-223.png ||_mstalt="295217"]]223 +[[image:1675213661769-223.png]] 226 226 227 227 228 228 (% style="color:blue" %)**Add APP EUI in the application** 229 229 230 230 231 -[[image:1675213675852-577.png ||_mstalt="297947"]]229 +[[image:1675213675852-577.png]] 232 232 233 233 234 234 (% style="color:blue" %)**Add APP KEY** 235 235 236 -[[image:1675213686734-883.png ||_mstalt="298064"]]234 +[[image:1675213686734-883.png]] 237 237 238 238 239 239 (% style="color:blue" %)**Step 2**(%%): Activate on SDI-12-LB ... ... @@ -244,7 +244,7 @@ 244 244 (% 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. 245 245 246 246 247 -[[image:1675213704414-644.png ||_mstalt="293748"]]245 +[[image:1675213704414-644.png]] 248 248 249 249 250 250 == 2.3 SDI-12 Related Commands == ... ... @@ -263,10 +263,10 @@ 263 263 The following is the display information on the serial port and the server. 264 264 265 265 266 -[[image:image-20230201091027-6.png ||_mstalt="429065"]]264 +[[image:image-20230201091027-6.png]] 267 267 268 268 269 -[[image:image-20230201091027-7.png|| _mstalt="429429"height="261" width="1179"]]267 +[[image:image-20230201091027-7.png||height="261" width="1179"]] 270 270 271 271 272 272 ... ... @@ -284,10 +284,10 @@ 284 284 The following is the display information on the serial port and the server. 285 285 286 286 287 -[[image:image-20230201091257-8.png ||_mstalt="431392"]]285 +[[image:image-20230201091257-8.png]] 288 288 289 289 290 -[[image:image-20230201091257-9.png|| _mstalt="431756"height="225" width="1242"]]288 +[[image:image-20230201091257-9.png||height="225" width="1242"]] 291 291 292 292 293 293 ==== (% style="color:blue" %)**aM!,aMC!, aM1!- aM9!, aMC1!- aMC9!**(%%) ==== ... ... @@ -320,10 +320,10 @@ 320 320 The following is the display information on the serial port and the server. 321 321 322 322 323 -[[image:image-20230201091630-10.png ||_mstalt="449995"]]321 +[[image:image-20230201091630-10.png]] 324 324 325 325 326 -[[image:image-20230201091630-11.png|| _mstalt="450372"height="247" width="1165"]]324 +[[image:image-20230201091630-11.png||height="247" width="1165"]] 327 327 328 328 329 329 ... ... @@ -357,10 +357,10 @@ 357 357 The following is the display information on the serial port and the server. 358 358 359 359 360 -[[image:image-20230201091954-12.png ||_mstalt="453687"]]358 +[[image:image-20230201091954-12.png]] 361 361 362 362 363 -[[image:image-20230201091954-13.png|| _mstalt="454064"height="203" width="1117"]]361 +[[image:image-20230201091954-13.png||height="203" width="1117"]] 364 364 365 365 366 366 ... ... @@ -390,10 +390,10 @@ 390 390 The following is the display information on the serial port and the server. 391 391 392 392 393 -[[image:image-20230201092208-14.png ||_mstalt="452283"]]391 +[[image:image-20230201092208-14.png]] 394 394 395 395 396 -[[image:image-20230201092208-15.png|| _mstalt="452660"height="214" width="1140"]]394 +[[image:image-20230201092208-15.png||height="214" width="1140"]] 397 397 398 398 399 399 === 2.3.2 Advance SDI-12 Debug command === ... ... @@ -425,10 +425,10 @@ 425 425 The following is the display information on the serial port and the server. 426 426 427 427 428 -[[image:image-20230201092355-16.png ||_mstalt="453960"]]426 +[[image:image-20230201092355-16.png]] 429 429 430 430 431 -[[image:image-20230201092355-17.png|| _mstalt="454337"height="426" width="1135"]]429 +[[image:image-20230201092355-17.png||height="426" width="1135"]] 432 432 433 433 434 434 === 2.3.3 Convert ASCII to String === ... ... @@ -443,12 +443,12 @@ 443 443 444 444 1) AT+CONVFORM=0, string Convert String from String to ASCII 445 445 446 -[[image:1675214845056-885.png ||_mstalt="297622"]]444 +[[image:1675214845056-885.png]] 447 447 448 448 449 449 2) AT+CONVFORM=1, ASCII Convert ASCII to String. 450 450 451 -[[image:1675214856590-846.png ||_mstalt="297739"]]449 +[[image:1675214856590-846.png]] 452 452 453 453 454 454 === 2.3.4 Define periodically SDI-12 commands and uplink. === ... ... @@ -469,7 +469,7 @@ 469 469 470 470 (% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//. 471 471 472 -(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 3retries.470 +(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 2 retries. 473 473 474 474 (% style="color:red" %)**0 **(%%) No validation check; 475 475 ... ... @@ -485,9 +485,9 @@ 485 485 486 486 (% style="color:blue" %)**AT+DATACUTx**(%%) : This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes. 487 487 488 -(% border="1" style="width:436px" %) 489 -|(% style=" background-color:#f2f2f2;width:433px" %)(((490 - (% style="color:#0070c0" %)**AT+DATACUTx=a,b,c**486 +(% border="1" style="background-color:#f7faff; width:436px" %) 487 +|(% style="width:433px" %)((( 488 +**AT+DATACUTx=a,b,c** 491 491 492 492 **a**: length for the return of AT+COMMAND 493 493 ... ... @@ -496,14 +496,14 @@ 496 496 **c**: define the position for valid value. 497 497 ))) 498 498 499 -For example, if return from AT+COMMAND1 is “013METER TER12 112T12-00024895 <CR><LF>” , Below AT+DATACUT1 will get different result to combine payload:497 +For example, if return from AT+COMMAND1 is “013METER TER12 112T12-00024895” , Below AT+DATACUT1 will get different result to combine payload: 500 500 501 501 502 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)503 -|=(% style="width: 164px; background-color:#D9E2F3;color:#0070C0" %)**AT+DATACUT1 value**|=(% style="width: 344px;background-color:#D9E2F3;color:#0070C0" %)**Final Result to combine Payload**504 -|(% style=" background-color:#f2f2f2;width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2;width:344px" %)0D 00 01 30 31 33505 -|(% 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 32506 -|(% 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 0A500 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) 501 +|=(% style="width: 164px;" %)**AT+DATACUT1 value**|=(% style="width: 344px;" %)**Final Result to combine Payload** 502 +|(% style="width:164px" %)34,1,1+2+3|(% style="width:344px" %)0D 00 01 30 31 33 503 +|(% style="width:164px" %)34,2,1~~8+12~~16|(% style="width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32 504 +|(% style="width:164px" %)34,2,1~~34|(% style="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 507 507 508 508 * (% style="color:blue" %)** Downlink Payload:** 509 509 ... ... @@ -518,14 +518,14 @@ 518 518 Where: 519 519 520 520 * (% style="color:#037691" %)**MM **(%%): the AT+COMMAND or AT+DATACUT to be set. Value from 01 ~~ 0F, 521 -* (% style="color:#037691" %)**NN **(%%): 1: set the AT+ COMMAND value ; 2: set the AT+DATACUT value.519 +* (% style="color:#037691" %)**NN **(%%): 1: set the AT+DATACUT value ; 2: set the AT+DATACUT value. 522 522 * (% style="color:#037691" %)**LL **(%%): The length of AT+COMMAND or AT+DATACUT command 523 523 * (% style="color:#037691" %)**XX XX XX XX **(%%): AT+COMMAND or AT+DATACUT command 524 -* (% style="color:#037691" %)**YY **(%%): If YY=0, S DI-12-LBwill execute the downlink command without uplink; if YY=1, SDI-12-LBwill execute an uplink after got this command.522 +* (% style="color:#037691" %)**YY **(%%): If YY=0, RS485-LN will execute the downlink command without uplink; if YY=1, RS485-LN will execute an uplink after got this command. 525 525 526 526 (% style="color:blue" %)**Example:** 527 527 528 -[[image:image-20230201094129-18.png ||_mstalt="455065"]]526 +[[image:image-20230201094129-18.png]] 529 529 530 530 531 531 ... ... @@ -552,7 +552,7 @@ 552 552 553 553 Below shows a screen shot how the results combines together to a uplink payload. 554 554 555 -[[image:1675215745275-920.png ||_mstalt="295334"]]553 +[[image:1675215745275-920.png]] 556 556 557 557 558 558 If user don't want to use DATACUT for some command, he simply want to uplink all returns. AT+ALLDATAMOD can be set to 1. ... ... @@ -563,7 +563,7 @@ 563 563 (% style="color:#4f81bd" %)**For example: **(%%) as below photo, AT+ALLDATAMOD=1, but AT+DATACUT1 has been set, AT+DATACUT1 will be still effect the result. 564 564 565 565 566 -[[image:1675215782925-448.png ||_mstalt="297466"]]564 +[[image:1675215782925-448.png]] 567 567 568 568 569 569 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. ... ... @@ -581,7 +581,7 @@ 581 581 Where PAYVER is defined by AT+PAYVER, below is an example screen shot. 582 582 583 583 584 -[[image:1675215828102-844.png ||_mstalt="294645"]]582 +[[image:1675215828102-844.png]] 585 585 586 586 587 587 (% style="color:#4f81bd" %)**AT+DATAUP=1** ... ... @@ -596,7 +596,7 @@ 596 596 1. PAYLOAD# (1 byte): Number of this uplink. (from 0,1,2,3…,to PAYLOAD COUNT) 597 597 1. DATA: Valid value: max 6 bytes(US915 version here, Notice*!) for each uplink so each uplink <= 11 bytes. For the last uplink, DATA will might less than 6 bytes 598 598 599 -[[image:1675215848113-696.png ||_mstalt="296998"]]597 +[[image:1675215848113-696.png]] 600 600 601 601 602 602 (% style="color:red" %)**Notice: the Max bytes is according to the max support bytes in different Frequency Bands for lowest SF. As below:** ... ... @@ -613,6 +613,15 @@ 613 613 614 614 == 2.4 Uplink Payload == 615 615 614 + 615 +Uplink payloads have two types: 616 + 617 +* Distance Value: Use FPORT=2 618 +* Other control commands: Use other FPORT fields. 619 + 620 +The application server should parse the correct value based on FPORT settings. 621 + 622 + 616 616 === 2.4.1 Device Payload, FPORT~=5 === 617 617 618 618 ... ... @@ -620,14 +620,14 @@ 620 620 621 621 Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink. 622 622 623 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)624 -|(% colspan="6" style=" background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**625 -|(% style=" background-color:#f2f2f2;width:103px" %)**Sizebackground-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**626 -|(% 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" %)BAT630 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:420px" %) 631 +|(% colspan="6" style="width:434px" %)**Device Status (FPORT=5)** 632 +|(% style="width:114px" %)**Size(bytes)**|(% style="width:39px" %)**1**|(% style="width:80px" %)**2**|(% style="width:89px" %)**1**|(% style="width:59px" %)**1**|(% style="width:37px" %)**2** 633 +|(% style="width:114px" %)**Value**|(% style="width:39px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:89px" %)Frequency Band|(% style="width:59px" %)Sub-band|(% style="width:37px" %)BAT 627 627 628 628 Example parse in TTNv3 629 629 630 -[[image:1675215946738-635.png ||_mstalt="297778"]]637 +[[image:1675215946738-635.png]] 631 631 632 632 633 633 (% style="color:#037691" %)**Sensor Model**(%%): For SDI-12-LB, this value is 0x17 ... ... @@ -692,10 +692,10 @@ 692 692 693 693 * Periodically Uplink: FPORT=2 694 694 695 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:500px" %)696 -|=(% style="width: 90px; background-color:#D9E2F3" %)(((702 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:500px" %) 703 +|=(% style="width: 90px;" %)((( 697 697 **Size(bytes)** 698 -)))|=(% style="width: 80px; background-color:#D9E2F3" %)**2**|=(% style="width: 90px;background-color:#D9E2F3" %)**1**|=(% style="width: 240px;background-color:#D9E2F3" %)**Length depends on the return from the commands**705 +)))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands** 699 699 |(% style="width:93px" %)**Value**|(% style="width:83px" %)((( 700 700 Battery(mV) 701 701 & ... ... @@ -705,7 +705,7 @@ 705 705 Payload length in server,server will show payload not provided in the LoRaWAN server. 706 706 ))) 707 707 708 -[[image:1675216282284-923.png ||_mstalt="295633"]]715 +[[image:1675216282284-923.png]] 709 709 710 710 711 711 === 2.4.3 Battery Info === ... ... @@ -733,15 +733,13 @@ 733 733 === 2.4.5 Payload version === 734 734 735 735 736 -The version number of the payload, mainly used for decoding. The default is 01. 737 737 738 - 739 739 === 2.4.6 Decode payload in The Things Network === 740 740 741 741 742 742 While using TTN network, you can add the payload format to decode the payload. 743 743 744 -[[image:1675216779406-595.png ||_mstalt="298376"]]749 +[[image:1675216779406-595.png]] 745 745 746 746 747 747 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. ... ... @@ -754,242 +754,18 @@ 754 754 755 755 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: 756 756 757 -[[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]] 762 +[[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]]]] 758 758 759 759 760 -== 2.6 Examples To Set SDIcommands ==765 +== 2.6 Frequency Plans == 761 761 762 -=== 2.6.1 Examples 1 ~-~- General Example === 763 763 764 - 765 -COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication. 766 - 767 -[[image:image-20230222143809-1.png||_mstalt="429962" height="564" width="729"]] 768 - 769 - 770 -(% style="color:blue" %)**1) The AT+COMMANDx command is applied to the red arrow part, and sends the SDI12 command to the SDI12 sensor:** 771 - 772 -a. Send the first command and get the first reply: 773 - 774 -(% style="color:#037691" %)**AT+COMMANDx=1I!,0,0,1** 775 - 776 -b. Send the second command and get the second reply: 777 - 778 -(% style="color:#037691" %)**AT+COMMANDx=2I!,0,0,1** 779 - 780 -c. Send the third command and get the third reply: 781 - 782 -(% style="color:#037691" %)**AT+COMMANDx=3I!,0,0,1** 783 - 784 -d. Send the fourth command and get the fourth reply: 785 - 786 -(% style="color:#037691" %)**AT+COMMANDx=4I!,0,0,1** 787 - 788 -e. Send the fifth command plus the sixth command, get the sixth reply: 789 - 790 -(% style="color:#037691" %)**AT+COMMANDx=1M!,2,1,1** 791 - 792 -f. Send the seventh command plus the eighth command, get the eighth reply: 793 - 794 -(% style="color:#037691" %)**AT+COMMANDx=2M!,2,1,1** 795 - 796 -g. Send the ninth command plus the tenth command, get the tenth reply: 797 - 798 -(% style="color:#037691" %)**AT+COMMANDx=3M!,1,1,1** 799 - 800 -h. Send the eleventh command plus the twelfth command, get the twelfth reply: 801 - 802 -(% style="color:#037691" %)**AT+COMMANDx=4M!,1,1,1** 803 - 804 - 805 -(% style="color:blue" %)**2) The AT+DATACUTx command is applied to the green arrow part, receiving and cut out data from the SDI12 sensor:** 806 - 807 -a. The first reply, all 34 characters: ”113TRUEBNERSMT100038220303182331<CR><LF>” 808 - 809 -Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34**(% style="color:#037691" %); 810 - 811 -b. The sixth reply, all 31 characters:”1+19210+1.04+0.00+22.49+11.75<CR><LF>” 812 - 813 -Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %); 814 - 815 -c. The eighth reply, all 31 characters:”2+18990+1.08+0.00+22.24+11.80<CR><LF>” 816 - 817 -Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %); 818 - 819 -d. The tenth reply, all 15 characters:”3-2919.8+24.0<CR><LF>” 820 - 821 -Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=15,2,1~~15**(% style="color:#037691" %); 822 - 823 -e. The twelfth reply, all 25 characters:”4+30.8+22.84+4.7+954.38<CR><LF>” 824 - 825 -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”**. 826 - 827 - 828 -=== 2.6.2 Example 2 ~-~- Connect to Hygrovue10 === 829 - 830 -==== 2.6.2.1 Reference Manual and Command ==== 831 - 832 - 833 -* [[Hygrovue10 Product Page>>https://www.campbellsci.com/hygrovue10]] 834 - 835 -* Commands to be used in PC and output. 836 - 837 -~1. check device address 838 - 839 -2. change device address 840 - 841 -3. check device ID 842 - 843 -4. start measure 844 - 845 -5. Get Meausre result 846 - 847 -[[image:image-20230603120209-2.png||height="281" width="267"]] 848 - 849 - 850 -==== 2.6.2.2 Hardware Connection to SDI-12-LB ==== 851 - 852 - 853 -[[image:image-20230603120515-3.png]] 854 - 855 - 856 -==== 2.6.2.3 Commands set in SDI-12-LB and uplink payload ==== 857 - 858 - 859 -[[image:image-20230603120648-4.png]] 860 - 861 -[[image:image-20230603120726-5.png]] 862 - 863 - 864 -**Data in TTN:** 865 - 866 -[[image:image-20230603120859-6.png||height="118" width="1285"]] 867 - 868 - 869 -=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.3 Example 3 ~-~- Connect to SIL-400 === 870 - 871 -==== 2.6.3.1 Reference Manual and Command ==== 872 - 873 - 874 -* [[SIL-400 Product Page>>https://www.apogeeinstruments.com/sil-411-commercial-grade-sdi-12-digital-output-standard-field-of-view-infrared-radiometer-sensor/]] 875 - 876 -* Commands to be used in PC and output. 877 - 878 -~1. check device address 879 - 880 -2. change device address 881 - 882 -3. check device ID 883 - 884 -4. start measure 885 - 886 -5. Get Meausre result 887 - 888 -[[image:image-20230603121606-7.png||height="242" width="307"]] 889 - 890 - 891 -==== 2.6.3.2 Hardware Connection to SDI-12-LB ==== 892 - 893 - 894 -[[image:image-20230603121643-8.png||height="442" width="656"]] 895 - 896 - 897 -==== 2.6.3.3 Commands set in SDI-12-LB and uplink payload ==== 898 - 899 - 900 -[[image:image-20230603121721-9.png]] 901 - 902 -[[image:image-20230603121752-10.png]] 903 - 904 -Data in TTN: 905 - 906 -[[image:image-20230603121826-11.png||height="155" width="1104"]] 907 - 908 - 909 - 910 -=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.4 Example 4 ~-~- Connect to TEROS-12 === 911 - 912 -==== 2.6.4.1 Reference Manual and Command ==== 913 - 914 - 915 -* [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]] 916 - 917 -* Commands to be used in PC and output. 918 - 919 -1.check device address 920 - 921 -2.change device address 922 - 923 -3.check device ID 924 - 925 -4.start measure 926 - 927 -5.Get Meausre result 928 - 929 -[[image:image-20230603122248-16.png||height="196" width="198"]] 930 - 931 - 932 -==== 2.6.4.2 Hardware Connection to SDI-12-LB ==== 933 - 934 - 935 -[[image:image-20230603122212-15.png||height="502" width="667"]] 936 - 937 - 938 -==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ==== 939 - 940 -[[image:image-20230603122040-12.png]] 941 - 942 -[[image:image-20230603122109-13.png||height="469" width="762"]] 943 - 944 - 945 -**Data in TTN:** 946 - 947 -[[image:image-20230603122139-14.png||height="148" width="1128"]] 948 - 949 - 950 -=== (% id="cke_bm_1489640S" style="display:none" %) (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.5 Example 5 ~-~- Connect to SIL-400/TEROS-12 & Hygrovue10 === 951 - 952 -==== 2.6.5.1 Important Notice! ==== 953 - 954 - 955 -* The product page and reference command see above example 2,3,4 956 - 957 -* All of these SDI-12 sensors use the same address (address 0) by default. So we need to change their address to different address, by using **aAb!** command. See above example. 958 - 959 -* 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. 960 - 961 -* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB. 962 - 963 - 964 - 965 -==== 2.6.5.2 Hardware Connection to SDI-12-LB ==== 966 - 967 - 968 -[[image:image-20230603122508-17.png||height="526" width="742"]] 969 - 970 - 971 -==== 2.6.5.3 Commands set in SDI-12-LB and uplink payload ==== 972 - 973 - 974 -[[image:image-20230603122549-18.png]] 975 - 976 -[[image:image-20230603122623-19.png||height="483" width="1121"]] 977 - 978 - 979 -**Data in TTN:** 980 - 981 -[[image:image-20230603122719-20.png||height="151" width="1179"]] 982 - 983 - 984 -== 2.7 Frequency Plans == 985 - 986 - 987 987 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. 988 988 989 989 [[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/]] 990 990 991 991 992 -== 2. 8Firmware Change Log ==773 +== 2.7 Firmware Change Log == 993 993 994 994 995 995 **Firmware download link:** ... ... @@ -1024,7 +1024,7 @@ 1024 1024 These commands only valid for SDI-12-LB, as below: 1025 1025 1026 1026 1027 -== 3.1 Set Transmit Interval Time == 808 +== 3.1 Set Transmit Interval Time == 1028 1028 1029 1029 1030 1030 Feature: Change LoRaWAN End Node Transmit Interval. ... ... @@ -1031,14 +1031,14 @@ 1031 1031 1032 1032 (% style="color:blue" %)**AT Command: AT+TDC** 1033 1033 1034 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)1035 -|=(% style="width: 16 0px;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**1036 -|(% style=" background-color:#f2f2f2;width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2;width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)(((815 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 816 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response** 817 +|(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 1037 1037 30000 1038 1038 OK 1039 1039 the interval is 30000ms = 30s 1040 1040 ))) 1041 -|(% style=" background-color:#f2f2f2;width:157px" %)AT+TDC=60000|(% style="background-color:#f2f2f2;width:166px" %)Set Transmit Interval|(% style="background-color:#f2f2f2" %)(((822 +|(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|((( 1042 1042 OK 1043 1043 Set transmit interval to 60000ms = 60 seconds 1044 1044 ))) ... ... @@ -1062,20 +1062,20 @@ 1062 1062 1063 1063 (% style="color:blue" %)**AT Command: AT+INTMOD** 1064 1064 1065 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)1066 -|=(% style="width: 15 4px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Response**1067 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2;width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2;width:157px" %)(((846 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 847 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 187px;" %)**Function**|=(% style="width: 165px;" %)**Response** 848 +|(% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)((( 1068 1068 0 1069 1069 OK 1070 -the mode is 0 = DisableInterrupt851 +the mode is 0 = No interruption 1071 1071 ))) 1072 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+INTMOD=2|(% style="background-color:#f2f2f2;width:196px" %)(((853 +|(% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)((( 1073 1073 Set Transmit Interval 1074 - 0. (Disable Interrupt),1075 - ~1. (Trigger by rising and falling edge)1076 - 2. (Trigger by falling edge)1077 - 3. (Trigger by rising edge)1078 -)))|(% style=" background-color:#f2f2f2;width:157px" %)OK855 +~1. (Disable Interrupt), 856 +2. (Trigger by rising and falling edge) 857 +3. (Trigger by falling edge) 858 +4. (Trigger by rising edge) 859 +)))|(% style="width:165px" %)OK 1079 1079 1080 1080 (% style="color:blue" %)**Downlink Command: 0x06** 1081 1081 ... ... @@ -1095,52 +1095,52 @@ 1095 1095 1096 1096 (% style="color:blue" %)**AT Command: AT+3V3T** 1097 1097 1098 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:474px" %)1099 -|=(% 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**1100 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2;width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2;width:116px" %)(((879 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:474px" %) 880 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 201px;" %)**Function**|=(% style="width: 116px;" %)**Response** 881 +|(% style="width:154px" %)AT+3V3T=?|(% style="width:201px" %)Show 3V3 open time.|(% style="width:116px" %)((( 1101 1101 0 1102 1102 OK 1103 1103 ))) 1104 -|(% 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" %)(((885 +|(% style="width:154px" %)AT+3V3T=0|(% style="width:201px" %)Normally open 3V3 power supply.|(% style="width:116px" %)((( 1105 1105 OK 1106 1106 default setting 1107 1107 ))) 1108 -|(% 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" %)(((889 +|(% style="width:154px" %)AT+3V3T=1000|(% style="width:201px" %)Close after a delay of 1000 milliseconds.|(% style="width:116px" %)((( 1109 1109 OK 1110 1110 ))) 1111 -|(% 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" %)(((892 +|(% style="width:154px" %)AT+3V3T=65535|(% style="width:201px" %)Normally closed 3V3 power supply.|(% style="width:116px" %)((( 1112 1112 OK 1113 1113 ))) 1114 1114 1115 1115 (% style="color:blue" %)**AT Command: AT+5VT** 1116 1116 1117 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:470px" %)1118 -|=(% 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**1119 -|(% style=" background-color:#f2f2f2;width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2;width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2;width:114px" %)(((898 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:470px" %) 899 +|=(% style="width: 155px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 114px;" %)**Response** 900 +|(% style="width:155px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:114px" %)((( 1120 1120 0 1121 1121 OK 1122 1122 ))) 1123 -|(% 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" %)(((904 +|(% style="width:155px" %)AT+5VT=0|(% style="width:196px" %)Normally closed 5V power supply.|(% style="width:114px" %)((( 1124 1124 OK 1125 1125 default setting 1126 1126 ))) 1127 -|(% 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" %)(((908 +|(% style="width:155px" %)AT+5VT=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:114px" %)((( 1128 1128 OK 1129 1129 ))) 1130 -|(% 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" %)(((911 +|(% style="width:155px" %)AT+5VT=65535|(% style="width:196px" %)Normally open 5V power supply.|(% style="width:114px" %)((( 1131 1131 OK 1132 1132 ))) 1133 1133 1134 1134 (% style="color:blue" %)**AT Command: AT+12VT** 1135 1135 1136 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:443px" %)1137 -|=(% 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**1138 -|(% style=" background-color:#f2f2f2;width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2;width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2;width:83px" %)(((917 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:443px" %) 918 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 199px;" %)**Function**|=(% style="width: 83px;" %)**Response** 919 +|(% style="width:156px" %)AT+12VT=?|(% style="width:199px" %)Show 12V open time.|(% style="width:83px" %)((( 1139 1139 0 1140 1140 OK 1141 1141 ))) 1142 -|(% 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" %)OK1143 -|(% 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" %)(((923 +|(% style="width:156px" %)AT+12VT=0|(% style="width:199px" %)Normally closed 12V power supply.|(% style="width:83px" %)OK 924 +|(% style="width:156px" %)AT+12VT=500|(% style="width:199px" %)Close after a delay of 500 milliseconds.|(% style="width:83px" %)((( 1144 1144 OK 1145 1145 ))) 1146 1146 ... ... @@ -1166,13 +1166,13 @@ 1166 1166 1167 1167 (% style="color:blue" %)**AT Command: AT+ALLDATAMOD** 1168 1168 1169 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:437px" %)1170 -|= (% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**1171 -| (% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)(((950 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %) 951 +|=**Command Example**|=**Function**|=**Response** 952 +|AT+ALLDATAMOD=?|Show current all data mode|((( 1172 1172 0 1173 1173 OK 1174 1174 ))) 1175 -| (% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=1|(% style="background-color:#f2f2f2" %)Set all data mode is 1.|(% style="background-color:#f2f2f2" %)OK956 +|AT+ALLDATAMOD=1|Set all data mode is 1.|OK 1176 1176 1177 1177 (% style="color:blue" %)**Downlink Command: 0xAB** 1178 1178 ... ... @@ -1190,21 +1190,21 @@ 1190 1190 1191 1191 (% style="color:blue" %)**AT Command: AT+DATAUP** 1192 1192 1193 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)1194 -|=(% 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**1195 -|(% 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" %)(((974 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) 975 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 266px;" %)**Function**|=**Response** 976 +|(% style="width:154px" %)AT+DATAUP =?|(% style="width:266px" %)Show current splicing payload for uplink mode|((( 1196 1196 0 1197 1197 OK 1198 1198 ))) 1199 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+DATAUP =0|(% style="background-color:#f2f2f2;width:266px" %)(((980 +|(% style="width:154px" %)AT+DATAUP =0|(% style="width:266px" %)((( 1200 1200 Set splicing payload for uplink mode is 0. 1201 -)))|( % style="background-color:#f2f2f2" %)(((982 +)))|((( 1202 1202 OK 1203 1203 ))) 1204 -|(% 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" %)OK1205 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+DATAUP =1,20000|(% style="background-color:#f2f2f2;width:266px" %)(((985 +|(% 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 986 +|(% style="width:154px" %)AT+DATAUP =1,20000|(% style="width:266px" %)((( 1206 1206 Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds. 1207 -)))| (% style="background-color:#f2f2f2" %)OK988 +)))|OK 1208 1208 1209 1209 (% style="color:blue" %)**Downlink Command: 0xAD** 1210 1210 ... ... @@ -1224,13 +1224,13 @@ 1224 1224 1225 1225 (% style="color:blue" %)**AT Command: AT+PAYVER** 1226 1226 1227 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:437px" %)1228 -|=(% 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**1229 -|(% style=" background-color:#f2f2f2;width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2;width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)(((1008 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %) 1009 +|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 192px;" %)**Function**|=**Response** 1010 +|(% style="width:158px" %)AT+PAYVER=?|(% style="width:192px" %)Show current payload version|((( 1230 1230 1 1231 1231 OK 1232 1232 ))) 1233 -|(% style=" background-color:#f2f2f2;width:158px" %)AT+PAYVER=5|(% style="background-color:#f2f2f2;width:192px" %)Set payload version is 5.|(% style="background-color:#f2f2f2" %)OK1014 +|(% style="width:158px" %)AT+PAYVER=5|(% style="width:192px" %)Set payload version is 5.|OK 1234 1234 1235 1235 (% style="color:blue" %)**Downlink Command: 0xAE** 1236 1236 ... ... @@ -1241,14 +1241,76 @@ 1241 1241 1242 1242 1243 1243 1244 -= 4. Battery & PowerConsumption=1025 += 4. Battery & how to replace = 1245 1245 1027 +== 4.1 Battery Type == 1246 1246 1247 -SDI-12-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1248 1248 1249 - [[**BatteryInfo& Power ConsumptionAnalyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]].1030 +SDI-12-LB is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>https://www.dropbox.com/sh/w9l2oa3ytpculph/AAAPtt-apH4lYfCj-2Y6lHvQa?dl=0]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter. 1250 1250 1251 1251 1033 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 1034 + 1035 +[[image:1675234124233-857.png]] 1036 + 1037 + 1038 +Minimum Working Voltage for the SDI-12-LB: 1039 + 1040 +SDI-12-LB: 2.45v ~~ 3.6v 1041 + 1042 + 1043 +== 4.2 Replace Battery == 1044 + 1045 + 1046 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1047 + 1048 +And make sure the positive and negative pins match. 1049 + 1050 + 1051 +== 4.3 Power Consumption Analyze == 1052 + 1053 + 1054 +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. 1055 + 1056 +Instruction to use as below: 1057 + 1058 +(% 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]] 1059 + 1060 +(% style="color:blue" %)**Step 2:**(%%) Open it and choose 1061 + 1062 +* Product Model 1063 +* Uplink Interval 1064 +* Working Mode 1065 + 1066 +And the Life expectation in difference case will be shown on the right. 1067 + 1068 + 1069 +[[image:1675234155374-163.png]] 1070 + 1071 + 1072 +The battery related documents as below: 1073 + 1074 +* [[Battery Dimension>>https://www.dropbox.com/s/ox5g9njwjle7aw3/LSN50-Battery-Dimension.pdf?dl=0]], 1075 +* [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]] 1076 +* [[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]] 1077 + 1078 +[[image:image-20230201145019-19.png]] 1079 + 1080 + 1081 +=== 4.3.1 Battery Note === 1082 + 1083 + 1084 +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. 1085 + 1086 + 1087 +=== 4.3.2 Replace the battery === 1088 + 1089 + 1090 +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. 1091 + 1092 +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) 1093 + 1094 + 1252 1252 = 5. Remote Configure device = 1253 1253 1254 1254 == 5.1 Connect via BLE == ... ... @@ -1271,7 +1271,7 @@ 1271 1271 1272 1272 = 7. FAQ = 1273 1273 1274 -== 7.1 How to use AT Command viaUARTto access device? ==1117 +== 7.1 How to use AT Command to access device? == 1275 1275 1276 1276 1277 1277 See: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]] ... ... @@ -1335,3 +1335,5 @@ 1335 1335 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1336 1336 1337 1337 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]] 1181 + 1182 +
- image-20230222143809-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -322.1 KB - Content
- image-20230426084456-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -190.0 KB - Content
- image-20230603120127-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.7 KB - Content
- image-20230603120209-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -22.8 KB - Content
- image-20230603120515-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -489.3 KB - Content
- image-20230603120648-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -100.8 KB - Content
- image-20230603120726-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -133.2 KB - Content
- image-20230603120859-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -55.9 KB - Content
- image-20230603121606-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.4 KB - Content
- image-20230603121643-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -889.7 KB - Content
- image-20230603121721-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -105.4 KB - Content
- image-20230603121752-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -160.0 KB - Content
- image-20230603121826-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -52.8 KB - Content
- image-20230603122040-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -128.1 KB - Content
- image-20230603122109-13.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -271.1 KB - Content
- image-20230603122139-14.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -70.4 KB - Content
- image-20230603122212-15.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -818.3 KB - Content
- image-20230603122248-16.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.7 KB - Content
- image-20230603122508-17.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -980.2 KB - Content
- image-20230603122549-18.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -90.9 KB - Content
- image-20230603122623-19.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -139.5 KB - Content
- image-20230603122719-20.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -83.8 KB - Content