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
From version 67.1
edited by Edwin Chen
on 2023/06/03 12:28
on 2023/06/03 12:28
Change comment:
Uploaded new attachment "image-20230603122508-17.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 13 added, 0 removed)
- image-20230603122549-18.png
- image-20230603122623-19.png
- image-20230603122719-20.png
- 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
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Xiaoling - Content
-
... ... @@ -66,6 +66,7 @@ 66 66 * 8500mAh Battery for long term use 67 67 68 68 69 + 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 82 +* 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 ... ... @@ -204,7 +204,6 @@ 204 204 205 205 Each SDI-12-LB 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 ... ... @@ -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 398 +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 408 +(% 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 411 +(% style="color:blue" %)**Example1: **(%%) AT+CFGDEV =0RC0!,1 412 + 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 429 +(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1 430 + 431 +(% style="color:#037691" %)**0M! **(%%): SDI-12 Command, 432 + 433 +(% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) 434 + 435 +(% style="color:#037691" %)**1 **(%%):Use aD0! command access. 436 + 437 +Equal Downlink: 0xA8 03 30 4D 21 01 01 01 438 + 439 + 440 +The following is the display information on the serial port and the server. 441 + 442 + 443 +[[image:image-20230628091055-1.png||height="368" width="462"]] 444 + 445 +[[image:image-20230628091130-2.png||height="258" width="879"]] 446 + 447 + 431 431 === 2.3.3 Convert ASCII to String === 432 432 433 433 ... ... @@ -633,33 +633,33 @@ 633 633 634 634 (% style="color:#037691" %)**Frequency Band**: 635 635 636 - *0x01: EU868653 +0x01: EU868 637 637 638 - *0x02: US915655 +0x02: US915 639 639 640 - *0x03: IN865657 +0x03: IN865 641 641 642 - *0x04: AU915659 +0x04: AU915 643 643 644 - *0x05: KZ865661 +0x05: KZ865 645 645 646 - *0x06: RU864663 +0x06: RU864 647 647 648 - *0x07: AS923665 +0x07: AS923 649 649 650 - *0x08: AS923-1667 +0x08: AS923-1 651 651 652 - *0x09: AS923-2669 +0x09: AS923-2 653 653 654 - *0x0a: AS923-3671 +0x0a: AS923-3 655 655 656 - *0x0b: CN470673 +0x0b: CN470 657 657 658 - *0x0c: EU433675 +0x0c: EU433 659 659 660 - *0x0d: KR920677 +0x0d: KR920 661 661 662 - *0x0e: MA869679 +0x0e: MA869 663 663 664 664 665 665 (% style="color:#037691" %)**Sub-Band**: ... ... @@ -690,9 +690,9 @@ 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" %)((( 710 +|=(% 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** 712 +)))|=(% 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** 696 696 |(% style="width:93px" %)**Value**|(% style="width:83px" %)((( 697 697 Battery(mV) 698 698 & ... ... @@ -822,22 +822,24 @@ 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 === 842 +=== 2.6.2 Example 2 ~-~- Connect to Hygrovue10 === 826 826 827 827 ==== 2.6.2.1 Reference Manual and Command ==== 828 828 846 + 829 829 * [[Hygrovue10 Product Page>>https://www.campbellsci.com/hygrovue10]] 848 + 830 830 * Commands to be used in PC and output. 831 831 832 -1.check device address 851 +~1. check device address 833 833 834 -2.change device address 853 +2. change device address 835 835 836 -3.check device ID 855 +3. check device ID 837 837 838 -4.start measure 857 +4. start measure 839 839 840 -5.Get Meausre result 859 +5. Get Meausre result 841 841 842 842 [[image:image-20230603120209-2.png||height="281" width="267"]] 843 843 ... ... @@ -844,22 +844,177 @@ 844 844 845 845 ==== 2.6.2.2 Hardware Connection to SDI-12-LB ==== 846 846 866 + 847 847 [[image:image-20230603120515-3.png]] 848 848 849 849 850 850 ==== 2.6.2.3 Commands set in SDI-12-LB and uplink payload ==== 851 851 872 + 852 852 [[image:image-20230603120648-4.png]] 853 853 854 854 [[image:image-20230603120726-5.png]] 855 855 856 -Data in TTN: 857 857 878 +**Data in TTN:** 879 + 858 858 [[image:image-20230603120859-6.png||height="118" width="1285"]] 859 859 860 860 883 +=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.3 Example 3 ~-~- Connect to SIL-400 === 861 861 885 +==== 2.6.3.1 Reference Manual and Command ==== 862 862 887 + 888 +* [[SIL-400 Product Page>>https://www.apogeeinstruments.com/sil-411-commercial-grade-sdi-12-digital-output-standard-field-of-view-infrared-radiometer-sensor/]] 889 + 890 +* Commands to be used in PC and output. 891 + 892 +~1. check device address 893 + 894 +2. change device address 895 + 896 +3. check device ID 897 + 898 +4. start measure 899 + 900 +5. Get Meausre result 901 + 902 +[[image:image-20230603121606-7.png||height="242" width="307"]] 903 + 904 + 905 +==== 2.6.3.2 Hardware Connection to SDI-12-LB ==== 906 + 907 + 908 +[[image:image-20230603121643-8.png||height="442" width="656"]] 909 + 910 + 911 +==== 2.6.3.3 Commands set in SDI-12-LB and uplink payload ==== 912 + 913 + 914 +[[image:image-20230603121721-9.png]] 915 + 916 +[[image:image-20230628090323-1.png||height="414" width="694"]] 917 + 918 +Data in TTN: 919 + 920 +[[image:image-20230603121826-11.png||height="155" width="1104"]] 921 + 922 + 923 + 924 +=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.4 Example 4 ~-~- Connect to TEROS-12 === 925 + 926 +==== 2.6.4.1 Reference Manual and Command ==== 927 + 928 + 929 +* [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]] 930 + 931 +* Commands to be used in PC and output. 932 + 933 +1.check device address 934 + 935 +2.change device address 936 + 937 +3.check device ID 938 + 939 +4.start measure 940 + 941 +5.Get Meausre result 942 + 943 +[[image:image-20230603122248-16.png||height="196" width="198"]] 944 + 945 + 946 +==== 2.6.4.2 Hardware Connection to SDI-12-LB ==== 947 + 948 + 949 +[[image:image-20230603122212-15.png||height="502" width="667"]] 950 + 951 + 952 +==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ==== 953 + 954 + 955 +[[image:image-20230603122040-12.png]] 956 + 957 +[[image:image-20230603122109-13.png||height="469" width="762"]] 958 + 959 + 960 +**Data in TTN:** 961 + 962 +[[image:image-20230603122139-14.png||height="148" width="1128"]] 963 + 964 + 965 +=== (% 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 === 966 + 967 +==== 2.6.5.1 Important Notice! ==== 968 + 969 + 970 +* The product page and reference command see above example 2,3,4 971 + 972 +* 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. 973 + 974 +* 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. 975 + 976 +* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB. 977 + 978 +==== 2.6.5.2 Hardware Connection to SDI-12-LB ==== 979 + 980 + 981 +[[image:image-20230603122508-17.png||height="526" width="742"]] 982 + 983 + 984 +==== 2.6.5.3 Commands set in SDI-12-LB and uplink payload ==== 985 + 986 + 987 +[[image:image-20230603122549-18.png]] 988 + 989 +[[image:image-20230603122623-19.png||height="483" width="1121"]] 990 + 991 + 992 +**Data in TTN:** 993 + 994 +[[image:image-20230603122719-20.png||height="151" width="1179"]] 995 + 996 + 997 +=== (% id="cke_bm_4783S" style="display:none" %) (%%)2.6.6 Example 6 ~-~- Connect to ENTELECHY-EP_SDI-12 === 998 + 999 +==== 2.6.4.1 Reference Manual and Command ==== 1000 + 1001 + 1002 +* [[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]] 1003 + 1004 +* Commands to be used in PC and output. 1005 + 1006 +1.check device address 1007 + 1008 +2.change device address 1009 + 1010 +3.check device ID 1011 + 1012 +4.start measure 1013 + 1014 +5.Get Meausre result 1015 + 1016 + 1017 +[[image:image-20230627174559-3.png]] 1018 + 1019 +==== 2.6.4.2 Hardware Connection to SDI-12-LB ==== 1020 + 1021 +[[image:image-20230627174446-2.png]] 1022 + 1023 + 1024 + 1025 +==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ==== 1026 + 1027 + 1028 +[[image:image-20230627175513-4.png||height="596" width="576"]] 1029 + 1030 +[[image:image-20230627175736-5.png||height="429" width="693"]] 1031 + 1032 + 1033 +**Data in TTN:** 1034 + 1035 +[[image:image-20230627180303-6.png||height="292" width="1171"]] 1036 + 863 863 == 2.7 Frequency Plans == 864 864 865 865 ... ... @@ -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 ... ... @@ -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 ... ... @@ -1008,8 +1008,10 @@ 1008 1008 OK 1009 1009 ))) 1010 1010 1011 -(% style="color:blue" %)**AT Command: AT+12VT** 1183 +(% style="color:blue" %)**AT Command: AT+12VT ** 1012 1012 1185 +(% style="color:blue" %)**(The v1.2 version is enabled for 1 second by default, and the version below v1.2 is disabled by default)** 1186 + 1013 1013 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %) 1014 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** 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" %)((( ... ... @@ -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,7 +1114,6 @@ 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 ... ... @@ -1172,7 +1172,7 @@ 1172 1172 ))) 1173 1173 1174 1174 ((( 1175 -XXX: The default frequency band 1346 +(% style="color:blue" %)**XXX**(%%): The default frequency band 1176 1176 ))) 1177 1177 1178 1178 ((( ... ... @@ -1201,7 +1201,6 @@ 1201 1201 * Package Size / pcs : cm 1202 1202 * Weight / pcs : g 1203 1203 1204 - 1205 1205 = 10. Support = 1206 1206 1207 1207
- 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