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 54.1
edited by Edwin Chen
on 2023/06/03 12:10
on 2023/06/03 12:10
Change comment:
Uploaded new attachment "image-20230603120726-5.png", version {1}
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 23 added, 0 removed)
- image-20230603120859-6.png
- image-20230603121606-7.png
- image-20230603121643-8.png
- image-20230603121721-9.png
- image-20230603121752-10.png
- image-20230603121826-11.png
- image-20230603122040-12.png
- image-20230603122109-13.png
- image-20230603122139-14.png
- image-20230603122212-15.png
- image-20230603122248-16.png
- image-20230603122508-17.png
- 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
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Edwin1 +XWiki.Saxer - Content
-
... ... @@ -65,8 +65,6 @@ 65 65 * Downlink to change configure 66 66 * 8500mAh Battery for long term use 67 67 68 - 69 - 70 70 == 1.3 Specification == 71 71 72 72 ... ... @@ -115,12 +115,9 @@ 115 115 * Sleep Mode: 5uA @ 3.3v 116 116 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 117 117 118 - 119 - 120 120 == 1.4 Connect to SDI-12 Sensor == 121 121 122 122 123 - 124 124 [[image:1675212538524-889.png||_mstalt="298272"]] 125 125 126 126 ... ... @@ -151,8 +151,6 @@ 151 151 ))) 152 152 |(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB-NA is in Deep Sleep Mode. 153 153 154 - 155 - 156 156 == 1.7 Pin Mapping == 157 157 158 158 ... ... @@ -207,7 +207,6 @@ 207 207 208 208 Each SDI-12-LB is shipped with a sticker with the default device EUI as below: 209 209 210 - 211 211 [[image:image-20230426084456-1.png||height="241" width="519"]] 212 212 213 213 ... ... @@ -402,7 +402,7 @@ 402 402 This command can be used to debug all SDI-12 command. 403 403 404 404 405 -LoRaWAN Downlink: A8 aa xx xx xx xx bb cc 397 +LoRaWAN Downlink: A8 aa xx xx xx xx bb cc dd 406 406 407 407 (% style="color:#037691" %)**aa **(%%): total SDI-12 command length 408 408 ... ... @@ -412,9 +412,11 @@ 412 412 413 413 (% style="color:#037691" %)**cc **(%%): 0: don't uplink return to LoRaWAN, 1: Uplink return to LoRaWAN on FPORT=100 414 414 407 +(% style="color:#037691" %)**dd: **(%%) 0: Do not use aD0! command access, 1: use aD0! command access. 415 415 416 -(% style="color:blue" %)**Example: **(%%) AT+CFGDEV =0RC0!,1 417 417 410 +(% style="color:blue" %)**Example1: **(%%) AT+CFGDEV =0RC0!,1 411 + 418 418 (% style="color:#037691" %)**0RC0! **(%%): SDI-12 Command, 419 419 420 420 (% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) ... ... @@ -431,6 +431,17 @@ 431 431 [[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]] 432 432 433 433 428 +(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1 or AT+CFGDEV =0C!,1,1 429 + 430 +(% style="color:#037691" %)**0M! **(%%): SDI-12 Command, 431 + 432 +(% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) 433 + 434 +(% style="color:#037691" %)**1 **(%%):Use aD0! command access. 435 + 436 +Equal Downlink: 0xA8 03 30 4D 21 01 01 01 437 + 438 + 434 434 === 2.3.3 Convert ASCII to String === 435 435 436 436 ... ... @@ -636,33 +636,33 @@ 636 636 637 637 (% style="color:#037691" %)**Frequency Band**: 638 638 639 - *0x01: EU868644 +0x01: EU868 640 640 641 - *0x02: US915646 +0x02: US915 642 642 643 - *0x03: IN865648 +0x03: IN865 644 644 645 - *0x04: AU915650 +0x04: AU915 646 646 647 - *0x05: KZ865652 +0x05: KZ865 648 648 649 - *0x06: RU864654 +0x06: RU864 650 650 651 - *0x07: AS923656 +0x07: AS923 652 652 653 - *0x08: AS923-1658 +0x08: AS923-1 654 654 655 - *0x09: AS923-2660 +0x09: AS923-2 656 656 657 - *0x0a: AS923-3662 +0x0a: AS923-3 658 658 659 - *0x0b: CN470664 +0x0b: CN470 660 660 661 - *0x0c: EU433666 +0x0c: EU433 662 662 663 - *0x0d: KR920668 +0x0d: KR920 664 664 665 - *0x0e: MA869670 +0x0e: MA869 666 666 667 667 668 668 (% style="color:#037691" %)**Sub-Band**: ... ... @@ -693,9 +693,9 @@ 693 693 * Periodically Uplink: FPORT=2 694 694 695 695 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 696 -|=(% style="width: 90px;background-color:#D9E2F3" %)((( 701 +|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)((( 697 697 **Size(bytes)** 698 -)))|=(% style="width: 80px;background-color:#D9E2F3" %)**2**|=(% style="width: 90px;background-color:#D9E2F3" %)**1**|=(% style="width: 240px;background-color:#D9E2F3" %)**Length depends on the return from the commands** 703 +)))|=(% 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** 699 699 |(% style="width:93px" %)**Value**|(% style="width:83px" %)((( 700 700 Battery(mV) 701 701 & ... ... @@ -757,9 +757,9 @@ 757 757 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval]] 758 758 759 759 760 -== 2.6 Examples To Set SDI commands .==765 +== 2.6 Examples To Set SDI commands == 761 761 762 -=== 2.6.1 Examples 1 === 767 +=== 2.6.1 Examples 1 ~-~- General Example === 763 763 764 764 765 765 COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication. ... ... @@ -825,6 +825,201 @@ 825 825 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”**. 826 826 827 827 833 +=== 2.6.2 Example 2 ~-~- Connect to Hygrovue10 === 834 + 835 +==== 2.6.2.1 Reference Manual and Command ==== 836 + 837 + 838 +* [[Hygrovue10 Product Page>>https://www.campbellsci.com/hygrovue10]] 839 + 840 +* Commands to be used in PC and output. 841 + 842 +~1. check device address 843 + 844 +2. change device address 845 + 846 +3. check device ID 847 + 848 +4. start measure 849 + 850 +5. Get Meausre result 851 + 852 +[[image:image-20230603120209-2.png||height="281" width="267"]] 853 + 854 + 855 +==== 2.6.2.2 Hardware Connection to SDI-12-LB ==== 856 + 857 + 858 +[[image:image-20230603120515-3.png]] 859 + 860 + 861 +==== 2.6.2.3 Commands set in SDI-12-LB and uplink payload ==== 862 + 863 + 864 +[[image:image-20230603120648-4.png]] 865 + 866 +[[image:image-20230603120726-5.png]] 867 + 868 + 869 +**Data in TTN:** 870 + 871 +[[image:image-20230603120859-6.png||height="118" width="1285"]] 872 + 873 + 874 +=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.3 Example 3 ~-~- Connect to SIL-400 === 875 + 876 +==== 2.6.3.1 Reference Manual and Command ==== 877 + 878 + 879 +* [[SIL-400 Product Page>>https://www.apogeeinstruments.com/sil-411-commercial-grade-sdi-12-digital-output-standard-field-of-view-infrared-radiometer-sensor/]] 880 + 881 +* Commands to be used in PC and output. 882 + 883 +~1. check device address 884 + 885 +2. change device address 886 + 887 +3. check device ID 888 + 889 +4. start measure 890 + 891 +5. Get Meausre result 892 + 893 +[[image:image-20230603121606-7.png||height="242" width="307"]] 894 + 895 + 896 +==== 2.6.3.2 Hardware Connection to SDI-12-LB ==== 897 + 898 + 899 +[[image:image-20230603121643-8.png||height="442" width="656"]] 900 + 901 + 902 +==== 2.6.3.3 Commands set in SDI-12-LB and uplink payload ==== 903 + 904 + 905 +[[image:image-20230603121721-9.png]] 906 + 907 +[[image:image-20230628090323-1.png||height="414" width="694"]] 908 + 909 +Data in TTN: 910 + 911 +[[image:image-20230603121826-11.png||height="155" width="1104"]] 912 + 913 + 914 + 915 +=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.4 Example 4 ~-~- Connect to TEROS-12 === 916 + 917 +==== 2.6.4.1 Reference Manual and Command ==== 918 + 919 + 920 +* [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]] 921 + 922 +* Commands to be used in PC and output. 923 + 924 +1.check device address 925 + 926 +2.change device address 927 + 928 +3.check device ID 929 + 930 +4.start measure 931 + 932 +5.Get Meausre result 933 + 934 +[[image:image-20230603122248-16.png||height="196" width="198"]] 935 + 936 + 937 +==== 2.6.4.2 Hardware Connection to SDI-12-LB ==== 938 + 939 + 940 +[[image:image-20230603122212-15.png||height="502" width="667"]] 941 + 942 + 943 +==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ==== 944 + 945 + 946 +[[image:image-20230603122040-12.png]] 947 + 948 +[[image:image-20230603122109-13.png||height="469" width="762"]] 949 + 950 + 951 +**Data in TTN:** 952 + 953 +[[image:image-20230603122139-14.png||height="148" width="1128"]] 954 + 955 + 956 +=== (% 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 === 957 + 958 +==== 2.6.5.1 Important Notice! ==== 959 + 960 + 961 +* The product page and reference command see above example 2,3,4 962 + 963 +* 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. 964 + 965 +* 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. 966 + 967 +* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB. 968 + 969 +==== 2.6.5.2 Hardware Connection to SDI-12-LB ==== 970 + 971 + 972 +[[image:image-20230603122508-17.png||height="526" width="742"]] 973 + 974 + 975 +==== 2.6.5.3 Commands set in SDI-12-LB and uplink payload ==== 976 + 977 + 978 +[[image:image-20230603122549-18.png]] 979 + 980 +[[image:image-20230603122623-19.png||height="483" width="1121"]] 981 + 982 + 983 +**Data in TTN:** 984 + 985 +[[image:image-20230603122719-20.png||height="151" width="1179"]] 986 + 987 + 988 +=== (% id="cke_bm_4783S" style="display:none" %) (%%)2.6.6 Example 6 ~-~- Connect to ENTELECHY-EP_SDI-12 === 989 + 990 +==== 2.6.4.1 Reference Manual and Command ==== 991 + 992 + 993 +* [[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]] 994 + 995 +* Commands to be used in PC and output. 996 + 997 +1.check device address 998 + 999 +2.change device address 1000 + 1001 +3.check device ID 1002 + 1003 +4.start measure 1004 + 1005 +5.Get Meausre result 1006 + 1007 + 1008 +[[image:image-20230627174559-3.png]] 1009 + 1010 +==== 2.6.4.2 Hardware Connection to SDI-12-LB ==== 1011 + 1012 +[[image:image-20230627174446-2.png]] 1013 + 1014 + 1015 + 1016 +==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ==== 1017 + 1018 + 1019 +[[image:image-20230627175513-4.png||height="596" width="576"]] 1020 + 1021 +[[image:image-20230627175736-5.png||height="429" width="693"]] 1022 + 1023 + 1024 +**Data in TTN:** 1025 + 1026 +[[image:image-20230627180303-6.png||height="292" width="1171"]] 1027 + 828 828 == 2.7 Frequency Plans == 829 829 830 830 ... ... @@ -897,8 +897,6 @@ 897 897 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 898 898 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 899 899 900 - 901 - 902 902 == 3.2 Set Interrupt Mode == 903 903 904 904 ... ... @@ -930,8 +930,6 @@ 930 930 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 931 931 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 932 932 933 - 934 - 935 935 == 3.3 Set the output time == 936 936 937 937 ... ... @@ -975,8 +975,10 @@ 975 975 OK 976 976 ))) 977 977 978 -(% style="color:blue" %)**AT Command: AT+12VT** 1174 +(% style="color:blue" %)**AT Command: AT+12VT ** 979 979 1176 +(% style="color:blue" %)**(The v1.2 version is enabled for 1 second by default, and the version below v1.2 is disabled by default)** 1177 + 980 980 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %) 981 981 |=(% 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** 982 982 |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)((( ... ... @@ -1001,8 +1001,6 @@ 1001 1001 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 1002 1002 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 1003 1003 1004 - 1005 - 1006 1006 == 3.4 Set the all data mode == 1007 1007 1008 1008 ... ... @@ -1025,8 +1025,6 @@ 1025 1025 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 1026 1026 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1027 1027 1028 - 1029 - 1030 1030 == 3.5 Set the splicing payload for uplink == 1031 1031 1032 1032 ... ... @@ -1083,8 +1083,6 @@ 1083 1083 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1084 1084 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1085 1085 1086 - 1087 - 1088 1088 = 4. Battery & Power Consumption = 1089 1089 1090 1090 ... ... @@ -1142,7 +1142,7 @@ 1142 1142 ))) 1143 1143 1144 1144 ((( 1145 -XXX: The default frequency band 1337 +(% style="color:blue" %)**XXX**(%%): The default frequency band 1146 1146 ))) 1147 1147 1148 1148 ((( ... ... @@ -1171,8 +1171,6 @@ 1171 1171 * Package Size / pcs : cm 1172 1172 * Weight / pcs : g 1173 1173 1174 - 1175 - 1176 1176 = 10. Support = 1177 1177 1178 1178
- image-20230603120859-6.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.9 KB - Content
- image-20230603121606-7.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +24.4 KB - Content
- image-20230603121643-8.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +889.7 KB - Content
- image-20230603121721-9.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +105.4 KB - Content
- image-20230603121752-10.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +160.0 KB - Content
- image-20230603121826-11.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +52.8 KB - Content
- image-20230603122040-12.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +128.1 KB - Content
- image-20230603122109-13.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +271.1 KB - Content
- image-20230603122139-14.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +70.4 KB - Content
- image-20230603122212-15.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +818.3 KB - Content
- image-20230603122248-16.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +12.7 KB - Content
- image-20230603122508-17.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +980.2 KB - Content
- 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