Changes for page SDI-12-LB/LS -- SDI-12 to LoRaWAN Converter User Manual
Last modified by Mengting Qiu on 2025/07/03 15:42
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 13 added, 0 removed)
- image-20230627164957-1.png
- image-20230627165744-2.png
- image-20230627174446-2.png
- image-20230627174559-3.png
- image-20230627175513-4.png
- image-20230627175736-5.png
- image-20230627180303-6.png
- image-20230628090323-1.png
- image-20230628091055-1.png
- image-20230628091130-2.png
- image-20240103164910-1.png
- image-20240103165115-2.png
- image-20240103165259-3.png
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -SDI-12-LB -- SDI-12 to LoRaWAN Converter User Manual 1 +SDI-12-LB/LS -- SDI-12 to LoRaWAN Converter User Manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Saxer1 +XWiki.Xiaoling - Content
-
... ... @@ -1,8 +1,16 @@ 1 + 2 + 1 1 (% style="text-align:center" %) 2 -[[image:image-202 30131183542-1.jpeg||_mstalt="470678" height="694" width="694"]]4 +[[image:image-20240103165259-3.png]] 3 3 4 -**Table of Contents:** 5 5 7 + 8 + 9 + 10 + 11 + 12 +**Table of Contents:** 13 + 6 6 {{toc/}} 7 7 8 8 ... ... @@ -23,7 +23,7 @@ 23 23 24 24 25 25 ((( 26 -The Dragino (% style="color:blue" %)**SDI-12-LB**(%%) is a (% style="color:blue" %)**SDI-12 to LoRaWAN Converter **(%%)designed for Smart Agriculture solution. 34 +The Dragino (% style="color:blue" %)**SDI-12-LB/LS**(%%) is a (% style="color:blue" %)**SDI-12 to LoRaWAN Converter **(%%)designed for Smart Agriculture solution. 27 27 ))) 28 28 29 29 ((( ... ... @@ -31,19 +31,19 @@ 31 31 ))) 32 32 33 33 ((( 34 -SDI-12-LB has SDI-12 interface and support 12v output to power external SDI-12 sensor. It can get the environment data from SDI-12 sensor and sends out the data via LoRaWAN wireless protocol. 42 +SDI-12-LB/LS has SDI-12 interface and support 12v output to power external SDI-12 sensor. It can get the environment data from SDI-12 sensor and sends out the data via LoRaWAN wireless protocol. 35 35 ))) 36 36 37 37 ((( 38 -The LoRa wireless technology used in SDI-12-LB allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. 46 +The LoRa wireless technology used in SDI-12-LB/LS allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. 39 39 ))) 40 40 41 41 ((( 42 -SDI-12-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%) ,it is designed for long term use up to 5 years.50 +SDI-12-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%) or (% style="color:blue" %)**solar powered + li-on battery**(%%) it is designed for long term use up to 5 years. 43 43 ))) 44 44 45 45 ((( 46 -Each SDI-12-LB is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on. 54 +Each SDI-12-LB/LS is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on. 47 47 ))) 48 48 49 49 ... ... @@ -65,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 ... ... @@ -430,17 +430,25 @@ 430 430 [[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]] 431 431 432 432 433 -(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1 or AT+CFGDEV =0C!,1,1434 +(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1 434 434 435 435 (% style="color:#037691" %)**0M! **(%%): SDI-12 Command, 436 436 437 437 (% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) 438 438 439 -(% style="color:#037691" %)**1 **(%%):Use aD0! command access. 440 +(% style="color:#037691" %)**1 **(%%): Use aD0! command access. 440 440 441 441 Equal Downlink: 0xA8 03 30 4D 21 01 01 01 442 442 443 443 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 + 444 444 === 2.3.3 Convert ASCII to String === 445 445 446 446 ... ... @@ -466,7 +466,7 @@ 466 466 467 467 AT+COMMANDx & AT+DATACUTx 468 468 469 -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. 470 470 471 471 472 472 * (% style="color:blue" %)**AT Command:** ... ... @@ -479,7 +479,7 @@ 479 479 480 480 (% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//. 481 481 482 -(% 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. 483 483 484 484 (% style="color:red" %)**0 **(%%) No validation check; 485 485 ... ... @@ -531,7 +531,7 @@ 531 531 * (% style="color:#037691" %)**NN **(%%): 1: set the AT+COMMAND value ; 2: set the AT+DATACUT value. 532 532 * (% style="color:#037691" %)**LL **(%%): The length of AT+COMMAND or AT+DATACUT command 533 533 * (% style="color:#037691" %)**XX XX XX XX **(%%): AT+COMMAND or AT+DATACUT command 534 -* (% 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. 535 535 536 536 (% style="color:blue" %)**Example:** 537 537 ... ... @@ -626,9 +626,9 @@ 626 626 === 2.4.1 Device Payload, FPORT~=5 === 627 627 628 628 629 -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. 630 630 631 -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. 632 632 633 633 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 634 634 |(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** ... ... @@ -640,39 +640,39 @@ 640 640 [[image:1675215946738-635.png||_mstalt="297778"]] 641 641 642 642 643 -(% 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 644 644 645 645 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 646 646 647 647 (% style="color:#037691" %)**Frequency Band**: 648 648 649 - *0x01: EU868658 +0x01: EU868 650 650 651 - *0x02: US915660 +0x02: US915 652 652 653 - *0x03: IN865662 +0x03: IN865 654 654 655 - *0x04: AU915664 +0x04: AU915 656 656 657 - *0x05: KZ865666 +0x05: KZ865 658 658 659 - *0x06: RU864668 +0x06: RU864 660 660 661 - *0x07: AS923670 +0x07: AS923 662 662 663 - *0x08: AS923-1672 +0x08: AS923-1 664 664 665 - *0x09: AS923-2674 +0x09: AS923-2 666 666 667 - *0x0a: AS923-3676 +0x0a: AS923-3 668 668 669 - *0x0b: CN470678 +0x0b: CN470 670 670 671 - *0x0c: EU433680 +0x0c: EU433 672 672 673 - *0x0d: KR920682 +0x0d: KR920 674 674 675 - *0x0e: MA869684 +0x0e: MA869 676 676 677 677 678 678 (% style="color:#037691" %)**Sub-Band**: ... ... @@ -703,10 +703,10 @@ 703 703 * Periodically Uplink: FPORT=2 704 704 705 705 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 706 -|=(% style="width: 90px;background-color:#D9E2F3" %)((( 715 +|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)((( 707 707 **Size(bytes)** 708 -)))|=(% 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** 709 -|(% 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" %)((( 710 710 Battery(mV) 711 711 & 712 712 Interrupt_Flag ... ... @@ -721,7 +721,7 @@ 721 721 === 2.4.3 Battery Info === 722 722 723 723 724 -Check the battery voltage for SDI-12-LB. 733 +Check the battery voltage for SDI-12-LB/LS. 725 725 726 726 Ex1: 0x0B45 = 2885mV 727 727 ... ... @@ -756,13 +756,13 @@ 756 756 757 757 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. 758 758 759 -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]] 760 760 761 761 762 762 == 2.5 Uplink Interval == 763 763 764 764 765 -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: 766 766 767 767 [[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]] 768 768 ... ... @@ -772,7 +772,7 @@ 772 772 === 2.6.1 Examples 1 ~-~- General Example === 773 773 774 774 775 -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. 776 776 777 777 [[image:image-20230222143809-1.png||_mstalt="429962" height="564" width="729"]] 778 778 ... ... @@ -857,13 +857,13 @@ 857 857 [[image:image-20230603120209-2.png||height="281" width="267"]] 858 858 859 859 860 -==== 2.6.2.2 Hardware Connection to SDI-12-LB ==== 869 +==== 2.6.2.2 Hardware Connection to SDI-12-LB/LS ==== 861 861 862 862 863 863 [[image:image-20230603120515-3.png]] 864 864 865 865 866 -==== 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 ==== 867 867 868 868 869 869 [[image:image-20230603120648-4.png]] ... ... @@ -876,7 +876,7 @@ 876 876 [[image:image-20230603120859-6.png||height="118" width="1285"]] 877 877 878 878 879 -=== (% 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 === 880 880 881 881 ==== 2.6.3.1 Reference Manual and Command ==== 882 882 ... ... @@ -898,18 +898,18 @@ 898 898 [[image:image-20230603121606-7.png||height="242" width="307"]] 899 899 900 900 901 -==== 2.6.3.2 Hardware Connection to SDI-12-LB ==== 910 +==== 2.6.3.2 Hardware Connection to SDI-12-LB/LS ==== 902 902 903 903 904 904 [[image:image-20230603121643-8.png||height="442" width="656"]] 905 905 906 906 907 -==== 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 ==== 908 908 909 909 910 910 [[image:image-20230603121721-9.png]] 911 911 912 -[[image:image-20230603 121752-10.png]]921 +[[image:image-20230628090323-1.png||height="414" width="694"]] 913 913 914 914 Data in TTN: 915 915 ... ... @@ -917,7 +917,7 @@ 917 917 918 918 919 919 920 -=== (% 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 === 921 921 922 922 ==== 2.6.4.1 Reference Manual and Command ==== 923 923 ... ... @@ -939,14 +939,15 @@ 939 939 [[image:image-20230603122248-16.png||height="196" width="198"]] 940 940 941 941 942 -==== 2.6.4.2 Hardware Connection to SDI-12-LB ==== 951 +==== 2.6.4.2 Hardware Connection to SDI-12-LB/LS ==== 943 943 944 944 945 945 [[image:image-20230603122212-15.png||height="502" width="667"]] 946 946 947 947 948 -==== 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 ==== 949 949 959 + 950 950 [[image:image-20230603122040-12.png]] 951 951 952 952 [[image:image-20230603122109-13.png||height="469" width="762"]] ... ... @@ -957,7 +957,7 @@ 957 957 [[image:image-20230603122139-14.png||height="148" width="1128"]] 958 958 959 959 960 -=== (% 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 === 961 961 962 962 ==== 2.6.5.1 Important Notice! ==== 963 963 ... ... @@ -968,16 +968,15 @@ 968 968 969 969 * 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. 970 970 971 -* 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. 972 972 983 +==== 2.6.5.2 Hardware Connection to SDI-12-LB/LS ==== 973 973 974 -==== 2.6.5.2 Hardware Connection to SDI-12-LB ==== 975 975 976 - 977 977 [[image:image-20230603122508-17.png||height="526" width="742"]] 978 978 979 979 980 -==== 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 ==== 981 981 982 982 983 983 [[image:image-20230603122549-18.png]] ... ... @@ -990,10 +990,53 @@ 990 990 [[image:image-20230603122719-20.png||height="151" width="1179"]] 991 991 992 992 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 + 993 993 == 2.7 Frequency Plans == 994 994 995 995 996 -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. 997 997 998 998 [[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/]] 999 999 ... ... @@ -1006,15 +1006,15 @@ 1006 1006 [[https:~~/~~/www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]] 1007 1007 1008 1008 1009 -= 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink = 1061 += 3. Configure SDI-12-LB/LS via AT Command or LoRaWAN Downlink = 1010 1010 1011 1011 1012 -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. 1013 1013 1014 1014 * AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]]. 1015 1015 * LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 1016 1016 1017 -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: 1018 1018 1019 1019 * (% style="color:blue" %)**General Commands**. 1020 1020 ... ... @@ -1028,9 +1028,9 @@ 1028 1028 [[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/]] 1029 1029 1030 1030 1031 -* (% style="color:blue" %)**Commands special design for SDI-12-LB** 1083 +* (% style="color:blue" %)**Commands special design for SDI-12-LB/LS** 1032 1032 1033 -These commands only valid for SDI-12-LB, as below: 1085 +These commands only valid for SDI-12-LB/LS, as below: 1034 1034 1035 1035 1036 1036 == 3.1 Set Transmit Interval Time == ... ... @@ -1054,7 +1054,6 @@ 1054 1054 1055 1055 (% style="color:blue" %)**Downlink Command: 0x01** 1056 1056 1057 - 1058 1058 Format: Command Code (0x01) followed by 3 bytes time value. 1059 1059 1060 1060 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01. ... ... @@ -1062,7 +1062,6 @@ 1062 1062 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1063 1063 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1064 1064 1065 - 1066 1066 == 3.2 Set Interrupt Mode == 1067 1067 1068 1068 ... ... @@ -1071,7 +1071,7 @@ 1071 1071 (% style="color:blue" %)**AT Command: AT+INTMOD** 1072 1072 1073 1073 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1074 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 1 57px;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** 1075 1075 |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)((( 1076 1076 0 1077 1077 OK ... ... @@ -1094,7 +1094,6 @@ 1094 1094 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1095 1095 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1096 1096 1097 - 1098 1098 == 3.3 Set the output time == 1099 1099 1100 1100 ... ... @@ -1103,7 +1103,7 @@ 1103 1103 (% style="color:blue" %)**AT Command: AT+3V3T** 1104 1104 1105 1105 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %) 1106 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 201px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 1 16px;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** 1107 1107 |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)((( 1108 1108 0 1109 1109 OK ... ... @@ -1122,7 +1122,7 @@ 1122 1122 (% style="color:blue" %)**AT Command: AT+5VT** 1123 1123 1124 1124 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %) 1125 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 11 4px;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** 1126 1126 |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)((( 1127 1127 0 1128 1128 OK ... ... @@ -1140,10 +1140,10 @@ 1140 1140 1141 1141 (% style="color:blue" %)**AT Command: AT+12VT ** 1142 1142 1143 -(% style="color:blue" %)** (The v1.2 version is enabled for 1 second by default, and the version below v1.2 is disabled by default)**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)** 1144 1144 1145 1145 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %) 1146 -|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 199px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 8 3px;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** 1147 1147 |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)((( 1148 1148 0 1149 1149 OK ... ... @@ -1166,7 +1166,6 @@ 1166 1166 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 1167 1167 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 1168 1168 1169 - 1170 1170 == 3.4 Set the all data mode == 1171 1171 1172 1172 ... ... @@ -1189,7 +1189,6 @@ 1189 1189 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 1190 1190 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1191 1191 1192 - 1193 1193 == 3.5 Set the splicing payload for uplink == 1194 1194 1195 1195 ... ... @@ -1246,11 +1246,10 @@ 1246 1246 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1247 1247 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1248 1248 1249 - 1250 1250 = 4. Battery & Power Consumption = 1251 1251 1252 1252 1253 -SDI-12-LB use sER26500 + 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. 1254 1254 1255 1255 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 1256 1256 ... ... @@ -1300,31 +1300,35 @@ 1300 1300 1301 1301 1302 1302 ((( 1303 -(% 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** 1304 1304 ))) 1305 1305 1306 1306 ((( 1307 -XX X: The default frequency band1353 +(% style="color:blue" %)**XX**(%%): The default frequency band 1308 1308 ))) 1309 1309 1310 1310 ((( 1311 -(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band 1312 -(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band 1313 -(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band 1314 -(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band 1315 -(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band 1316 -(% style="color:red" %)**US915**(%%): LoRaWAN US915 band 1317 -(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band 1318 -(% 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 1319 1319 ))) 1320 1320 1367 +(% style="color:blue" %)**YY: **(%%)The grand connector hole size 1321 1321 1369 +* M12: M12 hole 1370 +* M16: M16 hole 1371 + 1322 1322 = 9. Packing Info = 1323 1323 1324 1324 1325 1325 (% style="color:#037691" %)**Package Includes**: 1326 1326 1327 -* 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 1328 1328 1329 1329 (% style="color:#037691" %)**Dimension and weight**: 1330 1330
- 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