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, 34 added, 0 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 -- SDI-12 to LoRaWAN Converter User Manual 1 +SDI-12-LB/LS -- SDI-12 to LoRaWAN Converter User Manual - Content
-
... ... @@ -1,8 +1,16 @@ 1 + 2 + 1 1 (% style="text-align:center" %) 2 -[[image:image-202 30131183542-1.jpeg||_mstalt="470678" height="694" width="694"]]4 +[[image:image-20240103165259-3.png]] 3 3 4 -**Table of Contents:** 5 5 7 + 8 + 9 + 10 + 11 + 12 +**Table of Contents:** 13 + 6 6 {{toc/}} 7 7 8 8 ... ... @@ -23,7 +23,7 @@ 23 23 24 24 25 25 ((( 26 -The Dragino (% style="color:blue" %)**SDI-12-LB**(%%) is a (% style="color:blue" %)**SDI-12 to LoRaWAN Converter **(%%)designed for Smart Agriculture solution. 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. 27 27 ))) 28 28 29 29 ((( ... ... @@ -31,19 +31,19 @@ 31 31 ))) 32 32 33 33 ((( 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. 42 +SDI-12-LB/LS 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. 35 35 ))) 36 36 37 37 ((( 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. 46 +The LoRa wireless technology used in SDI-12-LB/LS 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. 39 39 ))) 40 40 41 41 ((( 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.50 +SDI-12-LB/LS is 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. 43 43 ))) 44 44 45 45 ((( 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. 54 +Each SDI-12-LB/LS 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. 47 47 ))) 48 48 49 49 ... ... @@ -65,8 +65,6 @@ 65 65 * Downlink to change configure 66 66 * 8500mAh Battery for long term use 67 67 68 - 69 - 70 70 == 1.3 Specification == 71 71 72 72 ... ... @@ -79,8 +79,7 @@ 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 88 +* Support current: 5V 300mA, 12V 100mA 84 84 * Operating Temperature: -40 ~~ 85°C 85 85 86 86 (% style="color:#037691" %)**LoRa Spec:** ... ... @@ -115,12 +115,9 @@ 115 115 * Sleep Mode: 5uA @ 3.3v 116 116 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 117 117 118 - 119 - 120 120 == 1.4 Connect to SDI-12 Sensor == 121 121 122 122 123 - 124 124 [[image:1675212538524-889.png||_mstalt="298272"]] 125 125 126 126 ... ... @@ -138,21 +138,19 @@ 138 138 [[image:1675212633011-651.png||_mstalt="291538"]] 139 139 140 140 141 -(% border="1" cellspacing="4" style="background-color:#f 7faff;color:black;width:510px" %)142 -|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 1 09px;" %)**Function**|=(% style="width: 231px;" %)**Action**143 -|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:1 09px" %)Send an uplink|(% style="width:231px" %)(((143 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 144 +|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action** 145 +|(% 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" %)((( 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="width:167px" %)Pressing ACT for more than 3s|(% style="width:1 09px" %)Active Device|(% style="width:231px" %)(((148 -(% 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. 149 -(% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 149 +|(% 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" %)((( 150 +(% 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. 151 +(% style="background-color:#f2f2f2; 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="width:167px" %)Fast press ACT 5 times.|(% style="width:1 09px" %)Deactivate Device|(% style="width:231px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means SDI-12-LB is in Deep Sleep Mode.154 +|(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB-NA is in Deep Sleep Mode. 153 153 154 - 155 - 156 156 == 1.7 Pin Mapping == 157 157 158 158 ... ... @@ -162,7 +162,7 @@ 162 162 == 1.8 BLE connection == 163 163 164 164 165 -SDI-12-LB support BLE remote configure. 165 +SDI-12-LB/LS support BLE remote configure. 166 166 167 167 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case: 168 168 ... ... @@ -188,7 +188,7 @@ 188 188 == 2.1 How it works == 189 189 190 190 191 -The SDI-12-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and activate the SDI-12-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 191 +The SDI-12-LB/LS 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/LS. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 192 192 193 193 194 194 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == ... ... @@ -203,14 +203,13 @@ 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. 204 204 205 205 206 -(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from SDI-12-LB. 206 +(% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from SDI-12-LB/LS. 207 207 208 -Each SDI-12-LB is shipped with a sticker with the default device EUI as below: 208 +Each SDI-12-LB/LS is shipped with a sticker with the default device EUI as below: 209 209 210 +[[image:image-20230426084456-1.png||height="241" width="519"]] 210 210 211 -[[image:image-20230201152430-20.jpeg||_mstalt="492245"]] 212 212 213 - 214 214 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 215 215 216 216 ... ... @@ -236,10 +236,10 @@ 236 236 [[image:1675213686734-883.png||_mstalt="298064"]] 237 237 238 238 239 -(% style="color:blue" %)**Step 2**(%%): Activate on SDI-12-LB 238 +(% style="color:blue" %)**Step 2**(%%): Activate on SDI-12-LB/LS 240 240 241 241 242 -Press the button for 5 seconds to activate the SDI-12-LB. 241 +Press the button for 5 seconds to activate the SDI-12-LB/LS. 243 243 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 ... ... @@ -250,7 +250,7 @@ 250 250 == 2.3 SDI-12 Related Commands == 251 251 252 252 253 -User need to configure SDI-12-LB to communicate with SDI-12 sensors otherwise the uplink payload will only include a few bytes. 252 +User need to configure SDI-12-LB/LS to communicate with SDI-12 sensors otherwise the uplink payload will only include a few bytes. 254 254 255 255 256 256 === 2.3.1 Basic SDI-12 debug command === ... ... @@ -258,7 +258,7 @@ 258 258 259 259 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. 260 260 261 -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. 260 +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. 262 262 263 263 The following is the display information on the serial port and the server. 264 264 ... ... @@ -364,7 +364,6 @@ 364 364 365 365 366 366 367 - 368 368 ==== (% style="color:blue" %)**aR0!- aR9!, aRC0!- aRC9!**(%%) ==== 369 369 370 370 ... ... @@ -402,7 +402,7 @@ 402 402 This command can be used to debug all SDI-12 command. 403 403 404 404 405 -LoRaWAN Downlink: A8 aa xx xx xx xx bb cc 403 +LoRaWAN Downlink: A8 aa xx xx xx xx bb cc dd 406 406 407 407 (% style="color:#037691" %)**aa **(%%): total SDI-12 command length 408 408 ... ... @@ -412,9 +412,11 @@ 412 412 413 413 (% style="color:#037691" %)**cc **(%%): 0: don't uplink return to LoRaWAN, 1: Uplink return to LoRaWAN on FPORT=100 414 414 413 +(% style="color:#037691" %)**dd: **(%%) 0: Do not use aD0! command access, 1: use aD0! command access. 415 415 416 -(% style="color:blue" %)**Example: **(%%) AT+CFGDEV =0RC0!,1 417 417 416 +(% style="color:blue" %)**Example1: **(%%) AT+CFGDEV =0RC0!,1 417 + 418 418 (% style="color:#037691" %)**0RC0! **(%%): SDI-12 Command, 419 419 420 420 (% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) ... ... @@ -431,6 +431,25 @@ 431 431 [[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]] 432 432 433 433 434 +(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1 435 + 436 +(% style="color:#037691" %)**0M! **(%%): SDI-12 Command, 437 + 438 +(% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) 439 + 440 +(% style="color:#037691" %)**1 **(%%): Use aD0! command access. 441 + 442 +Equal Downlink: 0xA8 03 30 4D 21 01 01 01 443 + 444 + 445 +The following is the display information on the serial port and the server. 446 + 447 + 448 +[[image:image-20230628091055-1.png||height="368" width="462"]] 449 + 450 +[[image:image-20230628091130-2.png||height="258" width="879"]] 451 + 452 + 434 434 === 2.3.3 Convert ASCII to String === 435 435 436 436 ... ... @@ -456,7 +456,7 @@ 456 456 457 457 AT+COMMANDx & AT+DATACUTx 458 458 459 -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. 478 +User can define max 15 SDI-12 Commands (AT+COMMAND1 ~~ AT+COMMANDF). On each uplink period (TDC time, default 20 minutes), SDI-12-LB/LS will send these SDI-12 commands and wait for return from SDI-12 sensors. SDI-12-LB/LS will then combine these returns and uplink via LoRaWAN. 460 460 461 461 462 462 * (% style="color:blue" %)**AT Command:** ... ... @@ -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 3 retries. 491 +(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB/LS will resend this command. Max 3 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=" background-color:#f7faff;width:436px" %)489 -|(% style="width:433px" %)((( 490 -**AT+DATACUTx=a,b,c** 507 +(% border="1" style="width:436px" %) 508 +|(% style="background-color:#f2f2f2; width:433px" %)((( 509 +(% style="color:#0070c0" %)**AT+DATACUTx=a,b,c** 491 491 492 492 **a**: length for the return of AT+COMMAND 493 493 ... ... @@ -499,11 +499,11 @@ 499 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: 500 500 501 501 502 -(% border="1" cellspacing="4" style="background-color:#f 7faff; width:510px" %)503 -|=(% style="width: 164px;" %)**AT+DATACUT1 value**|=(% style="width: 344px;" %)**Final Result to combine Payload** 504 -|(% style="width:164px" %)34,1,1+2+3|(% style="width:344px" %)0D 00 01 30 31 33 505 -|(% 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 506 -|(% 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 521 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 522 +|=(% style="width: 164px;background-color:#D9E2F3;color:#0070C0" %)**AT+DATACUT1 value**|=(% style="width: 344px;background-color:#D9E2F3;color:#0070C0" %)**Final Result to combine Payload** 523 +|(% style="background-color:#f2f2f2; width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33 524 +|(% style="background-color:#f2f2f2; width:164px" %)34,2,1~~8+12~~16|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32 525 +|(% style="background-color:#f2f2f2; width:164px" %)34,2,1~~34|(% style="background-color:#f2f2f2; width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 20 20 20 54 45 52 31 32 20 31 31 32 54 31 32 2D 30 30 30 32 34 38 39 35 0D 0A 507 507 508 508 * (% style="color:blue" %)** Downlink Payload:** 509 509 ... ... @@ -521,7 +521,7 @@ 521 521 * (% style="color:#037691" %)**NN **(%%): 1: set the AT+COMMAND 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, SDI-12-LB will execute the downlink command without uplink; if YY=1, SDI-12-LB will execute an uplink after got this command. 543 +* (% style="color:#037691" %)**YY **(%%): If YY=0, SDI-12-LB/LS will execute the downlink command without uplink; if YY=1, SDI-12-LB/LS will execute an uplink after got this command. 525 525 526 526 (% style="color:blue" %)**Example:** 527 527 ... ... @@ -616,14 +616,14 @@ 616 616 === 2.4.1 Device Payload, FPORT~=5 === 617 617 618 618 619 -Include device configure status. Once SDI-12-LB Joined the network, it will uplink this message to the server. 638 +Include device configure status. Once SDI-12-LB/LS Joined the network, it will uplink this message to the server. 620 620 621 -Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink. 640 +Users can also use the downlink command(0x26 01) to ask SDI-12-LB/LS to resend this uplink. 622 622 623 -(% border="1" cellspacing="4" style="background-color:#f 7faff; width:420px" %)624 -|(% colspan="6" style=" width:434px" %)**Device Status (FPORT=5)**625 -|(% style="width:1 14px" %)**Size(bytes)**|(% style="width:39px" %)**1**|(% style="width:80px" %)**2**|(% style="width:89px" %)**1**|(% style="width:59px" %)**1**|(% style="width:37px" %)**2**626 -|(% style="width:1 14px" %)**Value**|(% style="width:39px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:89px" %)Frequency Band|(% style="width:59px" %)Sub-band|(% style="width:37px" %)BAT642 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 643 +|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 644 +|(% 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** 645 +|(% 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 627 627 628 628 Example parse in TTNv3 629 629 ... ... @@ -630,39 +630,39 @@ 630 630 [[image:1675215946738-635.png||_mstalt="297778"]] 631 631 632 632 633 -(% style="color:#037691" %)**Sensor Model**(%%): For SDI-12-LB, this value is 0x17 652 +(% style="color:#037691" %)**Sensor Model**(%%): For SDI-12-LB/LS, this value is 0x17 634 634 635 635 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 636 636 637 637 (% style="color:#037691" %)**Frequency Band**: 638 638 639 - *0x01: EU868658 +0x01: EU868 640 640 641 - *0x02: US915660 +0x02: US915 642 642 643 - *0x03: IN865662 +0x03: IN865 644 644 645 - *0x04: AU915664 +0x04: AU915 646 646 647 - *0x05: KZ865666 +0x05: KZ865 648 648 649 - *0x06: RU864668 +0x06: RU864 650 650 651 - *0x07: AS923670 +0x07: AS923 652 652 653 - *0x08: AS923-1672 +0x08: AS923-1 654 654 655 - *0x09: AS923-2674 +0x09: AS923-2 656 656 657 - *0x0a: AS923-3676 +0x0a: AS923-3 658 658 659 - *0x0b: CN470678 +0x0b: CN470 660 660 661 - *0x0c: EU433680 +0x0c: EU433 662 662 663 - *0x0d: KR920682 +0x0d: KR920 664 664 665 - *0x0e: MA869684 +0x0e: MA869 666 666 667 667 668 668 (% style="color:#037691" %)**Sub-Band**: ... ... @@ -692,11 +692,11 @@ 692 692 693 693 * Periodically Uplink: FPORT=2 694 694 695 -(% border="1" cellspacing="4" style="background-color:#f 7faff; width:500px" %)696 -|=(% style="width: 90px;" %)((( 714 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 715 +|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)((( 697 697 **Size(bytes)** 698 -)))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands** 699 -|(% style="width:93px" %) **Value**|(% style="width:83px" %)(((717 +)))|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 240px;background-color:#D9E2F3;color:#0070C0" %)**Length depends on the return from the commands** 718 +|(% style="width:93px" %)Value|(% style="width:83px" %)((( 700 700 Battery(mV) 701 701 & 702 702 Interrupt_Flag ... ... @@ -711,7 +711,7 @@ 711 711 === 2.4.3 Battery Info === 712 712 713 713 714 -Check the battery voltage for SDI-12-LB. 733 +Check the battery voltage for SDI-12-LB/LS. 715 715 716 716 Ex1: 0x0B45 = 2885mV 717 717 ... ... @@ -732,6 +732,7 @@ 732 732 733 733 === 2.4.5 Payload version === 734 734 754 + 735 735 The version number of the payload, mainly used for decoding. The default is 01. 736 736 737 737 ... ... @@ -745,23 +745,23 @@ 745 745 746 746 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. 747 747 748 -SDI-12-LB TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]] 768 +SDI-12-LB/LS TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]] 749 749 750 750 751 751 == 2.5 Uplink Interval == 752 752 753 753 754 -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: 774 +The SDI-12-LB/LS by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: 755 755 756 756 [[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]] 757 757 758 758 759 -== 2.6 Examples To Set SDI commands .==779 +== 2.6 Examples To Set SDI commands == 760 760 761 -=== 2.6.1 Examples 1 === 781 +=== 2.6.1 Examples 1 ~-~- General Example === 762 762 763 763 764 -COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication. 784 +COM port and SDI-12 sensor communication converted to SDI-12-LB/LS and SDI-12 sensor communication. 765 765 766 766 [[image:image-20230222143809-1.png||_mstalt="429962" height="564" width="729"]] 767 767 ... ... @@ -824,10 +824,208 @@ 824 824 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”**. 825 825 826 826 847 +=== 2.6.2 Example 2 ~-~- Connect to Hygrovue10 === 848 + 849 +==== 2.6.2.1 Reference Manual and Command ==== 850 + 851 + 852 +* [[Hygrovue10 Product Page>>https://www.campbellsci.com/hygrovue10]] 853 + 854 +* Commands to be used in PC and output. 855 + 856 +~1. check device address 857 + 858 +2. change device address 859 + 860 +3. check device ID 861 + 862 +4. start measure 863 + 864 +5. Get Meausre result 865 + 866 +[[image:image-20230603120209-2.png||height="281" width="267"]] 867 + 868 + 869 +==== 2.6.2.2 Hardware Connection to SDI-12-LB/LS ==== 870 + 871 + 872 +[[image:image-20230603120515-3.png]] 873 + 874 + 875 +==== 2.6.2.3 Commands set in SDI-12-LB/LS and uplink payload ==== 876 + 877 + 878 +[[image:image-20230603120648-4.png]] 879 + 880 +[[image:image-20230603120726-5.png]] 881 + 882 + 883 +**Data in TTN:** 884 + 885 +[[image:image-20230603120859-6.png||height="118" width="1285"]] 886 + 887 + 888 +=== 2.6.3 Example 3 ~-~- Connect to SIL-400 === 889 + 890 +==== 2.6.3.1 Reference Manual and Command ==== 891 + 892 + 893 +* [[SIL-400 Product Page>>https://www.apogeeinstruments.com/sil-411-commercial-grade-sdi-12-digital-output-standard-field-of-view-infrared-radiometer-sensor/]] 894 + 895 +* Commands to be used in PC and output. 896 + 897 +~1. check device address 898 + 899 +2. change device address 900 + 901 +3. check device ID 902 + 903 +4. start measure 904 + 905 +5. Get Meausre result 906 + 907 +[[image:image-20230603121606-7.png||height="242" width="307"]] 908 + 909 + 910 +==== 2.6.3.2 Hardware Connection to SDI-12-LB/LS ==== 911 + 912 + 913 +[[image:image-20230603121643-8.png||height="442" width="656"]] 914 + 915 + 916 +==== 2.6.3.3 Commands set in SDI-12-LB/LS and uplink payload ==== 917 + 918 + 919 +[[image:image-20230603121721-9.png]] 920 + 921 +[[image:image-20230628090323-1.png||height="414" width="694"]] 922 + 923 +Data in TTN: 924 + 925 +[[image:image-20230603121826-11.png||height="155" width="1104"]] 926 + 927 + 928 + 929 +=== 2.6.4 Example 4 ~-~- Connect to TEROS-12 === 930 + 931 +==== 2.6.4.1 Reference Manual and Command ==== 932 + 933 + 934 +* [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]] 935 + 936 +* Commands to be used in PC and output. 937 + 938 +1.check device address 939 + 940 +2.change device address 941 + 942 +3.check device ID 943 + 944 +4.start measure 945 + 946 +5.Get Meausre result 947 + 948 +[[image:image-20230603122248-16.png||height="196" width="198"]] 949 + 950 + 951 +==== 2.6.4.2 Hardware Connection to SDI-12-LB/LS ==== 952 + 953 + 954 +[[image:image-20230603122212-15.png||height="502" width="667"]] 955 + 956 + 957 +==== 2.6.4.3 Commands set in SDI-12-LB/LS and uplink payload ==== 958 + 959 + 960 +[[image:image-20230603122040-12.png]] 961 + 962 +[[image:image-20230603122109-13.png||height="469" width="762"]] 963 + 964 + 965 +**Data in TTN:** 966 + 967 +[[image:image-20230603122139-14.png||height="148" width="1128"]] 968 + 969 + 970 +=== 2.6.5 Example 5 ~-~- Connect to SIL-400/TEROS-12 & Hygrovue10 === 971 + 972 +==== 2.6.5.1 Important Notice! ==== 973 + 974 + 975 +* The product page and reference command see above example 2,3,4 976 + 977 +* 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. 978 + 979 +* 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. 980 + 981 +* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB/LS. 982 + 983 +==== 2.6.5.2 Hardware Connection to SDI-12-LB/LS ==== 984 + 985 + 986 +[[image:image-20230603122508-17.png||height="526" width="742"]] 987 + 988 + 989 +==== 2.6.5.3 Commands set in SDI-12-LB/LS and uplink payload ==== 990 + 991 + 992 +[[image:image-20230603122549-18.png]] 993 + 994 +[[image:image-20230603122623-19.png||height="483" width="1121"]] 995 + 996 + 997 +**Data in TTN:** 998 + 999 +[[image:image-20230603122719-20.png||height="151" width="1179"]] 1000 + 1001 + 1002 +=== 2.6.6 Example 6 ~-~- Connect to ENTELECHY-EP_SDI-12 === 1003 + 1004 +==== 2.6.6.1 Reference Manual and Command ==== 1005 + 1006 + 1007 +* [[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]] 1008 + 1009 +* Commands to be used in PC and output. 1010 + 1011 +1.check device address 1012 + 1013 +2.change device address 1014 + 1015 +3.check device ID 1016 + 1017 +4.start measure 1018 + 1019 +5.Get Meausre result 1020 + 1021 + 1022 +[[image:image-20230627174559-3.png]] 1023 + 1024 + 1025 +==== 2.6.6.2 Hardware Connection to SDI-12-LB/LS ==== 1026 + 1027 + 1028 +[[image:image-20230627174446-2.png]] 1029 + 1030 + 1031 + 1032 +==== 2.6.6.3 Commands set in SDI-12-LB/LS and uplink payload ==== 1033 + 1034 + 1035 +[[image:image-20230627175513-4.png||height="596" width="576"]] 1036 + 1037 +[[image:image-20230627175736-5.png||height="429" width="693"]] 1038 + 1039 + 1040 +**Data in TTN:** 1041 + 1042 +[[image:image-20230627180303-6.png||height="292" width="1171"]] 1043 + 1044 + 827 827 == 2.7 Frequency Plans == 828 828 829 829 830 -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. 1048 +The SDI-12-LB/LS 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. 831 831 832 832 [[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/]] 833 833 ... ... @@ -840,15 +840,15 @@ 840 840 [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]] 841 841 842 842 843 -= 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink = 1061 += 3. Configure SDI-12-LB/LS via AT Command or LoRaWAN Downlink = 844 844 845 845 846 -Use can configure SDI-12-LB via AT Command or LoRaWAN Downlink. 1064 +Use can configure SDI-12-LB/LS via AT Command or LoRaWAN Downlink. 847 847 848 848 * AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]]. 849 849 * LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 850 850 851 -There are two kinds of commands to configure SDI-12-LB, they are: 1069 +There are two kinds of commands to configure SDI-12-LB/LS, they are: 852 852 853 853 * (% style="color:blue" %)**General Commands**. 854 854 ... ... @@ -862,9 +862,9 @@ 862 862 [[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/]] 863 863 864 864 865 -* (% style="color:blue" %)**Commands special design for SDI-12-LB** 1083 +* (% style="color:blue" %)**Commands special design for SDI-12-LB/LS** 866 866 867 -These commands only valid for SDI-12-LB, as below: 1085 +These commands only valid for SDI-12-LB/LS, as below: 868 868 869 869 870 870 == 3.1 Set Transmit Interval Time == ... ... @@ -874,14 +874,14 @@ 874 874 875 875 (% style="color:blue" %)**AT Command: AT+TDC** 876 876 877 -(% border="1" cellspacing="4" style="background-color:#f 7faff;color:black;width:510px" %)878 -|=(% style="width: 1 56px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response**879 -|(% style="width:15 6px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((1095 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1096 +|=(% style="width: 160px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Command Example**|=(% style="width: 160px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1097 +|(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)((( 880 880 30000 881 881 OK 882 882 the interval is 30000ms = 30s 883 883 ))) 884 -|(% style="width:15 6px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|(((1102 +|(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=60000|(% style="background-color:#f2f2f2; width:166px" %)Set Transmit Interval|(% style="background-color:#f2f2f2" %)((( 885 885 OK 886 886 Set transmit interval to 60000ms = 60 seconds 887 887 ))) ... ... @@ -888,7 +888,6 @@ 888 888 889 889 (% style="color:blue" %)**Downlink Command: 0x01** 890 890 891 - 892 892 Format: Command Code (0x01) followed by 3 bytes time value. 893 893 894 894 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01. ... ... @@ -896,8 +896,6 @@ 896 896 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 897 897 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 898 898 899 - 900 - 901 901 == 3.2 Set Interrupt Mode == 902 902 903 903 ... ... @@ -905,20 +905,20 @@ 905 905 906 906 (% style="color:blue" %)**AT Command: AT+INTMOD** 907 907 908 -(% border="1" cellspacing="4" style="background-color:#f 7faff;color:black;width:510px" %)909 -|=(% style="width: 15 6px;" %)**Command Example**|=(% style="width: 187px;" %)**Function**|=(% style="width: 165px;" %)**Response**910 -|(% style="width:15 6px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)(((1123 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1124 +|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 160px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1125 +|(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)((( 911 911 0 912 912 OK 913 -the mode is 0 = 1128 +the mode is 0 =Disable Interrupt 914 914 ))) 915 -|(% style="width:15 6px" %)AT+INTMOD=2|(% style="width:187px" %)(((1130 +|(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=2|(% style="background-color:#f2f2f2; width:196px" %)((( 916 916 Set Transmit Interval 917 917 0. (Disable Interrupt), 918 918 ~1. (Trigger by rising and falling edge) 919 919 2. (Trigger by falling edge) 920 920 3. (Trigger by rising edge) 921 -)))|(% style="width:1 65px" %)OK1136 +)))|(% style="background-color:#f2f2f2; width:157px" %)OK 922 922 923 923 (% style="color:blue" %)**Downlink Command: 0x06** 924 924 ... ... @@ -929,8 +929,6 @@ 929 929 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 930 930 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 931 931 932 - 933 - 934 934 == 3.3 Set the output time == 935 935 936 936 ... ... @@ -938,52 +938,54 @@ 938 938 939 939 (% style="color:blue" %)**AT Command: AT+3V3T** 940 940 941 -(% border="1" cellspacing="4" style="background-color:#f 7faff;color:black;width:474px" %)942 -|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 201px;" %)**Function**|=(% style="width: 1 16px;" %)**Response**943 -|(% style="width:154px" %)AT+3V3T=?|(% style="width:201px" %)Show 3V3 open time.|(% style="width:116px" %)((( 1154 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %) 1155 +|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 201px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 120px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1156 +|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)((( 944 944 0 945 945 OK 946 946 ))) 947 -|(% style="width:154px" %)AT+3V3T=0|(% style="width:201px" %)Normally open 3V3 power supply.|(% style="width:116px" %)((( 1160 +|(% 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" %)((( 948 948 OK 949 949 default setting 950 950 ))) 951 -|(% style="width:154px" %)AT+3V3T=1000|(% style="width:201px" %)Close after a delay of 1000 milliseconds.|(% style="width:116px" %)((( 1164 +|(% 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" %)((( 952 952 OK 953 953 ))) 954 -|(% style="width:154px" %)AT+3V3T=65535|(% style="width:201px" %)Normally closed 3V3 power supply.|(% style="width:116px" %)((( 1167 +|(% 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" %)((( 955 955 OK 956 956 ))) 957 957 958 958 (% style="color:blue" %)**AT Command: AT+5VT** 959 959 960 -(% border="1" cellspacing="4" style="background-color:#f 7faff;color:black;width:470px" %)961 -|=(% style="width: 155px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 11 4px;" %)**Response**962 -|(% style="width:155px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:114px" %)((( 1173 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %) 1174 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 119px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1175 +|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)((( 963 963 0 964 964 OK 965 965 ))) 966 -|(% style="width:155px" %)AT+5VT=0|(% style="width:196px" %)Normally closed 5V power supply.|(% style="width:114px" %)((( 1179 +|(% 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" %)((( 967 967 OK 968 968 default setting 969 969 ))) 970 -|(% style="width:155px" %)AT+5VT=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:114px" %)((( 1183 +|(% 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" %)((( 971 971 OK 972 972 ))) 973 -|(% style="width:155px" %)AT+5VT=65535|(% style="width:196px" %)Normally open 5V power supply.|(% style="width:114px" %)((( 1186 +|(% 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" %)((( 974 974 OK 975 975 ))) 976 976 977 -(% style="color:blue" %)**AT Command: AT+12VT** 1190 +(% style="color:blue" %)**AT Command: AT+12VT ** 978 978 979 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:443px" %) 980 -|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 199px;" %)**Function**|=(% style="width: 83px;" %)**Response** 981 -|(% style="width:156px" %)AT+12VT=?|(% style="width:199px" %)Show 12V open time.|(% style="width:83px" %)((( 1192 +(% style="color:blue" %)**(The v1.2 version is enabled for 1 second by default, and the version below v1.2 is disabled by default)** 1193 + 1194 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %) 1195 +|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 199px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 89px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1196 +|(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)((( 982 982 0 983 983 OK 984 984 ))) 985 -|(% style="width:156px" %)AT+12VT=0|(% style="width:199px" %)Normally closed 12V power supply.|(% style="width:83px" %)OK 986 -|(% style="width:156px" %)AT+12VT=500|(% style="width:199px" %)Close after a delay of 500 milliseconds.|(% style="width:83px" %)((( 1200 +|(% 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" %)OK 1201 +|(% 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" %)((( 987 987 OK 988 988 ))) 989 989 ... ... @@ -1000,8 +1000,6 @@ 1000 1000 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 1001 1001 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 1002 1002 1003 - 1004 - 1005 1005 == 3.4 Set the all data mode == 1006 1006 1007 1007 ... ... @@ -1009,13 +1009,13 @@ 1009 1009 1010 1010 (% style="color:blue" %)**AT Command: AT+ALLDATAMOD** 1011 1011 1012 -(% border="1" cellspacing="4" style="background-color:#f 7faff; width:437px" %)1013 -|=**Command Example**|=**Function**|=**Response** 1014 -|AT+ALLDATAMOD=?|Show current all data mode|((( 1225 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %) 1226 +|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response** 1227 +|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)((( 1015 1015 0 1016 1016 OK 1017 1017 ))) 1018 -|AT+ALLDATAMOD=1|Set all data mode is 1.|OK 1231 +|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=1|(% style="background-color:#f2f2f2" %)Set all data mode is 1.|(% style="background-color:#f2f2f2" %)OK 1019 1019 1020 1020 (% style="color:blue" %)**Downlink Command: 0xAB** 1021 1021 ... ... @@ -1024,8 +1024,6 @@ 1024 1024 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 1025 1025 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1026 1026 1027 - 1028 - 1029 1029 == 3.5 Set the splicing payload for uplink == 1030 1030 1031 1031 ... ... @@ -1033,21 +1033,21 @@ 1033 1033 1034 1034 (% style="color:blue" %)**AT Command: AT+DATAUP** 1035 1035 1036 -(% border="1" cellspacing="4" style="background-color:#f 7faff; width:510px" %)1037 -|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 266px;" %)**Function**|=**Response** 1038 -|(% style="width:154px" %)AT+DATAUP =?|(% style="width:266px" %)Show current splicing payload for uplink mode|((( 1247 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1248 +|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 266px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response** 1249 +|(% 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" %)((( 1039 1039 0 1040 1040 OK 1041 1041 ))) 1042 -|(% style="width:154px" %)AT+DATAUP =0|(% style="width:266px" %)((( 1253 +|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =0|(% style="background-color:#f2f2f2; width:266px" %)((( 1043 1043 Set splicing payload for uplink mode is 0. 1044 -)))|((( 1255 +)))|(% style="background-color:#f2f2f2" %)((( 1045 1045 OK 1046 1046 ))) 1047 -|(% 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 1048 -|(% style="width:154px" %)AT+DATAUP =1,20000|(% style="width:266px" %)((( 1258 +|(% 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" %)OK 1259 +|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =1,20000|(% style="background-color:#f2f2f2; width:266px" %)((( 1049 1049 Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds. 1050 -)))|OK 1261 +)))|(% style="background-color:#f2f2f2" %)OK 1051 1051 1052 1052 (% style="color:blue" %)**Downlink Command: 0xAD** 1053 1053 ... ... @@ -1067,13 +1067,13 @@ 1067 1067 1068 1068 (% style="color:blue" %)**AT Command: AT+PAYVER** 1069 1069 1070 -(% border="1" cellspacing="4" style="background-color:#f 7faff; width:437px" %)1071 -|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 192px;" %)**Function**|=**Response** 1072 -|(% style="width:158px" %)AT+PAYVER=?|(% style="width:192px" %)Show current payload version|((( 1281 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %) 1282 +|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 192px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response** 1283 +|(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2; width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)((( 1073 1073 1 1074 1074 OK 1075 1075 ))) 1076 -|(% style="width:158px" %)AT+PAYVER=5|(% style="width:192px" %)Set payload version is 5.|OK 1287 +|(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=5|(% style="background-color:#f2f2f2; width:192px" %)Set payload version is 5.|(% style="background-color:#f2f2f2" %)OK 1077 1077 1078 1078 (% style="color:blue" %)**Downlink Command: 0xAE** 1079 1079 ... ... @@ -1082,78 +1082,14 @@ 1082 1082 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1083 1083 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1084 1084 1296 += 4. Battery & Power Consumption = 1085 1085 1086 1086 1087 - =4.Battery&how to replace=1299 +SDI-12-LB use ER26500 + SPC1520 battery pack and SDI-12-LS use 3000mAh Recharable Battery with Solar Panel. See below link for detail information about the battery info and how to replace. 1088 1088 1089 - == 4.1BatteryType==1301 +[[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 1090 1090 1091 1091 1092 -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. 1093 - 1094 - 1095 -The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 1096 - 1097 -[[image:1675234124233-857.png||_mstalt="295035"]] 1098 - 1099 - 1100 -Minimum Working Voltage for the SDI-12-LB: 1101 - 1102 -SDI-12-LB: 2.45v ~~ 3.6v 1103 - 1104 - 1105 -== 4.2 Replace Battery == 1106 - 1107 - 1108 -Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1109 - 1110 -And make sure the positive and negative pins match. 1111 - 1112 - 1113 -== 4.3 Power Consumption Analyze == 1114 - 1115 - 1116 -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. 1117 - 1118 -Instruction to use as below: 1119 - 1120 -(% 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]] 1121 - 1122 -(% style="color:blue" %)**Step 2:**(%%) Open it and choose 1123 - 1124 -* Product Model 1125 -* Uplink Interval 1126 -* Working Mode 1127 - 1128 -And the Life expectation in difference case will be shown on the right. 1129 - 1130 - 1131 -[[image:1675234155374-163.png||_mstalt="294411"]] 1132 - 1133 - 1134 -The battery related documents as below: 1135 - 1136 -* [[Battery Dimension>>https://www.dropbox.com/s/ox5g9njwjle7aw3/LSN50-Battery-Dimension.pdf?dl=0]], 1137 -* [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]] 1138 -* [[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]] 1139 - 1140 -[[image:image-20230201145019-19.png||_mstalt="453947"]] 1141 - 1142 - 1143 -=== 4.3.1 Battery Note === 1144 - 1145 - 1146 -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. 1147 - 1148 - 1149 -=== 4.3.2 Replace the battery === 1150 - 1151 - 1152 -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. 1153 - 1154 -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) 1155 - 1156 - 1157 1157 = 5. Remote Configure device = 1158 1158 1159 1159 == 5.1 Connect via BLE == ... ... @@ -1199,25 +1199,28 @@ 1199 1199 1200 1200 1201 1201 ((( 1202 -(% style="color:blue" %)**Part Number: SDI-12-LB-XXX** 1349 +(% style="color:blue" %)**Part Number: SDI-12-LB-XX-YY or SDI-12-LS-XX-YY** 1203 1203 ))) 1204 1204 1205 1205 ((( 1206 -XX X: The default frequency band1353 +(% style="color:blue" %)**XX**(%%): The default frequency band 1207 1207 ))) 1208 1208 1209 1209 ((( 1210 -(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1211 -(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1212 -(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 1213 -(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 1214 -(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 1215 -(% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1216 -(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1217 -(% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1357 +* (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1358 +* (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1359 +* (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 1360 +* (% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 1361 +* (% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 1362 +* (% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1363 +* (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1364 +* (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 1218 1218 ))) 1219 1219 1367 +(% style="color:blue" %)**YY: **(%%)The grand connector hole size 1220 1220 1369 +* M12: M12 hole 1370 +* M16: M16 hole 1221 1221 1222 1222 = 9. Packing Info = 1223 1223 ... ... @@ -1224,7 +1224,7 @@ 1224 1224 1225 1225 (% style="color:#037691" %)**Package Includes**: 1226 1226 1227 -* SDI-12-LB SDI-12 to LoRaWAN Converter x 1 1377 +* SDI-12-LB or SDI-12-LS SDI-12 to LoRaWAN Converter x 1 1228 1228 1229 1229 (% style="color:#037691" %)**Dimension and weight**: 1230 1230 ... ... @@ -1234,7 +1234,6 @@ 1234 1234 * Weight / pcs : g 1235 1235 1236 1236 1237 - 1238 1238 = 10. Support = 1239 1239 1240 1240 ... ... @@ -1241,5 +1241,3 @@ 1241 1241 * 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. 1242 1242 1243 1243 * 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]] 1244 - 1245 -
- image-20230426084456-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +190.0 KB - Content
- image-20230603120127-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.7 KB - Content
- image-20230603120209-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.8 KB - Content
- image-20230603120515-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +489.3 KB - Content
- image-20230603120648-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +100.8 KB - Content
- image-20230603120726-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +133.2 KB - Content
- image-20230603120859-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.9 KB - Content
- image-20230603121606-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.4 KB - Content
- image-20230603121643-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +889.7 KB - Content
- image-20230603121721-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +105.4 KB - Content
- image-20230603121752-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +160.0 KB - Content
- image-20230603121826-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.8 KB - Content
- image-20230603122040-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +128.1 KB - Content
- image-20230603122109-13.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +271.1 KB - Content
- image-20230603122139-14.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +70.4 KB - Content
- image-20230603122212-15.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +818.3 KB - Content
- image-20230603122248-16.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.7 KB - Content
- image-20230603122508-17.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +980.2 KB - Content
- image-20230603122549-18.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +90.9 KB - Content
- image-20230603122623-19.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +139.5 KB - Content
- image-20230603122719-20.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.8 KB - Content
- image-20230627164957-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +835.0 KB - Content
- image-20230627165744-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.6 KB - Content
- image-20230627174446-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +835.0 KB - Content
- image-20230627174559-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +4.6 KB - Content
- image-20230627175513-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.0 KB - Content
- image-20230627175736-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +10.4 KB - Content
- image-20230627180303-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +65.1 KB - Content
- image-20230628090323-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +137.2 KB - Content
- image-20230628091055-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.9 KB - Content
- image-20230628091130-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Saxer - Size
-
... ... @@ -1,0 +1,1 @@ 1 +84.0 KB - Content
- image-20240103164910-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +431.6 KB - Content
- image-20240103165115-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +220.0 KB - Content
- image-20240103165259-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +235.3 KB - Content