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 (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 10 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -65,6 +65,8 @@ 65 65 * Downlink to change configure 66 66 * 8500mAh Battery for long term use 67 67 68 + 69 + 68 68 == 1.3 Specification == 69 69 70 70 ... ... @@ -77,8 +77,7 @@ 77 77 (% style="color:#037691" %)**Common DC Characteristics:** 78 78 79 79 * Supply Voltage: 2.5v ~~ 3.6v 80 -* Support current: 5V 300mA 81 - 12V 100mA 82 +* Support current: 5V 300mA, 12V 100mA 82 82 * Operating Temperature: -40 ~~ 85°C 83 83 84 84 (% style="color:#037691" %)**LoRa Spec:** ... ... @@ -113,10 +113,11 @@ 113 113 * Sleep Mode: 5uA @ 3.3v 114 114 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 115 115 116 -== 1.4 Connect to SDI-12 Sensor == 117 117 118 118 119 +== 1.4 Connect to SDI-12 Sensor == 119 119 121 + 120 120 [[image:1675212538524-889.png||_mstalt="298272"]] 121 121 122 122 ... ... @@ -147,6 +147,8 @@ 147 147 ))) 148 148 |(% 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. 149 149 152 + 153 + 150 150 == 1.7 Pin Mapping == 151 151 152 152 ... ... @@ -201,7 +201,6 @@ 201 201 202 202 Each SDI-12-LB is shipped with a sticker with the default device EUI as below: 203 203 204 - 205 205 [[image:image-20230426084456-1.png||height="241" width="519"]] 206 206 207 207 ... ... @@ -358,7 +358,6 @@ 358 358 359 359 360 360 361 - 362 362 ==== (% style="color:blue" %)**aR0!- aR9!, aRC0!- aRC9!**(%%) ==== 363 363 364 364 ... ... @@ -396,7 +396,7 @@ 396 396 This command can be used to debug all SDI-12 command. 397 397 398 398 399 -LoRaWAN Downlink: A8 aa xx xx xx xx bb cc 401 +LoRaWAN Downlink: A8 aa xx xx xx xx bb cc dd 400 400 401 401 (% style="color:#037691" %)**aa **(%%): total SDI-12 command length 402 402 ... ... @@ -406,9 +406,11 @@ 406 406 407 407 (% style="color:#037691" %)**cc **(%%): 0: don't uplink return to LoRaWAN, 1: Uplink return to LoRaWAN on FPORT=100 408 408 411 +(% style="color:#037691" %)**dd: **(%%) 0: Do not use aD0! command access, 1: use aD0! command access. 409 409 410 -(% style="color:blue" %)**Example: **(%%) AT+CFGDEV =0RC0!,1 411 411 414 +(% style="color:blue" %)**Example1: **(%%) AT+CFGDEV =0RC0!,1 415 + 412 412 (% style="color:#037691" %)**0RC0! **(%%): SDI-12 Command, 413 413 414 414 (% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) ... ... @@ -425,6 +425,25 @@ 425 425 [[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]] 426 426 427 427 432 +(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1 433 + 434 +(% style="color:#037691" %)**0M! **(%%): SDI-12 Command, 435 + 436 +(% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) 437 + 438 +(% style="color:#037691" %)**1 **(%%): Use aD0! command access. 439 + 440 +Equal Downlink: 0xA8 03 30 4D 21 01 01 01 441 + 442 + 443 +The following is the display information on the serial port and the server. 444 + 445 + 446 +[[image:image-20230628091055-1.png||height="368" width="462"]] 447 + 448 +[[image:image-20230628091130-2.png||height="258" width="879"]] 449 + 450 + 428 428 === 2.3.3 Convert ASCII to String === 429 429 430 430 ... ... @@ -630,33 +630,33 @@ 630 630 631 631 (% style="color:#037691" %)**Frequency Band**: 632 632 633 - *0x01: EU868656 +0x01: EU868 634 634 635 - *0x02: US915658 +0x02: US915 636 636 637 - *0x03: IN865660 +0x03: IN865 638 638 639 - *0x04: AU915662 +0x04: AU915 640 640 641 - *0x05: KZ865664 +0x05: KZ865 642 642 643 - *0x06: RU864666 +0x06: RU864 644 644 645 - *0x07: AS923668 +0x07: AS923 646 646 647 - *0x08: AS923-1670 +0x08: AS923-1 648 648 649 - *0x09: AS923-2672 +0x09: AS923-2 650 650 651 - *0x0a: AS923-3674 +0x0a: AS923-3 652 652 653 - *0x0b: CN470676 +0x0b: CN470 654 654 655 - *0x0c: EU433678 +0x0c: EU433 656 656 657 - *0x0d: KR920680 +0x0d: KR920 658 658 659 - *0x0e: MA869682 +0x0e: MA869 660 660 661 661 662 662 (% style="color:#037691" %)**Sub-Band**: ... ... @@ -687,9 +687,9 @@ 687 687 * Periodically Uplink: FPORT=2 688 688 689 689 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 690 -|=(% style="width: 90px;background-color:#D9E2F3" %)((( 713 +|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)((( 691 691 **Size(bytes)** 692 -)))|=(% 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** 715 +)))|=(% 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** 693 693 |(% style="width:93px" %)**Value**|(% style="width:83px" %)((( 694 694 Battery(mV) 695 695 & ... ... @@ -884,14 +884,16 @@ 884 884 885 885 ==== 2.6.3.2 Hardware Connection to SDI-12-LB ==== 886 886 910 + 887 887 [[image:image-20230603121643-8.png||height="442" width="656"]] 888 888 889 889 890 890 ==== 2.6.3.3 Commands set in SDI-12-LB and uplink payload ==== 891 891 916 + 892 892 [[image:image-20230603121721-9.png]] 893 893 894 -[[image:image-20230603 121752-10.png]]919 +[[image:image-20230628090323-1.png||height="414" width="694"]] 895 895 896 896 Data in TTN: 897 897 ... ... @@ -901,10 +901,11 @@ 901 901 902 902 === (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.4 Example 4 ~-~- Connect to TEROS-12 === 903 903 904 - 905 905 ==== 2.6.4.1 Reference Manual and Command ==== 906 906 931 + 907 907 * [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]] 933 + 908 908 * Commands to be used in PC and output. 909 909 910 910 1.check device address ... ... @@ -922,49 +922,100 @@ 922 922 923 923 ==== 2.6.4.2 Hardware Connection to SDI-12-LB ==== 924 924 951 + 925 925 [[image:image-20230603122212-15.png||height="502" width="667"]] 926 926 927 927 928 928 ==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ==== 929 929 957 + 930 930 [[image:image-20230603122040-12.png]] 931 931 932 932 [[image:image-20230603122109-13.png||height="469" width="762"]] 933 933 934 -Data in TTN: 935 935 963 +**Data in TTN:** 964 + 936 936 [[image:image-20230603122139-14.png||height="148" width="1128"]] 937 937 938 938 939 - 940 940 === (% 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 === 941 941 942 942 ==== 2.6.5.1 Important Notice! ==== 943 943 972 + 944 944 * The product page and reference command see above example 2,3,4 974 + 945 945 * 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. 976 + 946 946 * 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. 978 + 947 947 * If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB. 948 948 981 + 982 + 949 949 ==== 2.6.5.2 Hardware Connection to SDI-12-LB ==== 950 950 985 + 951 951 [[image:image-20230603122508-17.png||height="526" width="742"]] 952 952 953 953 954 954 ==== 2.6.5.3 Commands set in SDI-12-LB and uplink payload ==== 955 955 991 + 956 956 [[image:image-20230603122549-18.png]] 957 957 958 958 [[image:image-20230603122623-19.png||height="483" width="1121"]] 959 959 960 -Data in TTN: 961 961 997 +**Data in TTN:** 998 + 962 962 [[image:image-20230603122719-20.png||height="151" width="1179"]] 963 963 964 964 1002 +=== (% id="cke_bm_4783S" style="display:none" %) (%%)2.6.6 Example 6 ~-~- Connect to ENTELECHY-EP_SDI-12 === 965 965 1004 +==== 2.6.4.1 Reference Manual and Command ==== 966 966 967 967 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.4.2 Hardware Connection to SDI-12-LB ==== 1026 + 1027 + 1028 +[[image:image-20230627174446-2.png]] 1029 + 1030 + 1031 + 1032 +==== 2.6.4.3 Commands set in SDI-12-LB 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 + 968 968 == 2.7 Frequency Plans == 969 969 970 970 ... ... @@ -1029,7 +1029,6 @@ 1029 1029 1030 1030 (% style="color:blue" %)**Downlink Command: 0x01** 1031 1031 1032 - 1033 1033 Format: Command Code (0x01) followed by 3 bytes time value. 1034 1034 1035 1035 If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01. ... ... @@ -1037,6 +1037,8 @@ 1037 1037 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1038 1038 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1039 1039 1116 + 1117 + 1040 1040 == 3.2 Set Interrupt Mode == 1041 1041 1042 1042 ... ... @@ -1068,6 +1068,8 @@ 1068 1068 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1069 1069 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1070 1070 1149 + 1150 + 1071 1071 == 3.3 Set the output time == 1072 1072 1073 1073 ... ... @@ -1111,8 +1111,10 @@ 1111 1111 OK 1112 1112 ))) 1113 1113 1114 -(% style="color:blue" %)**AT Command: AT+12VT** 1194 +(% style="color:blue" %)**AT Command: AT+12VT ** 1115 1115 1196 +(% style="color:blue" %)**(The v1.2 version is enabled for 1 second by default, and the version below v1.2 is disabled by default)** 1197 + 1116 1116 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %) 1117 1117 |=(% 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** 1118 1118 |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)((( ... ... @@ -1137,6 +1137,8 @@ 1137 1137 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 1138 1138 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 1139 1139 1222 + 1223 + 1140 1140 == 3.4 Set the all data mode == 1141 1141 1142 1142 ... ... @@ -1159,6 +1159,8 @@ 1159 1159 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 1160 1160 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1161 1161 1246 + 1247 + 1162 1162 == 3.5 Set the splicing payload for uplink == 1163 1163 1164 1164 ... ... @@ -1215,6 +1215,8 @@ 1215 1215 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1216 1216 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1217 1217 1304 + 1305 + 1218 1218 = 4. Battery & Power Consumption = 1219 1219 1220 1220 ... ... @@ -1272,7 +1272,7 @@ 1272 1272 ))) 1273 1273 1274 1274 ((( 1275 -XXX: The default frequency band 1363 +(% style="color:blue" %)**XXX**(%%): The default frequency band 1276 1276 ))) 1277 1277 1278 1278 ((( ... ... @@ -1301,6 +1301,8 @@ 1301 1301 * Package Size / pcs : cm 1302 1302 * Weight / pcs : g 1303 1303 1392 + 1393 + 1304 1304 = 10. Support = 1305 1305 1306 1306
- 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