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

From version 67.1
edited by Edwin Chen
on 2023/06/03 12:28
Change comment: Uploaded new attachment "image-20230603122508-17.png", version {1}
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
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
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,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,7 @@
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
88 +* Support current: 5V 300mA, 12V 100mA
83 83  * Operating Temperature: -40 ~~ 85°C
84 84  
85 85  (% style="color:#037691" %)**LoRa Spec:**
... ... @@ -114,11 +114,9 @@
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 -
122 122  [[image:1675212538524-889.png||_mstalt="298272"]]
123 123  
124 124  
... ... @@ -149,7 +149,6 @@
149 149  )))
150 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.
151 151  
152 -
153 153  == 1.7 Pin Mapping ==
154 154  
155 155  
... ... @@ -159,7 +159,7 @@
159 159  == 1.8 BLE connection ==
160 160  
161 161  
162 -SDI-12-LB support BLE remote configure.
165 +SDI-12-LB/LS support BLE remote configure.
163 163  
164 164  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:
165 165  
... ... @@ -185,7 +185,7 @@
185 185  == 2.1 How it works ==
186 186  
187 187  
188 -The SDI-12-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and activate the SDI-12-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.
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.
189 189  
190 190  
191 191  == 2.2 Quick guide to connect to LoRaWAN server (OTAA) ==
... ... @@ -200,11 +200,10 @@
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.
201 201  
202 202  
203 -(% 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.
204 204  
205 -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:
206 206  
207 -
208 208  [[image:image-20230426084456-1.png||height="241" width="519"]]
209 209  
210 210  
... ... @@ -233,10 +233,10 @@
233 233  [[image:1675213686734-883.png||_mstalt="298064"]]
234 234  
235 235  
236 -(% style="color:blue" %)**Step 2**(%%): Activate on SDI-12-LB
238 +(% style="color:blue" %)**Step 2**(%%): Activate on SDI-12-LB/LS
237 237  
238 238  
239 -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.
240 240  
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  
... ... @@ -247,7 +247,7 @@
247 247  == ​2.3 SDI-12 Related Commands ==
248 248  
249 249  
250 -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.
251 251  
252 252  
253 253  === 2.3.1 Basic SDI-12 debug command ===
... ... @@ -255,7 +255,7 @@
255 255  
256 256  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.
257 257  
258 -If SDI-12 sensor return value after get these commands, //SDI-12-LB// will uplink the return on FPORT=100, otherwise, if there is no response from SDI-12 sensor. //SDI-12-LB// will uplink NULL (0x 4E 55 4C 4C) to server.
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.
259 259  
260 260  The following is the display information on the serial port and the server.
261 261  
... ... @@ -361,7 +361,6 @@
361 361  
362 362  
363 363  
364 -
365 365  ==== (% style="color:blue" %)**aR0!- aR9!,  aRC0!- aRC9!**(%%) ====
366 366  
367 367  
... ... @@ -399,7 +399,7 @@
399 399  This command can be used to debug all SDI-12 command.
400 400  
401 401  
402 -LoRaWAN Downlink: A8 aa xx xx xx xx bb cc
403 +LoRaWAN Downlink: A8 aa xx xx xx xx bb cc dd
403 403  
404 404  (% style="color:#037691" %)**aa **(%%): total SDI-12 command length
405 405  
... ... @@ -409,9 +409,11 @@
409 409  
410 410  (% style="color:#037691" %)**cc **(%%): 0: don't uplink return to LoRaWAN, 1: Uplink return to LoRaWAN on FPORT=100
411 411  
413 +(% style="color:#037691" %)**dd: **(%%) 0: Do not use aD0! command access, 1: use aD0! command access.
412 412  
413 -(% style="color:blue" %)**Example: **(%%) AT+CFGDEV =0RC0!,1
414 414  
416 +(% style="color:blue" %)**Example1: **(%%) AT+CFGDEV =0RC0!,1
417 +
415 415  (% style="color:#037691" %)**0RC0! **(%%): SDI-12 Command,
416 416  
417 417  (% style="color:#037691" %)**1 **(%%): Delay 1 second.  ( 0: 810 mini-second)
... ... @@ -428,6 +428,25 @@
428 428  [[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]]
429 429  
430 430  
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 +
431 431  === 2.3.3 Convert ASCII to String ===
432 432  
433 433  
... ... @@ -453,7 +453,7 @@
453 453  
454 454  AT+COMMANDx & AT+DATACUTx
455 455  
456 -User can define max 15 SDI-12 Commands (AT+COMMAND1 ~~ AT+COMMANDF). On each uplink period (TDC time, default 20 minutes), SDI-12-LB will send these SDI-12 commands and wait for return from SDI-12 sensors. SDI-12-LB will then combine these returns and uplink via LoRaWAN.
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.
457 457  
458 458  
459 459  * (% style="color:blue" %)**AT Command:**
... ... @@ -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.
491 +(% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB/LS will resend this command. Max 3 retries.
470 470  
471 471  (% style="color:red" %)**0 **(%%) No validation check;
472 472  
... ... @@ -518,7 +518,7 @@
518 518  * (% style="color:#037691" %)**NN **(%%):  1: set the AT+COMMAND 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. 
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. 
522 522  
523 523  (% style="color:blue" %)**Example:**
524 524  
... ... @@ -613,9 +613,9 @@
613 613  === 2.4.1 Device Payload, FPORT~=5 ===
614 614  
615 615  
616 -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.
617 617  
618 -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.
619 619  
620 620  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
621 621  |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)**
... ... @@ -627,39 +627,39 @@
627 627  [[image:1675215946738-635.png||_mstalt="297778"]]
628 628  
629 629  
630 -(% 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
631 631  
632 632  (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version
633 633  
634 634  (% style="color:#037691" %)**Frequency Band**:
635 635  
636 -*0x01: EU868
658 +0x01: EU868
637 637  
638 -*0x02: US915
660 +0x02: US915
639 639  
640 -*0x03: IN865
662 +0x03: IN865
641 641  
642 -*0x04: AU915
664 +0x04: AU915
643 643  
644 -*0x05: KZ865
666 +0x05: KZ865
645 645  
646 -*0x06: RU864
668 +0x06: RU864
647 647  
648 -*0x07: AS923
670 +0x07: AS923
649 649  
650 -*0x08: AS923-1
672 +0x08: AS923-1
651 651  
652 -*0x09: AS923-2
674 +0x09: AS923-2
653 653  
654 -*0x0a: AS923-3
676 +0x0a: AS923-3
655 655  
656 -*0x0b: CN470
678 +0x0b: CN470
657 657  
658 -*0x0c: EU433
680 +0x0c: EU433
659 659  
660 -*0x0d: KR920
682 +0x0d: KR920
661 661  
662 -*0x0e: MA869
684 +0x0e: MA869
663 663  
664 664  
665 665  (% style="color:#037691" %)**Sub-Band**:
... ... @@ -690,10 +690,10 @@
690 690  * Periodically Uplink: FPORT=2
691 691  
692 692  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %)
693 -|=(% style="width: 90px;background-color:#D9E2F3" %)(((
715 +|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)(((
694 694  **Size(bytes)**
695 -)))|=(% 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**
696 -|(% 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" %)(((
697 697  Battery(mV)
698 698  &
699 699  Interrupt_Flag
... ... @@ -708,7 +708,7 @@
708 708  === 2.4.3 Battery Info ===
709 709  
710 710  
711 -Check the battery voltage for SDI-12-LB.
733 +Check the battery voltage for SDI-12-LB/LS.
712 712  
713 713  Ex1: 0x0B45 = 2885mV
714 714  
... ... @@ -743,13 +743,13 @@
743 743  
744 744  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.
745 745  
746 -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]]
747 747  
748 748  
749 749  == 2.5 Uplink Interval ==
750 750  
751 751  
752 -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:
753 753  
754 754  [[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]]
755 755  
... ... @@ -759,7 +759,7 @@
759 759  === 2.6.1 Examples 1 ~-~- General Example ===
760 760  
761 761  
762 -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.
763 763  
764 764  [[image:image-20230222143809-1.png||_mstalt="429962" height="564" width="729"]]
765 765  
... ... @@ -822,48 +822,208 @@
822 822  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”**.
823 823  
824 824  
825 -=== 2.6.2 Example ~-~- Connect to Hygrovue10 ===
847 +=== 2.6.2 Example 2 ~-~- Connect to Hygrovue10 ===
826 826  
827 827  ==== 2.6.2.1 Reference Manual and Command ====
828 828  
851 +
829 829  * [[Hygrovue10 Product Page>>https://www.campbellsci.com/hygrovue10]]
853 +
830 830  * Commands to be used in PC and output.
831 831  
832 -1.check device address
856 +~1. check device address
833 833  
834 -2.change device address
858 +2. change device address
835 835  
836 -3.check device ID
860 +3. check device ID
837 837  
838 -4.start measure
862 +4. start measure
839 839  
840 -5.Get Meausre result
864 +5. Get Meausre result
841 841  
842 842  [[image:image-20230603120209-2.png||height="281" width="267"]]
843 843  
844 844  
845 -==== 2.6.2.2 Hardware Connection to SDI-12-LB ====
869 +==== 2.6.2.2 Hardware Connection to SDI-12-LB/LS ====
846 846  
871 +
847 847  [[image:image-20230603120515-3.png]]
848 848  
849 849  
850 -==== 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 ====
851 851  
877 +
852 852  [[image:image-20230603120648-4.png]]
853 853  
854 854  [[image:image-20230603120726-5.png]]
855 855  
856 -Data in TTN:
857 857  
883 +**Data in TTN:**
884 +
858 858  [[image:image-20230603120859-6.png||height="118" width="1285"]]
859 859  
860 860  
888 +=== 2.6.3 Example 3 ~-~- Connect to SIL-400 ===
861 861  
890 +==== 2.6.3.1 Reference Manual and Command ====
862 862  
892 +
893 +* [[SIL-400 Product Page>>https://www.apogeeinstruments.com/sil-411-commercial-grade-sdi-12-digital-output-standard-field-of-view-infrared-radiometer-sensor/]]
894 +
895 +* Commands to be used in PC and output.
896 +
897 +~1. check device address
898 +
899 +2. change device address
900 +
901 +3. check device ID
902 +
903 +4. start measure
904 +
905 +5. Get Meausre result
906 +
907 +[[image:image-20230603121606-7.png||height="242" width="307"]]
908 +
909 +
910 +==== 2.6.3.2 Hardware Connection to SDI-12-LB/LS ====
911 +
912 +
913 +[[image:image-20230603121643-8.png||height="442" width="656"]]
914 +
915 +
916 +==== 2.6.3.3 Commands set in SDI-12-LB/LS and uplink payload ====
917 +
918 +
919 +[[image:image-20230603121721-9.png]]
920 +
921 +[[image:image-20230628090323-1.png||height="414" width="694"]]
922 +
923 +Data in TTN:
924 +
925 +[[image:image-20230603121826-11.png||height="155" width="1104"]]
926 +
927 +
928 +
929 +=== 2.6.4 Example 4 ~-~- Connect to TEROS-12 ===
930 +
931 +==== 2.6.4.1 Reference Manual and Command ====
932 +
933 +
934 +* [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]]
935 +
936 +* Commands to be used in PC and output.
937 +
938 +1.check device address
939 +
940 +2.change device address
941 +
942 +3.check device ID
943 +
944 +4.start measure
945 +
946 +5.Get Meausre result
947 +
948 +[[image:image-20230603122248-16.png||height="196" width="198"]]
949 +
950 +
951 +==== 2.6.4.2 Hardware Connection to SDI-12-LB/LS ====
952 +
953 +
954 +[[image:image-20230603122212-15.png||height="502" width="667"]]
955 +
956 +
957 +==== 2.6.4.3 Commands set in SDI-12-LB/LS and uplink payload ====
958 +
959 +
960 +[[image:image-20230603122040-12.png]]
961 +
962 +[[image:image-20230603122109-13.png||height="469" width="762"]]
963 +
964 +
965 +**Data in TTN:**
966 +
967 +[[image:image-20230603122139-14.png||height="148" width="1128"]]
968 +
969 +
970 +=== 2.6.5 Example 5 ~-~- Connect to SIL-400/TEROS-12 & Hygrovue10 ===
971 +
972 +==== 2.6.5.1 Important Notice! ====
973 +
974 +
975 +* The product page and reference command see above example 2,3,4
976 +
977 +* All of these SDI-12 sensors use the same address (address 0) by default. So we need to change their address to different address, by using **aAb!** command. See above example.
978 +
979 +* The sensor needs to be powered to a steady statue. So the 12VT time need to be set to the maximum stable time for the sensors. in this example, it is 13 seconds.
980 +
981 +* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB/LS.
982 +
983 +==== 2.6.5.2 Hardware Connection to SDI-12-LB/LS ====
984 +
985 +
986 +[[image:image-20230603122508-17.png||height="526" width="742"]]
987 +
988 +
989 +==== 2.6.5.3 Commands set in SDI-12-LB/LS and uplink payload ====
990 +
991 +
992 +[[image:image-20230603122549-18.png]]
993 +
994 +[[image:image-20230603122623-19.png||height="483" width="1121"]]
995 +
996 +
997 +**Data in TTN:**
998 +
999 +[[image:image-20230603122719-20.png||height="151" width="1179"]]
1000 +
1001 +
1002 +=== 2.6.6 Example 6 ~-~- Connect to ENTELECHY-EP_SDI-12 ===
1003 +
1004 +==== 2.6.6.1 Reference Manual and Command ====
1005 +
1006 +
1007 +* [[https:~~/~~/enviroprosoilprobes.com/wp-content/uploads/2019/11/ENTELECHY-EP_SDI-12-Commands.pdf>>url:https://enviroprosoilprobes.com/wp-content/uploads/2019/11/ENTELECHY-EP_SDI-12-Commands.pdf]]
1008 +
1009 +* Commands to be used in PC and output.
1010 +
1011 +1.check device address
1012 +
1013 +2.change device address
1014 +
1015 +3.check device ID
1016 +
1017 +4.start measure
1018 +
1019 +5.Get Meausre result
1020 +
1021 +
1022 +[[image:image-20230627174559-3.png]]
1023 +
1024 +
1025 +==== 2.6.6.2 Hardware Connection to SDI-12-LB/LS ====
1026 +
1027 +
1028 +[[image:image-20230627174446-2.png]]
1029 +
1030 +
1031 +
1032 +==== 2.6.6.3 Commands set in SDI-12-LB/LS and uplink payload ====
1033 +
1034 +
1035 +[[image:image-20230627175513-4.png||height="596" width="576"]]
1036 +
1037 +[[image:image-20230627175736-5.png||height="429" width="693"]]
1038 +
1039 +
1040 +**Data in TTN:**
1041 +
1042 +[[image:image-20230627180303-6.png||height="292" width="1171"]]
1043 +
1044 +
863 863  == 2.7 Frequency Plans ==
864 864  
865 865  
866 -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.
867 867  
868 868  [[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/]]
869 869  
... ... @@ -876,15 +876,15 @@
876 876  [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]]
877 877  
878 878  
879 -= 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink =
1061 += 3. Configure SDI-12-LB/LS via AT Command or LoRaWAN Downlink =
880 880  
881 881  
882 -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.
883 883  
884 884  * AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]].
885 885  * LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
886 886  
887 -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:
888 888  
889 889  * (% style="color:blue" %)**General Commands**.
890 890  
... ... @@ -898,9 +898,9 @@
898 898  [[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/]]
899 899  
900 900  
901 -* (% style="color:blue" %)**Commands special design for SDI-12-LB**
1083 +* (% style="color:blue" %)**Commands special design for SDI-12-LB/LS**
902 902  
903 -These commands only valid for SDI-12-LB, as below:
1085 +These commands only valid for SDI-12-LB/LS, as below:
904 904  
905 905  
906 906  == 3.1 Set Transmit Interval Time ==
... ... @@ -924,7 +924,6 @@
924 924  
925 925  (% style="color:blue" %)**Downlink Command: 0x01**
926 926  
927 -
928 928  Format: Command Code (0x01) followed by 3 bytes time value.
929 929  
930 930  If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
... ... @@ -932,7 +932,6 @@
932 932  * Example 1: Downlink Payload: 0100001E  ~/~/ Set Transmit Interval (TDC) = 30 seconds
933 933  * Example 2: Downlink Payload: 0100003C  ~/~/  Set Transmit Interval (TDC) = 60 seconds
934 934  
935 -
936 936  == 3.2 Set Interrupt Mode ==
937 937  
938 938  
... ... @@ -941,7 +941,7 @@
941 941  (% style="color:blue" %)**AT Command: AT+INTMOD**
942 942  
943 943  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
944 -|=(% 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**
945 945  |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)(((
946 946  0
947 947  OK
... ... @@ -964,7 +964,6 @@
964 964  * Example 1: Downlink Payload: 06000000  ~/~/  Turn off interrupt mode
965 965  * Example 2: Downlink Payload: 06000003  ~/~/  Set the interrupt mode to rising edge trigger
966 966  
967 -
968 968  == 3.3 Set the output time ==
969 969  
970 970  
... ... @@ -973,7 +973,7 @@
973 973  (% style="color:blue" %)**AT Command: AT+3V3T**
974 974  
975 975  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %)
976 -|=(% 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**
977 977  |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)(((
978 978  0
979 979  OK
... ... @@ -992,7 +992,7 @@
992 992  (% style="color:blue" %)**AT Command: AT+5VT**
993 993  
994 994  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
995 -|=(% 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**
996 996  |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)(((
997 997  0
998 998  OK
... ... @@ -1008,10 +1008,12 @@
1008 1008  OK
1009 1009  )))
1010 1010  
1011 -(% style="color:blue" %)**AT Command: AT+12VT**
1190 +(% style="color:blue" %)**AT Command: AT+12VT **
1012 1012  
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 +
1013 1013  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %)
1014 -|=(% 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**
1015 1015  |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)(((
1016 1016  0
1017 1017  OK
... ... @@ -1034,7 +1034,6 @@
1034 1034  * Example 5: Downlink Payload: 070301F4  **~-~-->**  AT+12VT=500
1035 1035  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
1036 1036  
1037 -
1038 1038  == 3.4 Set the all data mode ==
1039 1039  
1040 1040  
... ... @@ -1057,7 +1057,6 @@
1057 1057  * Example 1: Downlink Payload: AB 00  ~/~/  AT+ALLDATAMOD=0
1058 1058  * Example 2: Downlink Payload: AB 01  ~/~/  AT+ALLDATAMOD=1
1059 1059  
1060 -
1061 1061  == 3.5 Set the splicing payload for uplink ==
1062 1062  
1063 1063  
... ... @@ -1114,11 +1114,10 @@
1114 1114  * Example 1: Downlink Payload: AE 01  ~/~/  AT+PAYVER=1
1115 1115  * Example 2: Downlink Payload: AE 05  ~/~/  AT+PAYVER=5
1116 1116  
1117 -
1118 1118  = 4. Battery & Power Consumption =
1119 1119  
1120 1120  
1121 -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.
1122 1122  
1123 1123  [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
1124 1124  
... ... @@ -1168,31 +1168,35 @@
1168 1168  
1169 1169  
1170 1170  (((
1171 -(% 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**
1172 1172  )))
1173 1173  
1174 1174  (((
1175 -XXX: The default frequency band
1353 +(% style="color:blue" %)**XX**(%%): The default frequency band
1176 1176  )))
1177 1177  
1178 1178  (((
1179 -(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1180 -(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1181 -(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
1182 -(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1183 -(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1184 -(% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1185 -(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1186 -(% 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
1187 1187  )))
1188 1188  
1367 +(% style="color:blue" %)**YY: **(%%)The grand connector hole size
1189 1189  
1369 +* M12: M12 hole
1370 +* M16: M16 hole
1371 +
1190 1190  = 9. Packing Info =
1191 1191  
1192 1192  
1193 1193  (% style="color:#037691" %)**Package Includes**:
1194 1194  
1195 -* 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
1196 1196  
1197 1197  (% style="color:#037691" %)**Dimension and weight**:
1198 1198  
image-20230603122549-18.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +90.9 KB
Content
image-20230603122623-19.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +139.5 KB
Content
image-20230603122719-20.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Edwin
Size
... ... @@ -1,0 +1,1 @@
1 +83.8 KB
Content
image-20230627164957-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +835.0 KB
Content
image-20230627165744-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +4.6 KB
Content
image-20230627174446-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +835.0 KB
Content
image-20230627174559-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +4.6 KB
Content
image-20230627175513-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +12.0 KB
Content
image-20230627175736-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +10.4 KB
Content
image-20230627180303-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +65.1 KB
Content
image-20230628090323-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Saxer
Size
... ... @@ -1,0 +1,1 @@
1 +137.2 KB
Content
image-20230628091055-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Saxer
Size
... ... @@ -1,0 +1,1 @@
1 +24.9 KB
Content
image-20230628091130-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Saxer
Size
... ... @@ -1,0 +1,1 @@
1 +84.0 KB
Content
image-20240103164910-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +431.6 KB
Content
image-20240103165115-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +220.0 KB
Content
image-20240103165259-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +235.3 KB
Content