Changes for page SDI-12-LB/LS -- SDI-12 to LoRaWAN Converter User Manual
Last modified by Xiaoling on 2025/04/25 08:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -3,7 +3,6 @@ 3 3 4 4 **Table of Contents:** 5 5 6 -{{toc/}} 7 7 8 8 9 9 ... ... @@ -17,23 +17,22 @@ 17 17 18 18 19 19 20 - 21 21 = 1. Introduction = 22 22 23 23 == 1.1 What is SDI-12 to LoRaWAN Converter == 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.24 +The Dragino **SDI-12-LB** is a **SDI-12 to LoRaWAN Converter **designed for Smart Agriculture solution. 27 27 28 28 SDI-12 (Serial Digital Interface at 1200 baud) is an asynchronous [[serial communications>>url:https://en.wikipedia.org/wiki/Serial_communication]] protocol for intelligent sensors that monitor environment data. SDI-12 protocol is widely used in Agriculture sensor and Weather Station sensors. 29 29 30 -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. 28 +**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. 31 31 32 -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. 30 +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. 33 33 34 -SDI-12-LB is powered by ** (% style="color:blue" %)8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.32 +**SDI-12-LB** is powered by **8500mAh Li-SOCI2 battery**, it is designed for long term use up to 5 years. 35 35 36 -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. 34 +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. 37 37 38 38 39 39 [[image:image-20230201084414-1.png||height="464" width="1108"]] ... ... @@ -41,6 +41,8 @@ 41 41 42 42 43 43 42 + 43 + 44 44 == 1.2 Features == 45 45 46 46 ... ... @@ -56,22 +56,21 @@ 56 56 * Downlink to change configure 57 57 * 8500mAh Battery for long term use 58 58 59 - 60 60 == 1.3 Specification == 61 61 62 62 63 -** (% style="color:#037691" %)Micro Controller:**62 +**Micro Controller:** 64 64 65 65 * MCU: 48Mhz ARM 66 66 * Flash: 256KB 67 67 * RAM: 64KB 68 68 69 -** (% style="color:#037691" %)Common DC Characteristics:**68 +**Common DC Characteristics:** 70 70 71 71 * Supply Voltage: 2.5v ~~ 3.6v 72 72 * Operating Temperature: -40 ~~ 85°C 73 73 74 -** (% style="color:#037691" %)LoRa Spec:**73 +**LoRa Spec:** 75 75 76 76 * Frequency Range, Band 1 (HF): 862 ~~ 1020 Mhz 77 77 * Max +22 dBm constant RF output vs. ... ... @@ -78,19 +78,19 @@ 78 78 * RX sensitivity: down to -139 dBm. 79 79 * Excellent blocking immunity 80 80 81 -** (% style="color:#037691" %)Current Input Measuring :**80 +**Current Input Measuring :** 82 82 83 83 * Range: 0 ~~ 20mA 84 84 * Accuracy: 0.02mA 85 85 * Resolution: 0.001mA 86 86 87 -** (% style="color:#037691" %)Voltage Input Measuring:**86 +**Voltage Input Measuring:** 88 88 89 89 * Range: 0 ~~ 30v 90 90 * Accuracy: 0.02v 91 91 * Resolution: 0.001v 92 92 93 -** (% style="color:#037691" %)Battery:**92 +**Battery:** 94 94 95 95 * Li/SOCI2 un-chargeable battery 96 96 * Capacity: 8500mAh ... ... @@ -98,12 +98,11 @@ 98 98 * Max continuously current: 130mA 99 99 * Max boost current: 2A, 1 second 100 100 101 -** (% style="color:#037691" %)Power Consumption**100 +**Power Consumption** 102 102 103 103 * Sleep Mode: 5uA @ 3.3v 104 104 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 105 105 106 - 107 107 == 1.4 Connect to SDI-12 Sensor == 108 108 109 109 ... ... @@ -114,9 +114,9 @@ 114 114 == 1.5 Sleep mode and working mode == 115 115 116 116 117 -** (% style="color:blue" %)Deep Sleep Mode: **(%%)Sensor doesn't have any LoRaWAN activate. This mode is used for storage and shipping to save battery life.115 +**Deep Sleep Mode: **Sensor doesn't have any LoRaWAN activate. This mode is used for storage and shipping to save battery life. 118 118 119 -** (% style="color:blue" %)Working Mode: **(%%)In this mode, Sensor will work as LoRaWAN Sensor to Join LoRaWAN network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.117 +**Working Mode: **In this mode, Sensor will work as LoRaWAN Sensor to Join LoRaWAN network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode. 120 120 121 121 122 122 == 1.6 Button & LEDs == ... ... @@ -423,6 +423,7 @@ 423 423 424 424 [[image:image-20230201092355-17.png||height="426" width="1135"]] 425 425 424 + 426 426 427 427 === 2.3.3 Convert ASCII to String === 428 428 ... ... @@ -443,6 +443,7 @@ 443 443 444 444 [[image:1675214856590-846.png]] 445 445 445 + 446 446 447 447 === 2.3.4 Define periodically SDI-12 commands and uplink. === 448 448 ... ... @@ -786,6 +786,7 @@ 786 786 * AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 787 787 * LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 788 788 789 + 789 789 There are two kinds of commands to configure SDI-12-LB, they are: 790 790 791 791 * **General Commands**. ... ... @@ -829,32 +829,31 @@ 829 829 830 830 Format: Command Code (0x01) followed by 3 bytes time value. 831 831 832 -If the downlink payload=0100003C, it means set the END Node 's Transmit Interval to 0x00003C=60(S), while type code is 01.833 +If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 833 833 834 -* Example 1: Downlink Payload: 0100001E 835 -* Example 2: Downlink Payload: 0100003C 835 +* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 836 +* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 836 836 837 837 == 3.2 Set Interrupt Mode == 838 838 839 - 840 840 Feature, Set Interrupt mode for GPIO_EXIT. 841 841 842 842 (% style="color:blue" %)**AT Command: AT+INTMOD** 843 843 844 844 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 845 -|= (% style="width: 156px;" %)**Command Example**|=(% style="width: 187px;" %)**Function**|=(% style="width: 165px;" %)**Response**846 -| (% style="width:156px" %)AT+INTMOD=?|(% style="width:187px" %)Show current interrupt mode|(% style="width:165px" %)(((845 +|=**Command Example**|=**Function**|=**Response** 846 +|AT+INTMOD=?|Show current interrupt mode|((( 847 847 0 848 848 OK 849 849 the mode is 0 = No interruption 850 850 ))) 851 -| (% style="width:156px" %)AT+INTMOD=2|(% style="width:187px" %)(((851 +|AT+INTMOD=2|((( 852 852 Set Transmit Interval 853 853 ~1. (Disable Interrupt), 854 854 2. (Trigger by rising and falling edge) 855 855 3. (Trigger by falling edge) 856 856 4. (Trigger by rising edge) 857 -)))| (% style="width:165px" %)OK857 +)))|OK 858 858 859 859 (% style="color:blue" %)**Downlink Command: 0x06** 860 860 ... ... @@ -862,9 +862,10 @@ 862 862 863 863 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. 864 864 865 -* Example 1: Downlink Payload: 06000000 866 -* Example 2: Downlink Payload: 06000003 865 +* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 866 +* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 867 867 868 + 868 868 == 3.3 Set the output time == 869 869 870 870 ... ... @@ -934,58 +934,58 @@ 934 934 * Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 935 935 * Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 936 936 938 + 937 937 == 3.4 Set the all data mode == 938 938 939 - 940 940 Feature, Set the all data mode. 941 941 942 - (% style="color:blue" %)**AT Command: AT+ALLDATAMOD**943 +**AT Command: AT+ALLDATAMOD** 943 943 944 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %) 945 -|=**Command Example**|=**Function**|=**Response** 945 +|**Command Example**|**Function**|**Response** 946 946 |AT+ALLDATAMOD=?|Show current all data mode|((( 947 947 0 948 + 949 + 948 948 OK 949 949 ))) 950 950 |AT+ALLDATAMOD=1|Set all data mode is 1.|OK 951 951 952 - (% style="color:blue" %)**Downlink Command: 0xAB**954 +**Downlink Command: 0xAB** 953 953 954 954 Format: Command Code (0xAB) followed by 1 bytes. 955 955 956 -* Example 1: Downlink Payload: AB 00 957 -* Example 2: Downlink Payload: AB 01 958 +* Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 959 +* Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 958 958 961 + 959 959 == 3.5 Set the splicing payload for uplink == 960 960 961 - 962 962 Feature, splicing payload for uplink. 963 963 964 - (% style="color:blue" %)**AT Command: AT+DATAUP**966 +**AT Command: AT+DATAUP** 965 965 966 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) 967 -|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 266px;" %)**Function**|=**Response** 968 -|(% style="width:154px" %)AT+DATAUP =?|(% style="width:266px" %)Show current splicing payload for uplink mode|((( 968 +|**Command Example**|**Function**|**Response** 969 +|AT+DATAUP =?|Show current splicing payload for uplink mode|((( 969 969 0 970 970 OK 971 971 ))) 972 -| (% style="width:154px" %)AT+DATAUP =0|(% style="width:266px" %)(((973 +|AT+DATAUP =0|((( 973 973 Set splicing payload for uplink mode is 0. 974 974 )))|((( 975 975 OK 976 976 ))) 977 -| (% style="width:154px" %)AT+DATAUP =1|(% style="width:266px" %)Set splicing payload for uplink mode is 1 , and the each splice uplink is sent sequentially.|OK978 -| (% style="width:154px" %)AT+DATAUP =1,20000|(% style="width:266px" %)(((978 +|AT+DATAUP =1|Set splicing payload for uplink mode is 1 , and the each splice uplink is sent sequentially.|OK 979 +|AT+DATAUP =1,20000|((( 979 979 Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds. 980 980 )))|OK 981 981 982 - (% style="color:blue" %)**Downlink Command: 0xAD**983 +**Downlink Command: 0xAD** 983 983 984 984 Format: Command Code (0xAD) followed by 1 bytes or 5 bytes. 985 985 986 -* Example 1: Downlink Payload: AD 00 987 -* Example 2: Downlink Payload: AD 01 988 -* Example 3: Downlink Payload: AD 01 00 00 14 987 +* Example 1: Downlink Payload: AD 00 ~/~/ AT+DATAUP=0 988 +* Example 2: Downlink Payload: AD 01 ~/~/ AT+DATAUP =1 989 +* Example 3: Downlink Payload: AD 01 00 00 14~/~/ AT+DATAUP =1,20000 989 989 990 990 This means that the interval is set to 0x000014=20S 991 991 ... ... @@ -994,22 +994,21 @@ 994 994 995 995 Feature, Set the payload version. 996 996 997 - (% style="color:blue" %)**AT Command: AT+PAYVER**998 +**AT Command: AT+PAYVER** 998 998 999 -(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %) 1000 -|=(% style="width: 158px;" %)**Command Example**|=(% style="width: 192px;" %)**Function**|=**Response** 1001 -|(% style="width:158px" %)AT+PAYVER=?|(% style="width:192px" %)Show current payload version|((( 1000 +|**Command Example**|**Function**|**Response** 1001 +|AT+PAYVER=?|Show current payload version|((( 1002 1002 1 1003 1003 OK 1004 1004 ))) 1005 -| (% style="width:158px" %)AT+PAYVER=5|(% style="width:192px" %)Set payload version is 5.|OK1005 +|AT+PAYVER=5|Set payload version is 5.|OK 1006 1006 1007 - (% style="color:blue" %)**Downlink Command: 0xAE**1007 +**Downlink Command: 0xAE** 1008 1008 1009 1009 Format: Command Code (0xAE) followed by 1 bytes. 1010 1010 1011 -* Example 1: Downlink Payload: AE 01 1012 -* Example 2: Downlink Payload: AE 05 1011 +* Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1012 +* Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1013 1013 1014 1014 = 4. Battery & how to replace = 1015 1015 ... ... @@ -1016,7 +1016,7 @@ 1016 1016 == 4.1 Battery Type == 1017 1017 1018 1018 1019 -S DI-12-LB is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>https://www.dropbox.com/sh/w9l2oa3ytpculph/AAAPtt-apH4lYfCj-2Y6lHvQa?dl=0]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter.1019 +PS-LB is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>https://www.dropbox.com/sh/w9l2oa3ytpculph/AAAPtt-apH4lYfCj-2Y6lHvQa?dl=0]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter. 1020 1020 1021 1021 1022 1022 The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. ... ... @@ -1024,9 +1024,9 @@ 1024 1024 [[image:1675146710956-626.png]] 1025 1025 1026 1026 1027 -Minimum Working Voltage for the S DI-12-LB:1027 +Minimum Working Voltage for the PS-LB: 1028 1028 1029 -S DI-12-LB: 2.45v ~~ 3.6v1029 +PS-LB: 2.45v ~~ 3.6v 1030 1030 1031 1031 1032 1032 == 4.2 Replace Battery == ... ... @@ -1075,9 +1075,9 @@ 1075 1075 === 4.3.2 Replace the battery === 1076 1076 1077 1077 1078 -You can change the battery in the S DI-12-LB.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won't be voltage drop between battery and main board.1078 +You can change the battery in the PS-LB.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won't be voltage drop between battery and main board. 1079 1079 1080 -The default battery pack of S DI-12-LB includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes)1080 +The default battery pack of PS-LB includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes) 1081 1081 1082 1082 1083 1083 ... ... @@ -1093,6 +1093,7 @@ 1093 1093 1094 1094 1095 1095 1096 + 1096 1096 = 6. OTA firmware update = 1097 1097 1098 1098 ... ... @@ -1106,16 +1106,18 @@ 1106 1106 1107 1107 1108 1108 Part Number: SDI-12-LB-XXX 1109 -XXX: The default frequency band 1110 +XXX: 1111 +EU433: frequency bands EU433 1112 +EU868: frequency bands EU868 1113 +KR920: frequency bands KR920 1114 +CN470: frequency bands CN470 1115 +AS923: frequency bands AS923 1116 +AU915: frequency bands AU915 1117 +US915: frequency bands US915 1118 +IN865: frequency bands IN865 1119 +RU864: frequency bands RU864 1120 +KZ865: frequency bands KZ865 1110 1110 1111 -AS923: LoRaWAN AS923 band 1112 -AU915: LoRaWAN AU915 band 1113 -EU433: LoRaWAN EU433 band 1114 -EU868: LoRaWAN EU868 band 1115 -KR920: LoRaWAN KR920 band 1116 -US915: LoRaWAN US915 band 1117 -IN865: LoRaWAN IN865 band 1118 -CN470: LoRaWAN CN470 band 1119 1119 1120 1120 1121 1121 ... ... @@ -1122,7 +1122,6 @@ 1122 1122 1123 1123 1124 1124 1125 - 1126 1126 = 8. Packing Info = 1127 1127 1128 1128 ... ... @@ -1137,6 +1137,8 @@ 1137 1137 * Package Size / pcs : cm 1138 1138 * Weight / pcs : g 1139 1139 1142 + 1143 + 1140 1140 = 9. Support = 1141 1141 1142 1142