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, 20 added, 0 removed)
- image-20230603120127-1.png
- image-20230603120209-2.png
- image-20230603120515-3.png
- image-20230603120648-4.png
- image-20230603120726-5.png
- 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
Details
- Page properties
-
- Content
-
... ... @@ -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 ... ... @@ -114,7 +114,6 @@ 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 ... ... @@ -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 ... ... @@ -205,7 +205,7 @@ 205 205 Each SDI-12-LB is shipped with a sticker with the default device EUI as below: 206 206 207 207 208 -[[image:image-20230426084456-1.png]] 205 +[[image:image-20230426084456-1.png||height="241" width="519"]] 209 209 210 210 211 211 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: ... ... @@ -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 399 +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 409 +(% 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 412 +(% style="color:blue" %)**Example1: **(%%) AT+CFGDEV =0RC0!,1 413 + 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,17 @@ 428 428 [[image:image-20230201092355-17.png||_mstalt="454337" height="426" width="1135"]] 429 429 430 430 430 +(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1 or AT+CFGDEV =0C!,1,1 431 + 432 +(% style="color:#037691" %)**0M! **(%%): SDI-12 Command, 433 + 434 +(% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) 435 + 436 +(% style="color:#037691" %)**1 **(%%):Use aD0! command access. 437 + 438 +Equal Downlink: 0xA8 03 30 4D 21 01 01 01 439 + 440 + 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: EU868646 +0x01: EU868 637 637 638 - *0x02: US915648 +0x02: US915 639 639 640 - *0x03: IN865650 +0x03: IN865 641 641 642 - *0x04: AU915652 +0x04: AU915 643 643 644 - *0x05: KZ865654 +0x05: KZ865 645 645 646 - *0x06: RU864656 +0x06: RU864 647 647 648 - *0x07: AS923658 +0x07: AS923 649 649 650 - *0x08: AS923-1660 +0x08: AS923-1 651 651 652 - *0x09: AS923-2662 +0x09: AS923-2 653 653 654 - *0x0a: AS923-3664 +0x0a: AS923-3 655 655 656 - *0x0b: CN470666 +0x0b: CN470 657 657 658 - *0x0c: EU433668 +0x0c: EU433 659 659 660 - *0x0d: KR920670 +0x0d: KR920 661 661 662 - *0x0e: MA869672 +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" %)((( 703 +|=(% 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** 705 +)))|=(% 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 & ... ... @@ -729,6 +729,7 @@ 729 729 730 730 === 2.4.5 Payload version === 731 731 742 + 732 732 The version number of the payload, mainly used for decoding. The default is 01. 733 733 734 734 ... ... @@ -753,9 +753,9 @@ 753 753 [[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]] 754 754 755 755 756 -== 2.6 Examples To Set SDI commands .==767 +== 2.6 Examples To Set SDI commands == 757 757 758 -=== 2.6.1 Examples 1 === 769 +=== 2.6.1 Examples 1 ~-~- General Example === 759 759 760 760 761 761 COM port and SDI-12 sensor communication converted to SDI-12-LB and SDI-12 sensor communication. ... ... @@ -821,6 +821,160 @@ 821 821 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”**. 822 822 823 823 835 +=== 2.6.2 Example 2 ~-~- Connect to Hygrovue10 === 836 + 837 +==== 2.6.2.1 Reference Manual and Command ==== 838 + 839 + 840 +* [[Hygrovue10 Product Page>>https://www.campbellsci.com/hygrovue10]] 841 + 842 +* Commands to be used in PC and output. 843 + 844 +~1. check device address 845 + 846 +2. change device address 847 + 848 +3. check device ID 849 + 850 +4. start measure 851 + 852 +5. Get Meausre result 853 + 854 +[[image:image-20230603120209-2.png||height="281" width="267"]] 855 + 856 + 857 +==== 2.6.2.2 Hardware Connection to SDI-12-LB ==== 858 + 859 + 860 +[[image:image-20230603120515-3.png]] 861 + 862 + 863 +==== 2.6.2.3 Commands set in SDI-12-LB and uplink payload ==== 864 + 865 + 866 +[[image:image-20230603120648-4.png]] 867 + 868 +[[image:image-20230603120726-5.png]] 869 + 870 + 871 +**Data in TTN:** 872 + 873 +[[image:image-20230603120859-6.png||height="118" width="1285"]] 874 + 875 + 876 +=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.3 Example 3 ~-~- Connect to SIL-400 === 877 + 878 +==== 2.6.3.1 Reference Manual and Command ==== 879 + 880 + 881 +* [[SIL-400 Product Page>>https://www.apogeeinstruments.com/sil-411-commercial-grade-sdi-12-digital-output-standard-field-of-view-infrared-radiometer-sensor/]] 882 + 883 +* Commands to be used in PC and output. 884 + 885 +~1. check device address 886 + 887 +2. change device address 888 + 889 +3. check device ID 890 + 891 +4. start measure 892 + 893 +5. Get Meausre result 894 + 895 +[[image:image-20230603121606-7.png||height="242" width="307"]] 896 + 897 + 898 +==== 2.6.3.2 Hardware Connection to SDI-12-LB ==== 899 + 900 + 901 +[[image:image-20230603121643-8.png||height="442" width="656"]] 902 + 903 + 904 +==== 2.6.3.3 Commands set in SDI-12-LB and uplink payload ==== 905 + 906 + 907 +[[image:image-20230603121721-9.png]] 908 + 909 +[[image:image-20230603121752-10.png]] 910 + 911 +Data in TTN: 912 + 913 +[[image:image-20230603121826-11.png||height="155" width="1104"]] 914 + 915 + 916 + 917 +=== (% id="cke_bm_1172015S" style="display:none" %) (%%)2.6.4 Example 4 ~-~- Connect to TEROS-12 === 918 + 919 +==== 2.6.4.1 Reference Manual and Command ==== 920 + 921 + 922 +* [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]] 923 + 924 +* Commands to be used in PC and output. 925 + 926 +1.check device address 927 + 928 +2.change device address 929 + 930 +3.check device ID 931 + 932 +4.start measure 933 + 934 +5.Get Meausre result 935 + 936 +[[image:image-20230603122248-16.png||height="196" width="198"]] 937 + 938 + 939 +==== 2.6.4.2 Hardware Connection to SDI-12-LB ==== 940 + 941 + 942 +[[image:image-20230603122212-15.png||height="502" width="667"]] 943 + 944 + 945 +==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ==== 946 + 947 +[[image:image-20230603122040-12.png]] 948 + 949 +[[image:image-20230603122109-13.png||height="469" width="762"]] 950 + 951 + 952 +**Data in TTN:** 953 + 954 +[[image:image-20230603122139-14.png||height="148" width="1128"]] 955 + 956 + 957 +=== (% 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 === 958 + 959 +==== 2.6.5.1 Important Notice! ==== 960 + 961 + 962 +* The product page and reference command see above example 2,3,4 963 + 964 +* 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. 965 + 966 +* 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. 967 + 968 +* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB. 969 + 970 +==== 2.6.5.2 Hardware Connection to SDI-12-LB ==== 971 + 972 + 973 +[[image:image-20230603122508-17.png||height="526" width="742"]] 974 + 975 + 976 +==== 2.6.5.3 Commands set in SDI-12-LB and uplink payload ==== 977 + 978 + 979 +[[image:image-20230603122549-18.png]] 980 + 981 +[[image:image-20230603122623-19.png||height="483" width="1121"]] 982 + 983 + 984 +**Data in TTN:** 985 + 986 +[[image:image-20230603122719-20.png||height="151" width="1179"]] 987 + 988 + 824 824 == 2.7 Frequency Plans == 825 825 826 826 ... ... @@ -893,7 +893,6 @@ 893 893 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 894 894 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 895 895 896 - 897 897 == 3.2 Set Interrupt Mode == 898 898 899 899 ... ... @@ -925,7 +925,6 @@ 925 925 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 926 926 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 927 927 928 - 929 929 == 3.3 Set the output time == 930 930 931 931 ... ... @@ -969,8 +969,10 @@ 969 969 OK 970 970 ))) 971 971 972 -(% style="color:blue" %)**AT Command: AT+12VT** 1135 +(% style="color:blue" %)**AT Command: AT+12VT ** 973 973 1137 +(% style="color:blue" %)**(The v1.2 version is enabled for 1 second by default, and the version below v1.2 is disabled by default)** 1138 + 974 974 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %) 975 975 |=(% 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** 976 976 |(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)((( ... ... @@ -995,7 +995,6 @@ 995 995 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 996 996 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 997 997 998 - 999 999 == 3.4 Set the all data mode == 1000 1000 1001 1001 ... ... @@ -1018,7 +1018,6 @@ 1018 1018 * Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 1019 1019 * Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1020 1020 1021 - 1022 1022 == 3.5 Set the splicing payload for uplink == 1023 1023 1024 1024 ... ... @@ -1075,7 +1075,6 @@ 1075 1075 * Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1076 1076 * Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1077 1077 1078 - 1079 1079 = 4. Battery & Power Consumption = 1080 1080 1081 1081 ... ... @@ -1148,7 +1148,6 @@ 1148 1148 ))) 1149 1149 1150 1150 1151 - 1152 1152 = 9. Packing Info = 1153 1153 1154 1154 ... ... @@ -1163,7 +1163,6 @@ 1163 1163 * Package Size / pcs : cm 1164 1164 * Weight / pcs : g 1165 1165 1166 - 1167 1167 = 10. Support = 1168 1168 1169 1169 ... ... @@ -1170,4 +1170,3 @@ 1170 1170 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 1171 1171 1172 1172 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]] 1173 -
- image-20230603120127-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.7 KB - Content
- image-20230603120209-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +22.8 KB - Content
- image-20230603120515-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +489.3 KB - Content
- image-20230603120648-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +100.8 KB - Content
- image-20230603120726-5.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +133.2 KB - Content
- 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