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

From version 72.3
edited by Xiaoling
on 2023/06/05 18:12
Change comment: There is no comment for this version
To version 90.4
edited by Xiaoling
on 2024/01/03 17:08
Change comment: There is no comment for this version

Summary

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-20230131183542-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  
... ... @@ -151,8 +151,6 @@
151 151  )))
152 152  |(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB-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,11 +203,10 @@
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 -
211 211  [[image:image-20230426084456-1.png||height="241" width="519"]]
212 212  
213 213  
... ... @@ -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  
... ... @@ -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,9 +616,9 @@
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 623  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
624 624  |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
... ... @@ -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: EU868
658 +0x01: EU868
640 640  
641 -*0x02: US915
660 +0x02: US915
642 642  
643 -*0x03: IN865
662 +0x03: IN865
644 644  
645 -*0x04: AU915
664 +0x04: AU915
646 646  
647 -*0x05: KZ865
666 +0x05: KZ865
648 648  
649 -*0x06: RU864
668 +0x06: RU864
650 650  
651 -*0x07: AS923
670 +0x07: AS923
652 652  
653 -*0x08: AS923-1
672 +0x08: AS923-1
654 654  
655 -*0x09: AS923-2
674 +0x09: AS923-2
656 656  
657 -*0x0a: AS923-3
676 +0x0a: AS923-3
658 658  
659 -*0x0b: CN470
678 +0x0b: CN470
660 660  
661 -*0x0c: EU433
680 +0x0c: EU433
662 662  
663 -*0x0d: KR920
682 +0x0d: KR920
664 664  
665 -*0x0e: MA869
684 +0x0e: MA869
666 666  
667 667  
668 668  (% style="color:#037691" %)**Sub-Band**:
... ... @@ -693,10 +693,10 @@
693 693  * Periodically Uplink: FPORT=2
694 694  
695 695  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
696 -|=(% style="width: 90px;background-color:#D9E2F3" %)(((
715 +|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)(((
697 697  **Size(bytes)**
698 -)))|=(% style="width: 80px;background-color:#D9E2F3" %)**2**|=(% style="width: 90px;background-color:#D9E2F3" %)**1**|=(% style="width: 240px;background-color:#D9E2F3" %)**Length depends on the return from the commands**
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  
... ... @@ -746,13 +746,13 @@
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.
748 748  
749 -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]]
750 750  
751 751  
752 752  == 2.5 Uplink Interval ==
753 753  
754 754  
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:
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:
756 756  
757 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]]
758 758  
... ... @@ -762,7 +762,7 @@
762 762  === 2.6.1 Examples 1 ~-~- General Example ===
763 763  
764 764  
765 -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.
766 766  
767 767  [[image:image-20230222143809-1.png||_mstalt="429962" height="564" width="729"]]
768 768  
... ... @@ -847,13 +847,13 @@
847 847  [[image:image-20230603120209-2.png||height="281" width="267"]]
848 848  
849 849  
850 -==== 2.6.2.2 Hardware Connection to SDI-12-LB ====
869 +==== 2.6.2.2 Hardware Connection to SDI-12-LB/LS ====
851 851  
852 852  
853 853  [[image:image-20230603120515-3.png]]
854 854  
855 855  
856 -==== 2.6.2.3 Commands set in SDI-12-LB and uplink payload ====
875 +==== 2.6.2.3 Commands set in SDI-12-LB/LS and uplink payload ====
857 857  
858 858  
859 859  [[image:image-20230603120648-4.png]]
... ... @@ -866,7 +866,7 @@
866 866  [[image:image-20230603120859-6.png||height="118" width="1285"]]
867 867  
868 868  
869 -=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.3 Example 3 ~-~- Connect to SIL-400 ===
888 +=== 2.6.3 Example 3 ~-~- Connect to SIL-400 ===
870 870  
871 871  ==== 2.6.3.1 Reference Manual and Command ====
872 872  
... ... @@ -888,18 +888,18 @@
888 888  [[image:image-20230603121606-7.png||height="242" width="307"]]
889 889  
890 890  
891 -==== 2.6.3.2 Hardware Connection to SDI-12-LB ====
910 +==== 2.6.3.2 Hardware Connection to SDI-12-LB/LS ====
892 892  
893 893  
894 894  [[image:image-20230603121643-8.png||height="442" width="656"]]
895 895  
896 896  
897 -==== 2.6.3.3 Commands set in SDI-12-LB and uplink payload ====
916 +==== 2.6.3.3 Commands set in SDI-12-LB/LS and uplink payload ====
898 898  
899 899  
900 900  [[image:image-20230603121721-9.png]]
901 901  
902 -[[image:image-20230603121752-10.png]]
921 +[[image:image-20230628090323-1.png||height="414" width="694"]]
903 903  
904 904  Data in TTN:
905 905  
... ... @@ -907,9 +907,8 @@
907 907  
908 908  
909 909  
910 -=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.4 Example 4 ~-~- Connect to TEROS-12 ===
929 +=== 2.6.4 Example 4 ~-~- Connect to TEROS-12 ===
911 911  
912 -
913 913  ==== 2.6.4.1 Reference Manual and Command ====
914 914  
915 915  
... ... @@ -930,14 +930,15 @@
930 930  [[image:image-20230603122248-16.png||height="196" width="198"]]
931 931  
932 932  
933 -==== 2.6.4.2 Hardware Connection to SDI-12-LB ====
951 +==== 2.6.4.2 Hardware Connection to SDI-12-LB/LS ====
934 934  
935 935  
936 936  [[image:image-20230603122212-15.png||height="502" width="667"]]
937 937  
938 938  
939 -==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ====
957 +==== 2.6.4.3 Commands set in SDI-12-LB/LS and uplink payload ====
940 940  
959 +
941 941  [[image:image-20230603122040-12.png]]
942 942  
943 943  [[image:image-20230603122109-13.png||height="469" width="762"]]
... ... @@ -948,7 +948,7 @@
948 948  [[image:image-20230603122139-14.png||height="148" width="1128"]]
949 949  
950 950  
951 -=== (% id="cke_bm_1489640S" style="display:none" %) (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.5 Example 5 ~-~- Connect to SIL-400/TEROS-12 & Hygrovue10 ===
970 +=== 2.6.5 Example 5 ~-~- Connect to SIL-400/TEROS-12 & Hygrovue10 ===
952 952  
953 953  ==== 2.6.5.1 Important Notice! ====
954 954  
... ... @@ -959,17 +959,15 @@
959 959  
960 960  * 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.
961 961  
962 -* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB.
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.
963 963  
983 +==== 2.6.5.2 Hardware Connection to SDI-12-LB/LS ====
964 964  
965 965  
966 -==== 2.6.5.2 Hardware Connection to SDI-12-LB ====
967 -
968 -
969 969  [[image:image-20230603122508-17.png||height="526" width="742"]]
970 970  
971 971  
972 -==== 2.6.5.3 Commands set in SDI-12-LB and uplink payload ====
989 +==== 2.6.5.3 Commands set in SDI-12-LB/LS and uplink payload ====
973 973  
974 974  
975 975  [[image:image-20230603122549-18.png]]
... ... @@ -982,10 +982,53 @@
982 982  [[image:image-20230603122719-20.png||height="151" width="1179"]]
983 983  
984 984  
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 +
985 985  == 2.7 Frequency Plans ==
986 986  
987 987  
988 -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.
989 989  
990 990  [[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/]]
991 991  
... ... @@ -998,15 +998,15 @@
998 998  [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]]
999 999  
1000 1000  
1001 -= 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink =
1061 += 3. Configure SDI-12-LB/LS via AT Command or LoRaWAN Downlink =
1002 1002  
1003 1003  
1004 -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.
1005 1005  
1006 1006  * AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]].
1007 1007  * LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
1008 1008  
1009 -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:
1010 1010  
1011 1011  * (% style="color:blue" %)**General Commands**.
1012 1012  
... ... @@ -1020,9 +1020,9 @@
1020 1020  [[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/]]
1021 1021  
1022 1022  
1023 -* (% style="color:blue" %)**Commands special design for SDI-12-LB**
1083 +* (% style="color:blue" %)**Commands special design for SDI-12-LB/LS**
1024 1024  
1025 -These commands only valid for SDI-12-LB, as below:
1085 +These commands only valid for SDI-12-LB/LS, as below:
1026 1026  
1027 1027  
1028 1028  == 3.1 Set Transmit Interval Time ==
... ... @@ -1046,7 +1046,6 @@
1046 1046  
1047 1047  (% style="color:blue" %)**Downlink Command: 0x01**
1048 1048  
1049 -
1050 1050  Format: Command Code (0x01) followed by 3 bytes time value.
1051 1051  
1052 1052  If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
... ... @@ -1054,8 +1054,6 @@
1054 1054  * Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
1055 1055  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
1056 1056  
1057 -
1058 -
1059 1059  == 3.2 Set Interrupt Mode ==
1060 1060  
1061 1061  
... ... @@ -1064,7 +1064,7 @@
1064 1064  (% style="color:blue" %)**AT Command: AT+INTMOD**
1065 1065  
1066 1066  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1067 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Response**
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**
1068 1068  |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)(((
1069 1069  0
1070 1070  OK
... ... @@ -1087,8 +1087,6 @@
1087 1087  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
1088 1088  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
1089 1089  
1090 -
1091 -
1092 1092  == 3.3 Set the output time ==
1093 1093  
1094 1094  
... ... @@ -1097,7 +1097,7 @@
1097 1097  (% style="color:blue" %)**AT Command: AT+3V3T**
1098 1098  
1099 1099  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %)
1100 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 201px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 116px;background-color:#D9E2F3;color:#0070C0" %)**Response**
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**
1101 1101  |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)(((
1102 1102  0
1103 1103  OK
... ... @@ -1116,7 +1116,7 @@
1116 1116  (% style="color:blue" %)**AT Command: AT+5VT**
1117 1117  
1118 1118  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
1119 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 114px;background-color:#D9E2F3;color:#0070C0" %)**Response**
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**
1120 1120  |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)(((
1121 1121  0
1122 1122  OK
... ... @@ -1132,10 +1132,12 @@
1132 1132  OK
1133 1133  )))
1134 1134  
1135 -(% style="color:blue" %)**AT Command: AT+12VT**
1190 +(% style="color:blue" %)**AT Command: AT+12VT **
1136 1136  
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 +
1137 1137  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %)
1138 -|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 199px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 83px;background-color:#D9E2F3;color:#0070C0" %)**Response**
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**
1139 1139  |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)(((
1140 1140  0
1141 1141  OK
... ... @@ -1158,8 +1158,6 @@
1158 1158  * Example 5: Downlink Payload: 070301F4  **~-~-->**  AT+12VT=500
1159 1159  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
1160 1160  
1161 -
1162 -
1163 1163  == 3.4 Set the all data mode ==
1164 1164  
1165 1165  
... ... @@ -1182,8 +1182,6 @@
1182 1182  * Example 1: Downlink Payload: AB 00  ~/~/  AT+ALLDATAMOD=0
1183 1183  * Example 2: Downlink Payload: AB 01  ~/~/  AT+ALLDATAMOD=1
1184 1184  
1185 -
1186 -
1187 1187  == 3.5 Set the splicing payload for uplink ==
1188 1188  
1189 1189  
... ... @@ -1240,12 +1240,10 @@
1240 1240  * Example 1: Downlink Payload: AE 01  ~/~/  AT+PAYVER=1
1241 1241  * Example 2: Downlink Payload: AE 05  ~/~/  AT+PAYVER=5
1242 1242  
1243 -
1244 -
1245 1245  = 4. Battery & Power Consumption =
1246 1246  
1247 1247  
1248 -SDI-12-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and 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.
1249 1249  
1250 1250  [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1251 1251  
... ... @@ -1295,31 +1295,35 @@
1295 1295  
1296 1296  
1297 1297  (((
1298 -(% 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**
1299 1299  )))
1300 1300  
1301 1301  (((
1302 -XXX: The default frequency band
1353 +(% style="color:blue" %)**XX**(%%): The default frequency band
1303 1303  )))
1304 1304  
1305 1305  (((
1306 -(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1307 -(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1308 -(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
1309 -(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1310 -(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1311 -(% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1312 -(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1313 -(% 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
1314 1314  )))
1315 1315  
1367 +(% style="color:blue" %)**YY: **(%%)The grand connector hole size
1316 1316  
1369 +* M12: M12 hole
1370 +* M16: M16 hole
1371 +
1317 1317  = 9. Packing Info =
1318 1318  
1319 1319  
1320 1320  (% style="color:#037691" %)**Package Includes**:
1321 1321  
1322 -* 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
1323 1323  
1324 1324  (% style="color:#037691" %)**Dimension and weight**:
1325 1325  
... ... @@ -1329,7 +1329,6 @@
1329 1329  * Weight / pcs : g
1330 1330  
1331 1331  
1332 -
1333 1333  = 10. ​Support =
1334 1334  
1335 1335  
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