Last modified by Mengting Qiu on 2025/07/03 15:42

From version 72.2
edited by Xiaoling
on 2023/06/05 18:07
Change comment: There is no comment for this version
To version 90.3
edited by Xiaoling
on 2024/01/03 16:59
Change comment: There is no comment for this version

Summary

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
Content
... ... @@ -1,8 +1,16 @@
1 +
2 +
1 1  (% style="text-align:center" %)
2 -[[image:image-20230131183542-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  
... ... @@ -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
88 +* Support current: 5V 300mA, 12V 100mA
82 82  * Operating Temperature: -40 ~~ 85°C
83 83  
84 84  (% style="color:#037691" %)**LoRa Spec:**
... ... @@ -116,7 +116,6 @@
116 116  == 1.4 Connect to SDI-12 Sensor ==
117 117  
118 118  
119 -
120 120  [[image:1675212538524-889.png||_mstalt="298272"]]
121 121  
122 122  
... ... @@ -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
403 +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  
413 +(% 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  
416 +(% style="color:blue" %)**Example1: **(%%) AT+CFGDEV =0RC0!,1
417 +
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  
434 +(% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1
435 +
436 +(% style="color:#037691" %)**0M! **(%%): SDI-12 Command,
437 +
438 +(% style="color:#037691" %)**1 **(%%): Delay 1 second.  ( 0: 810 mini-second)
439 +
440 +(% style="color:#037691" %)**1 **(%%): Use aD0! command access.
441 +
442 +Equal Downlink: 0xA8 03 30  4D 21 01 01 01
443 +
444 +
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 +
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: EU868
658 +0x01: EU868
634 634  
635 -*0x02: US915
660 +0x02: US915
636 636  
637 -*0x03: IN865
662 +0x03: IN865
638 638  
639 -*0x04: AU915
664 +0x04: AU915
640 640  
641 -*0x05: KZ865
666 +0x05: KZ865
642 642  
643 -*0x06: RU864
668 +0x06: RU864
644 644  
645 -*0x07: AS923
670 +0x07: AS923
646 646  
647 -*0x08: AS923-1
672 +0x08: AS923-1
648 648  
649 -*0x09: AS923-2
674 +0x09: AS923-2
650 650  
651 -*0x0a: AS923-3
676 +0x0a: AS923-3
652 652  
653 -*0x0b: CN470
678 +0x0b: CN470
654 654  
655 -*0x0c: EU433
680 +0x0c: EU433
656 656  
657 -*0x0d: KR920
682 +0x0d: KR920
658 658  
659 -*0x0e: MA869
684 +0x0e: MA869
660 660  
661 661  
662 662  (% style="color:#037691" %)**Sub-Band**:
... ... @@ -687,10 +687,10 @@
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" %)(((
715 +|=(% 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**
693 -|(% 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" %)(((
694 694  Battery(mV)
695 695  &
696 696  Interrupt_Flag
... ... @@ -860,7 +860,7 @@
860 860  [[image:image-20230603120859-6.png||height="118" width="1285"]]
861 861  
862 862  
863 -=== (% 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 ===
864 864  
865 865  ==== 2.6.3.1 Reference Manual and Command ====
866 866  
... ... @@ -884,14 +884,16 @@
884 884  
885 885  ==== 2.6.3.2 Hardware Connection to SDI-12-LB ====
886 886  
912 +
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  
918 +
892 892  [[image:image-20230603121721-9.png]]
893 893  
894 -[[image:image-20230603121752-10.png]]
921 +[[image:image-20230628090323-1.png||height="414" width="694"]]
895 895  
896 896  Data in TTN:
897 897  
... ... @@ -899,12 +899,13 @@
899 899  
900 900  
901 901  
902 -=== (% 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 ===
903 903  
904 -
905 905  ==== 2.6.4.1 Reference Manual and Command ====
906 906  
933 +
907 907  * [[TEROS-12 Product Page>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]]
935 +
908 908  * Commands to be used in PC and output.
909 909  
910 910  1.check device address
... ... @@ -922,49 +922,98 @@
922 922  
923 923  ==== 2.6.4.2 Hardware Connection to SDI-12-LB ====
924 924  
953 +
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  
959 +
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  
965 +**Data in TTN:**
966 +
936 936  [[image:image-20230603122139-14.png||height="148" width="1128"]]
937 937  
938 938  
970 +=== 2.6.5 Example 5 ~-~- Connect to SIL-400/TEROS-12 & Hygrovue10 ===
939 939  
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 -
942 942  ==== 2.6.5.1 Important Notice! ====
943 943  
974 +
944 944  * The product page and reference command see above example 2,3,4
976 +
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.
978 +
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.
980 +
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  
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 +=== 2.6.6 Example 6 ~-~- Connect to ENTELECHY-EP_SDI-12 ===
965 965  
1004 +==== 2.6.6.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.6.2 Hardware Connection to SDI-12-LB ====
1026 +
1027 +
1028 +[[image:image-20230627174446-2.png]]
1029 +
1030 +
1031 +
1032 +==== 2.6.6.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.
... ... @@ -1045,7 +1045,7 @@
1045 1045  (% style="color:blue" %)**AT Command: AT+INTMOD**
1046 1046  
1047 1047  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
1048 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 157px;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**
1049 1049  |(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)(((
1050 1050  0
1051 1051  OK
... ... @@ -1076,7 +1076,7 @@
1076 1076  (% style="color:blue" %)**AT Command: AT+3V3T**
1077 1077  
1078 1078  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %)
1079 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 201px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 116px;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**
1080 1080  |(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)(((
1081 1081  0
1082 1082  OK
... ... @@ -1095,7 +1095,7 @@
1095 1095  (% style="color:blue" %)**AT Command: AT+5VT**
1096 1096  
1097 1097  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
1098 -|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 114px;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**
1099 1099  |(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)(((
1100 1100  0
1101 1101  OK
... ... @@ -1111,10 +1111,12 @@
1111 1111  OK
1112 1112  )))
1113 1113  
1114 -(% style="color:blue" %)**AT Command: AT+12VT**
1190 +(% style="color:blue" %)**AT Command: AT+12VT **
1115 1115  
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)**
1193 +
1116 1116  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %)
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**
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**
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" %)(((
1119 1119  0
1120 1120  OK
... ... @@ -1268,25 +1268,29 @@
1268 1268  
1269 1269  
1270 1270  (((
1271 -(% style="color:blue" %)**Part Number: SDI-12-LB-XXX**
1349 +(% style="color:blue" %)**Part Number: SDI-12-LB-XX-YY**
1272 1272  )))
1273 1273  
1274 1274  (((
1275 -XXX: The default frequency band
1353 +(% style="color:blue" %)**XX**(%%): The default frequency band
1276 1276  )))
1277 1277  
1278 1278  (((
1279 -(% style="color:red" %)**AS923**(%%): LoRaWAN AS923 band
1280 -(% style="color:red" %)**AU915**(%%): LoRaWAN AU915 band
1281 -(% style="color:red" %)**EU433**(%%): LoRaWAN EU433 band
1282 -(% style="color:red" %)**EU868**(%%): LoRaWAN EU868 band
1283 -(% style="color:red" %)**KR920**(%%): LoRaWAN KR920 band
1284 -(% style="color:red" %)**US915**(%%): LoRaWAN US915 band
1285 -(% style="color:red" %)**IN865**(%%): LoRaWAN IN865 band
1286 -(% 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
1287 1287  )))
1288 1288  
1367 +(% style="color:blue" %)**YY: **(%%)The grand connector hole size
1289 1289  
1369 +* M12: M12 hole
1370 +* M16: M16 hole
1371 +
1290 1290  = 9. Packing Info =
1291 1291  
1292 1292  
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