<
From version < 41.13 >
edited by Xiaoling
on 2023/02/01 16:37
To version < 47.2 >
edited by Xiaoling
on 2023/03/21 09:23
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -1,5 +1,5 @@
1 1  (% style="text-align:center" %)
2 -[[image:image-20230131183542-1.jpeg||height="694" width="694"]]
2 +[[image:image-20230131183542-1.jpeg||_mstalt="470678" height="694" width="694"]]
3 3  
4 4  **Table of Contents:**
5 5  
... ... @@ -47,7 +47,7 @@
47 47  )))
48 48  
49 49  
50 -[[image:image-20230201084414-1.png||height="464" width="1108"]]
50 +[[image:image-20230201084414-1.png||_mstalt="427765" height="464" width="1108"]]
51 51  
52 52  
53 53  == ​1.2 Features ==
... ... @@ -55,7 +55,7 @@
55 55  
56 56  * LoRaWAN 1.0.3 Class A
57 57  * Ultra-low power consumption
58 -* Controllable 5v and 12v output to power external sensor
58 +* Controllable 3.3v, 5v and 12v output to power external sensor
59 59  * SDI-12 Protocol to connect to SDI-12 Sensor
60 60  * Monitor Battery Level
61 61  * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
... ... @@ -65,6 +65,8 @@
65 65  * Downlink to change configure
66 66  * 8500mAh Battery for long term use
67 67  
68 +
69 +
68 68  == 1.3 Specification ==
69 69  
70 70  
... ... @@ -77,6 +77,8 @@
77 77  (% style="color:#037691" %)**Common DC Characteristics:**
78 78  
79 79  * Supply Voltage: 2.5v ~~ 3.6v
82 +* Support current: 5V 300mA
83 + 12V 100mA
80 80  * Operating Temperature: -40 ~~ 85°C
81 81  
82 82  (% style="color:#037691" %)**LoRa Spec:**
... ... @@ -111,11 +111,13 @@
111 111  * Sleep Mode: 5uA @ 3.3v
112 112  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
113 113  
118 +
119 +
114 114  == 1.4 Connect to SDI-12 Sensor ==
115 115  
116 116  
117 117  
118 -[[image:1675212538524-889.png]]
124 +[[image:1675212538524-889.png||_mstalt="298272"]]
119 119  
120 120  
121 121  == 1.5 Sleep mode and working mode ==
... ... @@ -129,27 +129,28 @@
129 129  == 1.6 Button & LEDs ==
130 130  
131 131  
132 -[[image:1675212633011-651.png]]
138 +[[image:1675212633011-651.png||_mstalt="291538"]]
133 133  
134 134  
135 -
136 136  (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
137 -|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 117px;" %)**Function**|=(% style="width: 225px;" %)**Action**
138 -|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)(((
142 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 109px;" %)**Function**|=(% style="width: 231px;" %)**Action**
143 +|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:109px" %)Send an uplink|(% style="width:231px" %)(((
139 139  If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
140 140  Meanwhile, BLE module will be active and user can connect via BLE to configure device.
141 141  )))
142 -|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)(((
147 +|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:109px" %)Active Device|(% style="width:231px" %)(((
143 143  (% 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.
144 144  (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
145 145  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.
146 146  )))
147 -|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.
152 +|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:109px" %)Deactivate Device|(% style="width:231px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means SDI-12-LB is in Deep Sleep Mode.
148 148  
154 +
155 +
149 149  == 1.7 Pin Mapping ==
150 150  
151 151  
152 -[[image:1675213198663-754.png]]
159 +[[image:1675213198663-754.png||_mstalt="297167"]]
153 153  
154 154  
155 155  == 1.8 BLE connection ==
... ... @@ -169,11 +169,11 @@
169 169  == 1.9 Mechanical ==
170 170  
171 171  
172 -[[image:image-20230201090139-2.png]]
179 +[[image:image-20230201090139-2.png||_mstalt="428623"]]
173 173  
174 -[[image:image-20230201090139-3.png]]
181 +[[image:image-20230201090139-3.png||_mstalt="428987"]]
175 175  
176 -[[image:image-20230201090139-4.png]]
183 +[[image:image-20230201090139-4.png||_mstalt="429351"]]
177 177  
178 178  
179 179  = 2. Configure SDI-12 to connect to LoRaWAN network =
... ... @@ -190,7 +190,7 @@
190 190  Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example.
191 191  
192 192  
193 -[[image:image-20230201090528-5.png||height="465" width="1111"]]
200 +[[image:image-20230201090528-5.png||_mstalt="430300" height="465" width="1111"]]
194 194  
195 195  
196 196  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.
... ... @@ -201,7 +201,7 @@
201 201  Each SDI-12-LB is shipped with a sticker with the default device EUI as below:
202 202  
203 203  
204 -[[image:image-20230201152430-20.jpeg]]
211 +[[image:image-20230201152430-20.jpeg||_mstalt="492245"]]
205 205  
206 206  
207 207  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
... ... @@ -209,24 +209,24 @@
209 209  
210 210  (% style="color:blue" %)**Register the device**
211 211  
212 -[[image:1675213652444-622.png]]
219 +[[image:1675213652444-622.png||_mstalt="293657"]]
213 213  
214 214  
215 215  (% style="color:blue" %)**Add APP EUI and DEV EUI**
216 216  
217 217  
218 -[[image:1675213661769-223.png]]
225 +[[image:1675213661769-223.png||_mstalt="295217"]]
219 219  
220 220  
221 221  (% style="color:blue" %)**Add APP EUI in the application**
222 222  
223 223  
224 -[[image:1675213675852-577.png]]
231 +[[image:1675213675852-577.png||_mstalt="297947"]]
225 225  
226 226  
227 227  (% style="color:blue" %)**Add APP KEY**
228 228  
229 -[[image:1675213686734-883.png]]
236 +[[image:1675213686734-883.png||_mstalt="298064"]]
230 230  
231 231  
232 232  (% style="color:blue" %)**Step 2**(%%): Activate on SDI-12-LB
... ... @@ -237,7 +237,7 @@
237 237  (% 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.
238 238  
239 239  
240 -[[image:1675213704414-644.png]]
247 +[[image:1675213704414-644.png||_mstalt="293748"]]
241 241  
242 242  
243 243  == ​2.3 SDI-12 Related Commands ==
... ... @@ -256,10 +256,10 @@
256 256  The following is the display information on the serial port and the server.
257 257  
258 258  
259 -[[image:image-20230201091027-6.png]]
266 +[[image:image-20230201091027-6.png||_mstalt="429065"]]
260 260  
261 261  
262 -[[image:image-20230201091027-7.png||height="261" width="1179"]]
269 +[[image:image-20230201091027-7.png||_mstalt="429429" height="261" width="1179"]]
263 263  
264 264  
265 265  
... ... @@ -277,10 +277,10 @@
277 277  The following is the display information on the serial port and the server.
278 278  
279 279  
280 -[[image:image-20230201091257-8.png]]
287 +[[image:image-20230201091257-8.png||_mstalt="431392"]]
281 281  
282 282  
283 -[[image:image-20230201091257-9.png||height="225" width="1242"]]
290 +[[image:image-20230201091257-9.png||_mstalt="431756" height="225" width="1242"]]
284 284  
285 285  
286 286  ==== (% style="color:blue" %)**aM!,aMC!, aM1!- aM9!, aMC1!- aMC9!**(%%) ====
... ... @@ -313,10 +313,10 @@
313 313  The following is the display information on the serial port and the server.
314 314  
315 315  
316 -[[image:image-20230201091630-10.png]]
323 +[[image:image-20230201091630-10.png||_mstalt="449995"]]
317 317  
318 318  
319 -[[image:image-20230201091630-11.png||height="247" width="1165"]]
326 +[[image:image-20230201091630-11.png||_mstalt="450372" height="247" width="1165"]]
320 320  
321 321  
322 322  
... ... @@ -350,10 +350,10 @@
350 350  The following is the display information on the serial port and the server.
351 351  
352 352  
353 -[[image:image-20230201091954-12.png]]
360 +[[image:image-20230201091954-12.png||_mstalt="453687"]]
354 354  
355 355  
356 -[[image:image-20230201091954-13.png||height="203" width="1117"]]
363 +[[image:image-20230201091954-13.png||_mstalt="454064" height="203" width="1117"]]
357 357  
358 358  
359 359  
... ... @@ -383,10 +383,10 @@
383 383  The following is the display information on the serial port and the server.
384 384  
385 385  
386 -[[image:image-20230201092208-14.png]]
393 +[[image:image-20230201092208-14.png||_mstalt="452283"]]
387 387  
388 388  
389 -[[image:image-20230201092208-15.png||height="214" width="1140"]]
396 +[[image:image-20230201092208-15.png||_mstalt="452660" height="214" width="1140"]]
390 390  
391 391  
392 392  === 2.3.2 Advance SDI-12 Debug command ===
... ... @@ -418,10 +418,10 @@
418 418  The following is the display information on the serial port and the server.
419 419  
420 420  
421 -[[image:image-20230201092355-16.png]]
428 +[[image:image-20230201092355-16.png||_mstalt="453960"]]
422 422  
423 423  
424 -[[image:image-20230201092355-17.png||height="426" width="1135"]]
431 +[[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]]
425 425  
426 426  
427 427  === 2.3.3 Convert ASCII to String ===
... ... @@ -436,12 +436,12 @@
436 436  
437 437  1) AT+CONVFORM=0, string Convert String from String to ASCII
438 438  
439 -[[image:1675214845056-885.png]]
446 +[[image:1675214845056-885.png||_mstalt="297622"]]
440 440  
441 441  
442 442  2) AT+CONVFORM=1, ASCII Convert ASCII to String.
443 443  
444 -[[image:1675214856590-846.png]]
451 +[[image:1675214856590-846.png||_mstalt="297739"]]
445 445  
446 446  
447 447  === 2.3.4 Define periodically SDI-12 commands and uplink. ===
... ... @@ -462,7 +462,7 @@
462 462  
463 463  (% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//.
464 464  
465 -(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 2 retries.
472 +(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 3 retries.
466 466  
467 467  (% style="color:red" %)**0 **(%%) No validation check;
468 468  
... ... @@ -489,14 +489,14 @@
489 489  **c**:  define the position for valid value. 
490 490  )))
491 491  
492 -For example, if return from AT+COMMAND1 is “013METER   TER12 112T12-00024895” , Below AT+DATACUT1 will get different result to combine payload:
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:
493 493  
494 494  
495 495  (% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
496 -|(% style="width:170px" %)**AT+DATACUT1 value**|(% style="width:338px" %)**Final Result to combine Payload**
497 -|(% style="width:170px" %)34,1,1+2+3|(% style="width:338px" %)0D 00 01 30 31 33
498 -|(% style="width:170px" %)34,2,1~~8+12~~16|(% style="width:338px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32
499 -|(% style="width:170px" %)34,2,1~~34|(% style="width:338px" %)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
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
500 500  
501 501  * (% style="color:blue" %)** Downlink Payload:**
502 502  
... ... @@ -511,16 +511,17 @@
511 511  Where:
512 512  
513 513  * (% style="color:#037691" %)**MM **(%%): the AT+COMMAND or AT+DATACUT to be set. Value from 01 ~~ 0F,
514 -* (% style="color:#037691" %)**NN **(%%):  1: set the AT+DATACUT value ; 2: set the AT+DATACUT value.
521 +* (% style="color:#037691" %)**NN **(%%):  1: set the AT+COMMAND value ; 2: set the AT+DATACUT value.
515 515  * (% style="color:#037691" %)**LL **(%%):  The length of AT+COMMAND or AT+DATACUT command
516 516  * (% style="color:#037691" %)**XX XX XX XX **(%%): AT+COMMAND or AT+DATACUT command
517 -* (% style="color:#037691" %)**YY **(%%):  If YY=0, RS485-LN will execute the downlink command without uplink; if YY=1, RS485-LN will execute an uplink after got this command. 
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. 
518 518  
519 519  (% style="color:blue" %)**Example:**
520 520  
521 -[[image:image-20230201094129-18.png]]
528 +[[image:image-20230201094129-18.png||_mstalt="455065"]]
522 522  
523 523  
531 +
524 524  (% style="color:blue" %)**Clear SDI12 Command**
525 525  
526 526  The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them.
... ... @@ -544,7 +544,7 @@
544 544  
545 545  Below shows a screen shot how the results combines together to a uplink payload.
546 546  
547 -[[image:1675215745275-920.png]]
555 +[[image:1675215745275-920.png||_mstalt="295334"]]
548 548  
549 549  
550 550  If user don't want to use DATACUT for some command, he simply want to uplink all returns. AT+ALLDATAMOD can be set to 1.
... ... @@ -555,7 +555,7 @@
555 555  (% style="color:#4f81bd" %)**For example: **(%%) as below photo, AT+ALLDATAMOD=1, but AT+DATACUT1 has been set, AT+DATACUT1 will be still effect the result.
556 556  
557 557  
558 -[[image:1675215782925-448.png]]
566 +[[image:1675215782925-448.png||_mstalt="297466"]]
559 559  
560 560  
561 561  If AT+ALLDATAMOD=1, (% style="color:#4f81bd" %)**FX,X**(%%) will be added in the payload, FX specify which command is used and X specify the length of return. for example in above screen, F1 05 means the return is from AT+COMMAND1 and the return is 5 bytes.
... ... @@ -564,7 +564,6 @@
564 564  
565 565  (% style="color:blue" %)**Compose Uplink**
566 566  
567 -
568 568  (% style="color:#4f81bd" %)**AT+DATAUP=0**
569 569  
570 570  Compose the uplink payload with value returns in sequence and send with **__A SIGNLE UPLINK__**.
... ... @@ -574,7 +574,7 @@
574 574  Where PAYVER is defined by AT+PAYVER, below is an example screen shot.
575 575  
576 576  
577 -[[image:1675215828102-844.png]]
584 +[[image:1675215828102-844.png||_mstalt="294645"]]
578 578  
579 579  
580 580  (% style="color:#4f81bd" %)**AT+DATAUP=1**
... ... @@ -589,7 +589,7 @@
589 589  1. PAYLOAD# (1 byte): Number of this uplink. (from 0,1,2,3…,to PAYLOAD COUNT)
590 590  1. DATA: Valid value: max 6 bytes(US915 version here, Notice*!) for each uplink so each uplink <= 11 bytes. For the last uplink, DATA will might less than 6 bytes
591 591  
592 -[[image:1675215848113-696.png]]
599 +[[image:1675215848113-696.png||_mstalt="296998"]]
593 593  
594 594  
595 595  (% style="color:red" %)**Notice: the Max bytes is according to the max support bytes in different Frequency Bands for lowest SF. As below:**
... ... @@ -606,15 +606,6 @@
606 606  
607 607  == 2.4 Uplink Payload ==
608 608  
609 -
610 -Uplink payloads have two types:
611 -
612 -* Distance Value: Use FPORT=2
613 -* Other control commands: Use other FPORT fields.
614 -
615 -The application server should parse the correct value based on FPORT settings.
616 -
617 -
618 618  === 2.4.1 Device Payload, FPORT~=5 ===
619 619  
620 620  
... ... @@ -622,14 +622,14 @@
622 622  
623 623  Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink.
624 624  
625 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %)
623 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:420px" %)
626 626  |(% colspan="6" style="width:434px" %)**Device Status (FPORT=5)**
627 -|(% style="width:102px" %)**Size (bytes)**|(% style="width:67px" %)**1**|(% style="width:80px" %)**2**|(% style="width:89px" %)**1**|(% style="width:52px" %)**1**|(% style="width:44px" %)**2**
628 -|(% style="width:102px" %)**Value**|(% style="width:67px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:89px" %)Frequency Band|(% style="width:52px" %)Sub-band|(% style="width:44px" %)BAT
625 +|(% style="width:114px" %)**Size(bytes)**|(% style="width:39px" %)**1**|(% style="width:80px" %)**2**|(% style="width:89px" %)**1**|(% style="width:59px" %)**1**|(% style="width:37px" %)**2**
626 +|(% style="width:114px" %)**Value**|(% style="width:39px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:89px" %)Frequency Band|(% style="width:59px" %)Sub-band|(% style="width:37px" %)BAT
629 629  
630 630  Example parse in TTNv3
631 631  
632 -[[image:1675215946738-635.png]]
630 +[[image:1675215946738-635.png||_mstalt="297778"]]
633 633  
634 634  
635 635  (% style="color:#037691" %)**Sensor Model**(%%): For SDI-12-LB, this value is 0x17
... ... @@ -694,20 +694,20 @@
694 694  
695 695  * Periodically Uplink: FPORT=2
696 696  
697 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
698 -|(% style="width:93px" %)(((
695 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:500px" %)
696 +|=(% style="width: 90px;" %)(((
699 699  **Size(bytes)**
700 -)))|(% style="width:83px" %)**2**|(% style="width:70px" %)**1**|(% style="width:234px" %)**Length depends on the return from the commands**
698 +)))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands**
701 701  |(% style="width:93px" %)**Value**|(% style="width:83px" %)(((
702 702  Battery(mV)
703 703  &
704 704  Interrupt_Flag
705 -)))|(% style="width:70px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:234px" %)(((
703 +)))|(% style="width:91px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:212px" %)(((
706 706  If the valid payload is too long and exceed the maximum support.
707 707  Payload length in server,server will show payload not provided in the LoRaWAN server.
708 708  )))
709 709  
710 -[[image:1675216282284-923.png]]
708 +[[image:1675216282284-923.png||_mstalt="295633"]]
711 711  
712 712  
713 713  === 2.4.3 Battery Info ===
... ... @@ -734,6 +734,7 @@
734 734  
735 735  === 2.4.5 Payload version ===
736 736  
735 +The version number of the payload, mainly used for decoding. The default is 01.
737 737  
738 738  
739 739  === 2.4.6 ​Decode payload in The Things Network ===
... ... @@ -741,7 +741,7 @@
741 741  
742 742  While using TTN network, you can add the payload format to decode the payload.
743 743  
744 -[[image:1675216779406-595.png]]
743 +[[image:1675216779406-595.png||_mstalt="298376"]]
745 745  
746 746  
747 747  There is no fix payload decoder in LoRaWAN server because the SDI-12 sensors returns are different. User need to write the decoder themselves for their case.
... ... @@ -754,18 +754,86 @@
754 754  
755 755  The SDI-12-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link:
756 756  
757 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval]]]]
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]]
758 758  
759 759  
760 -== 2.6 Frequency Plans ==
759 +== 2.6 Examples To Set SDI commands. ==
761 761  
761 +=== 2.6.1 Examples 1 ===
762 762  
763 +
764 +COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication.
765 +
766 +[[image:image-20230222143809-1.png||_mstalt="429962" height="564" width="729"]]
767 +
768 +
769 +(% style="color:blue" %)**1) The AT+COMMANDx command is applied to the red arrow part, and sends the SDI12 command to the SDI12 sensor:**
770 +
771 +a. Send the first command and get the first reply:
772 +
773 +(% style="color:#037691" %)**AT+COMMANDx=1I!,0,0,1**
774 +
775 +b. Send the second command and get the second reply:
776 +
777 +(% style="color:#037691" %)**AT+COMMANDx=2I!,0,0,1**
778 +
779 +c. Send the third command and get the third reply:
780 +
781 +(% style="color:#037691" %)**AT+COMMANDx=3I!,0,0,1**
782 +
783 +d. Send the fourth command and get the fourth reply:
784 +
785 +(% style="color:#037691" %)**AT+COMMANDx=4I!,0,0,1**
786 +
787 +e. Send the fifth command plus the sixth command, get the sixth reply:
788 +
789 +(% style="color:#037691" %)**AT+COMMANDx=1M!,2,1,1**
790 +
791 +f. Send the seventh command plus the eighth command, get the eighth reply:
792 +
793 +(% style="color:#037691" %)**AT+COMMANDx=2M!,2,1,1**
794 +
795 +g. Send the ninth command plus the tenth command, get the tenth reply:
796 +
797 +(% style="color:#037691" %)**AT+COMMANDx=3M!,1,1,1**
798 +
799 +h. Send the eleventh command plus the twelfth command, get the twelfth reply:
800 +
801 +(% style="color:#037691" %)**AT+COMMANDx=4M!,1,1,1**
802 +
803 +
804 +(% style="color:blue" %)**2) The AT+DATACUTx command is applied to the green arrow part, receiving and cut out data from the SDI12 sensor:**
805 +
806 +a. The first reply, all 34 characters: ”113TRUEBNERSMT100038220303182331<CR><LF>”
807 +
808 +Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34**(% style="color:#037691" %);
809 +
810 +b. The sixth reply, all 31 characters:”1+19210+1.04+0.00+22.49+11.75<CR><LF>”
811 +
812 +Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %);
813 +
814 +c. The eighth reply, all 31 characters:”2+18990+1.08+0.00+22.24+11.80<CR><LF>”
815 +
816 +Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %);
817 +
818 +d. The tenth reply, all 15 characters:”3-2919.8+24.0<CR><LF>”
819 +
820 +Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=15,2,1~~15**(% style="color:#037691" %);
821 +
822 +e. The twelfth reply, all 25 characters:”4+30.8+22.84+4.7+954.38<CR><LF>”
823 +
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 +
826 +
827 +== 2.7 Frequency Plans ==
828 +
829 +
763 763  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.
764 764  
765 765  [[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/]]
766 766  
767 767  
768 -== 2.7 Firmware Change Log ==
835 +== 2.8 Firmware Change Log ==
769 769  
770 770  
771 771  **Firmware download link:**
... ... @@ -772,7 +772,6 @@
772 772  
773 773  [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]]
774 774  
775 -
776 776  
777 777  = 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink =
778 778  
... ... @@ -801,7 +801,7 @@
801 801  These commands only valid for SDI-12-LB, as below:
802 802  
803 803  
804 -== ​​​​​​​3.1 Set Transmit Interval Time ==
870 +== 3.1 Set Transmit Interval Time ==
805 805  
806 806  
807 807  Feature: Change LoRaWAN End Node Transmit Interval.
... ... @@ -830,6 +830,8 @@
830 830  * Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
831 831  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
832 832  
899 +
900 +
833 833  == 3.2 Set Interrupt Mode ==
834 834  
835 835  
... ... @@ -842,14 +842,14 @@
842 842  |(% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)(((
843 843  0
844 844  OK
845 -the mode is 0 = No interruption
913 +the mode is 0 = Disable Interrupt
846 846  )))
847 847  |(% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)(((
848 848  Set Transmit Interval
849 -~1. (Disable Interrupt),
850 -2. (Trigger by rising and falling edge)
851 -3. (Trigger by falling edge)
852 -4. (Trigger by rising edge)
917 +0. (Disable Interrupt),
918 +~1. (Trigger by rising and falling edge)
919 +2. (Trigger by falling edge)
920 +3. (Trigger by rising edge)
853 853  )))|(% style="width:165px" %)OK
854 854  
855 855  (% style="color:blue" %)**Downlink Command: 0x06**
... ... @@ -861,6 +861,8 @@
861 861  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
862 862  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
863 863  
932 +
933 +
864 864  == 3.3 Set the output time ==
865 865  
866 866  
... ... @@ -930,6 +930,8 @@
930 930  * Example 5: Downlink Payload: 070301F4  **~-~-->**  AT+12VT=500
931 931  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
932 932  
1003 +
1004 +
933 933  == 3.4 Set the all data mode ==
934 934  
935 935  
... ... @@ -952,6 +952,8 @@
952 952  * Example 1: Downlink Payload: AB 00  ~/~/  AT+ALLDATAMOD=0
953 953  * Example 2: Downlink Payload: AB 01  ~/~/  AT+ALLDATAMOD=1
954 954  
1027 +
1028 +
955 955  == 3.5 Set the splicing payload for uplink ==
956 956  
957 957  
... ... @@ -988,6 +988,7 @@
988 988  
989 989  == 3.6 Set the payload version ==
990 990  
1065 +
991 991  Feature, Set the payload version.
992 992  
993 993  (% style="color:blue" %)**AT Command: AT+PAYVER**
... ... @@ -1007,6 +1007,8 @@
1007 1007  * Example 1: Downlink Payload: AE 01  ~/~/  AT+PAYVER=1
1008 1008  * Example 2: Downlink Payload: AE 05  ~/~/  AT+PAYVER=5
1009 1009  
1085 +
1086 +
1010 1010  = 4. Battery & how to replace =
1011 1011  
1012 1012  == 4.1 Battery Type ==
... ... @@ -1017,7 +1017,7 @@
1017 1017  
1018 1018  The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
1019 1019  
1020 -[[image:1675234124233-857.png]]
1097 +[[image:1675234124233-857.png||_mstalt="295035"]]
1021 1021  
1022 1022  
1023 1023  Minimum Working Voltage for the SDI-12-LB:
... ... @@ -1051,7 +1051,7 @@
1051 1051  And the Life expectation in difference case will be shown on the right.
1052 1052  
1053 1053  
1054 -[[image:1675234155374-163.png]]
1131 +[[image:1675234155374-163.png||_mstalt="294411"]]
1055 1055  
1056 1056  
1057 1057  The battery related documents as below:
... ... @@ -1060,7 +1060,7 @@
1060 1060  * [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]]
1061 1061  * [[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]]
1062 1062  
1063 -[[image:image-20230201145019-19.png]]
1140 +[[image:image-20230201145019-19.png||_mstalt="453947"]]
1064 1064  
1065 1065  
1066 1066  === 4.3.1 ​Battery Note ===
... ... @@ -1121,10 +1121,15 @@
1121 1121  = 8. ​Order Info =
1122 1122  
1123 1123  
1201 +(((
1124 1124  (% style="color:blue" %)**Part Number: SDI-12-LB-XXX**
1203 +)))
1125 1125  
1205 +(((
1126 1126  XXX: The default frequency band
1207 +)))
1127 1127  
1209 +(((
1128 1128  (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1129 1129  (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1130 1130  (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
... ... @@ -1133,8 +1133,10 @@
1133 1133  (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1134 1134  (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1135 1135  (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1218 +)))
1136 1136  
1137 1137  
1221 +
1138 1138  = 9. Packing Info =
1139 1139  
1140 1140  
... ... @@ -1149,6 +1149,8 @@
1149 1149  * Package Size / pcs : cm
1150 1150  * Weight / pcs : g
1151 1151  
1236 +
1237 +
1152 1152  = 10. ​Support =
1153 1153  
1154 1154  
image-20230222143809-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +322.1 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0