Changes for page SDI-12-LB/LS -- SDI-12 to LoRaWAN Converter User Manual
Last modified by Mengting Qiu on 2025/07/03 15:42
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 34 removed)
- 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
- image-20230627164957-1.png
- image-20230627165744-2.png
- image-20230627174446-2.png
- image-20230627174559-3.png
- image-20230627175513-4.png
- image-20230627175736-5.png
- image-20230627180303-6.png
- image-20230628090323-1.png
- image-20230628091055-1.png
- image-20230628091130-2.png
- image-20240103164910-1.png
- image-20240103165115-2.png
- image-20240103165259-3.png
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -SDI-12-LB /LS-- SDI-12 to LoRaWAN Converter User Manual1 +SDI-12-LB -- SDI-12 to LoRaWAN Converter User Manual - Content
-
... ... @@ -1,16 +3,8 @@ 1 - 2 - 3 3 (% style="text-align:center" %) 4 -[[image:image-202 40103165259-3.png]]2 +[[image:image-20230131183542-1.jpeg||_mstalt="470678" height="694" width="694"]] 5 5 4 +**Table of Contents:** 6 6 7 - 8 - 9 - 10 - 11 - 12 -**Table of Contents:** 13 - 14 14 {{toc/}} 15 15 16 16 ... ... @@ -31,7 +31,7 @@ 31 31 32 32 33 33 ((( 34 -The Dragino (% style="color:blue" %)**SDI-12-LB /LS**(%%) is a (% style="color:blue" %)**SDI-12 to LoRaWAN Converter **(%%)designed for Smart Agriculture solution.26 +The Dragino (% style="color:blue" %)**SDI-12-LB**(%%) is a (% style="color:blue" %)**SDI-12 to LoRaWAN Converter **(%%)designed for Smart Agriculture solution. 35 35 ))) 36 36 37 37 ((( ... ... @@ -39,19 +39,19 @@ 39 39 ))) 40 40 41 41 ((( 42 -SDI-12-LB /LShas SDI-12 interface and support 12v output to power external SDI-12 sensor. It can get the environment data from SDI-12 sensor and sends out the data via LoRaWAN wireless protocol.34 +SDI-12-LB has SDI-12 interface and support 12v output to power external SDI-12 sensor. It can get the environment data from SDI-12 sensor and sends out the data via LoRaWAN wireless protocol. 43 43 ))) 44 44 45 45 ((( 46 -The LoRa wireless technology used in SDI-12-LB /LSallows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption.38 +The LoRa wireless technology used in SDI-12-LB allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. 47 47 ))) 48 48 49 49 ((( 50 -SDI-12-LB /LSis powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%)or (%style="color:blue" %)**solar powered + li-on battery**(%%)it is designed for long term use up to 5 years.42 +SDI-12-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years. 51 51 ))) 52 52 53 53 ((( 54 -Each SDI-12-LB /LSis pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on.46 +Each SDI-12-LB is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on. 55 55 ))) 56 56 57 57 ... ... @@ -71,9 +71,9 @@ 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) 66 +* 8500mAh Battery for long term use 76 76 68 + 77 77 == 1.3 Specification == 78 78 79 79 ... ... @@ -85,8 +85,9 @@ 85 85 86 86 (% style="color:#037691" %)**Common DC Characteristics:** 87 87 88 -* Supply Voltage: Built-in Battery, 2.5v ~~ 3.6v 89 -* Support current: 5V 300mA, 12V 100mA 80 +* Supply Voltage: 2.5v ~~ 3.6v 81 +* Support current: 5V 300mA 82 + 12V 100mA 90 90 * Operating Temperature: -40 ~~ 85°C 91 91 92 92 (% style="color:#037691" %)**LoRa Spec:** ... ... @@ -121,9 +121,11 @@ 121 121 * Sleep Mode: 5uA @ 3.3v 122 122 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 123 123 117 + 124 124 == 1.4 Connect to SDI-12 Sensor == 125 125 126 126 121 + 127 127 [[image:1675212538524-889.png||_mstalt="298272"]] 128 128 129 129 ... ... @@ -141,7 +141,7 @@ 141 141 [[image:1675212633011-651.png||_mstalt="291538"]] 142 142 143 143 144 -(% border="1" cellspacing="4" style=" background-color:#f2f2f2;width:510px" %)139 +(% border="1" cellspacing="4" style="width:510px" %) 145 145 |=(% 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** 146 146 |(% 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" %)((( 147 147 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. ... ... @@ -154,6 +154,7 @@ 154 154 ))) 155 155 |(% 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. 156 156 152 + 157 157 == 1.7 Pin Mapping == 158 158 159 159 ... ... @@ -163,7 +163,7 @@ 163 163 == 1.8 BLE connection == 164 164 165 165 166 -SDI-12-LB /LSsupport BLE remote configure.162 +SDI-12-LB support BLE remote configure. 167 167 168 168 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: 169 169 ... ... @@ -176,7 +176,6 @@ 176 176 177 177 == 1.9 Mechanical == 178 178 179 -=== 1.9.1 for LB version === 180 180 181 181 [[image:image-20230201090139-2.png||_mstalt="428623"]] 182 182 ... ... @@ -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.188 +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) == ... ... @@ -211,13 +211,14 @@ 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.203 +(% 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:205 +Each SDI-12-LB is shipped with a sticker with the default device EUI as below: 217 217 218 -[[image:image-20230426084456-1.png||height="241" width="519"]] 219 219 208 +[[image:image-20230201152430-20.jpeg||_mstalt="492245"]] 220 220 210 + 221 221 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 222 222 223 223 ... ... @@ -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 /LS236 +(% 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.239 +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.250 +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.258 +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 ... ... @@ -371,6 +371,7 @@ 371 371 372 372 373 373 364 + 374 374 ==== (% style="color:blue" %)**aR0!- aR9!, aRC0!- aRC9!**(%%) ==== 375 375 376 376 ... ... @@ -408,7 +408,7 @@ 408 408 This command can be used to debug all SDI-12 command. 409 409 410 410 411 -LoRaWAN Downlink: A8 aa xx xx xx xx bb cc dd402 +LoRaWAN Downlink: A8 aa xx xx xx xx bb cc 412 412 413 413 (% style="color:#037691" %)**aa **(%%): total SDI-12 command length 414 414 ... ... @@ -418,11 +418,9 @@ 418 418 419 419 (% style="color:#037691" %)**cc **(%%): 0: don't uplink return to LoRaWAN, 1: Uplink return to LoRaWAN on FPORT=100 420 420 421 -(% style="color:#037691" %)**dd: **(%%) 0: Do not use aD0! command access, 1: use aD0! command access. 422 422 413 +(% style="color:blue" %)**Example: **(%%) AT+CFGDEV =0RC0!,1 423 423 424 -(% style="color:blue" %)**Example1: **(%%) AT+CFGDEV =0RC0!,1 425 - 426 426 (% style="color:#037691" %)**0RC0! **(%%): SDI-12 Command, 427 427 428 428 (% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) ... ... @@ -439,25 +439,6 @@ 439 439 [[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]] 440 440 441 441 442 -(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1 443 - 444 -(% style="color:#037691" %)**0M! **(%%): SDI-12 Command, 445 - 446 -(% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) 447 - 448 -(% style="color:#037691" %)**1 **(%%): Use aD0! command access. 449 - 450 -Equal Downlink: 0xA8 03 30 4D 21 01 01 01 451 - 452 - 453 -The following is the display information on the serial port and the server. 454 - 455 - 456 -[[image:image-20230628091055-1.png||height="368" width="462"]] 457 - 458 -[[image:image-20230628091130-2.png||height="258" width="879"]] 459 - 460 - 461 461 === 2.3.3 Convert ASCII to String === 462 462 463 463 ... ... @@ -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.456 +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.469 +(% 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 ... ... @@ -513,8 +513,8 @@ 513 513 (% style="color:blue" %)**AT+DATACUTx**(%%) : This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes. 514 514 515 515 (% border="1" style="width:436px" %) 516 -|(% style="background-color:# f2f2f2;width:433px"%)(((517 -(% style="color:#0070 c0" %)**AT+DATACUTx=a,b,c**486 +|(% style="width:433px;background-color:#F2F2F2 %)((( 487 +**(% style="color:#0070C0" %)AT+DATACUTx=a,b,c** 518 518 519 519 **a**: length for the return of AT+COMMAND 520 520 ... ... @@ -526,11 +526,11 @@ 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="4" style=" background-color:#f2f2f2;width:510px" %)499 +(% border="1" cellspacing="4" style="width:510px" %) 530 530 |=(% 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 -|(% style="background-color:# f2f2f2; width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33532 -|(% 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 32533 -|(% 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 0A501 +|(% style="width:164px;background-color:#F2F2F2" %)34,1,1+2+3|(% style="width:344px;background-color:#F2F2F2" %)0D 00 01 30 31 33 502 +|(% style="width:164px;background-color:#F2F2F2" %)34,2,1~~8+12~~16|(% style="width:344px;background-color:#F2F2F2" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32 503 +|(% style="width:164px;background-color:#F2F2F2" %)34,2,1~~34|(% style="width:344px;background-color:#F2F2F2" %)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 534 534 535 535 * (% style="color:blue" %)** Downlink Payload:** 536 536 ... ... @@ -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.521 +* (% 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 ... ... @@ -643,11 +643,11 @@ 643 643 === 2.4.1 Device Payload, FPORT~=5 === 644 644 645 645 646 -Include device configure status. Once SDI-12-LB /LSJoined the network, it will uplink this message to the server.616 +Include device configure status. Once SDI-12-LB Joined the network, it will uplink this message to the server. 647 647 648 -Users can also use the downlink command(0x26 01) to ask SDI-12-LB /LSto resend this uplink.618 +Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink. 649 649 650 -(% border="1" cellspacing="4" style=" background-color:#f2f2f2;width:510px" %)620 +(% border="1" cellspacing="4" style="width:510px" %) 651 651 |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 652 652 |(% style="background-color:#f2f2f2; width:103px" %)**Size (bytes)**|(% style="background-color:#f2f2f2; width:72px" %)**1**|(% style="background-color:#f2f2f2" %)**2**|(% style="background-color:#f2f2f2; width:91px" %)**1**|(% style="background-color:#f2f2f2; width:86px" %)**1**|(% style="background-color:#f2f2f2; width:44px" %)**2** 653 653 |(% style="background-color:#f2f2f2; width:103px" %)**Value**|(% style="background-color:#f2f2f2; width:72px" %)Sensor Model|(% style="background-color:#f2f2f2" %)Firmware Version|(% style="background-color:#f2f2f2; width:91px" %)Frequency Band|(% style="background-color:#f2f2f2; width:86px" %)Sub-band|(% style="background-color:#f2f2f2; width:44px" %)BAT ... ... @@ -657,39 +657,39 @@ 657 657 [[image:1675215946738-635.png||_mstalt="297778"]] 658 658 659 659 660 -(% style="color:#037691" %)**Sensor Model**(%%): For SDI-12-LB /LS, this value is 0x17630 +(% style="color:#037691" %)**Sensor Model**(%%): For SDI-12-LB, this value is 0x17 661 661 662 662 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 663 663 664 664 (% style="color:#037691" %)**Frequency Band**: 665 665 666 -0x01: EU868 636 +*0x01: EU868 667 667 668 -0x02: US915 638 +*0x02: US915 669 669 670 -0x03: IN865 640 +*0x03: IN865 671 671 672 -0x04: AU915 642 +*0x04: AU915 673 673 674 -0x05: KZ865 644 +*0x05: KZ865 675 675 676 -0x06: RU864 646 +*0x06: RU864 677 677 678 -0x07: AS923 648 +*0x07: AS923 679 679 680 -0x08: AS923-1 650 +*0x08: AS923-1 681 681 682 -0x09: AS923-2 652 +*0x09: AS923-2 683 683 684 -0x0a: AS923-3 654 +*0x0a: AS923-3 685 685 686 -0x0b: CN470 656 +*0x0b: CN470 687 687 688 -0x0c: EU433 658 +*0x0c: EU433 689 689 690 -0x0d: KR920 660 +*0x0d: KR920 691 691 692 -0x0e: MA869 662 +*0x0e: MA869 693 693 694 694 695 695 (% style="color:#037691" %)**Sub-Band**: ... ... @@ -719,11 +719,11 @@ 719 719 720 720 * Periodically Uplink: FPORT=2 721 721 722 -(% border="1" cellspacing="4" style="background-color:# f2f2f2; width:500px" %)723 -|=(% style="width: 90px; background-color:#D9E2F3;color:#0070C0" %)(((692 +(% border="1" cellspacing="4" style="background-color:#F2F2F2; width:500px" %) 693 +|=(% style="width: 90px;" %)((( 724 724 **Size(bytes)** 725 -)))|=(% 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**726 -|(% style="width:93px" %)Value|(% style="width:83px" %)((( 695 +)))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands** 696 +|(% style="width:93px" %)**Value**|(% style="width:83px" %)((( 727 727 Battery(mV) 728 728 & 729 729 Interrupt_Flag ... ... @@ -738,7 +738,7 @@ 738 738 === 2.4.3 Battery Info === 739 739 740 740 741 -Check the battery voltage for SDI-12-LB /LS.711 +Check the battery voltage for SDI-12-LB. 742 742 743 743 Ex1: 0x0B45 = 2885mV 744 744 ... ... @@ -759,7 +759,6 @@ 759 759 760 760 === 2.4.5 Payload version === 761 761 762 - 763 763 The version number of the payload, mainly used for decoding. The default is 01. 764 764 765 765 ... ... @@ -773,23 +773,23 @@ 773 773 774 774 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. 775 775 776 -SDI-12-LB /LSTTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]745 +SDI-12-LB TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]] 777 777 778 778 779 779 == 2.5 Uplink Interval == 780 780 781 781 782 -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:751 +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: 783 783 784 784 [[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]] 785 785 786 786 787 -== 2.6 Examples To Set SDI commands == 756 +== 2.6 Examples To Set SDI commands. == 788 788 789 -=== 2.6.1 Examples 1 ~-~- General Example===758 +=== 2.6.1 Examples 1 === 790 790 791 791 792 -COM port and SDI-12 sensor communication converted to SDI-12-LB /LSand SDI-12 sensor communication.761 +COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication. 793 793 794 794 [[image:image-20230222143809-1.png||_mstalt="429962" height="564" width="729"]] 795 795 ... ... @@ -852,208 +852,10 @@ 852 852 Partial cut, the cut sensor address and the first two parameters:(% style="color:#037691" %)**AT+DATACUTx=25,2,1~~12, cut out the character field ” 4+30.8+22.84”**. 853 853 854 854 855 -=== 2.6.2 Example 2 ~-~- Connect to Hygrovue10 === 856 - 857 -==== 2.6.2.1 Reference Manual and Command ==== 858 - 859 - 860 -* [[Hygrovue10 Product Page>>https://www.campbellsci.com/hygrovue10]] 861 - 862 -* Commands to be used in PC and output. 863 - 864 -~1. check device address 865 - 866 -2. change device address 867 - 868 -3. check device ID 869 - 870 -4. start measure 871 - 872 -5. Get Meausre result 873 - 874 -[[image:image-20230603120209-2.png||height="281" width="267"]] 875 - 876 - 877 -==== 2.6.2.2 Hardware Connection to SDI-12-LB/LS ==== 878 - 879 - 880 -[[image:image-20230603120515-3.png]] 881 - 882 - 883 -==== 2.6.2.3 Commands set in SDI-12-LB/LS and uplink payload ==== 884 - 885 - 886 -[[image:image-20230603120648-4.png]] 887 - 888 -[[image:image-20230603120726-5.png]] 889 - 890 - 891 -**Data in TTN:** 892 - 893 -[[image:image-20230603120859-6.png||height="118" width="1285"]] 894 - 895 - 896 -=== 2.6.3 Example 3 ~-~- Connect to SIL-400 === 897 - 898 -==== 2.6.3.1 Reference Manual and Command ==== 899 - 900 - 901 -* [[SIL-400 Product Page>>https://www.apogeeinstruments.com/sil-411-commercial-grade-sdi-12-digital-output-standard-field-of-view-infrared-radiometer-sensor/]] 902 - 903 -* Commands to be used in PC and output. 904 - 905 -~1. check device address 906 - 907 -2. change device address 908 - 909 -3. check device ID 910 - 911 -4. start measure 912 - 913 -5. Get Meausre result 914 - 915 -[[image:image-20230603121606-7.png||height="242" width="307"]] 916 - 917 - 918 -==== 2.6.3.2 Hardware Connection to SDI-12-LB/LS ==== 919 - 920 - 921 -[[image:image-20230603121643-8.png||height="442" width="656"]] 922 - 923 - 924 -==== 2.6.3.3 Commands set in SDI-12-LB/LS and uplink payload ==== 925 - 926 - 927 -[[image:image-20230603121721-9.png]] 928 - 929 -[[image:image-20230628090323-1.png||height="414" width="694"]] 930 - 931 -Data in TTN: 932 - 933 -[[image:image-20230603121826-11.png||height="155" width="1104"]] 934 - 935 - 936 - 937 -=== 2.6.4 Example 4 ~-~- Connect to TEROS-12 === 938 - 939 -==== 2.6.4.1 Reference Manual and Command ==== 940 - 941 - 942 -* [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]] 943 - 944 -* Commands to be used in PC and output. 945 - 946 -1.check device address 947 - 948 -2.change device address 949 - 950 -3.check device ID 951 - 952 -4.start measure 953 - 954 -5.Get Meausre result 955 - 956 -[[image:image-20230603122248-16.png||height="196" width="198"]] 957 - 958 - 959 -==== 2.6.4.2 Hardware Connection to SDI-12-LB/LS ==== 960 - 961 - 962 -[[image:image-20230603122212-15.png||height="502" width="667"]] 963 - 964 - 965 -==== 2.6.4.3 Commands set in SDI-12-LB/LS and uplink payload ==== 966 - 967 - 968 -[[image:image-20230603122040-12.png]] 969 - 970 -[[image:image-20230603122109-13.png||height="469" width="762"]] 971 - 972 - 973 -**Data in TTN:** 974 - 975 -[[image:image-20230603122139-14.png||height="148" width="1128"]] 976 - 977 - 978 -=== 2.6.5 Example 5 ~-~- Connect to SIL-400/TEROS-12 & Hygrovue10 === 979 - 980 -==== 2.6.5.1 Important Notice! ==== 981 - 982 - 983 -* The product page and reference command see above example 2,3,4 984 - 985 -* 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. 986 - 987 -* 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. 988 - 989 -* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB/LS. 990 - 991 -==== 2.6.5.2 Hardware Connection to SDI-12-LB/LS ==== 992 - 993 - 994 -[[image:image-20230603122508-17.png||height="526" width="742"]] 995 - 996 - 997 -==== 2.6.5.3 Commands set in SDI-12-LB/LS and uplink payload ==== 998 - 999 - 1000 -[[image:image-20230603122549-18.png]] 1001 - 1002 -[[image:image-20230603122623-19.png||height="483" width="1121"]] 1003 - 1004 - 1005 -**Data in TTN:** 1006 - 1007 -[[image:image-20230603122719-20.png||height="151" width="1179"]] 1008 - 1009 - 1010 -=== 2.6.6 Example 6 ~-~- Connect to ENTELECHY-EP_SDI-12 === 1011 - 1012 -==== 2.6.6.1 Reference Manual and Command ==== 1013 - 1014 - 1015 -* [[https:~~/~~/enviroprosoilprobes.com/wp-content/uploads/2019/11/ENTELECHY-EP_SDI-12-Commands.pdf>>url:https://enviroprosoilprobes.com/wp-content/uploads/2019/11/ENTELECHY-EP_SDI-12-Commands.pdf]] 1016 - 1017 -* Commands to be used in PC and output. 1018 - 1019 -1.check device address 1020 - 1021 -2.change device address 1022 - 1023 -3.check device ID 1024 - 1025 -4.start measure 1026 - 1027 -5.Get Meausre result 1028 - 1029 - 1030 -[[image:image-20230627174559-3.png]] 1031 - 1032 - 1033 -==== 2.6.6.2 Hardware Connection to SDI-12-LB/LS ==== 1034 - 1035 - 1036 -[[image:image-20230627174446-2.png]] 1037 - 1038 - 1039 - 1040 -==== 2.6.6.3 Commands set in SDI-12-LB/LS and uplink payload ==== 1041 - 1042 - 1043 -[[image:image-20230627175513-4.png||height="596" width="576"]] 1044 - 1045 -[[image:image-20230627175736-5.png||height="429" width="693"]] 1046 - 1047 - 1048 -**Data in TTN:** 1049 - 1050 -[[image:image-20230627180303-6.png||height="292" width="1171"]] 1051 - 1052 - 1053 1053 == 2.7 Frequency Plans == 1054 1054 1055 1055 1056 -The SDI-12-LB /LSuses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.827 +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. 1057 1057 1058 1058 [[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/]] 1059 1059 ... ... @@ -1066,15 +1066,15 @@ 1066 1066 [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]] 1067 1067 1068 1068 1069 -= 3. Configure SDI-12-LB /LSvia AT Command or LoRaWAN Downlink =840 += 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink = 1070 1070 1071 1071 1072 -Use can configure SDI-12-LB /LSvia AT Command or LoRaWAN Downlink.843 +Use can configure SDI-12-LB via AT Command or LoRaWAN Downlink. 1073 1073 1074 1074 * AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]]. 1075 1075 * LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 1076 1076 1077 -There are two kinds of commands to configure SDI-12-LB /LS, they are:848 +There are two kinds of commands to configure SDI-12-LB, they are: 1078 1078 1079 1079 * (% style="color:blue" %)**General Commands**. 1080 1080 ... ... @@ -1088,9 +1088,9 @@ 1088 1088 [[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/]] 1089 1089 1090 1090 1091 -* (% style="color:blue" %)**Commands special design for SDI-12-LB /LS**862 +* (% style="color:blue" %)**Commands special design for SDI-12-LB** 1092 1092 1093 -These commands only valid for SDI-12-LB /LS, as below:864 +These commands only valid for SDI-12-LB, as below: 1094 1094 1095 1095 1096 1096 == 3.1 Set Transmit Interval Time == ... ... @@ -1100,14 +1100,14 @@ 1100 1100 1101 1101 (% style="color:blue" %)**AT Command: AT+TDC** 1102 1102 1103 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)1104 -|=(% 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**1105 -|(% style=" background-color:#f2f2f2;width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2;width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)(((874 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 875 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response** 876 +|(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 1106 1106 30000 1107 1107 OK 1108 1108 the interval is 30000ms = 30s 1109 1109 ))) 1110 -|(% style=" background-color:#f2f2f2;width:157px" %)AT+TDC=60000|(% style="background-color:#f2f2f2;width:166px" %)Set Transmit Interval|(% style="background-color:#f2f2f2" %)(((881 +|(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|((( 1111 1111 OK 1112 1112 Set transmit interval to 60000ms = 60 seconds 1113 1113 ))) ... ... @@ -1114,6 +1114,7 @@ 1114 1114 1115 1115 (% style="color:blue" %)**Downlink Command: 0x01** 1116 1116 888 + 1117 1117 Format: Command Code (0x01) followed by 3 bytes time value. 1118 1118 1119 1119 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01. ... ... @@ -1121,6 +1121,7 @@ 1121 1121 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1122 1122 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1123 1123 896 + 1124 1124 == 3.2 Set Interrupt Mode == 1125 1125 1126 1126 ... ... @@ -1128,20 +1128,20 @@ 1128 1128 1129 1129 (% style="color:blue" %)**AT Command: AT+INTMOD** 1130 1130 1131 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)1132 -|=(% style="width: 15 4px;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**1133 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2;width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2;width:157px" %)(((904 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 905 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 187px;" %)**Function**|=(% style="width: 165px;" %)**Response** 906 +|(% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)((( 1134 1134 0 1135 1135 OK 1136 -the mode is 0 =Disable Interrupt 909 +the mode is 0 = Disable Interrupt 1137 1137 ))) 1138 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+INTMOD=2|(% style="background-color:#f2f2f2;width:196px" %)(((911 +|(% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)((( 1139 1139 Set Transmit Interval 1140 1140 0. (Disable Interrupt), 1141 1141 ~1. (Trigger by rising and falling edge) 1142 1142 2. (Trigger by falling edge) 1143 1143 3. (Trigger by rising edge) 1144 -)))|(% style=" background-color:#f2f2f2;width:157px" %)OK917 +)))|(% style="width:165px" %)OK 1145 1145 1146 1146 (% style="color:blue" %)**Downlink Command: 0x06** 1147 1147 ... ... @@ -1152,6 +1152,7 @@ 1152 1152 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1153 1153 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1154 1154 928 + 1155 1155 == 3.3 Set the output time == 1156 1156 1157 1157 ... ... @@ -1159,54 +1159,52 @@ 1159 1159 1160 1160 (% style="color:blue" %)**AT Command: AT+3V3T** 1161 1161 1162 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:474px" %)1163 -|=(% 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**1164 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2;width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2;width:116px" %)(((936 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:474px" %) 937 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 201px;" %)**Function**|=(% style="width: 116px;" %)**Response** 938 +|(% style="width:154px" %)AT+3V3T=?|(% style="width:201px" %)Show 3V3 open time.|(% style="width:116px" %)((( 1165 1165 0 1166 1166 OK 1167 1167 ))) 1168 -|(% 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" %)(((942 +|(% style="width:154px" %)AT+3V3T=0|(% style="width:201px" %)Normally open 3V3 power supply.|(% style="width:116px" %)((( 1169 1169 OK 1170 1170 default setting 1171 1171 ))) 1172 -|(% 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" %)(((946 +|(% style="width:154px" %)AT+3V3T=1000|(% style="width:201px" %)Close after a delay of 1000 milliseconds.|(% style="width:116px" %)((( 1173 1173 OK 1174 1174 ))) 1175 -|(% 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" %)(((949 +|(% style="width:154px" %)AT+3V3T=65535|(% style="width:201px" %)Normally closed 3V3 power supply.|(% style="width:116px" %)((( 1176 1176 OK 1177 1177 ))) 1178 1178 1179 1179 (% style="color:blue" %)**AT Command: AT+5VT** 1180 1180 1181 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:470px" %)1182 -|=(% 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**1183 -|(% style=" background-color:#f2f2f2;width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2;width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2;width:114px" %)(((955 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:470px" %) 956 +|=(% style="width: 155px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 114px;" %)**Response** 957 +|(% style="width:155px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:114px" %)((( 1184 1184 0 1185 1185 OK 1186 1186 ))) 1187 -|(% 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" %)(((961 +|(% style="width:155px" %)AT+5VT=0|(% style="width:196px" %)Normally closed 5V power supply.|(% style="width:114px" %)((( 1188 1188 OK 1189 1189 default setting 1190 1190 ))) 1191 -|(% 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" %)(((965 +|(% style="width:155px" %)AT+5VT=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:114px" %)((( 1192 1192 OK 1193 1193 ))) 1194 -|(% 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" %)(((968 +|(% style="width:155px" %)AT+5VT=65535|(% style="width:196px" %)Normally open 5V power supply.|(% style="width:114px" %)((( 1195 1195 OK 1196 1196 ))) 1197 1197 1198 -(% style="color:blue" %)**AT Command: AT+12VT 972 +(% style="color:blue" %)**AT Command: AT+12VT** 1199 1199 1200 -(% style="color:blue" %)**(The v1.2 version is enabled for 1 second by default, and the version below v1.2 is disabled by default)** 1201 - 1202 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %) 1203 -|=(% 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** 1204 -|(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)((( 974 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:443px" %) 975 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 199px;" %)**Function**|=(% style="width: 83px;" %)**Response** 976 +|(% style="width:156px" %)AT+12VT=?|(% style="width:199px" %)Show 12V open time.|(% style="width:83px" %)((( 1205 1205 0 1206 1206 OK 1207 1207 ))) 1208 -|(% 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" %)OK1209 -|(% 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" %)(((980 +|(% style="width:156px" %)AT+12VT=0|(% style="width:199px" %)Normally closed 12V power supply.|(% style="width:83px" %)OK 981 +|(% style="width:156px" %)AT+12VT=500|(% style="width:199px" %)Close after a delay of 500 milliseconds.|(% style="width:83px" %)((( 1210 1210 OK 1211 1211 ))) 1212 1212 ... ... @@ -1223,6 +1223,7 @@ 1223 1223 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 1224 1224 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 1225 1225 998 + 1226 1226 == 3.4 Set the all data mode == 1227 1227 1228 1228 ... ... @@ -1230,13 +1230,13 @@ 1230 1230 1231 1231 (% style="color:blue" %)**AT Command: AT+ALLDATAMOD** 1232 1232 1233 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:437px" %)1234 -|= (% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response**1235 -| (% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)(((1006 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %) 1007 +|=**Command Example**|=**Function**|=**Response** 1008 +|AT+ALLDATAMOD=?|Show current all data mode|((( 1236 1236 0 1237 1237 OK 1238 1238 ))) 1239 -| (% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=1|(% style="background-color:#f2f2f2" %)Set all data mode is 1.|(% style="background-color:#f2f2f2" %)OK1012 +|AT+ALLDATAMOD=1|Set all data mode is 1.|OK 1240 1240 1241 1241 (% style="color:blue" %)**Downlink Command: 0xAB** 1242 1242 ... ... @@ -1245,6 +1245,7 @@ 1245 1245 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 1246 1246 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1247 1247 1021 + 1248 1248 == 3.5 Set the splicing payload for uplink == 1249 1249 1250 1250 ... ... @@ -1252,21 +1252,21 @@ 1252 1252 1253 1253 (% style="color:blue" %)**AT Command: AT+DATAUP** 1254 1254 1255 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)1256 -|=(% 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**1257 -|(% 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" %)(((1029 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) 1030 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 266px;" %)**Function**|=**Response** 1031 +|(% style="width:154px" %)AT+DATAUP =?|(% style="width:266px" %)Show current splicing payload for uplink mode|((( 1258 1258 0 1259 1259 OK 1260 1260 ))) 1261 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+DATAUP =0|(% style="background-color:#f2f2f2;width:266px" %)(((1035 +|(% style="width:154px" %)AT+DATAUP =0|(% style="width:266px" %)((( 1262 1262 Set splicing payload for uplink mode is 0. 1263 -)))|( % style="background-color:#f2f2f2" %)(((1037 +)))|((( 1264 1264 OK 1265 1265 ))) 1266 -|(% 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" %)OK1267 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+DATAUP =1,20000|(% style="background-color:#f2f2f2;width:266px" %)(((1040 +|(% 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 1041 +|(% style="width:154px" %)AT+DATAUP =1,20000|(% style="width:266px" %)((( 1268 1268 Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds. 1269 -)))| (% style="background-color:#f2f2f2" %)OK1043 +)))|OK 1270 1270 1271 1271 (% style="color:blue" %)**Downlink Command: 0xAD** 1272 1272 ... ... @@ -1286,13 +1286,13 @@ 1286 1286 1287 1287 (% style="color:blue" %)**AT Command: AT+PAYVER** 1288 1288 1289 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:437px" %)1290 -|=(% 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**1291 -|(% style=" background-color:#f2f2f2;width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2;width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)(((1063 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %) 1064 +|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 192px;" %)**Function**|=**Response** 1065 +|(% style="width:158px" %)AT+PAYVER=?|(% style="width:192px" %)Show current payload version|((( 1292 1292 1 1293 1293 OK 1294 1294 ))) 1295 -|(% style=" background-color:#f2f2f2;width:158px" %)AT+PAYVER=5|(% style="background-color:#f2f2f2;width:192px" %)Set payload version is 5.|(% style="background-color:#f2f2f2" %)OK1069 +|(% style="width:158px" %)AT+PAYVER=5|(% style="width:192px" %)Set payload version is 5.|OK 1296 1296 1297 1297 (% style="color:blue" %)**Downlink Command: 0xAE** 1298 1298 ... ... @@ -1301,14 +1301,77 @@ 1301 1301 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1302 1302 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1303 1303 1304 -= 4. Battery & Power Consumption = 1305 1305 1079 += 4. Battery & how to replace = 1306 1306 1307 - SDI-12-LBuse ER26500 + SPC1520battery pack and SDI-12-LS use 3000mAh RecharableBatterywith Solar Panel. See below link for detail information about the batteryinfo and how to replace.1081 +== 4.1 Battery Type == 1308 1308 1309 -[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 1310 1310 1084 +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. 1311 1311 1086 + 1087 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 1088 + 1089 +[[image:1675234124233-857.png||_mstalt="295035"]] 1090 + 1091 + 1092 +Minimum Working Voltage for the SDI-12-LB: 1093 + 1094 +SDI-12-LB: 2.45v ~~ 3.6v 1095 + 1096 + 1097 +== 4.2 Replace Battery == 1098 + 1099 + 1100 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1101 + 1102 +And make sure the positive and negative pins match. 1103 + 1104 + 1105 +== 4.3 Power Consumption Analyze == 1106 + 1107 + 1108 +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. 1109 + 1110 +Instruction to use as below: 1111 + 1112 +(% 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]] 1113 + 1114 +(% style="color:blue" %)**Step 2:**(%%) Open it and choose 1115 + 1116 +* Product Model 1117 +* Uplink Interval 1118 +* Working Mode 1119 + 1120 +And the Life expectation in difference case will be shown on the right. 1121 + 1122 + 1123 +[[image:1675234155374-163.png||_mstalt="294411"]] 1124 + 1125 + 1126 +The battery related documents as below: 1127 + 1128 +* [[Battery Dimension>>https://www.dropbox.com/s/ox5g9njwjle7aw3/LSN50-Battery-Dimension.pdf?dl=0]], 1129 +* [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]] 1130 +* [[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]] 1131 + 1132 +[[image:image-20230201145019-19.png||_mstalt="453947"]] 1133 + 1134 + 1135 +=== 4.3.1 Battery Note === 1136 + 1137 + 1138 +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. 1139 + 1140 + 1141 +=== 4.3.2 Replace the battery === 1142 + 1143 + 1144 +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. 1145 + 1146 +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) 1147 + 1148 + 1312 1312 = 5. Remote Configure device = 1313 1313 1314 1314 == 5.1 Connect via BLE == ... ... @@ -1354,28 +1354,25 @@ 1354 1354 1355 1355 1356 1356 ((( 1357 -(% style="color:blue" %)**Part Number: SDI-12-LB-XX -YY or SDI-12-LS-XX-YY**1194 +(% style="color:blue" %)**Part Number: SDI-12-LB-XXX** 1358 1358 ))) 1359 1359 1360 1360 ((( 1361 - (% style="color:blue" %)**XX**(%%): The default frequency band1198 +XXX: The default frequency band 1362 1362 ))) 1363 1363 1364 1364 ((( 1365 - *(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band1366 - *(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band1367 - *(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band1368 - *(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band1369 - *(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band1370 - *(% style="color:red" %)**US915**(%%): LoRaWAN US915 band1371 - *(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band1372 - *(% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band1202 +(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1203 +(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1204 +(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 1205 +(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 1206 +(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 1207 +(% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1208 +(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1209 +(% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1373 1373 ))) 1374 1374 1375 -(% style="color:blue" %)**YY: **(%%)The grand connector hole size 1376 1376 1377 -* M12: M12 hole 1378 -* M16: M16 hole 1379 1379 1380 1380 = 9. Packing Info = 1381 1381 ... ... @@ -1382,7 +1382,7 @@ 1382 1382 1383 1383 (% style="color:#037691" %)**Package Includes**: 1384 1384 1385 -* SDI-12-LB orSDI-12-LSSDI-12to LoRaWAN Converter x 11219 +* SDI-12-LB SDI-12 to LoRaWAN Converter x 1 1386 1386 1387 1387 (% style="color:#037691" %)**Dimension and weight**: 1388 1388 ... ... @@ -1391,6 +1391,7 @@ 1391 1391 * Package Size / pcs : cm 1392 1392 * Weight / pcs : g 1393 1393 1228 + 1394 1394 = 10. Support = 1395 1395 1396 1396 ... ... @@ -1397,3 +1397,5 @@ 1397 1397 * 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. 1398 1398 1399 1399 * 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]] 1235 + 1236 +
- 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
- image-20230627164957-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -835.0 KB - Content
- image-20230627165744-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.6 KB - Content
- image-20230627174446-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -835.0 KB - Content
- image-20230627174559-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.6 KB - Content
- image-20230627175513-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.0 KB - Content
- image-20230627175736-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -10.4 KB - Content
- image-20230627180303-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -65.1 KB - Content
- image-20230628090323-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -137.2 KB - Content
- image-20230628091055-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.9 KB - Content
- image-20230628091130-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -84.0 KB - Content
- image-20240103164910-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -431.6 KB - Content
- image-20240103165115-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -220.0 KB - Content
- image-20240103165259-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -235.3 KB - Content