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 (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 41 removed)
- 1675216282284-923.png
- 1675216779406-595.png
- 1675234124233-857.png
- 1675234155374-163.png
- image-20230201145019-19.png
- image-20230201152430-20.jpeg
- image-20230222143809-1.png
- image-20230426084456-1.png
- 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
- 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
- image-20240103164910-1.png
- image-20240103165115-2.png
- image-20240103165259-3.png
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -SDI-12-LB /LS-- SDI-12 to LoRaWAN Converter User Manual1 +SDI-12-LB -- SDI-12 to LoRaWAN Converter User Manual - Content
-
... ... @@ -1,8 +3,7 @@ 1 - 2 - 3 3 (% style="text-align:center" %) 4 -[[image:image-202 40103165259-3.png]]2 +[[image:image-20230131183542-1.jpeg||height="694" width="694"]] 5 5 4 +**Table of Contents:** 6 6 7 7 8 8 ... ... @@ -9,9 +9,7 @@ 9 9 10 10 11 11 12 -**Table of Contents:** 13 13 14 -{{toc/}} 15 15 16 16 17 17 ... ... @@ -19,51 +19,37 @@ 19 19 20 20 21 21 19 += 1. Introduction = 22 22 21 +== 1.1 What is SDI-12 to LoRaWAN Converter == 23 23 24 24 24 +The Dragino **SDI-12-LB** is a **SDI-12 to LoRaWAN Converter **designed for Smart Agriculture solution. 25 25 26 +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. 26 26 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. 27 27 28 - =1. Introduction=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. 29 29 30 - ==1.1Whatis SDI-12 toLoRaWANConverter==32 +**SDI-12-LB** is powered by **8500mAh Li-SOCI2 battery**, it is designed for long term use up to 5 years. 31 31 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. 32 32 33 -((( 34 -The Dragino (% style="color:blue" %)**SDI-12-LB**(%%) is a (% style="color:blue" %)**SDI-12 to LoRaWAN Converter **(%%)designed for Smart Agriculture solution. 35 -))) 36 36 37 -((( 38 -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. 39 -))) 37 +[[image:image-20230201084414-1.png||height="464" width="1108"]] 40 40 41 -((( 42 -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. 43 -))) 44 44 45 -((( 46 -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. 47 -))) 48 48 49 -((( 50 -SDI-12-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years. 51 -))) 52 52 53 -((( 54 -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. 55 -))) 56 56 57 57 58 -[[image:image-20230201084414-1.png||_mstalt="427765" height="464" width="1108"]] 59 - 60 - 61 61 == 1.2 Features == 62 62 63 63 64 64 * LoRaWAN 1.0.3 Class A 65 65 * Ultra-low power consumption 66 -* Controllable 3.3v,5v and 12v output to power external sensor49 +* Controllable 5v and 12v output to power external sensor 67 67 * SDI-12 Protocol to connect to SDI-12 Sensor 68 68 * Monitor Battery Level 69 69 * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865 ... ... @@ -76,19 +76,18 @@ 76 76 == 1.3 Specification == 77 77 78 78 79 - (% style="color:#037691" %)**Micro Controller:**62 +**Micro Controller:** 80 80 81 81 * MCU: 48Mhz ARM 82 82 * Flash: 256KB 83 83 * RAM: 64KB 84 84 85 - (% style="color:#037691" %)**Common DC Characteristics:**68 +**Common DC Characteristics:** 86 86 87 87 * Supply Voltage: 2.5v ~~ 3.6v 88 -* Support current: 5V 300mA, 12V 100mA 89 89 * Operating Temperature: -40 ~~ 85°C 90 90 91 - (% style="color:#037691" %)**LoRa Spec:**73 +**LoRa Spec:** 92 92 93 93 * Frequency Range, Band 1 (HF): 862 ~~ 1020 Mhz 94 94 * Max +22 dBm constant RF output vs. ... ... @@ -95,19 +95,19 @@ 95 95 * RX sensitivity: down to -139 dBm. 96 96 * Excellent blocking immunity 97 97 98 - (% style="color:#037691" %)**Current Input Measuring :**80 +**Current Input Measuring :** 99 99 100 100 * Range: 0 ~~ 20mA 101 101 * Accuracy: 0.02mA 102 102 * Resolution: 0.001mA 103 103 104 - (% style="color:#037691" %)**Voltage Input Measuring:**86 +**Voltage Input Measuring:** 105 105 106 106 * Range: 0 ~~ 30v 107 107 * Accuracy: 0.02v 108 108 * Resolution: 0.001v 109 109 110 - (% style="color:#037691" %)**Battery:**92 +**Battery:** 111 111 112 112 * Li/SOCI2 un-chargeable battery 113 113 * Capacity: 8500mAh ... ... @@ -115,7 +115,7 @@ 115 115 * Max continuously current: 130mA 116 116 * Max boost current: 2A, 1 second 117 117 118 - (% style="color:#037691" %)**Power Consumption**100 +**Power Consumption** 119 119 120 120 * Sleep Mode: 5uA @ 3.3v 121 121 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm ... ... @@ -123,40 +123,42 @@ 123 123 == 1.4 Connect to SDI-12 Sensor == 124 124 125 125 126 -[[image:1675212538524-889.png||_mstalt="298272"]] 127 127 109 +[[image:1675212538524-889.png]] 128 128 111 + 129 129 == 1.5 Sleep mode and working mode == 130 130 131 131 132 - (% 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. 133 133 134 - (% 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. 135 135 136 136 137 137 == 1.6 Button & LEDs == 138 138 139 139 140 -[[image:1675212633011-651.png ||_mstalt="291538"]]123 +[[image:1675212633011-651.png]] 141 141 142 142 143 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 144 -|=(% style="width: 167px;background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action** 145 -|(% style="background-color:#f2f2f2; width:167px" %)Pressing ACT between 1s < time < 3s|(% style="background-color:#f2f2f2; width:117px" %)Send an uplink|(% style="background-color:#f2f2f2; width:225px" %)((( 126 + 127 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 128 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 117px;" %)**Function**|=(% style="width: 225px;" %)**Action** 129 +|(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)((( 146 146 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 147 147 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 148 148 ))) 149 -|(% style=" background-color:#f2f2f2;width:167px" %)Pressing ACT for more than 3s|(% style="background-color:#f2f2f2;width:117px" %)Active Device|(% style="background-color:#f2f2f2;width:225px" %)(((150 -(% style=" background-color:#f2f2f2; color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network.151 -(% style=" background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network.133 +|(% style="width:167px" %)Pressing ACT for more than 3s|(% style="width:117px" %)Active Device|(% style="width:225px" %)((( 134 +(% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:#037691" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. 135 +(% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 152 152 Once sensor is active, BLE module will be active and user can connect via BLE to configure device, no matter if device join or not join LoRaWAN network. 153 153 ))) 154 -|(% 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-NAis in Deep Sleep Mode.138 +|(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode. 155 155 156 156 == 1.7 Pin Mapping == 157 157 158 158 159 -[[image:1675213198663-754.png ||_mstalt="297167"]]143 +[[image:1675213198663-754.png]] 160 160 161 161 162 162 == 1.8 BLE connection == ... ... @@ -176,19 +176,22 @@ 176 176 == 1.9 Mechanical == 177 177 178 178 179 -[[image:image-20230201090139-2.png||_mstalt="428623"]] 180 180 181 -[[image:image-20230201090139-3.png||_mstalt="428987"]] 182 182 183 -[[image:image-20230201090139-4.png||_mstalt="429351"]] 184 184 166 +[[image:image-20230201090139-2.png]] 185 185 168 +[[image:image-20230201090139-3.png]] 169 + 170 +[[image:image-20230201090139-4.png]] 171 + 172 + 186 186 = 2. Configure SDI-12 to connect to LoRaWAN network = 187 187 188 188 == 2.1 How it works == 189 189 190 190 191 -The SDI-12-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%)mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and activate the SDI-12-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.178 +The SDI-12-LB is configured as **LoRaWAN OTAA Class A** mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and activate the SDI-12-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 192 192 193 193 194 194 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == ... ... @@ -197,55 +197,60 @@ 197 197 Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example. 198 198 199 199 200 -[[image:image-20230201090528-5.png|| _mstalt="430300"height="465" width="1111"]]187 +[[image:image-20230201090528-5.png||height="465" width="1111"]] 201 201 202 202 203 203 The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server. 204 204 205 205 206 - (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from SDI-12-LB.193 +**Step 1**: Create a device in TTN with the OTAA keys from SDI-12-LB. 207 207 208 208 Each SDI-12-LB is shipped with a sticker with the default device EUI as below: 209 209 210 -[[image:image-20230426084456-1.png||height="241" width="519"]] 211 211 198 +[[image:image-20230131134744-2.jpeg]] 212 212 200 + 201 + 202 + 203 + 213 213 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 214 214 215 215 216 - (% style="color:blue" %)**Register the device**207 +**Register the device** 217 217 218 -[[image:1675213652444-622.png ||_mstalt="293657"]]209 +[[image:1675213652444-622.png]] 219 219 220 220 221 - (% style="color:blue" %)**Add APP EUI and DEV EUI**212 +**Add APP EUI and DEV EUI** 222 222 223 223 224 -[[image:1675213661769-223.png ||_mstalt="295217"]]215 +[[image:1675213661769-223.png]] 225 225 226 226 227 - (% style="color:blue" %)**Add APP EUI in the application**218 +**Add APP EUI in the application** 228 228 229 229 230 -[[image:1675213675852-577.png ||_mstalt="297947"]]221 +[[image:1675213675852-577.png]] 231 231 232 232 233 - (% style="color:blue" %)**Add APP KEY**224 +**Add APP KEY** 234 234 235 -[[image:1675213686734-883.png ||_mstalt="298064"]]226 +[[image:1675213686734-883.png]] 236 236 237 237 238 - (% style="color:blue" %)**Step 2**(%%): Activate on SDI-12-LB229 +**Step 2**: Activate on SDI-12-LB 239 239 240 240 241 241 Press the button for 5 seconds to activate the SDI-12-LB. 242 242 243 -(% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode** (%%)for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 244 244 235 +**Green led** will fast blink 5 times, device will enter **OTA mode** for 3 seconds. And then start to JOIN LoRaWAN network. **Green led** will solidly turn on for 5 seconds after joined in network. 245 245 246 -[[image:1675213704414-644.png||_mstalt="293748"]] 247 247 238 +[[image:1675213704414-644.png]] 248 248 240 + 249 249 == 2.3 SDI-12 Related Commands == 250 250 251 251 ... ... @@ -262,80 +262,79 @@ 262 262 The following is the display information on the serial port and the server. 263 263 264 264 265 -[[image:image-20230201091027-6.png||_mstalt="429065"]] 266 266 258 +[[image:image-20230201091027-6.png]] 267 267 268 -[[image:image-20230201091027-7.png||_mstalt="429429" height="261" width="1179"]] 269 269 261 +[[image:image-20230201091027-7.png||height="261" width="1179"]] 270 270 271 271 272 -==== (% style="color:blue" %)**al! ~-~- Get SDI-12 sensor Identification**(%%)====264 +==== **al! ~-~- Get SDI-12 sensor Identification** ==== 273 273 274 274 275 275 * AT Command: AT+ADDRI=aa 276 276 * LoRaWAN Downlink(prefix 0xAA00): AA 00 aa 277 277 278 - (% style="color:#037691" %)**Parameter: **(%%)aa: ASCII value of SDI-12 sensor address in downlink or HEX value in AT Command)270 +**Parameter: **aa: ASCII value of SDI-12 sensor address in downlink or HEX value in AT Command) 279 279 280 - (% style="color:blue" %)**Example :(%%)AT+ADDRI=0 ( Equal to downlink: 0x AA 00 30)272 +**Example : **AT+ADDRI=0 ( Equal to downlink: 0x AA 00 30) 281 281 282 282 283 283 The following is the display information on the serial port and the server. 284 284 285 285 286 -[[image:image-20230201091257-8.png ||_mstalt="431392"]]278 +[[image:image-20230201091257-8.png]] 287 287 288 288 289 -[[image:image-20230201091257-9.png|| _mstalt="431756"height="225" width="1242"]]281 +[[image:image-20230201091257-9.png||height="225" width="1242"]] 290 290 291 291 292 -==== (% style="color:blue" %)**aM!,aMC!, aM1!- aM9!, aMC1!- aMC9!**(%%)====284 +==== **aM!,aMC!, aM1!- aM9!, aMC1!- aMC9!** ==== 293 293 294 294 295 - (% style="color:red" %)**aM! **(%%): Start Non-Concurrent Measurement287 +**aM! **: Start Non-Concurrent Measurement 296 296 297 - (% style="color:red" %)**aMC! **(%%): Start Non-Concurrent Measurement – Request CRC289 +**aMC! **: Start Non-Concurrent Measurement – Request CRC 298 298 299 - (% style="color:red" %)**aM1!- aM9! **(%%): Additional Measurements291 +**aM1!- aM9! **: Additional Measurements 300 300 301 - (% style="color:red" %)**aMC1!- aMC9!**(%%): Additional Measurements – Request CRC293 +**aMC1!- aMC9!** : Additional Measurements – Request CRC 302 302 303 303 304 304 * AT Command : AT+ADDRM=0,1,0,1 305 - 306 306 * LoRaWAN Downlink(prefix 0xAA01): 0xAA 01 30 01 00 01 307 307 308 308 Downlink:AA 01 aa bb cc dd 309 309 310 - (% style="color:#037691" %)**aa**(%%): SDI-12 sensor address.301 +**aa**: SDI-12 sensor address. 311 311 312 - (% style="color:#037691" %)**bb**(%%): 0: no CRC, 1: request CRC303 +**bb**: 0: no CRC, 1: request CRC 313 313 314 - (% style="color:#037691" %)**cc**(%%): 1-9: Additional Measurement, 0: no additional measurement305 +**cc**: 1-9: Additional Measurement, 0: no additional measurement 315 315 316 - (% style="color:#037691" %)**dd**(%%): delay (in second) to send(% style="color:#037691" %)__**aD0!**__(%%)to get return.307 +**dd**: delay (in second) to send **aD0!** to get return. 317 317 318 318 319 319 The following is the display information on the serial port and the server. 320 320 321 321 322 -[[image:image-20230201091630-10.png ||_mstalt="449995"]]313 +[[image:image-20230201091630-10.png]] 323 323 324 324 325 -[[image:image-20230201091630-11.png|| _mstalt="450372"height="247" width="1165"]]316 +[[image:image-20230201091630-11.png||height="247" width="1165"]] 326 326 327 327 328 328 329 -==== (% style="color:blue" %)**aC!, aCC!, aC1!- aC9!, aCC1!- aCC9! **(%%)====320 +==== **aC!, aCC!, aC1!- aC9!, aCC1!- aCC9! ** ==== 330 330 331 331 332 - (% style="color:red" %)**aC!**(%%): Start Concurrent Measurement323 +**aC!** : Start Concurrent Measurement 333 333 334 - (% style="color:red" %)**aCC!**(%%): Start Concurrent Measurement – Request CRC325 +**aCC!** : Start Concurrent Measurement – Request CRC 335 335 336 - (% style="color:red" %)**aC1!- aC9!**(%%): Start Additional Concurrent Measurements327 +**aC1!- aC9!** : Start Additional Concurrent Measurements 337 337 338 - (% style="color:red" %)**aCC1!- aCC9!**(%%): Start Additional Concurrent Measurements – Request CRC329 +**aCC1!- aCC9!** : Start Additional Concurrent Measurements – Request CRC 339 339 340 340 341 341 * AT Command : AT+ADDRC=0,1,0,1 ... ... @@ -344,26 +344,27 @@ 344 344 345 345 Downlink: AA 02 aa bb cc dd 346 346 347 - (% style="color:#037691" %)**aa**(%%): SDI-12 sensor address.338 +**aa**: SDI-12 sensor address. 348 348 349 - (% style="color:#037691" %)**bb**(%%): 0: no CRC, 1: request CRC340 +**bb**: 0: no CRC, 1: request CRC 350 350 351 - (% style="color:#037691" %)**cc**(%%): 1-9: Additional Measurement, 0: no additional measurement342 +**cc**: 1-9: Additional Measurement, 0: no additional measurement 352 352 353 - (% style="color:#037691" %)**dd**(%%): delay (in second) to send(% style="color:#037691" %)__**aD0!**__(%%)____to get return.344 +**dd**: delay (in second) to send **aD0!** to get return. 354 354 355 355 356 356 The following is the display information on the serial port and the server. 357 357 358 358 359 -[[image:image-20230201091954-12.png ||_mstalt="453687"]]350 +[[image:image-20230201091954-12.png]] 360 360 361 361 362 -[[image:image-20230201091954-13.png|| _mstalt="454064"height="203" width="1117"]]353 +[[image:image-20230201091954-13.png||height="203" width="1117"]] 363 363 364 364 356 +(% style="display:none" %) (%%) 365 365 366 -==== (% style="color:blue" %)**aR0!- aR9!, aRC0!- aRC9!**(%%)====358 +==== **aR0!- aR9!, aRC0!- aRC9!** ==== 367 367 368 368 369 369 Start Continuous Measurement ... ... @@ -376,49 +376,48 @@ 376 376 377 377 Downlink: AA 03 aa bb cc dd 378 378 379 - (% style="color:#037691" %)**aa**(%%): SDI-12 sensor address.371 +**aa**: SDI-12 sensor address. 380 380 381 - (% style="color:#037691" %)**bb**(%%): 0: no CRC, 1: request CRC373 +**bb**: 0: no CRC, 1: request CRC 382 382 383 - (% style="color:#037691" %)**cc**(%%): 1-9: Additional Measurement, 0: no additional measurement375 +**cc**: 1-9: Additional Measurement, 0: no additional measurement 384 384 385 - (% style="color:#037691" %)**dd**(%%): delay (in second) to send(% style="color:#037691" %)__**aD0!**__(%%)to get return.377 +**dd**: delay (in second) to send **aD0!** to get return. 386 386 387 387 388 388 The following is the display information on the serial port and the server. 389 389 390 390 391 -[[image:image-20230201092208-14.png||_mstalt="452283"]] 392 392 384 +[[image:image-20230201092208-14.png]] 393 393 394 -[[image:image-20230201092208-15.png||_mstalt="452660" height="214" width="1140"]] 395 395 387 +[[image:image-20230201092208-15.png||height="214" width="1140"]] 396 396 397 -=== 2.3.2 Advance SDI-12 Debug command === 398 398 390 +=== 2.3.2 Advance SDI-12 Debug command === 399 399 392 + 400 400 This command can be used to debug all SDI-12 command. 401 401 402 402 403 -LoRaWAN Downlink: A8 aa xx xx xx xx bb cc dd396 +LoRaWAN Downlink: A8 aa xx xx xx xx bb cc 404 404 405 - (% style="color:#037691" %)**aa **(%%): total SDI-12 command length398 +**aa **: total SDI-12 command length 406 406 407 - (% style="color:#037691" %)**xx **(%%): SDI-12 command400 +**xx **: SDI-12 command 408 408 409 - (% style="color:#037691" %)**bb **(%%): Delay to wait for return402 +**bb **: Delay to wait for return 410 410 411 - (% style="color:#037691" %)**cc **(%%): 0: don't uplink return to LoRaWAN, 1: Uplink return to LoRaWAN on FPORT=100404 +**cc **: 0: don't uplink return to LoRaWAN, 1: Uplink return to LoRaWAN on FPORT=100 412 412 413 -(% style="color:#037691" %)**dd: **(%%) 0: Do not use aD0! command access, 1: use aD0! command access. 414 414 407 +**Example: **AT+CFGDEV =0RC0!,1 415 415 416 - (% style="color:blue" %)**Example1:**(%%)AT+CFGDEV=0RC0!,1409 +**0RC0! **: SDI-12 Command, 417 417 418 - (% style="color:#037691" %)**0RC0!**(%%):SDI-12Command,411 +**1 **: Delay 1 second. ( 0: 810 mini-second) 419 419 420 -(% style="color:#037691" %)**1 **(%%): Delay 1 second. ( 0: 810 mini-second) 421 - 422 422 Equal Downlink: 0xA8 05 30 52 43 30 21 01 01 423 423 424 424 ... ... @@ -425,31 +425,14 @@ 425 425 The following is the display information on the serial port and the server. 426 426 427 427 428 -[[image:image-20230201092355-16.png ||_mstalt="453960"]]419 +[[image:image-20230201092355-16.png]] 429 429 430 430 431 -[[image:image-20230201092355-17.png|| _mstalt="454337"height="426" width="1135"]]422 +[[image:image-20230201092355-17.png||height="426" width="1135"]] 432 432 433 433 434 - (% style="color:blue" %)**Example2: **(%%) AT+CFGDEV =0M!,1,1425 + 435 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 - 453 453 === 2.3.3 Convert ASCII to String === 454 454 455 455 ... ... @@ -458,18 +458,22 @@ 458 458 AT+CONVFORM ( Max length: 80 bytes) 459 459 460 460 461 - (% style="color:blue" %)**Example:**435 +**Example:** 462 462 463 463 1) AT+CONVFORM=0, string Convert String from String to ASCII 464 464 465 -[[image:1675214845056-885.png ||_mstalt="297622"]]439 +[[image:1675214845056-885.png]] 466 466 467 467 468 468 2) AT+CONVFORM=1, ASCII Convert ASCII to String. 469 469 470 -[[image:1675214856590-846.png ||_mstalt="297739"]]444 +[[image:1675214856590-846.png]] 471 471 472 472 447 + 448 + 449 + 450 + 473 473 === 2.3.4 Define periodically SDI-12 commands and uplink. === 474 474 475 475 ... ... @@ -478,137 +478,139 @@ 478 478 User can define max 15 SDI-12 Commands (AT+COMMAND1 ~~ AT+COMMANDF). On each uplink period (TDC time, default 20 minutes), SDI-12-LB will send these SDI-12 commands and wait for return from SDI-12 sensors. SDI-12-LB will then combine these returns and uplink via LoRaWAN. 479 479 480 480 481 -* (% style="color:blue" %)**AT Command:**459 +* ** AT Command:** 482 482 483 - (% style="color:#037691" %)**AT+COMMANDx=var1,var2,var3,var4.**461 +**AT+COMMANDx=var1,var2,var3,var4.** 484 484 485 - (% style="color:red" %)**var1**(%%): SDI-12 command , for example: 0RC0!463 +**var1**: SDI-12 command , for example: 0RC0! 486 486 487 - (% style="color:red" %)**var2**(%%): Wait timeout for return. (unit: second)465 +**var2**: Wait timeout for return. (unit: second) 488 488 489 - (% style="color:red" %)**var3**(%%): Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//.467 +**var3**: Whether to send //addrD0!// to get return after var2 timeout. 0: Don't Send //addrD0! //; 1: Send //addrD0!//. 490 490 491 - (% style="color:red" %)**var4**(%%): validation check for return. If return invalid, SDI-12-LB will resend this command. Max3retries.469 +**var4**: validation check for return. If return invalid, SDI-12-LB will resend this command. Max 2 retries. 492 492 493 - (% style="color:red" %)**0 **(%%)No validation check;471 +**0 ** No validation check; 494 494 495 - (% style="color:red" %)**1**(%%)Check if return chars are printable char(0x20 ~~ 0x7E);473 +**1** Check if return chars are printable char(0x20 ~~ 0x7E); 496 496 497 - (% style="color:red" %)**2**(%%)Check if there is return from SDI-12 sensor475 +**2** Check if there is return from SDI-12 sensor 498 498 499 - (% style="color:red" %)**3**(%%)Check if return pass CRC check ( SDI-12 command var1 must include CRC request);477 +**3** Check if return pass CRC check ( SDI-12 command var1 must include CRC request); 500 500 501 501 502 -Each AT+COMMANDx is followed by a (% style="color:blue" %)**AT+DATACUT**(%%)command. AT+DATACUT command is used to take the useful string from the SDI-12 sensor so the final payload will have the minimum length to uplink.480 +Each AT+COMMANDx is followed by a **AT+DATACUT** command. AT+DATACUT command is used to take the useful string from the SDI-12 sensor so the final payload will have the minimum length to uplink. 503 503 504 504 505 - (% style="color:blue" %)**AT+DATACUTx**(%%): This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes.483 +**AT+DATACUTx** : This command defines how to handle the return from AT+COMMANDx, max return length is 100 bytes. 506 506 507 -(% border="1" style="width:436px" %) 508 -|(% style=" background-color:#f2f2f2;width:433px" %)(((509 - (% style="color:#0070c0" %)**AT+DATACUTx=a,b,c**485 +(% border="1" style="background-color:#f7faff; width:436px" %) 486 +|(% style="width:433px" %)((( 487 +**AT+DATACUTx=a,b,c** 510 510 511 511 **a**: length for the return of AT+COMMAND 512 512 513 -**b**: 491 +**b**: 1: grab valid value by byte, max 6 bytes. 2: grab valid value by bytes section, max 3 sections. 514 514 515 515 **c**: define the position for valid value. 516 516 ))) 517 517 518 -For example, if return from AT+COMMAND1 is “013METER TER12 112T12-00024895 <CR><LF>” , Below AT+DATACUT1 will get different result to combine payload:496 +For example, if return from AT+COMMAND1 is “013METER TER12 112T12-00024895” , Below AT+DATACUT1 will get different result to combine payload: 519 519 520 520 521 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)522 -| =(% style="width:64px;background-color:#D9E2F3;color:#0070C0" %)**AT+DATACUT1 value**|=(% style="width:44px;background-color:#D9E2F3;color:#0070C0" %)**Final Result to combine Payload**523 -|(% style=" background-color:#f2f2f2;width:164px" %)34,1,1+2+3|(% style="background-color:#f2f2f2;width:344px" %)0D 00 01 30 31 33524 -|(% style=" background-color:#f2f2f2;width:164px" %)34,2,1~~8+12~~16|(% style="background-color:#f2f2f2;width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32525 -|(% style=" background-color:#f2f2f2;width:164px" %)34,2,1~~34|(% style="background-color:#f2f2f2;width:344px" %)0D 00 01 30 31 33 4D 45 54 45 52 20 20 20 54 45 52 31 32 20 31 31 32 54 31 32 2D 30 30 30 32 34 38 39 35 0D 0A499 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:510px" %) 500 +|(% style="width:170px" %)**AT+DATACUT1 value**|(% style="width:338px" %)**Final Result to combine Payload** 501 +|(% style="width:170px" %)34,1,1+2+3|(% style="width:338px" %)0D 00 01 30 31 33 502 +|(% style="width:170px" %)34,2,1~~8+12~~16|(% style="width:338px" %)0D 00 01 30 31 33 4D 45 54 45 52 54 45 52 31 32 503 +|(% style="width:170px" %)34,2,1~~34|(% style="width:338px" %)0D 00 01 30 31 33 4D 45 54 45 52 20 20 20 54 45 52 31 32 20 31 31 32 54 31 32 2D 30 30 30 32 34 38 39 35 0D 0A 526 526 527 -* (% style="color:blue" %)** Downlink Payload:**505 +* ** Downlink Payload:** 528 528 529 - (% style="color:blue" %)**0xAF**(%%)downlink command can be used to set AT+COMMANDx or AT+DATACUTx.507 +**0xAF** downlink command can be used to set AT+COMMANDx or AT+DATACUTx. 530 530 531 531 532 - (% style="color:red" %)**Note : if user use AT+COMMANDx to add a new command, he also need to send AT+DATACUTx downlink.**510 +**Note : if user use AT+COMMANDx to add a new command, he also need to send AT+DATACUTx downlink.** 533 533 534 534 535 -Format: ** (% style="color:#037691" %)AF MM NN LL XX XX XX XX YY(%%)**513 +Format: ** AF MM NN LL XX XX XX XX YY** 536 536 537 537 Where: 538 538 539 -* (% style="color:#037691" %)**MM **(%%): the AT+COMMAND or AT+DATACUT to be set. Value from 01 ~~ 0F,540 -* (% style="color:#037691" %)**NN **(%%): 1: set the AT+COMMAND value ; 2: set the AT+DATACUT value.541 -* (% style="color:#037691" %)**LL **(%%): The length of AT+COMMAND or AT+DATACUT command542 -* (% style="color:#037691" %)**XX XX XX XX **(%%): AT+COMMAND or AT+DATACUT command543 -* (% style="color:#037691" %)**YY **(%%): If YY=0, SDI-12-LBwill execute the downlink command without uplink; if YY=1, SDI-12-LBwill execute an uplink after got this command.517 +* **MM **: the AT+COMMAND or AT+DATACUT to be set. Value from 01 ~~ 0F, 518 +* **NN **: 1: set the AT+DATACUT value ; 2: set the AT+DATACUT value. 519 +* **LL **: The length of AT+COMMAND or AT+DATACUT command 520 +* **XX XX XX XX **: AT+COMMAND or AT+DATACUT command 521 +* **YY **: If YY=0, RS485-LN will execute the downlink command without uplink; if YY=1, RS485-LN will execute an uplink after got this command. 544 544 545 -(% style="color:blue" %)**Example:** 546 546 547 - [[image:image-20230201094129-18.png||_mstalt="455065"]]524 +**Example:** 548 548 526 +[[image:image-20230201094129-18.png]] 549 549 550 550 551 - (% style="color:blue" %)**Clear SDI12 Command**529 +**Clear SDI12 Command** 552 552 553 553 The AT+COMMANDx and AT+DATACUTx settings are stored in special location, user can use below command to clear them. 554 554 555 555 556 -* (% style="color:#037691" %)**AT Command:**534 +* ** AT Command:** 557 557 558 - (% style="color:#4f81bd" %)**AT+CMDEAR=mm,nn**(%%)mm: start position of erase ,nn: stop position of erase536 +**~ AT+CMDEAR=mm,nn** mm: start position of erase ,nn: stop position of erase 559 559 560 560 561 561 Etc. AT+CMDEAR=1,10 means erase AT+COMMAND1/AT+DATACUT1 to AT+COMMAND10/AT+DATACUT10 562 562 563 563 564 -* (% style="color:#037691" %)** Downlink Payload:**542 +* ** Downlink Payload:** 565 565 566 - (% style="color:#4f81bd" %)**0x09 aa bb**(%%)same as AT+CMDEAR=aa,bb544 +**~ 0x09 aa bb** same as AT+CMDEAR=aa,bb 567 567 568 568 569 569 570 - (% style="color:blue" %)**command combination**548 +**command combination** 571 571 572 572 Below shows a screen shot how the results combines together to a uplink payload. 573 573 574 -[[image:1675215745275-920.png ||_mstalt="295334"]]552 +[[image:1675215745275-920.png]] 575 575 576 576 577 577 If user don't want to use DATACUT for some command, he simply want to uplink all returns. AT+ALLDATAMOD can be set to 1. 578 578 579 - (% style="color:blue" %)**AT+ALLDATAMOD**(%%)will simply get all return and don't do CRC check as result for SDI-12 command. AT+DATACUTx command has higher priority, if AT+DATACUTx has been set, AT+ALLDATAMOD will be ignore for this SDI-12 command.557 +**AT+ALLDATAMOD** will simply get all return and don’t do CRC check as result for SDI-12 command. AT+DATACUTx command has higher priority, if AT+DATACUTx has been set, AT+ALLDATAMOD will be ignore for this SDI-12 command. 580 580 581 581 582 - (% style="color:#4f81bd" %)**For example: **(%%)as below photo, AT+ALLDATAMOD=1, but AT+DATACUT1 has been set, AT+DATACUT1 will be still effect the result.560 +**For example: ** as below photo, AT+ALLDATAMOD=1, but AT+DATACUT1 has been set, AT+DATACUT1 will be still effect the result. 583 583 584 584 585 -[[image:1675215782925-448.png ||_mstalt="297466"]]563 +[[image:1675215782925-448.png]] 586 586 587 587 588 -If AT+ALLDATAMOD=1, (% style="color:#4f81bd" %)**FX,X**(%%)will be added in the payload, FX specify which command is used and X specify the length of return. for example in above screen, F1 05 means the return is from AT+COMMAND1 and the return is 5 bytes.566 +If AT+ALLDATAMOD=1, **FX,X** will be added in the payload, FX specify which command is used and X specify the length of return. for example in above screen, F1 05 means the return is from AT+COMMAND1 and the return is 5 bytes. 589 589 590 590 591 591 592 - (% style="color:blue" %)**Compose Uplink**570 +**Compose Uplink** 593 593 594 - (% style="color:#4f81bd" %)**AT+DATAUP=0**572 +**AT+DATAUP=0** 595 595 596 -Compose the uplink payload with value returns in sequence and send with **__A SIGNLE UPLINK__**.574 +Compose the uplink payload with value returns in sequence and send with A SIGNLE UPLINK. 597 597 598 -Final Payload is **__Battery Info+PAYVER + VALID Value from RETURN1 + Valid Value from RETURN2 + … + RETURNx__**576 +Final Payload is Battery Info+PAYVER + VALID Value from RETURN1 + Valid Value from RETURN2 + … + RETURNx 599 599 600 600 Where PAYVER is defined by AT+PAYVER, below is an example screen shot. 601 601 602 602 603 -[[image:1675215828102-844.png ||_mstalt="294645"]]581 +[[image:1675215828102-844.png]] 604 604 605 605 606 - (% style="color:#4f81bd" %)**AT+DATAUP=1**584 +**AT+DATAUP=1** 607 607 608 -Compose the uplink payload with value returns in sequence and send with **__Multiply UPLINKs__**.586 +Compose the uplink payload with value returns in sequence and send with Multiply UPLINKs. 609 609 610 -Final Payload is __**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA**__588 +Final Payload is 611 611 590 +__**Battery Info+PAYVER + PAYLOAD COUNT + PAYLOAD# + DATA**__ 591 + 612 612 1. Battery Info (2 bytes): Battery voltage 613 613 1. PAYVER (1 byte): Defined by AT+PAYVER 614 614 1. PAYLOAD COUNT (1 byte): Total how many uplinks of this sampling. ... ... @@ -615,10 +615,10 @@ 615 615 1. PAYLOAD# (1 byte): Number of this uplink. (from 0,1,2,3…,to PAYLOAD COUNT) 616 616 1. DATA: Valid value: max 6 bytes(US915 version here, Notice*!) for each uplink so each uplink <= 11 bytes. For the last uplink, DATA will might less than 6 bytes 617 617 618 -[[image:1675215848113-696.png ||_mstalt="296998"]]598 +[[image:1675215848113-696.png]] 619 619 620 620 621 - (% style="color:red" %)**Notice: the Max bytes is according to the max support bytes in different Frequency Bands for lowest SF. As below:**601 +**Notice: the Max bytes is according to the max support bytes in different Frequency Bands for lowest SF. As below:** 622 622 623 623 * For AU915/AS923 bands, if UplinkDwell time=0, max 51 bytes for each uplink ( so 51 -5 = 46 max valid date) 624 624 * For AU915/AS923 bands, if UplinkDwell time=1, max 11 bytes for each uplink ( so 11 -5 = 6 max valid date). ... ... @@ -625,67 +625,76 @@ 625 625 * For US915 band, max 11 bytes for each uplink ( so 11 -5 = 6 max valid date). 626 626 * For all other bands: max 51 bytes for each uplink ( so 51 -5 = 46 max valid date). 627 627 628 - (% style="color:red" %)**When AT+DATAUP=1, the maximum number of segments is 15, and the maximum total number of bytes is 1500;**608 +**~ When AT+DATAUP=1, the maximum number of segments is 15, and the maximum total number of bytes is 1500;** 629 629 630 - (% style="color:red" %)**When AT+DATAUP=1 and AT+ADR=0, the maximum number of bytes of each payload is determined by the DR value.**610 +**~ When AT+DATAUP=1 and AT+ADR=0, the maximum number of bytes of each payload is determined by the DR value.** 631 631 632 632 633 -== 2.4 Uplink Payload == 613 +== 2.4 Uplink Payload == 634 634 635 -=== 2.4.1 Device Payload, FPORT~=5 === 636 636 616 +Uplink payloads have two types: 637 637 618 +* Distance Value: Use FPORT=2 619 +* Other control commands: Use other FPORT fields. 620 + 621 +The application server should parse the correct value based on FPORT settings. 622 + 623 + 624 +2.4.1 Device Payload, FPORT=5 625 + 638 638 Include device configure status. Once SDI-12-LB Joined the network, it will uplink this message to the server. 639 639 628 + 640 640 Users can also use the downlink command(0x26 01) to ask SDI-12-LB to resend this uplink. 641 641 642 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 643 -|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 644 -|(% style="background-color:#f2f2f2; width:103px" %)**Size (bytes)**|(% style="background-color:#f2f2f2; width:72px" %)**1**|(% style="background-color:#f2f2f2" %)**2**|(% style="background-color:#f2f2f2; width:91px" %)**1**|(% style="background-color:#f2f2f2; width:86px" %)**1**|(% style="background-color:#f2f2f2; width:44px" %)**2** 645 -|(% style="background-color:#f2f2f2; width:103px" %)**Value**|(% style="background-color:#f2f2f2; width:72px" %)Sensor Model|(% style="background-color:#f2f2f2" %)Firmware Version|(% style="background-color:#f2f2f2; width:91px" %)Frequency Band|(% style="background-color:#f2f2f2; width:86px" %)Sub-band|(% style="background-color:#f2f2f2; width:44px" %)BAT 646 646 632 +(% border="1" cellspacing="4" style="background-color:#f7faff; width:437px" %) 633 +|(% colspan="6" style="width:434px" %)**Device Status (FPORT=5)** 634 +|(% style="width:102px" %)**Size (bytes)**|(% style="width:67px" %)**1**|(% style="width:80px" %)**2**|(% style="width:89px" %)**1**|(% style="width:52px" %)**1**|(% style="width:44px" %)**2** 635 +|(% style="width:102px" %)**Value**|(% style="width:67px" %)Sensor Model|(% style="width:80px" %)Firmware Version|(% style="width:89px" %)Frequency Band|(% style="width:52px" %)Sub-band|(% style="width:44px" %)BAT 636 + 647 647 Example parse in TTNv3 648 648 649 -[[image:1675215946738-635.png ||_mstalt="297778"]]639 +[[image:1675215946738-635.png]] 650 650 641 +**Sensor Model**: For SDI-12-LB, this value is 0x17 651 651 652 - (% style="color:#037691" %)**SensorModel**(%%):For SDI-12-LB,this valueis0x17643 +**Firmware Version**: 0x0100, Means: v1.0.0 version 653 653 654 - (% style="color:#037691" %)**FirmwareVersion**(%%):0x0100, Means:v1.0.0 version645 +**Frequency Band**: 655 655 656 - (% style="color:#037691" %)**Frequency Band**:647 +*0x01: EU868 657 657 658 -0x0 1:EU868649 +*0x02: US915 659 659 660 -0x0 2:US915651 +*0x03: IN865 661 661 662 -0x0 3:IN865653 +*0x04: AU915 663 663 664 -0x0 4:AU915655 +*0x05: KZ865 665 665 666 -0x0 5:KZ865657 +*0x06: RU864 667 667 668 -0x0 6:RU864659 +*0x07: AS923 669 669 670 -0x0 7: AS923661 +*0x08: AS923-1 671 671 672 -0x0 8: AS923-1663 +*0x09: AS923-2 673 673 674 -0x0 9: AS923-2665 +*0x0a: AS923-3 675 675 676 -0x0 a:AS923-3667 +*0x0b: CN470 677 677 678 -0x0 b:CN470669 +*0x0c: EU433 679 679 680 -0x0 c:EU433671 +*0x0d: KR920 681 681 682 -0x0 d:KR920673 +*0x0e: MA869 683 683 684 -0x0e: MA869 685 685 676 +**Sub-Band**: 686 686 687 -(% style="color:#037691" %)**Sub-Band**: 688 - 689 689 AU915 and US915:value 0x00 ~~ 0x08 690 690 691 691 CN470: value 0x0B ~~ 0x0C ... ... @@ -693,7 +693,7 @@ 693 693 Other Bands: Always 0x00 694 694 695 695 696 - (% style="color:#037691" %)**Battery Info**:685 +**Battery Info**: 697 697 698 698 Check the battery voltage. 699 699 ... ... @@ -702,9 +702,10 @@ 702 702 Ex2: 0x0B49 = 2889mV 703 703 704 704 705 -=== 2.4.2 Uplink Payload, FPORT~=2 === 694 +1. 695 +11. 696 +111. Uplink Payload, FPORT=2 706 706 707 - 708 708 There are different cases for uplink. See below 709 709 710 710 * SDI-12 Debug Command return: FPORT=100 ... ... @@ -711,24 +711,30 @@ 711 711 712 712 * Periodically Uplink: FPORT=2 713 713 714 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:500px" %) 715 -|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)((( 716 -**Size(bytes)** 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" %)((( 704 +|((( 705 +**Size** 706 + 707 +**(bytes)** 708 +)))|**2**|**1**|**Length depends on the return from the commands** 709 +|**Value**|((( 719 719 Battery(mV) 711 + 720 720 & 713 + 721 721 Interrupt_Flag 722 -)))|(% style="width:91px" %)[[PAYLOAD_VER>>||anchor="H3.6Setthepayloadversion"]]|(% style="width:212px" %)((( 723 -If the valid payload is too long and exceed the maximum support. 715 +)))|[[PAYLOAD_VER>>path:#Probe_Model]]|((( 716 +If the valid payload is too long and exceed the maximum support 717 + 724 724 Payload length in server,server will show payload not provided in the LoRaWAN server. 725 725 ))) 726 726 727 -[[image: 1675216282284-923.png||_mstalt="295633"]]721 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.png]] 728 728 729 729 730 -=== 2.4.3 Battery Info === 731 731 725 +1. 726 +11. 727 +111. Battery Info 732 732 733 733 Check the battery voltage for SDI-12-LB. 734 734 ... ... @@ -737,12 +737,14 @@ 737 737 Ex2: 0x0B49 = 2889mV 738 738 739 739 740 -=== 2.4.4 Interrupt Pin === 736 +1. 737 +11. 738 +111. Interrupt Pin 741 741 740 +This data field shows if this packet is generated by **Interrupt Pin** or not. [[Click here>>path:#Int_mod]] for the hardware and software set up. Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>path:#pins]]. 742 742 743 -This data field shows if this packet is generated by (% style="color:#037691" %)**Interrupt Pin**(%%) or not. [[Click here>>||anchor="H3.2SetInterruptMode"]] for the hardware and software set up. Note: The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>||anchor="H1.7PinMapping"]]. 744 744 745 - **Example:**743 +Example: 746 746 747 747 Ex1: 0x0B45:0x0B&0x80= 0x00 Normal uplink packet. 748 748 ... ... @@ -749,326 +749,242 @@ 749 749 Ex2: 0x8B49:0x8B&0x80= 0x80 Interrupt Uplink Packet. 750 750 751 751 752 -=== 2.4.5 Payload version === 750 +1. 751 +11. 752 +111. Payload version 753 753 754 754 755 -The version number of the payload, mainly used for decoding. The default is 01. 756 756 757 757 758 -=== 2.4.6 Decode payload in The Things Network === 759 759 758 +1. 759 +11. 760 +111. Decode payload in The Things Network 760 760 761 761 While using TTN network, you can add the payload format to decode the payload. 762 762 763 -[[image: 1675216779406-595.png||_mstalt="298376"]]764 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image035.png]] 764 764 765 765 766 766 There is no fix payload decoder in LoRaWAN server because the SDI-12 sensors returns are different. User need to write the decoder themselves for their case. 767 767 768 -SDI-12-LB TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]] 769 769 770 +下面的解码生成超链接放进去. 770 770 771 - == 2.5 UplinkInterval==772 +function Decoder(bytes, port) { 772 772 774 + if(port==5) 773 773 774 - TheSDI-12-LBby default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link:776 + { 775 775 776 - [[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]]778 + var freq_band; 777 777 780 + var sub_band; 778 778 779 - ==2.6ExamplesToSet SDI commands==782 + var sensor; 780 780 781 -=== 2.6.1 Examples 1 ~-~- General Example === 782 782 785 + if(bytes[0]==0x17) 783 783 784 - COM portandSDI-12sensorcommunication converted toSDI-12-LBand SDI-12 sensor communication.787 + sensor= "SDI12-LB"; 785 785 786 -[[image:image-20230222143809-1.png||_mstalt="429962" height="564" width="729"]] 787 787 790 + var firm_ver= (bytes[1]&0x0f)+'.'+(bytes[2]>>4&0x0f)+'.'+(bytes[2]&0x0f); 788 788 789 -(% style="color:blue" %)**1) The AT+COMMANDx command is applied to the red arrow part, and sends the SDI12 command to the SDI12 sensor:** 790 790 791 - a.Sendthefirstcommand and get the firstreply:793 + if(bytes[3]==0x01) 792 792 793 - (%style="color:#037691"%)**AT+COMMANDx=1I!,0,0,1**795 + freq_band="EU868"; 794 794 795 - b.Sendthesecondcommandandgetthecondreply:797 + else if(bytes[3]==0x02) 796 796 797 - (%style="color:#037691"%)**AT+COMMANDx=2I!,0,0,1**799 + freq_band="US915"; 798 798 799 - c.Sendthethirdcommandandgetthethird reply:801 + else if(bytes[3]==0x03) 800 800 801 - (%style="color:#037691"%)**AT+COMMANDx=3I!,0,0,1**803 + freq_band="IN865"; 802 802 803 - d.Sendthefourthcommandandgetthe fourth reply:805 + else if(bytes[3]==0x04) 804 804 805 - (%style="color:#037691"%)**AT+COMMANDx=4I!,0,0,1**807 + freq_band="AU915"; 806 806 807 - e.Sendthefifthcommandplusthesixth command, get thesixth reply:809 + else if(bytes[3]==0x05) 808 808 809 - (%style="color:#037691"%)**AT+COMMANDx=1M!,2,1,1**811 + freq_band="KZ865"; 810 810 811 - f.Sendtheseventhcommandplustheeighth command, getthe eighth reply:813 + else if(bytes[3]==0x06) 812 812 813 - (%style="color:#037691"%)**AT+COMMANDx=2M!,2,1,1**815 + freq_band="RU864"; 814 814 815 - g.Sendtheninthcommandplusthetenth command, getthetenth reply:817 + else if(bytes[3]==0x07) 816 816 817 - (%style="color:#037691" %)**AT+COMMANDx=3M!,1,1,1**819 + freq_band="AS923"; 818 818 819 - h.Sendtheeleventhcommandplusthetwelfth command, getthe twelfth reply:821 + else if(bytes[3]==0x08) 820 820 821 - (%style="color:#037691"%)**AT+COMMANDx=4M!,1,1,1**823 + freq_band="AS923_1"; 822 822 825 + else if(bytes[3]==0x09) 823 823 824 - (%style="color:blue"%)**2) TheAT+DATACUTxcommandisappliedtothe greenarrow part, receiving andcut out data from theSDI12sensor:**827 + freq_band="AS923_2"; 825 825 826 - a.Thefirstreply,all34characters: ”113TRUEBNERSMT100038220303182331<CR><LF>”829 + else if(bytes[3]==0x0A) 827 827 828 - Cutoutallcharacters:(%_mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=34,2,1~~34**(% style="color:#037691"%);831 + freq_band="AS923_3"; 829 829 830 - b. Thesixthreply,all31characters:”1+19210+1.04+0.00+22.49+11.75<CR><LF>”833 + else if(bytes[3]==0x0F) 831 831 832 - Cutoutallcharacters:(%_mstmutation="1" style="color:#037691" %)**AT+ALLDATAMOD=1 or AT+DATACUTx=31,2,1~~31**(% style="color:#037691" %);835 + freq_band="AS923_4"; 833 833 834 - c. Theeighthreply,all31characters:”2+18990+1.08+0.00+22.24+11.80<CR><LF>”837 + else if(bytes[3]==0x0B) 835 835 836 - Cutoutallcharacters:(%_mstmutation="1"style="color:#037691"%)**AT+ALLDATAMOD=1orAT+DATACUTx=31,2,1~~31**(% style="color:#037691"%);839 + freq_band="CN470"; 837 837 838 - d. Thetenthreply,all15characters:”3-2919.8+24.0<CR><LF>”841 + else if(bytes[3]==0x0C) 839 839 840 - Cutoutallcharacters:(%_mstmutation="1"style="color:#037691"%)**AT+ALLDATAMOD=1orAT+DATACUTx=15,2,1~~15**(% style="color:#037691"%);843 + freq_band="EU433"; 841 841 842 - e. Thetwelfthreply,all25characters:”4+30.8+22.84+4.7+954.38<CR><LF>”845 + else if(bytes[3]==0x0D) 843 843 844 - Partialcut,thecutsensoraddressandthefirst two parameters:(% style="color:#037691" %)**AT+DATACUTx=25,2,1~~12, cut out the character field ” 4+30.8+22.84”**.847 + freq_band="KR920"; 845 845 849 + else if(bytes[3]==0x0E) 846 846 847 - ===2.6.2Example2~-~-ConnecttoHygrovue10===851 + freq_band="MA869"; 848 848 849 -==== 2.6.2.1 Reference Manual and Command ==== 850 850 854 + if(bytes[4]==0xff) 851 851 852 - *[[Hygrovue10ProductPage>>https://www.campbellsci.com/hygrovue10]]856 + sub_band="NULL"; 853 853 854 - *CommandstobeusedinPCandoutput.858 + else 855 855 856 - ~1.checkdeviceaddress860 + sub_band=bytes[4]; 857 857 858 -2. change device address 859 859 860 - 3.checkdeviceID863 + var bat= (bytes[5]<<8 | bytes[6])/1000; 861 861 862 -4. start measure 863 863 864 - 5.GetMeausreresult866 + return { 865 865 866 - [[image:image-20230603120209-2.png||height="281" width="267"]]868 + SENSOR_MODEL:sensor, 867 867 870 + FIRMWARE_VERSION:firm_ver, 868 868 869 - ====2.6.2.2HardwareConnectiontoSDI-12-LB====872 + FREQUENCY_BAND:freq_band, 870 870 874 + SUB_BAND:sub_band, 871 871 872 - [[image:image-20230603120515-3.png]]876 + BAT:bat, 873 873 878 + } 874 874 875 - ====2.6.2.3Commands set in SDI-12-LB and uplink payload ====880 + } 876 876 882 + else if(port==100) 877 877 878 - [[image:image-20230603120648-4.png]]884 + { 879 879 880 - [[image:image-20230603120726-5.png]]886 + var datas_sum={}; 881 881 888 + for(var j=0;j<bytes.length;j++) 882 882 883 - **DatainTTN:**890 + { 884 884 885 - [[image:image-20230603120859-6.png||height="118"width="1285"]]892 + var datas= String.fromCharCode(bytes[j]); 886 886 894 + if(j=='0') 887 887 888 - ===2.6.3Example3~-~-ConnecttoSIL-400===896 + datas_sum.datas_sum=datas; 889 889 890 - ====2.6.3.1ReferenceManualandCommand====898 + else 891 891 900 + datas_sum.datas_sum+=datas; 892 892 893 - *[[SIL-400ProductPage>>https://www.apogeeinstruments.com/sil-411-commercial-grade-sdi-12-digital-output-standard-field-of-view-infrared-radiometer-sensor/]]902 + } 894 894 895 -* Commands to be used in PC and output. 896 896 897 - ~1.checkdeviceaddress905 + return datas_sum; 898 898 899 - 2.changedevice address907 + } 900 900 901 - 3.checkdeviceID909 + else 902 902 903 - 4.startmeasure911 + { 904 904 905 - 5.GetMeausreresult913 + var decode={}; 906 906 907 - [[image:image-20230603121606-7.png||height="242"width="307"]]915 + decode.EXTI_Trigger= (bytes[0] & 0x80)? "TRUE":"FALSE"; 908 908 917 + decode.BatV= ((bytes[0]<<8 | bytes[1])&0x7FFF)/1000; 909 909 910 - ====2.6.3.2HardwareConnectionto SDI-12-LB ====919 + decode.Payver= bytes[2]; 911 911 921 + for(var i=3;i<bytes.length;i++) 912 912 913 - [[image:image-20230603121643-8.png||height="442"width="656"]]923 + { 914 914 925 + var data= String.fromCharCode(bytes[i]); 915 915 916 - ====2.6.3.3CommandssetinSDI-12-LBanduplinkpayload====927 + if(i=='3') 917 917 929 + decode.data_sum=data; 918 918 919 - [[image:image-20230603121721-9.png]]931 + else 920 920 921 - [[image:image-20230628090323-1.png||height="414" width="694"]]933 + decode.data_sum+=data; 922 922 923 - DatainTTN:935 + } 924 924 925 - [[image:image-20230603121826-11.png||height="155"width="1104"]]937 + return decode; 926 926 939 + } 927 927 928 928 929 - === 2.6.4 Example 4 ~-~- Connect to TEROS-12 ===942 +} 930 930 931 -==== 2.6.4.1 Reference Manual and Command ==== 932 932 945 +1. 946 +11. Uplink Interval 933 933 934 - * [[TEROS-12ProductPage>>https://www.metergroup.com/en/meter-environment/products/teros-12-soil-moisture-sensor]]948 +The SDI-12-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: 935 935 936 - *Commandstobe usedPCutput.950 +[[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval>>url:http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval]] 937 937 938 -1.check device address 939 939 940 -2.change device address 941 941 942 -3.check device ID 954 +1. 955 +11. Frequency Plans 943 943 944 - 4.startmeasure957 +The SDI12-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 945 945 946 -5.Get Meausre result 947 947 948 -[[i mage:image-20230603122248-16.png||height="196"width="198"]]960 +[[https:~~/~~/wiki.dragino.com/index.php?title=End_Device_Frequency_Band>>url:https://wiki.dragino.com/index.php?title=End_Device_Frequency_Band]] 949 949 950 950 951 -==== 2.6.4.2 Hardware Connection to SDI-12-LB ==== 952 952 964 +1. 965 +11. Firmware Change Log 953 953 954 -[[image:image-20230603122212-15.png||height="502" width="667"]] 955 - 956 - 957 -==== 2.6.4.3 Commands set in SDI-12-LB and uplink payload ==== 958 - 959 - 960 -[[image:image-20230603122040-12.png]] 961 - 962 -[[image:image-20230603122109-13.png||height="469" width="762"]] 963 - 964 - 965 -**Data in TTN:** 966 - 967 -[[image:image-20230603122139-14.png||height="148" width="1128"]] 968 - 969 - 970 -=== 2.6.5 Example 5 ~-~- Connect to SIL-400/TEROS-12 & Hygrovue10 === 971 - 972 -==== 2.6.5.1 Important Notice! ==== 973 - 974 - 975 -* The product page and reference command see above example 2,3,4 976 - 977 -* 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 - 979 -* 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 - 981 -* If these SDI-12 sensors are powered by external power source. It will add 300uA in the total current in SDI-12-LB. 982 - 983 -==== 2.6.5.2 Hardware Connection to SDI-12-LB ==== 984 - 985 - 986 -[[image:image-20230603122508-17.png||height="526" width="742"]] 987 - 988 - 989 -==== 2.6.5.3 Commands set in SDI-12-LB and uplink payload ==== 990 - 991 - 992 -[[image:image-20230603122549-18.png]] 993 - 994 -[[image:image-20230603122623-19.png||height="483" width="1121"]] 995 - 996 - 997 -**Data in TTN:** 998 - 999 -[[image:image-20230603122719-20.png||height="151" width="1179"]] 1000 - 1001 - 1002 -=== 2.6.6 Example 6 ~-~- Connect to ENTELECHY-EP_SDI-12 === 1003 - 1004 -==== 2.6.6.1 Reference Manual and Command ==== 1005 - 1006 - 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 - 1045 -== 2.7 Frequency Plans == 1046 - 1047 - 1048 -The SDI-12-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 1049 - 1050 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 1051 - 1052 - 1053 -== 2.8 Firmware Change Log == 1054 - 1055 - 1056 1056 **Firmware download link:** 1057 1057 1058 -[[https:~~/~~/www.dropbox.com/sh/ qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0>>https://www.dropbox.com/sh/qrbgbikb109lkiv/AACBR-v_ZhZAMengcY7Nsa1ja?dl=0]]969 +[[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]] 1059 1059 1060 1060 1061 -= 3. Configure SDI-12-LB via AT Command or LoRaWAN Downlink = 1062 1062 973 +1. Configure SDI-12-LB via AT Command or LoRaWAN Downlink 1063 1063 1064 1064 Use can configure SDI-12-LB via AT Command or LoRaWAN Downlink. 1065 1065 1066 -* AT Command Connection: See [[FAQ>> ||anchor="H7.FAQ"]].1067 -* LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.977 +* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 978 +* LoRaWAN Downlink instruction for different platforms: 1068 1068 980 +[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]] 981 + 982 + 1069 1069 There are two kinds of commands to configure SDI-12-LB, they are: 1070 1070 1071 -* (% style="color:blue" %)**General Commands**.985 +* **General Commands**. 1072 1072 1073 1073 These commands are to configure: 1074 1074 ... ... @@ -1077,315 +1077,378 @@ 1077 1077 1078 1078 They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 1079 1079 1080 -[[http:~~/~~/wiki.dragino.com/ xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]]994 +[[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]] 1081 1081 1082 1082 1083 -* (% style="color:blue" %)**Commands special design for SDI-12-LB**997 +* **Commands special design for SDI-12-LB** 1084 1084 1085 1085 These commands only valid for SDI-12-LB, as below: 1086 1086 1087 1087 1088 -== 3.1 Set Transmit Interval Time == 1089 1089 1003 +1. 1004 +11. Set Transmit Interval Time 1090 1090 1091 1091 Feature: Change LoRaWAN End Node Transmit Interval. 1092 1092 1093 - (% style="color:blue" %)**AT Command: AT+TDC**1008 +**AT Command: AT+TDC** 1094 1094 1095 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1096 -|=(% style="width: 160px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Command Example**|=(% style="width: 160px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Response** 1097 -|(% style="background-color:#f2f2f2; width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2; width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)((( 1010 +|**Command Example**|**Function**|**Response** 1011 +|AT+TDC=?|Show current transmit Interval|((( 1098 1098 30000 1013 + 1099 1099 OK 1015 + 1100 1100 the interval is 30000ms = 30s 1101 1101 ))) 1102 -| (% style="background-color:#f2f2f2; width:157px" %)AT+TDC=60000|(% style="background-color:#f2f2f2; width:166px" %)Set Transmit Interval|(% style="background-color:#f2f2f2" %)(((1018 +|AT+TDC=60000|Set Transmit Interval|((( 1103 1103 OK 1020 + 1104 1104 Set transmit interval to 60000ms = 60 seconds 1105 1105 ))) 1106 1106 1107 - (% style="color:blue" %)**Downlink Command: 0x01**1024 +**Downlink Command: 0x01** 1108 1108 1109 1109 Format: Command Code (0x01) followed by 3 bytes time value. 1110 1110 1111 -If the downlink payload=0100003C, it means set the END Node 's Transmit Interval to 0x00003C=60(S), while type code is 01.1028 +If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 1112 1112 1113 -* Example 1: Downlink Payload: 0100001E 1114 -* Example 2: Downlink Payload: 0100003C 1030 +* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 1031 +* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 1115 1115 1116 -== 3.2 Set Interrupt Mode == 1033 +1. 1034 +11. Set Interrupt Mode 1117 1117 1118 - 1119 1119 Feature, Set Interrupt mode for GPIO_EXIT. 1120 1120 1121 - (% style="color:blue" %)**AT Command: AT+INTMOD**1038 +**AT Command: AT+INTMOD** 1122 1122 1123 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 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** 1125 -|(% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)((( 1040 +|**Command Example**|**Function**|**Response** 1041 +|AT+INTMOD=?|Show current interrupt mode|((( 1126 1126 0 1043 + 1127 1127 OK 1128 -the mode is 0 =Disable Interrupt 1045 + 1046 +the mode is 0 = No interruption 1129 1129 ))) 1130 -| (% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=2|(% style="background-color:#f2f2f2; width:196px" %)(((1048 +|AT+INTMOD=2|((( 1131 1131 Set Transmit Interval 1132 -0. (Disable Interrupt), 1133 -~1. (Trigger by rising and falling edge) 1134 -2. (Trigger by falling edge) 1135 -3. (Trigger by rising edge) 1136 -)))|(% style="background-color:#f2f2f2; width:157px" %)OK 1137 1137 1138 -(% style="color:blue" %)**Downlink Command: 0x06** 1051 +1. (Disable Interrupt), 1052 +1. (Trigger by rising and falling edge), 1053 +1. (Trigger by falling edge) 1054 +1. (Trigger by rising edge) 1055 +)))|OK 1139 1139 1057 +**Downlink Command: 0x06** 1058 + 1140 1140 Format: Command Code (0x06) followed by 3 bytes. 1141 1141 1142 1142 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. 1143 1143 1144 -* Example 1: Downlink Payload: 06000000 1145 -* Example 2: Downlink Payload: 06000003 1063 +* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 1064 +* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 1146 1146 1147 -== 3.3 Set the output time == 1066 +1. 1067 +11. Set the output time 1148 1148 1149 - 1150 1150 Feature, Control the output 3V3 , 5V or 12V. 1151 1151 1152 - (% style="color:blue" %)**AT Command: AT+3V3T**1071 +**AT Command: AT+3V3T** 1153 1153 1154 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:474px" %) 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** 1156 -|(% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2; width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2; width:116px" %)((( 1073 +|**Command Example**|**Function**|**Response** 1074 +|AT+3V3T=?|Show 3V3 open time.|((( 1157 1157 0 1076 + 1158 1158 OK 1159 1159 ))) 1160 -| (% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=0|(% style="background-color:#f2f2f2; width:201px" %)Normally open 3V3 power supply.|(% style="background-color:#f2f2f2; width:116px" %)(((1079 +|AT+3V3T=0|Normally open 3V3 power supply.|((( 1161 1161 OK 1081 + 1162 1162 default setting 1163 1163 ))) 1164 -| (% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=1000|(% style="background-color:#f2f2f2; width:201px" %)Close after a delay of 1000 milliseconds.|(% style="background-color:#f2f2f2; width:116px" %)(((1084 +|AT+3V3T=1000|Close after a delay of 1000 milliseconds.|((( 1165 1165 OK 1086 + 1087 + 1166 1166 ))) 1167 -| (% style="background-color:#f2f2f2; width:154px" %)AT+3V3T=65535|(% style="background-color:#f2f2f2; width:201px" %)Normally closed 3V3 power supply.|(% style="background-color:#f2f2f2; width:116px" %)(((1089 +|AT+3V3T=65535|Normally closed 3V3 power supply.|((( 1168 1168 OK 1091 + 1092 + 1169 1169 ))) 1170 1170 1171 - (% style="color:blue" %)**AT Command: AT+5VT**1095 +**AT Command: AT+5VT** 1172 1172 1173 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %) 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** 1175 -|(% style="background-color:#f2f2f2; width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2; width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2; width:114px" %)((( 1097 +|**Command Example**|**Function**|**Response** 1098 +|AT+5VT=?|Show 5V open time.|((( 1176 1176 0 1100 + 1177 1177 OK 1178 1178 ))) 1179 -| (% style="background-color:#f2f2f2; width:155px" %)AT+5VT=0|(% style="background-color:#f2f2f2; width:196px" %)Normally closed 5V power supply.|(% style="background-color:#f2f2f2; width:114px" %)(((1103 +|AT+5VT=0|Normally closed 5V power supply.|((( 1180 1180 OK 1105 + 1181 1181 default setting 1182 1182 ))) 1183 -| (% style="background-color:#f2f2f2; width:155px" %)AT+5VT=1000|(% style="background-color:#f2f2f2; width:196px" %)Close after a delay of 1000 milliseconds.|(% style="background-color:#f2f2f2; width:114px" %)(((1108 +|AT+5VT=1000|Close after a delay of 1000 milliseconds.|((( 1184 1184 OK 1110 + 1111 + 1185 1185 ))) 1186 -| (% style="background-color:#f2f2f2; width:155px" %)AT+5VT=65535|(% style="background-color:#f2f2f2; width:196px" %)Normally open 5V power supply.|(% style="background-color:#f2f2f2; width:114px" %)(((1113 +|AT+5VT=65535|Normally open 5V power supply.|((( 1187 1187 OK 1115 + 1116 + 1188 1188 ))) 1189 1189 1190 - (% style="color:blue" %)**AT Command: AT+12VT1119 +**AT Command: AT+12VT** 1191 1191 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 - 1194 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:443px" %) 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** 1196 -|(% style="background-color:#f2f2f2; width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2; width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2; width:83px" %)((( 1121 +|**Command Example**|**Function**|**Response** 1122 +|AT+12VT=?|Show 12V open time.|((( 1197 1197 0 1124 + 1198 1198 OK 1199 1199 ))) 1200 -| (% style="background-color:#f2f2f2; width:156px" %)AT+12VT=0|(% style="background-color:#f2f2f2; width:199px" %)Normally closed 12V power supply.|(% style="background-color:#f2f2f2; width:83px" %)OK1201 -| (% style="background-color:#f2f2f2; width:156px" %)AT+12VT=500|(% style="background-color:#f2f2f2; width:199px" %)Close after a delay of 500 milliseconds.|(% style="background-color:#f2f2f2; width:83px" %)(((1127 +|AT+12VT=0|Normally closed 12V power supply.|OK 1128 +|AT+12VT=500|Close after a delay of 500 milliseconds.|((( 1202 1202 OK 1130 + 1131 + 1203 1203 ))) 1204 1204 1205 - (% style="color:blue" %)**Downlink Command: 0x07**1134 +**Downlink Command: 0x07** 1206 1206 1207 1207 Format: Command Code (0x07) followed by 3 bytes. 1208 1208 1209 1209 The first byte is which power, the second and third bytes are the time to turn on. 1210 1210 1211 -* Example 1: Downlink Payload: 070101F4 **~-~-->**1212 -* Example 2: Downlink Payload: 0701FFFF **~-~-->**AT+3V3T=655351213 -* Example 3: Downlink Payload: 070203E8 **~-~-->**AT+5VT=10001214 -* Example 4: Downlink Payload: 07020000 **~-~-->**AT+5VT=01215 -* Example 5: Downlink Payload: 070301F4 **~-~-->**AT+12VT=5001216 -* Example 6: Downlink Payload: 07030000 **~-~-->**AT+12VT=01140 +* Example 1: Downlink Payload: 070101F4 -> AT+3V3T=500 1141 +* Example 2: Downlink Payload: 0701FFFF -> AT+3V3T=65535 1142 +* Example 3: Downlink Payload: 070203E8 -> AT+5VT=1000 1143 +* Example 4: Downlink Payload: 07020000 -> AT+5VT=0 1144 +* Example 5: Downlink Payload: 070301F4 -> AT+12VT=500 1145 +* Example 6: Downlink Payload: 07030000 -> AT+12VT=0 1217 1217 1218 -== 3.4 Set the all data mode == 1147 +1. 1148 +11. Set the all data mode 1219 1219 1220 - 1221 1221 Feature, Set the all data mode. 1222 1222 1223 - (% style="color:blue" %)**AT Command: AT+ALLDATAMOD**1152 +**AT Command: AT+ALLDATAMOD** 1224 1224 1225 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %) 1226 -|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response** 1227 -|(% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=?|(% style="background-color:#f2f2f2" %)Show current all data mode|(% style="background-color:#f2f2f2" %)((( 1154 +|**Command Example**|**Function**|**Response** 1155 +|AT+ALLDATAMOD=?|Show current all data mode|((( 1228 1228 0 1157 + 1158 + 1229 1229 OK 1230 1230 ))) 1231 -| (% style="background-color:#f2f2f2" %)AT+ALLDATAMOD=1|(% style="background-color:#f2f2f2" %)Set all data mode is 1.|(% style="background-color:#f2f2f2" %)OK1161 +|AT+ALLDATAMOD=1|Set all data mode is 1.|OK 1232 1232 1233 - (% style="color:blue" %)**Downlink Command: 0xAB**1163 +**Downlink Command: 0xAB** 1234 1234 1235 1235 Format: Command Code (0xAB) followed by 1 bytes. 1236 1236 1237 -* Example 1: Downlink Payload: AB 00 1238 -* Example 2: Downlink Payload: AB 01 1167 +* Example 1: Downlink Payload: AB 00 ~/~/ AT+ALLDATAMOD=0 1168 +* Example 2: Downlink Payload: AB 01 ~/~/ AT+ALLDATAMOD=1 1239 1239 1240 -== 3.5 Set the splicing payload for uplink == 1170 +1. 1171 +11. Set the splicing payload for uplink 1241 1241 1242 - 1243 1243 Feature, splicing payload for uplink. 1244 1244 1245 - (% style="color:blue" %)**AT Command: AT+DATAUP**1175 +**AT Command: AT+DATAUP** 1246 1246 1247 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 1248 -|=(% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 266px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response** 1249 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =?|(% style="background-color:#f2f2f2; width:266px" %)Show current splicing payload for uplink mode|(% style="background-color:#f2f2f2" %)((( 1177 +|**Command Example**|**Function**|**Response** 1178 +|AT+DATAUP =?|Show current splicing payload for uplink mode|((( 1250 1250 0 1180 + 1181 + 1251 1251 OK 1252 1252 ))) 1253 -| (% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =0|(% style="background-color:#f2f2f2; width:266px" %)(((1184 +|AT+DATAUP =0|((( 1254 1254 Set splicing payload for uplink mode is 0. 1255 -)))|(% style="background-color:#f2f2f2" %)((( 1186 + 1187 + 1188 +)))|((( 1256 1256 OK 1190 + 1191 + 1257 1257 ))) 1258 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =1|(% style="background-color:#f2f2f2; width:266px" %)Set splicing payload for uplink mode is 1 , and the each splice uplink is sent sequentially.|(% style="background-color:#f2f2f2" %)OK 1259 -|(% style="background-color:#f2f2f2; width:154px" %)AT+DATAUP =1,20000|(% style="background-color:#f2f2f2; width:266px" %)((( 1260 -Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds. 1261 -)))|(% style="background-color:#f2f2f2" %)OK 1193 +|AT+DATAUP =1|Set splicing payload for uplink mode is 1 , and the each splice uplink is sent sequentially.|OK 1194 +|AT+DATAUP =1,20000|((( 1195 +Set splicing payload for uplink mode is 1, and the uplink interval of each splice to 20000 milliseconds. 1262 1262 1263 -(% style="color:blue" %)**Downlink Command: 0xAD** 1197 + 1198 +)))|OK 1264 1264 1200 +**Downlink Command: 0xAD** 1201 + 1265 1265 Format: Command Code (0xAD) followed by 1 bytes or 5 bytes. 1266 1266 1267 -* Example 1: Downlink Payload: AD 00 1268 -* Example 2: Downlink Payload: AD 01 1269 -* Example 3: Downlink Payload: AD 01 00 00 14 1204 +* Example 1: Downlink Payload: AD 00 ~/~/ AT+DATAUP=0 1205 +* Example 2: Downlink Payload: AD 01 ~/~/ AT+DATAUP =1 1206 +* Example 3: Downlink Payload: AD 01 00 00 14~/~/ AT+DATAUP =1,20000 1270 1270 1271 1271 This means that the interval is set to 0x000014=20S 1272 1272 1273 1273 1274 -== 3.6 Set the payload version == 1211 +1. 1212 +11. Set the payload version 1275 1275 1276 - 1277 1277 Feature, Set the payload version. 1278 1278 1279 - (% style="color:blue" %)**AT Command: AT+PAYVER**1216 +**AT Command: AT+PAYVER** 1280 1280 1281 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:437px" %) 1282 -|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 192px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response** 1283 -|(% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=?|(% style="background-color:#f2f2f2; width:192px" %)Show current payload version|(% style="background-color:#f2f2f2" %)((( 1218 +|**Command Example**|**Function**|**Response** 1219 +|AT+PAYVER=?|Show current payload version|((( 1284 1284 1 1221 + 1222 + 1285 1285 OK 1286 1286 ))) 1287 -| (% style="background-color:#f2f2f2; width:158px" %)AT+PAYVER=5|(% style="background-color:#f2f2f2; width:192px" %)Set payload version is 5.|(% style="background-color:#f2f2f2" %)OK1225 +|AT+PAYVER=5|Set payload version is 5.|OK 1288 1288 1289 - (% style="color:blue" %)**Downlink Command: 0xAE**1227 +**Downlink Command: 0xAE** 1290 1290 1291 1291 Format: Command Code (0xAE) followed by 1 bytes. 1292 1292 1293 -* Example 1: Downlink Payload: AE 01 1294 -* Example 2: Downlink Payload: AE 05 1231 +* Example 1: Downlink Payload: AE 01 ~/~/ AT+PAYVER=1 1232 +* Example 2: Downlink Payload: AE 05 ~/~/ AT+PAYVER=5 1295 1295 1296 -= 4. Battery & Power Consumption = 1234 +1. Battery & how to replace 1235 +11. Battery Type 1297 1297 1237 +SDI-12-LB is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. 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. 1298 1298 1299 -SDI-12-LB uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 1300 1300 1301 - [[**BatteryInfo& PowerConsumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]].1240 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 1302 1302 1242 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image036.png]] 1303 1303 1304 -= 5. Remote Configure device = 1305 1305 1306 - ==5.1 ConnectviaBLE==1245 +Minimum Working Voltage for the SDI-12-LB: 1307 1307 1247 +SDI-12-LB: 2.45v ~~ 3.6v 1308 1308 1309 -Please see this instruction for how to configure via BLE: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]] 1310 1310 1250 +1. 1251 +11. Replace Battery 1311 1311 1312 - ==5.2ATCommandSet==1253 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 1313 1313 1255 +And make sure the positive and negative pins match. 1314 1314 1315 1315 1316 -= 6. OTA firmware update = 1317 1317 1259 +1. 1260 +11. Power Consumption Analyze 1318 1318 1319 - Please see thislinkfor howto doOTAfirmwareupdate.1262 +Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval. 1320 1320 1321 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]] 1322 1322 1265 +Instruction to use as below: 1323 1323 1324 -= 7. FAQ = 1325 1325 1326 - ==7.1How touse AT Commandvia UARTtoccessdevice? ==1268 +Step 1: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 1327 1327 1270 +[[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]] 1328 1328 1329 -See: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]] 1330 1330 1273 +Step 2: Open it and choose 1331 1331 1332 -== 7.2 How to update firmware via UART port? == 1275 +* Product Model 1276 +* Uplink Interval 1277 +* Working Mode 1333 1333 1279 +And the Life expectation in difference case will be shown on the right. 1334 1334 1335 - See:[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]1281 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image037.png]] 1336 1336 1337 1337 1338 - == 7.3 How to change theLoRa FrequencyBands/Region? ==1284 +The battery related documents as below: 1339 1339 1286 +* [[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]], 1287 +* [[Lithium-Thionyl Chloride Battery>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/ER18505_datasheet-EN.pdf]] datasheet, [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/ER18505_datasheet_PM-ER18505-S-02-LF_EN.pdf]] 1288 +* [[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]] 1340 1340 1341 -You can follow the instructions for [[how to upgrade image>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]. 1342 -When downloading the images, choose the required image file for download. 1290 +|((( 1291 +JST-XH-2P connector 1292 +))) 1343 1343 1294 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png]] 1344 1344 1345 -= 8. Order Info = 1346 1346 1347 1347 1348 - (((1349 - (% style="color:blue" %)**Part Number: SDI-12-LB-XX-YY**1350 - )))1298 +1. 1299 +11. 1300 +111. Battery Note 1351 1351 1352 -((( 1353 -(% style="color:blue" %)**XX**(%%): The default frequency band 1354 -))) 1302 +The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased. 1355 1355 1356 -((( 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 1365 -))) 1366 1366 1367 -(% style="color:blue" %)**YY: **(%%)The grand connector hole size 1305 +1. 1306 +11. 1307 +111. Replace the battery 1368 1368 1369 -* M12: M12 hole 1370 -* M16: M16 hole 1309 +You can change the battery in the SDI-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. 1371 1371 1372 -= 9. Packing Info = 1373 1373 1312 +The default battery pack of SDI-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) 1374 1374 1375 -(% style="color:#037691" %)**Package Includes**: 1376 1376 1377 -* SDI-12-LB SDI-12 to LoRaWAN Converter x 1 1378 1378 1379 -(% style="color:#037691" %)**Dimension and weight**: 1380 1380 1317 + 1318 + 1319 +1. Remote Configure device 1320 +11. Connect via BLE 1321 + 1322 +Please see this instruction for how to configure via BLE: 1323 + 1324 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]] 1325 + 1326 + 1327 +1. 1328 +11. AT Command Set 1329 + 1330 +1. OTA firmware update 1331 + 1332 +Please see this link for how to do OTA firmware update. 1333 + 1334 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]] 1335 + 1336 + 1337 + 1338 + 1339 + 1340 + 1341 + 1342 + 1343 + 1344 + 1345 + 1346 +1. Order Info 1347 + 1348 +**Package Includes**: 1349 + 1350 +* SDI-12-LB SDI-12 to LoRaWAN Converter 1351 + 1352 +**Dimension and weight**: 1353 + 1381 1381 * Device Size: cm 1382 1382 * Device Weight: g 1383 1383 * Package Size / pcs : cm 1384 1384 * Weight / pcs : g 1385 1385 1386 -= 10. Support = 1387 1387 1388 1388 1361 +1. Support 1362 + 1389 1389 * 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. 1364 +* 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 1390 1390 1391 -* 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]] 1366 +[[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]] 1367 + 1368 +
- 1675216282284-923.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -47.0 KB - Content
- 1675216779406-595.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.2 KB - Content
- 1675234124233-857.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -75.8 KB - Content
- 1675234155374-163.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -138.2 KB - Content
- image-20230201145019-19.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -82.2 KB - Content
- image-20230201152430-20.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -16.5 KB - Content
- image-20230222143809-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -322.1 KB - Content
- image-20230426084456-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -190.0 KB - Content
- image-20230603120127-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -5.7 KB - Content
- image-20230603120209-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -22.8 KB - Content
- image-20230603120515-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -489.3 KB - Content
- image-20230603120648-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -100.8 KB - Content
- image-20230603120726-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -133.2 KB - Content
- image-20230603120859-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -55.9 KB - Content
- image-20230603121606-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.4 KB - Content
- image-20230603121643-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -889.7 KB - Content
- image-20230603121721-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -105.4 KB - Content
- image-20230603121752-10.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -160.0 KB - Content
- image-20230603121826-11.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -52.8 KB - Content
- image-20230603122040-12.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -128.1 KB - Content
- image-20230603122109-13.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -271.1 KB - Content
- image-20230603122139-14.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -70.4 KB - Content
- image-20230603122212-15.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -818.3 KB - Content
- image-20230603122248-16.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.7 KB - Content
- image-20230603122508-17.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -980.2 KB - Content
- image-20230603122549-18.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -90.9 KB - Content
- image-20230603122623-19.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -139.5 KB - Content
- image-20230603122719-20.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -83.8 KB - Content
- image-20230627164957-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -835.0 KB - Content
- image-20230627165744-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.6 KB - Content
- image-20230627174446-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -835.0 KB - Content
- image-20230627174559-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -4.6 KB - Content
- image-20230627175513-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.0 KB - Content
- image-20230627175736-5.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -10.4 KB - Content
- image-20230627180303-6.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -65.1 KB - Content
- image-20230628090323-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -137.2 KB - Content
- image-20230628091055-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -24.9 KB - Content
- image-20230628091130-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -84.0 KB - Content
- image-20240103164910-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -431.6 KB - Content
- image-20240103165115-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -220.0 KB - Content
- image-20240103165259-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -235.3 KB - Content