Last modified by Mengting Qiu on 2025/07/03 15:42

From version 48.7
edited by Xiaoling
on 2023/04/03 11:36
Change comment: There is no comment for this version
To version 41.19
edited by Xiaoling
on 2023/02/01 16:53
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||_mstalt="470678" height="694" width="694"]]
2 +[[image:image-20230131183542-1.jpeg||height="694" width="694"]]
3 3  
4 4  **Table of Contents:**
5 5  
... ... @@ -47,7 +47,7 @@
47 47  )))
48 48  
49 49  
50 -[[image:image-20230201084414-1.png||_mstalt="427765" height="464" width="1108"]]
50 +[[image:image-20230201084414-1.png||height="464" width="1108"]]
51 51  
52 52  
53 53  == ​1.2 Features ==
... ... @@ -55,7 +55,7 @@
55 55  
56 56  * LoRaWAN 1.0.3 Class A
57 57  * Ultra-low power consumption
58 -* Controllable 3.3v, 5v and 12v output to power external sensor
58 +* Controllable 5v and 12v output to power external sensor
59 59  * SDI-12 Protocol to connect to SDI-12 Sensor
60 60  * Monitor Battery Level
61 61  * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
... ... @@ -65,7 +65,6 @@
65 65  * Downlink to change configure
66 66  * 8500mAh Battery for long term use
67 67  
68 -
69 69  == 1.3 Specification ==
70 70  
71 71  
... ... @@ -78,8 +78,6 @@
78 78  (% style="color:#037691" %)**Common DC Characteristics:**
79 79  
80 80  * Supply Voltage: 2.5v ~~ 3.6v
81 -* Support current: 5V 300mA
82 - 12V 100mA
83 83  * Operating Temperature: -40 ~~ 85°C
84 84  
85 85  (% style="color:#037691" %)**LoRa Spec:**
... ... @@ -114,12 +114,11 @@
114 114  * Sleep Mode: 5uA @ 3.3v
115 115  * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm
116 116  
117 -
118 118  == 1.4 Connect to SDI-12 Sensor ==
119 119  
120 120  
121 121  
122 -[[image:1675212538524-889.png||_mstalt="298272"]]
118 +[[image:1675212538524-889.png]]
123 123  
124 124  
125 125  == 1.5 Sleep mode and working mode ==
... ... @@ -133,27 +133,27 @@
133 133  == 1.6 Button & LEDs ==
134 134  
135 135  
136 -[[image:1675212633011-651.png||_mstalt="291538"]]
132 +[[image:1675212633011-651.png]]
137 137  
138 138  
139 -(% border="1" cellspacing="4" style="width:510px" %)
140 -|=(% 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**
141 -|(% 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" %)(((
135 +
136 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
137 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 109px;" %)**Function**|=(% style="width: 231px;" %)**Action**
138 +|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:109px" %)Send an uplink|(% style="width:231px" %)(((
142 142  If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once.
143 143  Meanwhile, BLE module will be active and user can connect via BLE to configure device.
144 144  )))
145 -|(% 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" %)(((
146 -(% 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.
147 -(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
142 +|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:109px" %)Active Device|(% style="width:231px" %)(((
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 +(% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.
148 148  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.
149 149  )))
150 -|(% 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.
147 +|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:109px" %)Deactivate Device|(% style="width:231px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.
151 151  
152 -
153 153  == 1.7 Pin Mapping ==
154 154  
155 155  
156 -[[image:1675213198663-754.png||_mstalt="297167"]]
152 +[[image:1675213198663-754.png]]
157 157  
158 158  
159 159  == 1.8 BLE connection ==
... ... @@ -173,11 +173,11 @@
173 173  == 1.9 Mechanical ==
174 174  
175 175  
176 -[[image:image-20230201090139-2.png||_mstalt="428623"]]
172 +[[image:image-20230201090139-2.png]]
177 177  
178 -[[image:image-20230201090139-3.png||_mstalt="428987"]]
174 +[[image:image-20230201090139-3.png]]
179 179  
180 -[[image:image-20230201090139-4.png||_mstalt="429351"]]
176 +[[image:image-20230201090139-4.png]]
181 181  
182 182  
183 183  = 2. Configure SDI-12 to connect to LoRaWAN network =
... ... @@ -194,7 +194,7 @@
194 194  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.
195 195  
196 196  
197 -[[image:image-20230201090528-5.png||_mstalt="430300" height="465" width="1111"]]
193 +[[image:image-20230201090528-5.png||height="465" width="1111"]]
198 198  
199 199  
200 200  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.
... ... @@ -205,7 +205,7 @@
205 205  Each SDI-12-LB is shipped with a sticker with the default device EUI as below:
206 206  
207 207  
208 -[[image:image-20230201152430-20.jpeg||_mstalt="492245"]]
204 +[[image:image-20230201152430-20.jpeg]]
209 209  
210 210  
211 211  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
... ... @@ -213,24 +213,24 @@
213 213  
214 214  (% style="color:blue" %)**Register the device**
215 215  
216 -[[image:1675213652444-622.png||_mstalt="293657"]]
212 +[[image:1675213652444-622.png]]
217 217  
218 218  
219 219  (% style="color:blue" %)**Add APP EUI and DEV EUI**
220 220  
221 221  
222 -[[image:1675213661769-223.png||_mstalt="295217"]]
218 +[[image:1675213661769-223.png]]
223 223  
224 224  
225 225  (% style="color:blue" %)**Add APP EUI in the application**
226 226  
227 227  
228 -[[image:1675213675852-577.png||_mstalt="297947"]]
224 +[[image:1675213675852-577.png]]
229 229  
230 230  
231 231  (% style="color:blue" %)**Add APP KEY**
232 232  
233 -[[image:1675213686734-883.png||_mstalt="298064"]]
229 +[[image:1675213686734-883.png]]
234 234  
235 235  
236 236  (% style="color:blue" %)**Step 2**(%%): Activate on SDI-12-LB
... ... @@ -241,7 +241,7 @@
241 241  (% 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.
242 242  
243 243  
244 -[[image:1675213704414-644.png||_mstalt="293748"]]
240 +[[image:1675213704414-644.png]]
245 245  
246 246  
247 247  == ​2.3 SDI-12 Related Commands ==
... ... @@ -260,10 +260,10 @@
260 260  The following is the display information on the serial port and the server.
261 261  
262 262  
263 -[[image:image-20230201091027-6.png||_mstalt="429065"]]
259 +[[image:image-20230201091027-6.png]]
264 264  
265 265  
266 -[[image:image-20230201091027-7.png||_mstalt="429429" height="261" width="1179"]]
262 +[[image:image-20230201091027-7.png||height="261" width="1179"]]
267 267  
268 268  
269 269  
... ... @@ -281,10 +281,10 @@
281 281  The following is the display information on the serial port and the server.
282 282  
283 283  
284 -[[image:image-20230201091257-8.png||_mstalt="431392"]]
280 +[[image:image-20230201091257-8.png]]
285 285  
286 286  
287 -[[image:image-20230201091257-9.png||_mstalt="431756" height="225" width="1242"]]
283 +[[image:image-20230201091257-9.png||height="225" width="1242"]]
288 288  
289 289  
290 290  ==== (% style="color:blue" %)**aM!,aMC!, aM1!- aM9!, aMC1!- aMC9!**(%%) ====
... ... @@ -317,10 +317,10 @@
317 317  The following is the display information on the serial port and the server.
318 318  
319 319  
320 -[[image:image-20230201091630-10.png||_mstalt="449995"]]
316 +[[image:image-20230201091630-10.png]]
321 321  
322 322  
323 -[[image:image-20230201091630-11.png||_mstalt="450372" height="247" width="1165"]]
319 +[[image:image-20230201091630-11.png||height="247" width="1165"]]
324 324  
325 325  
326 326  
... ... @@ -354,10 +354,10 @@
354 354  The following is the display information on the serial port and the server.
355 355  
356 356  
357 -[[image:image-20230201091954-12.png||_mstalt="453687"]]
353 +[[image:image-20230201091954-12.png]]
358 358  
359 359  
360 -[[image:image-20230201091954-13.png||_mstalt="454064" height="203" width="1117"]]
356 +[[image:image-20230201091954-13.png||height="203" width="1117"]]
361 361  
362 362  
363 363  
... ... @@ -387,10 +387,10 @@
387 387  The following is the display information on the serial port and the server.
388 388  
389 389  
390 -[[image:image-20230201092208-14.png||_mstalt="452283"]]
386 +[[image:image-20230201092208-14.png]]
391 391  
392 392  
393 -[[image:image-20230201092208-15.png||_mstalt="452660" height="214" width="1140"]]
389 +[[image:image-20230201092208-15.png||height="214" width="1140"]]
394 394  
395 395  
396 396  === 2.3.2 Advance SDI-12 Debug command ===
... ... @@ -422,10 +422,10 @@
422 422  The following is the display information on the serial port and the server.
423 423  
424 424  
425 -[[image:image-20230201092355-16.png||_mstalt="453960"]]
421 +[[image:image-20230201092355-16.png]]
426 426  
427 427  
428 -[[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]]
424 +[[image:image-20230201092355-17.png||height="426" width="1135"]]
429 429  
430 430  
431 431  === 2.3.3 Convert ASCII to String ===
... ... @@ -440,12 +440,12 @@
440 440  
441 441  1) AT+CONVFORM=0, string Convert String from String to ASCII
442 442  
443 -[[image:1675214845056-885.png||_mstalt="297622"]]
439 +[[image:1675214845056-885.png]]
444 444  
445 445  
446 446  2) AT+CONVFORM=1, ASCII Convert ASCII to String.
447 447  
448 -[[image:1675214856590-846.png||_mstalt="297739"]]
444 +[[image:1675214856590-846.png]]
449 449  
450 450  
451 451  === 2.3.4 Define periodically SDI-12 commands and uplink. ===
... ... @@ -466,7 +466,7 @@
466 466  
467 467  (% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//.
468 468  
469 -(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 3 retries.
465 +(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max 2 retries.
470 470  
471 471  (% style="color:red" %)**0 **(%%) No validation check;
472 472  
... ... @@ -482,9 +482,9 @@
482 482  
483 483  (% style="color:blue" %)**AT+DATACUTx**(%%) : This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes.
484 484  
485 -(% border="1" style="width:436px" %)
486 -|(% style="width:433px;background-color:#F2F2F2 %)(((
487 -**(% style="color:#0070C0" %)AT+DATACUTx=a,b,c**
481 +(% border="1" style="background-color:#f7faff; width:436px" %)
482 +|(% style="width:433px" %)(((
483 +**AT+DATACUTx=a,b,c**
488 488  
489 489  **a**:  length for the return of AT+COMMAND
490 490  
... ... @@ -493,14 +493,14 @@
493 493  **c**:  define the position for valid value. 
494 494  )))
495 495  
496 -For example, if return from AT+COMMAND1 is “013METER   TER12 112T12-00024895<CR><LF>” , Below AT+DATACUT1 will get different result to combine payload:
492 +For example, if return from AT+COMMAND1 is “013METER   TER12 112T12-00024895” , Below AT+DATACUT1 will get different result to combine payload:
497 497  
498 498  
499 -(% border="1" cellspacing="4" style="width:510px" %)
500 -|=(% style="width: 164px;background-color:#D9E2F3;color:#0070C0" %)**AT+DATACUT1 value**|=(% style="width: 344px;background-color:#D9E2F3;color:#0070C0" %)**Final Result to combine Payload**
501 -|(% 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
495 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %)
496 +|=(% style="width: 164px;" %)**AT+DATACUT1 value**|=(% style="width: 344px;" %)**Final Result to combine Payload**
497 +|(% style="width:164px" %)34,1,1+2+3|(% style="width:344px" %)0D 00 01 30 31 33
498 +|(% 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
499 +|(% 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
504 504  
505 505  * (% style="color:blue" %)** Downlink Payload:**
506 506  
... ... @@ -515,14 +515,14 @@
515 515  Where:
516 516  
517 517  * (% style="color:#037691" %)**MM **(%%): the AT+COMMAND or AT+DATACUT to be set. Value from 01 ~~ 0F,
518 -* (% style="color:#037691" %)**NN **(%%):  1: set the AT+COMMAND value ; 2: set the AT+DATACUT value.
514 +* (% style="color:#037691" %)**NN **(%%):  1: set the AT+DATACUT value ; 2: set the AT+DATACUT value.
519 519  * (% style="color:#037691" %)**LL **(%%):  The length of AT+COMMAND or AT+DATACUT command
520 520  * (% style="color:#037691" %)**XX XX XX XX **(%%): AT+COMMAND or AT+DATACUT 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. 
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. 
522 522  
523 523  (% style="color:blue" %)**Example:**
524 524  
525 -[[image:image-20230201094129-18.png||_mstalt="455065"]]
521 +[[image:image-20230201094129-18.png]]
526 526  
527 527  
528 528  
... ... @@ -549,7 +549,7 @@
549 549  
550 550  Below shows a screen shot how the results combines together to a uplink payload.
551 551  
552 -[[image:1675215745275-920.png||_mstalt="295334"]]
548 +[[image:1675215745275-920.png]]
553 553  
554 554  
555 555  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.
... ... @@ -560,7 +560,7 @@
560 560  (% 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.
561 561  
562 562  
563 -[[image:1675215782925-448.png||_mstalt="297466"]]
559 +[[image:1675215782925-448.png]]
564 564  
565 565  
566 566  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.
... ... @@ -578,7 +578,7 @@
578 578  Where PAYVER is defined by AT+PAYVER, below is an example screen shot.
579 579  
580 580  
581 -[[image:1675215828102-844.png||_mstalt="294645"]]
577 +[[image:1675215828102-844.png]]
582 582  
583 583  
584 584  (% style="color:#4f81bd" %)**AT+DATAUP=1**
... ... @@ -593,7 +593,7 @@
593 593  1. PAYLOAD# (1 byte): Number of this uplink. (from 0,1,2,3…,to PAYLOAD COUNT)
594 594  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
595 595  
596 -[[image:1675215848113-696.png||_mstalt="296998"]]
592 +[[image:1675215848113-696.png]]
597 597  
598 598  
599 599  (% style="color:red" %)**Notice: the Max bytes is according to the max support bytes in different Frequency Bands for lowest SF. As below:**
... ... @@ -610,6 +610,15 @@
610 610  
611 611  == 2.4 Uplink Payload ==
612 612  
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 +
613 613  === 2.4.1 Device Payload, FPORT~=5 ===
614 614  
615 615  
... ... @@ -617,14 +617,14 @@
617 617  
618 618  Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink.
619 619  
620 -(% border="1" cellspacing="4" style="width:510px" %)
621 -|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
622 -|(% 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**
623 -|(% 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
625 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:420px" %)
626 +|(% colspan="6" style="width:434px" %)**Device Status (FPORT=5)**
627 +|(% 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**
628 +|(% 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
624 624  
625 625  Example parse in TTNv3
626 626  
627 -[[image:1675215946738-635.png||_mstalt="297778"]]
632 +[[image:1675215946738-635.png]]
628 628  
629 629  
630 630  (% style="color:#037691" %)**Sensor Model**(%%): For SDI-12-LB, this value is 0x17
... ... @@ -689,7 +689,7 @@
689 689  
690 690  * Periodically Uplink: FPORT=2
691 691  
692 -(% border="1" cellspacing="4" style="background-color:#F2F2F2; width:500px" %)
697 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:500px" %)
693 693  |=(% style="width: 90px;" %)(((
694 694  **Size(bytes)**
695 695  )))|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**1**|=(% style="width: 240px;" %)**Length depends on the return from the commands**
... ... @@ -702,7 +702,7 @@
702 702  Payload length in server,server will show payload not provided in the LoRaWAN server.
703 703  )))
704 704  
705 -[[image:1675216282284-923.png||_mstalt="295633"]]
710 +[[image:1675216282284-923.png]]
706 706  
707 707  
708 708  === 2.4.3 Battery Info ===
... ... @@ -729,7 +729,6 @@
729 729  
730 730  === 2.4.5 Payload version ===
731 731  
732 -The version number of the payload, mainly used for decoding. The default is 01.
733 733  
734 734  
735 735  === 2.4.6 ​Decode payload in The Things Network ===
... ... @@ -737,7 +737,7 @@
737 737  
738 738  While using TTN network, you can add the payload format to decode the payload.
739 739  
740 -[[image:1675216779406-595.png||_mstalt="298376"]]
744 +[[image:1675216779406-595.png]]
741 741  
742 742  
743 743  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.
... ... @@ -750,86 +750,18 @@
750 750  
751 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:
752 752  
753 -[[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 +[[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]]]]
754 754  
755 755  
756 -== 2.6 Examples To Set SDI commands. ==
760 +== 2.6 Frequency Plans ==
757 757  
758 -=== 2.6.1 Examples 1 ===
759 759  
760 -
761 -COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication.
762 -
763 -[[image:image-20230222143809-1.png||_mstalt="429962" height="564" width="729"]]
764 -
765 -
766 -(% style="color:blue" %)**1) The AT+COMMANDx command is applied to the red arrow part, and sends the SDI12 command to the SDI12 sensor:**
767 -
768 -a. Send the first command and get the first reply:
769 -
770 -(% style="color:#037691" %)**AT+COMMANDx=1I!,0,0,1**
771 -
772 -b. Send the second command and get the second reply:
773 -
774 -(% style="color:#037691" %)**AT+COMMANDx=2I!,0,0,1**
775 -
776 -c. Send the third command and get the third reply:
777 -
778 -(% style="color:#037691" %)**AT+COMMANDx=3I!,0,0,1**
779 -
780 -d. Send the fourth command and get the fourth reply:
781 -
782 -(% style="color:#037691" %)**AT+COMMANDx=4I!,0,0,1**
783 -
784 -e. Send the fifth command plus the sixth command, get the sixth reply:
785 -
786 -(% style="color:#037691" %)**AT+COMMANDx=1M!,2,1,1**
787 -
788 -f. Send the seventh command plus the eighth command, get the eighth reply:
789 -
790 -(% style="color:#037691" %)**AT+COMMANDx=2M!,2,1,1**
791 -
792 -g. Send the ninth command plus the tenth command, get the tenth reply:
793 -
794 -(% style="color:#037691" %)**AT+COMMANDx=3M!,1,1,1**
795 -
796 -h. Send the eleventh command plus the twelfth command, get the twelfth reply:
797 -
798 -(% style="color:#037691" %)**AT+COMMANDx=4M!,1,1,1**
799 -
800 -
801 -(% style="color:blue" %)**2) The AT+DATACUTx command is applied to the green arrow part, receiving and cut out data from the SDI12 sensor:**
802 -
803 -a. The first reply, all 34 characters: ”113TRUEBNERSMT100038220303182331<CR><LF>”
804 -
805 -Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34**(% style="color:#037691" %);
806 -
807 -b. The sixth reply, all 31 characters:”1+19210+1.04+0.00+22.49+11.75<CR><LF>”
808 -
809 -Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %);
810 -
811 -c. The eighth reply, all 31 characters:”2+18990+1.08+0.00+22.24+11.80<CR><LF>”
812 -
813 -Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %);
814 -
815 -d. The tenth reply, all 15 characters:”3-2919.8+24.0<CR><LF>”
816 -
817 -Cut out all characters: (% _mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=15,2,1~~15**(% style="color:#037691" %);
818 -
819 -e. The twelfth reply, all 25 characters:”4+30.8+22.84+4.7+954.38<CR><LF>”
820 -
821 -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”**.
822 -
823 -
824 -== 2.7 Frequency Plans ==
825 -
826 -
827 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.
828 828  
829 829  [[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/]]
830 830  
831 831  
832 -== 2.8 Firmware Change Log ==
768 +== 2.7 Firmware Change Log ==
833 833  
834 834  
835 835  **Firmware download link:**
... ... @@ -836,6 +836,7 @@
836 836  
837 837  [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]]
838 838  
775 +
839 839  
840 840  = 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink =
841 841  
... ... @@ -864,7 +864,7 @@
864 864  These commands only valid for SDI-12-LB, as below:
865 865  
866 866  
867 -== 3.1 Set Transmit Interval Time ==
804 +== ​​​​​​​3.1 Set Transmit Interval Time ==
868 868  
869 869  
870 870  Feature: Change LoRaWAN End Node Transmit Interval.
... ... @@ -871,19 +871,18 @@
871 871  
872 872  (% style="color:blue" %)**AT Command: AT+TDC**
873 873  
874 -(% border="1" cellspacing="4" style="width:510px" %)
875 -|=(% 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**
876 -|(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)(((
811 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
812 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response**
813 +|(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|(((
877 877  30000
878 878  OK
879 879  the interval is 30000ms = 30s
880 880  )))
881 -|(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=60000|(% style="background-color:#f2f2f2; width:166px" %)Set Transmit Interval|(% style="background-color:#f2f2f2" %)(((
818 +|(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|(((
882 882  OK
883 883  Set transmit interval to 60000ms = 60 seconds
884 884  )))
885 885  
886 -
887 887  (% style="color:blue" %)**Downlink Command: 0x01**
888 888  
889 889  
... ... @@ -894,7 +894,6 @@
894 894  * Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
895 895  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
896 896  
897 -
898 898  == 3.2 Set Interrupt Mode ==
899 899  
900 900  
... ... @@ -907,14 +907,14 @@
907 907  |(% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)(((
908 908  0
909 909  OK
910 -the mode is 0 = Disable Interrupt
845 +the mode is 0 = No interruption
911 911  )))
912 912  |(% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)(((
913 913  Set Transmit Interval
914 -0. (Disable Interrupt),
915 -~1. (Trigger by rising and falling edge)
916 -2. (Trigger by falling edge)
917 -3. (Trigger by rising edge)
849 +~1. (Disable Interrupt),
850 +2. (Trigger by rising and falling edge)
851 +3. (Trigger by falling edge)
852 +4. (Trigger by rising edge)
918 918  )))|(% style="width:165px" %)OK
919 919  
920 920  (% style="color:blue" %)**Downlink Command: 0x06**
... ... @@ -926,7 +926,6 @@
926 926  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
927 927  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
928 928  
929 -
930 930  == 3.3 Set the output time ==
931 931  
932 932  
... ... @@ -996,7 +996,6 @@
996 996  * Example 5: Downlink Payload: 070301F4  **~-~-->**  AT+12VT=500
997 997  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
998 998  
999 -
1000 1000  == 3.4 Set the all data mode ==
1001 1001  
1002 1002  
... ... @@ -1019,7 +1019,6 @@
1019 1019  * Example 1: Downlink Payload: AB 00  ~/~/  AT+ALLDATAMOD=0
1020 1020  * Example 2: Downlink Payload: AB 01  ~/~/  AT+ALLDATAMOD=1
1021 1021  
1022 -
1023 1023  == 3.5 Set the splicing payload for uplink ==
1024 1024  
1025 1025  
... ... @@ -1056,7 +1056,6 @@
1056 1056  
1057 1057  == 3.6 Set the payload version ==
1058 1058  
1059 -
1060 1060  Feature, Set the payload version.
1061 1061  
1062 1062  (% style="color:blue" %)**AT Command: AT+PAYVER**
... ... @@ -1076,7 +1076,6 @@
1076 1076  * Example 1: Downlink Payload: AE 01  ~/~/  AT+PAYVER=1
1077 1077  * Example 2: Downlink Payload: AE 05  ~/~/  AT+PAYVER=5
1078 1078  
1079 -
1080 1080  = 4. Battery & how to replace =
1081 1081  
1082 1082  == 4.1 Battery Type ==
... ... @@ -1087,7 +1087,7 @@
1087 1087  
1088 1088  The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
1089 1089  
1090 -[[image:1675234124233-857.png||_mstalt="295035"]]
1020 +[[image:1675234124233-857.png]]
1091 1091  
1092 1092  
1093 1093  Minimum Working Voltage for the SDI-12-LB:
... ... @@ -1121,7 +1121,7 @@
1121 1121  And the Life expectation in difference case will be shown on the right.
1122 1122  
1123 1123  
1124 -[[image:1675234155374-163.png||_mstalt="294411"]]
1054 +[[image:1675234155374-163.png]]
1125 1125  
1126 1126  
1127 1127  The battery related documents as below:
... ... @@ -1130,7 +1130,7 @@
1130 1130  * [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]]
1131 1131  * [[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]]
1132 1132  
1133 -[[image:image-20230201145019-19.png||_mstalt="453947"]]
1063 +[[image:image-20230201145019-19.png]]
1134 1134  
1135 1135  
1136 1136  === 4.3.1 ​Battery Note ===
... ... @@ -1169,7 +1169,7 @@
1169 1169  
1170 1170  = 7. FAQ =
1171 1171  
1172 -== 7.1 How to use AT Command  via UART to access device? ==
1102 +== 7.1 How to use AT Command to access device? ==
1173 1173  
1174 1174  
1175 1175  See: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]
... ... @@ -1191,15 +1191,10 @@
1191 1191  = 8. ​Order Info =
1192 1192  
1193 1193  
1194 -(((
1195 1195  (% style="color:blue" %)**Part Number: SDI-12-LB-XXX**
1196 -)))
1197 1197  
1198 -(((
1199 1199  XXX: The default frequency band
1200 -)))
1201 1201  
1202 -(((
1203 1203  (% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1204 1204  (% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1205 1205  (% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
... ... @@ -1208,10 +1208,8 @@
1208 1208  (% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1209 1209  (% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1210 1210  (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band
1211 -)))
1212 1212  
1213 1213  
1214 -
1215 1215  = 9. Packing Info =
1216 1216  
1217 1217  
... ... @@ -1226,7 +1226,6 @@
1226 1226  * Package Size / pcs : cm
1227 1227  * Weight / pcs : g
1228 1228  
1229 -
1230 1230  = 10. ​Support =
1231 1231  
1232 1232  
image-20230222143809-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -322.1 KB
Content