Changes for page PS-LB/LS -- LoRaWAN Air Water Pressure Sensor User Manual
Last modified by Xiaoling on 2025/07/10 16:21
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 30 added, 0 removed)
- 1675143884058-338.png
- 1675143899218-599.png
- 1675143909447-639.png
- 1675144005218-297.png
- 1675144035100-313.png
- 1675144099263-405.png
- 1675144117571-832.png
- 1675144143021-195.png
- 1675144157838-392.png
- 1675144504430-490.png
- 1675144608950-310.png
- 1675144839454-913.png
- 1675144951092-237.png
- 1675144960452-126.png
- 1675145004465-869.png
- 1675145018212-853.png
- 1675145029119-717.png
- 1675145051360-659.png
- 1675145060812-420.png
- 1675145081239-376.png
- 1675146710956-626.png
- 1675146895108-304.png
- 1675150237947-774.png
- image-20230131134744-2.jpeg
- image-20230131145708-3.png
- image-20230131153105-4.png
- image-20230201090514-1.png
- image-20230220171300-1.png
- image-20230222174559-1.png
- image-20230225154759-1.png
Details
- Page properties
-
- Content
-
... ... @@ -4,6 +4,7 @@ 4 4 5 5 **Table of Contents:** 6 6 7 +{{toc/}} 7 7 8 8 9 9 ... ... @@ -10,35 +10,38 @@ 10 10 11 11 12 12 13 - 14 - 15 - 16 - 17 - 18 - 19 - 20 - 21 21 = 1. Introduction = 22 22 23 23 == 1.1 What is LoRaWAN Pressure Sensor == 24 24 25 25 26 -The Dragino PS-LB series sensors are **LoRaWAN Pressure Sensor** for Internet of Things solution. PS-LB can measure Air, Water pressure and liquid level and upload the sensor data via wireless to LoRaWAN IoT server. 19 +((( 20 +The Dragino PS-LB series sensors are (% style="color:blue" %)**LoRaWAN Pressure Sensor**(%%) for Internet of Things solution. PS-LB can measure Air, Water pressure and liquid level and upload the sensor data via wireless to LoRaWAN IoT server. 21 +))) 27 27 28 -The PS-LB series sensors include **Thread Installation Type** and **Immersion Type**, it supports different pressure range which can be used for different measurement requirement. 23 +((( 24 +The PS-LB series sensors include (% style="color:blue" %)**Thread Installation Type**(%%) and (% style="color:blue" %)**Immersion Type**(%%), it supports different pressure range which can be used for different measurement requirement. 25 +))) 29 29 27 +((( 30 30 The LoRa wireless technology used in PS-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 +))) 31 31 31 +((( 32 32 PS-LB supports BLE configure and wireless OTA update which make user easy to use. 33 +))) 33 33 34 -PS-LB is powered by **8500mAh Li-SOCI2 battery**, it is designed for long term use up to 5 years. 35 +((( 36 +PS-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years. 37 +))) 35 35 39 +((( 36 36 Each PS-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. 41 +))) 37 37 38 38 [[image:1675071321348-194.png]] 39 39 40 40 41 - 42 42 == 1.2 Features == 43 43 44 44 ... ... @@ -54,23 +54,23 @@ 54 54 * Uplink on periodically 55 55 * Downlink to change configure 56 56 * 8500mAh Battery for long term use 61 +* Controllable 3.3v,5v and 12v output to power external sensor 57 57 58 - 59 59 == 1.3 Specification == 60 60 61 61 62 -**Micro Controller:** 66 +(% style="color:#037691" %)**Micro Controller:** 63 63 64 64 * MCU: 48Mhz ARM 65 65 * Flash: 256KB 66 66 * RAM: 64KB 67 67 68 -**Common DC Characteristics:** 72 +(% style="color:#037691" %)**Common DC Characteristics:** 69 69 70 70 * Supply Voltage: 2.5v ~~ 3.6v 71 71 * Operating Temperature: -40 ~~ 85°C 72 72 73 -**LoRa Spec:** 77 +(% style="color:#037691" %)**LoRa Spec:** 74 74 75 75 * Frequency Range, Band 1 (HF): 862 ~~ 1020 Mhz 76 76 * Max +22 dBm constant RF output vs. ... ... @@ -77,19 +77,19 @@ 77 77 * RX sensitivity: down to -139 dBm. 78 78 * Excellent blocking immunity 79 79 80 -**Current Input Measuring :** 84 +(% style="color:#037691" %)**Current Input Measuring :** 81 81 82 82 * Range: 0 ~~ 20mA 83 83 * Accuracy: 0.02mA 84 84 * Resolution: 0.001mA 85 85 86 -**Voltage Input Measuring:** 90 +(% style="color:#037691" %)**Voltage Input Measuring:** 87 87 88 88 * Range: 0 ~~ 30v 89 89 * Accuracy: 0.02v 90 90 * Resolution: 0.001v 91 91 92 -**Battery:** 96 +(% style="color:#037691" %)**Battery:** 93 93 94 94 * Li/SOCI2 un-chargeable battery 95 95 * Capacity: 8500mAh ... ... @@ -97,12 +97,11 @@ 97 97 * Max continuously current: 130mA 98 98 * Max boost current: 2A, 1 second 99 99 100 -**Power Consumption** 104 +(% style="color:#037691" %)**Power Consumption** 101 101 102 102 * Sleep Mode: 5uA @ 3.3v 103 103 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 104 104 105 - 106 106 == 1.4 Probe Types == 107 107 108 108 === 1.4.1 Thread Installation Type === ... ... @@ -121,7 +121,6 @@ 121 121 * Operating temperature: -20℃~~60℃ 122 122 * Connector Type: Various Types, see order info 123 123 124 - 125 125 === 1.4.2 Immersion Type === 126 126 127 127 ... ... @@ -131,25 +131,20 @@ 131 131 * Measuring Range: Measure range can be customized, up to 100m. 132 132 * Accuracy: 0.2% F.S 133 133 * Long-Term Stability: ±0.2% F.S / Year 134 -* Overload 200% F.S 135 -* Zero Temperature Drift: ±2% F.S) 136 -* FS Temperature Drift: ±2% F.S 137 137 * Storage temperature: -30℃~~80℃ 138 -* Operating temperature: -40℃~~85℃137 +* Operating temperature: 0℃~~50℃ 139 139 * Material: 316 stainless steels 140 140 141 - 142 142 == 1.5 Probe Dimension == 143 143 144 144 145 145 146 - 147 147 == 1.6 Application and Installation == 148 148 149 149 === 1.6.1 Thread Installation Type === 150 150 151 151 152 -**Application:** 149 +(% style="color:blue" %)**Application:** 153 153 154 154 * Hydraulic Pressure 155 155 * Petrochemical Industry ... ... @@ -167,7 +167,7 @@ 167 167 === 1.6.2 Immersion Type === 168 168 169 169 170 -**Application:** 167 +(% style="color:blue" %)**Application:** 171 171 172 172 Liquid & Water Pressure / Level detect. 173 173 ... ... @@ -186,9 +186,9 @@ 186 186 == 1.7 Sleep mode and working mode == 187 187 188 188 189 -**Deep Sleep Mode: **Sensor doesn't have any LoRaWAN activate. This mode is used for storage and shipping to save battery life. 186 +(% 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. 190 190 191 -**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. 188 +(% 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. 192 192 193 193 194 194 == 1.8 Button & LEDs == ... ... @@ -197,24 +197,20 @@ 197 197 [[image:1675071855856-879.png]] 198 198 199 199 200 -(% border="1" cellspacing="4" style="background-color:#ffffcc; color:black; width:510px" %) 201 -|(% style="width:138px" %)**Behavior on ACT**|(% style="width:100px" %)**Function**|**Action** 202 -|(% style="width:138px" %)Pressing ACT between 1s < time < 3s|(% style="width:100px" %)Send an uplink|((( 203 -If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, **blue led** will blink once. 204 - 197 +(% border="1" cellspacing="4" style="width:510px" %) 198 +|=(% 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** 199 +|(% 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" %)((( 200 +If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 205 205 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 206 206 ))) 207 -|(% style="width:138px" %)Pressing ACT for more than 3s|(% style="width:100px" %)Active Device|((( 208 -**Green led** will fast blink 5 times, device will enter **OTA mode** for 3 seconds. And then start to JOIN LoRaWAN network. 209 - 210 -**Green led** will solidly turn on for 5 seconds after joined in network. 211 - 203 +|(% 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" %)((( 204 +(% 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. 205 +(% style="background-color:#f2f2f2; color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 212 212 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. 213 213 ))) 214 -|(% style="width:1 38px" %)Fast press ACT 5 times.|(% style="width:100px" %)Deactivate Device|red led will solid on for 5 seconds. Means PS-LB is in Deep Sleep Mode.208 +|(% style="background-color:#f2f2f2; width:167px" %)Fast press ACT 5 times.|(% style="background-color:#f2f2f2; width:117px" %)Deactivate Device|(% style="background-color:#f2f2f2; width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means PS-LB-NA is in Deep Sleep Mode. 215 215 216 216 217 - 218 218 == 1.9 Pin Mapping == 219 219 220 220 ... ... @@ -236,129 +236,106 @@ 236 236 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode. 237 237 238 238 232 +== 1.11 Mechanical == 239 239 240 240 241 -1. 242 -11. Mechanical 235 +[[image:1675143884058-338.png]] 243 243 244 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]] 245 245 246 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]]238 +[[image:1675143899218-599.png]] 247 247 248 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png]] 249 249 241 +[[image:1675143909447-639.png]] 250 250 251 251 244 += 2. Configure PS-LB to connect to LoRaWAN network = 252 252 253 -1. Configure PS-LB to connect to LoRaWAN network 254 -11. How it works 246 +== 2.1 How it works == 255 255 256 -The PS-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 PS-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 257 257 249 +The PS-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 PS-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 258 258 259 -1. 260 -11. Quick guide to connect to LoRaWAN server (OTAA) 261 261 252 +== 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 253 + 254 + 262 262 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. 263 263 264 264 265 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]258 +[[image:1675144005218-297.png]] 266 266 267 267 268 268 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. 269 269 270 270 271 -**Step 1** :Create a device in TTN with the OTAA keys from PS-LB.264 +(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from PS-LB. 272 272 273 273 Each PS-LB is shipped with a sticker with the default device EUI as below: 274 274 268 +[[image:image-20230131134744-2.jpeg]] 275 275 276 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png]] 277 277 278 278 279 - 280 - 281 - 282 282 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 283 283 284 284 285 -**Register the device** 275 +(% style="color:blue" %)**Register the device** 286 286 287 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png]]277 +[[image:1675144099263-405.png]] 288 288 289 289 290 -**Add APP EUI and DEV EUI** 280 +(% style="color:blue" %)**Add APP EUI and DEV EUI** 291 291 282 +[[image:1675144117571-832.png]] 292 292 293 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png]] 294 294 285 +(% style="color:blue" %)**Add APP EUI in the application** 295 295 296 -**Add APP EUI in the application** 297 297 288 +[[image:1675144143021-195.png]] 298 298 299 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]] 300 300 291 +(% style="color:blue" %)**Add APP KEY** 301 301 302 - **Add APP KEY**293 +[[image:1675144157838-392.png]] 303 303 304 - [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png]]295 +(% style="color:blue" %)**Step 2:**(%%) Activate on PS-LB 305 305 306 306 307 -**Step 2**: Activate on PS-LB 308 - 309 - 310 310 Press the button for 5 seconds to activate the PS-LB. 311 311 300 +(% 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. 312 312 313 -**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. 314 - 315 - 316 316 After join success, it will start to upload messages to TTN and you can see the messages in the panel. 317 317 318 318 319 - [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]]305 +== 2.3 Uplink Payload == 320 320 307 +=== 2.3.1 Device Status, FPORT~=5 === 321 321 322 322 323 - 324 -1. 325 -11. Uplink Payload 326 - 327 -Uplink payloads have two types: 328 - 329 -* Distance Value: Use FPORT=2 330 -* Other control commands: Use other FPORT fields. 331 - 332 -The application server should parse the correct value based on FPORT settings. 333 - 334 - 335 - 336 -1. 337 -11. 338 -111. Device Status, FPORT=5 339 - 340 340 Include device configure status. Once PS-LB Joined the network, it will uplink this message to the server. 341 341 342 - 343 343 Users can also use the downlink command(0x26 01) to ask PS-LB to resend this uplink. 344 344 345 345 346 -|(% colspan="6" %)**Device Status (FPORT=5)** 347 -|**Size (bytes)**|**1**|**2**|**1**|**1**|**2** 348 -|**Value**|Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT 315 +(% border="1" cellspacing="4" style="width:510px" %) 316 +|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 317 +|(% 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** 318 +|(% 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 349 349 320 + 350 350 Example parse in TTNv3 351 351 352 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]]323 +[[image:1675144504430-490.png]] 353 353 354 354 326 +(% style="color:#037691" %)**Sensor Model**(%%): For PS-LB, this value is 0x16 355 355 356 - **SensorModel**:For PS-LB, this valueis 0x16328 +(% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 357 357 358 - **FirmwareVersion**:x0100,Means:v1.0.0 version330 +(% style="color:#037691" %)**Frequency Band**: 359 359 360 -**Frequency Band**: 361 - 362 362 *0x01: EU868 363 363 364 364 *0x02: US915 ... ... @@ -388,7 +388,7 @@ 388 388 *0x0e: MA869 389 389 390 390 391 -**Sub-Band**: 361 +(% style="color:#037691" %)**Sub-Band**: 392 392 393 393 AU915 and US915:value 0x00 ~~ 0x08 394 394 ... ... @@ -397,7 +397,7 @@ 397 397 Other Bands: Always 0x00 398 398 399 399 400 -**Battery Info**: 370 +(% style="color:#037691" %)**Battery Info**: 401 401 402 402 Check the battery voltage. 403 403 ... ... @@ -406,33 +406,24 @@ 406 406 Ex2: 0x0B49 = 2889mV 407 407 408 408 379 +=== 2.3.2 Sensor value, FPORT~=2 === 409 409 410 -1. 411 -11. 412 -111. Sensor value, FPORT=2 413 413 414 414 Uplink payload includes in total 9 bytes. 415 415 416 416 417 -|((( 418 -**Size** 385 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 386 +|(% style="width:97px" %)((( 387 +**Size(bytes)** 388 +)))|(% style="width:48px" %)**2**|(% style="width:71px" %)**2**|(% style="width:98px" %)**2**|(% style="width:73px" %)**2**|(% style="width:122px" %)**1** 389 +|(% style="width:97px" %)Value|(% style="width:48px" %)[[BAT>>||anchor="H2.3.4BatteryInfo"]]|(% style="width:71px" %)[[Probe Model>>||anchor="H2.3.5ProbeModel"]]|(% style="width:98px" %)[[0 ~~~~ 20mA value>>||anchor="H2.3.607E20mAvalue28IDC_IN29"]]|(% style="width:73px" %)[[0 ~~~~ 30v value>>||anchor="H2.3.707E30Vvalue28pinVDC_IN29"]]|(% style="width:122px" %)[[IN1 &IN2 Interrupt flag>>||anchor="H2.3.8IN126IN226INTpin"]] 419 419 420 -**(bytes)** 421 -)))|**2**|**2**|**2**|**2**|**1** 422 -|**Value**|[[BAT>>path:#bat]]|[[Probe Model>>path:#Probe_Model]]|0 ~~ 20mA value|[[0 ~~~~ 30v value>>path:#Voltage_30v]]|[[IN1 &IN2 Interrupt flag>>path:#Int_pin]] 391 +[[image:1675144608950-310.png]] 423 423 424 424 394 +=== 2.3.3 Battery Info === 425 425 426 426 427 - 428 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]] 429 - 430 - 431 - 432 -1. 433 -11. 434 -111. Battery Info 435 - 436 436 Check the battery voltage for PS-LB. 437 437 438 438 Ex1: 0x0B45 = 2885mV ... ... @@ -440,532 +440,450 @@ 440 440 Ex2: 0x0B49 = 2889mV 441 441 442 442 443 -1. 444 -11. 445 -111. Probe Model 404 +=== 2.3.4 Probe Model === 446 446 447 -PS-LB has different kind of probe, 0~~20mA represent the full scale of the measuring range. So a 15mA output means different meaning for different probe. 448 448 407 +PS-LB has different kind of probe, 4~~20mA represent the full scale of the measuring range. So a 12mA output means different meaning for different probe. 449 449 409 + 450 450 For example. 451 451 452 -|**Part Number**|**Probe Used**|**0~~20mA scale**|**Example: 10mA meaning** 412 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 413 +|**Part Number**|**Probe Used**|**4~~20mA scale**|**Example: 12mA meaning** 453 453 |PS-LB-I3|immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water 454 454 |PS-LB-I5|immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water 416 +|PS-LB-T20-B|T20 threaded probe|0~~1MPa|0.5MPa air / gas or water pressure 455 455 456 -The probe model field provides the convenient for server to identical how it should parse the 0~~20mA sensor value and get the correct value.418 +The probe model field provides the convenient for server to identical how it should parse the 4~~20mA sensor value and get the correct value. 457 457 458 458 459 -1. 460 -11. 461 -111. 0~~20mA value (IDC_IN) 421 +=== 2.3.5 0~~20mA value (IDC_IN) === 462 462 463 -The output value from Pressure Probe, use together with Probe Model to get the pressure value or water level. 464 464 424 +The output value from **Pressure Probe**, use together with Probe Model to get the pressure value or water level. 465 465 466 -**Example**: 426 +(% style="color:#037691" %)**Example**: 467 467 468 468 27AE(H) = 10158 (D)/1000 = 10.158mA. 469 469 470 470 471 -1. 472 -11. 473 -111. 0~~30V value ( pin VDC_IN) 431 +Instead of pressure probe, User can also connect a general 4~~20mA in this port to support different types of 4~~20mA sensors. below is the connection example: 474 474 475 - Measurethe voltagevalue.The ranges0 to 30V.433 +[[image:image-20230225154759-1.png||height="408" width="741"]] 476 476 477 477 478 - **Example**:436 +=== 2.3.6 0~~30V value ( pin VDC_IN) === 479 479 438 + 439 +Measure the voltage value. The range is 0 to 30V. 440 + 441 +(% style="color:#037691" %)**Example**: 442 + 480 480 138E(H) = 5006(D)/1000= 5.006V 481 481 482 482 483 -1. 484 -11. 485 -111. IN1&IN2&INT pin 446 +=== 2.3.7 IN1&IN2&INT pin === 486 486 448 + 487 487 IN1 and IN2 are used as digital input pins. 488 488 489 -**Example**: 451 +(% style="color:#037691" %)**Example**: 490 490 491 -09 (H) 453 +09 (H): (0x09&0x08)>>3=1 IN1 pin is high level. 492 492 493 -09 (H) 455 +09 (H): (0x09&0x04)>>2=0 IN2 pin is low level. 494 494 495 495 458 +This data field shows if this packet is generated by (% style="color:blue" %)**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. 496 496 497 - Thisdata fieldshows ifthis 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.460 +(% style="color:#037691" %)**Example:** 498 498 462 +09 (H): (0x09&0x02)>>1=1 The level of the interrupt pin. 499 499 500 - **Example:**464 +09 (H): 0x09&0x01=1 0x00: Normal uplink packet. 501 501 502 -0 9 (H) : (0x09&0x02)>>1=1The level of the interrupt pin.466 +0x01: Interrupt Uplink Packet. 503 503 504 -09 (H) : 0x09&0x01=1 0x00: Normal uplink packet. 505 505 506 -0 x01:Interrupt UplinkPacket.469 +=== (% id="cke_bm_109176S" style="display:none" %) (%%)2.3.8 Sensor value, FPORT~=7 === 507 507 508 508 472 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:508.222px" %) 473 +|(% style="width:94px" %)((( 474 +**Size(bytes)** 475 +)))|(% style="width:43px" %)2|(% style="width:367px" %)n 476 +|(% style="width:94px" %)**Value**|(% style="width:43px" %)[[BAT>>||anchor="H2.3.4BatteryInfo"]]|(% style="width:367px" %)((( 477 +Voltage value, each 2 bytes is a set of voltage values. 478 +))) 509 509 480 +[[image:image-20230220171300-1.png||height="207" width="863"]] 510 510 482 +Multiple sets of data collected are displayed in this form: 511 511 484 +[voltage value1], [voltage value2], [voltage value3],…[voltage value n/2] 512 512 513 513 514 -1. 515 -11. 516 -111. Decode payload in The Things Network 487 +=== 2.3.9 Decode payload in The Things Network === 517 517 489 + 518 518 While using TTN network, you can add the payload format to decode the payload. 519 519 520 520 521 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]493 +[[image:1675144839454-913.png]] 522 522 523 -PS-LB TTN Payload Decoder: 524 524 525 -[[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]] 496 +PS-LB TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]] 526 526 527 527 528 -1. 529 -11. Uplink Interval 499 +== 2.4 Uplink Interval == 530 530 531 -The PS-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: 532 532 533 -[[http:~~/~~/wiki.dragino.com/in dex.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]]502 +The PS-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: [[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||style="background-color: rgb(255, 255, 255);"]] 534 534 535 535 505 +== 2.5 Show Data in DataCake IoT Server == 536 536 537 -1. 538 -11. Show Data in DataCake IoT Server 539 539 540 540 [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps: 541 541 542 542 543 -**Step 1 **: Be sure that your device is programmed and properly connected to the network at this time.511 +(% style="color:blue" %)**Step 1: **(%%)Be sure that your device is programmed and properly connected to the network at this time. 544 544 545 -**Step 2** :To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:513 +(% style="color:blue" %)**Step 2:**(%%) To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps: 546 546 547 547 548 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]516 +[[image:1675144951092-237.png]] 549 549 550 550 551 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]519 +[[image:1675144960452-126.png]] 552 552 553 553 554 -Step 3: Create an account or log in Datacake. 522 +(% style="color:blue" %)**Step 3:**(%%) Create an account or log in Datacake. 555 555 556 -Step 4: Create PS-LB product. 524 +(% style="color:blue" %)**Step 4:** (%%)Create PS-LB product. 557 557 558 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]526 +[[image:1675145004465-869.png]] 559 559 560 560 529 +[[image:1675145018212-853.png]] 561 561 562 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]] 563 563 564 564 565 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]] 566 566 534 +[[image:1675145029119-717.png]] 567 567 568 -Step 5: add payload decode 569 569 537 +(% style="color:blue" %)**Step 5: **(%%)add payload decode 570 570 571 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]539 +[[image:1675145051360-659.png]] 572 572 573 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]] 574 574 542 +[[image:1675145060812-420.png]] 575 575 576 576 577 577 After added, the sensor data arrive TTN, it will also arrive and show in Datacake. 578 578 579 579 580 -[[image: file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]548 +[[image:1675145081239-376.png]] 581 581 582 582 551 +== 2.6 Frequency Plans == 583 583 584 584 585 - 586 - 587 - 588 - 589 - 590 - 591 - 592 - 593 - 594 - 595 - 596 - 597 - 598 -1. 599 -11. Frequency Plans 600 - 601 601 The PS-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. 602 602 556 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 603 603 604 -[[https:~~/~~/wiki.dragino.com/index.php?title=End_Device_Frequency_Band>>url:https://wiki.dragino.com/index.php?title=End_Device_Frequency_Band]] 605 605 559 +== 2.7 Firmware Change Log == 606 606 607 607 608 - 609 -1. 610 -11. Firmware Change Log 611 - 612 612 **Firmware download link:** 613 613 614 614 [[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]] 615 615 616 616 567 += 3. Configure PS-LB = 617 617 618 - 1. ConfigurePS-LB via AT Commandor LoRaWAN Downlink569 +== 3.1 Configure Methods == 619 619 620 - Use can configurePS-LBviaATCommand orLoRaWANDownlink.571 +PS-LB-NA supports below configure method: 621 621 622 -* AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 623 -* LoRaWAN Downlink instruction for different platforms: 573 +* AT Command via Bluetooth Connection (**Recommand Way**): [[BLE Configure Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 574 +* AT Command via UART Connection : See [[FAQ>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/#H7.FAQ]]. 575 +* LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>url:http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 624 624 625 - [[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]]577 +== 3.2 General Commands == 626 626 627 - 628 -There are two kinds of commands to configure PS-LB, they are: 629 - 630 -* **General Commands**. 631 - 632 632 These commands are to configure: 633 633 634 634 * General system settings like: uplink interval. 635 635 * LoRaWAN protocol & radio related command. 636 636 637 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 584 +They are same for all Dragino Devices which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 638 638 639 -[[http:~~/~~/wiki.dragino.com/in dex.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]]586 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 640 640 641 641 642 -* **Commands special design for PS-LB** 643 643 590 +== 3.3 Commands special design for PS-LB == 591 + 644 644 These commands only valid for PS-LB, as below: 645 645 646 646 647 -1. 648 -11. Set Transmit Interval Time 595 +=== 3.3.1 Set Transmit Interval Time === 649 649 597 + 650 650 Feature: Change LoRaWAN End Node Transmit Interval. 651 651 652 -**AT Command: AT+TDC** 600 +(% style="color:blue" %)**AT Command: AT+TDC** 653 653 654 -|**Command Example**|**Function**|**Response** 655 -|AT+TDC=?|Show current transmit Interval|((( 602 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 603 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response** 604 +|(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 656 656 30000 657 - 658 658 OK 659 - 660 660 the interval is 30000ms = 30s 661 661 ))) 662 -|AT+TDC=60000|Set Transmit Interval|((( 609 +|(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|((( 663 663 OK 664 - 665 665 Set transmit interval to 60000ms = 60 seconds 666 666 ))) 667 667 668 -**Downlink Command: 0x01** 614 +(% style="color:blue" %)**Downlink Command: 0x01** 669 669 670 670 Format: Command Code (0x01) followed by 3 bytes time value. 671 671 672 -If the downlink payload=0100003C, it means set the END Node ’s Transmit Interval to 0x00003C=60(S), while type code is 01.618 +If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01. 673 673 674 -* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 675 -* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 620 +* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 621 +* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 676 676 623 +=== 3.3.2 Set Interrupt Mode === 677 677 678 -1. 679 -11. Set Interrupt Mode 680 680 681 681 Feature, Set Interrupt mode for GPIO_EXIT. 682 682 683 -**AT Command: AT+INTMOD** 628 +(% style="color:blue" %)**AT Command: AT+INTMOD** 684 684 685 -|**Command Example**|**Function**|**Response** 686 -|AT+INTMOD=?|Show current interrupt mode|((( 630 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 631 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 157px;" %)**Response** 632 +|(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 687 687 0 688 - 689 689 OK 690 - 691 -the mode is 0 = No interruption 635 +the mode is 0 =Disable Interrupt 692 692 ))) 693 -|AT+INTMOD=2|((( 637 +|(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)((( 694 694 Set Transmit Interval 639 +0. (Disable Interrupt), 640 +~1. (Trigger by rising and falling edge) 641 +2. (Trigger by falling edge) 642 +3. (Trigger by rising edge) 643 +)))|(% style="width:157px" %)OK 695 695 696 -1. (Disable Interrupt), 697 -1. (Trigger by rising and falling edge), 698 -1. (Trigger by falling edge) 699 -1. (Trigger by rising edge) 700 -)))|OK 645 +(% style="color:blue" %)**Downlink Command: 0x06** 701 701 702 -**Downlink Command: 0x06** 703 - 704 704 Format: Command Code (0x06) followed by 3 bytes. 705 705 706 706 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. 707 707 708 -* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 709 -* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 651 +* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 652 +* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 710 710 711 -1. 712 -11. Set the output time 654 +=== 3.3.3 Set the output time === 713 713 656 + 714 714 Feature, Control the output 3V3 , 5V or 12V. 715 715 716 -**AT Command: AT+3V3T** 659 +(% style="color:blue" %)**AT Command: AT+3V3T** 717 717 718 -|**Command Example**|**Function**|**Response** 719 -|AT+3V3T=?|Show 3V3 open time.|((( 661 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:474px" %) 662 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 201px;" %)**Function**|=(% style="width: 116px;" %)**Response** 663 +|(% style="width:154px" %)AT+3V3T=?|(% style="width:201px" %)Show 3V3 open time.|(% style="width:116px" %)((( 720 720 0 721 - 722 722 OK 723 723 ))) 724 -|AT+3V3T=0|Normally open 3V3 power supply.|((( 667 +|(% style="width:154px" %)AT+3V3T=0|(% style="width:201px" %)Normally open 3V3 power supply.|(% style="width:116px" %)((( 725 725 OK 726 - 727 727 default setting 728 728 ))) 729 -|AT+3V3T=1000|Close after a delay of 1000 milliseconds.|((( 671 +|(% style="width:154px" %)AT+3V3T=1000|(% style="width:201px" %)Close after a delay of 1000 milliseconds.|(% style="width:116px" %)((( 730 730 OK 731 - 732 - 733 733 ))) 734 -|AT+3V3T=65535|Normally closed 3V3 power supply.|((( 674 +|(% style="width:154px" %)AT+3V3T=65535|(% style="width:201px" %)Normally closed 3V3 power supply.|(% style="width:116px" %)((( 735 735 OK 736 - 737 - 738 738 ))) 739 739 740 -**AT Command: AT+5VT** 678 +(% style="color:blue" %)**AT Command: AT+5VT** 741 741 742 -|**Command Example**|**Function**|**Response** 743 -|AT+5VT=?|Show 5V open time.|((( 680 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:470px" %) 681 +|=(% style="width: 155px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 114px;" %)**Response** 682 +|(% style="width:155px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:114px" %)((( 744 744 0 745 - 746 746 OK 747 747 ))) 748 -|AT+5VT=0|Normally closed 5V power supply.|((( 686 +|(% style="width:155px" %)AT+5VT=0|(% style="width:196px" %)Normally closed 5V power supply.|(% style="width:114px" %)((( 749 749 OK 750 - 751 751 default setting 752 752 ))) 753 -|AT+5VT=1000|Close after a delay of 1000 milliseconds.|((( 690 +|(% style="width:155px" %)AT+5VT=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:114px" %)((( 754 754 OK 755 - 756 - 757 757 ))) 758 -|AT+5VT=65535|Normally open 5V power supply.|((( 693 +|(% style="width:155px" %)AT+5VT=65535|(% style="width:196px" %)Normally open 5V power supply.|(% style="width:114px" %)((( 759 759 OK 760 - 761 - 762 762 ))) 763 763 764 -**AT Command: AT+12VT** 697 +(% style="color:blue" %)**AT Command: AT+12VT** 765 765 766 -|**Command Example**|**Function**|**Response** 767 -|AT+12VT=?|Show 12V open time.|((( 699 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:443px" %) 700 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 199px;" %)**Function**|=(% style="width: 83px;" %)**Response** 701 +|(% style="width:156px" %)AT+12VT=?|(% style="width:199px" %)Show 12V open time.|(% style="width:83px" %)((( 768 768 0 769 - 770 770 OK 771 771 ))) 772 -|AT+12VT=0|Normally closed 12V power supply.|OK 773 -|AT+12VT=500|Close after a delay of 500 milliseconds.|((( 705 +|(% style="width:156px" %)AT+12VT=0|(% style="width:199px" %)Normally closed 12V power supply.|(% style="width:83px" %)OK 706 +|(% style="width:156px" %)AT+12VT=500|(% style="width:199px" %)Close after a delay of 500 milliseconds.|(% style="width:83px" %)((( 774 774 OK 775 - 776 - 777 777 ))) 778 778 779 -**Downlink Command: 0x07** 710 +(% style="color:blue" %)**Downlink Command: 0x07** 780 780 781 781 Format: Command Code (0x07) followed by 3 bytes. 782 782 783 783 The first byte is which power, the second and third bytes are the time to turn on. 784 784 785 -* Example 1: Downlink Payload: 070101F4 -> AT+3V3T=500 786 -* Example 2: Downlink Payload: 0701FFFF -> AT+3V3T=65535 787 -* Example 3: Downlink Payload: 070203E8 -> AT+5VT=1000 788 -* Example 4: Downlink Payload: 07020000 -> AT+5VT=0 789 -* Example 5: Downlink Payload: 070301F4 -> AT+12VT=500 790 -* Example 6: Downlink Payload: 07030000 -> AT+12VT=0 716 +* Example 1: Downlink Payload: 070101F4 **~-~-->** AT+3V3T=500 717 +* Example 2: Downlink Payload: 0701FFFF **~-~-->** AT+3V3T=65535 718 +* Example 3: Downlink Payload: 070203E8 **~-~-->** AT+5VT=1000 719 +* Example 4: Downlink Payload: 07020000 **~-~-->** AT+5VT=0 720 +* Example 5: Downlink Payload: 070301F4 **~-~-->** AT+12VT=500 721 +* Example 6: Downlink Payload: 07030000 **~-~-->** AT+12VT=0 791 791 792 -1. 793 -11. Set the Probe Model 723 +=== 3.3.4 Set the Probe Model === 794 794 795 -**AT Command: AT** **+PROBE** 796 796 797 -|**Command Example**|**Function**|**Response** 798 -|AT +PROBE =?|Get or Set the probe model.|((( 799 -0 726 +Users need to configure this parameter according to the type of external probe. In this way, the server can decode according to this value, and convert the current value output by the sensor into water depth or pressure value. 800 800 801 -OK 802 -))) 803 -|AT +PROBE =0003|Set water depth sensor mode, 3m type.|OK 804 -|AT +PROBE =0101|Set pressure transmitters mode, first type.|((( 805 -OK 728 +**AT Command: AT** **+PROBE** 806 806 807 - 808 -))) 809 -|AT +PROBE =0000|Initial state, no settings.|((( 810 -OK 730 +AT+PROBE=aabb 811 811 812 - 813 -))) 732 +When aa=00, it is the water depth mode, and the current is converted into the water depth value; bb is the probe at a depth of several meters. 814 814 815 - **DownlinkCommand:0x08**734 +When aa=01, it is the pressure mode, which converts the current into a pressure value; 816 816 817 - Format:CommandCode(0x08) followedby2 bytes.736 +bb represents which type of pressure sensor it is. 818 818 819 -* Example 1: Downlink Payload: 080003 -> AT+PROBE=0003 820 -* Example 2: Downlink Payload: 080101 -> AT+PROBE=0101 738 +(A->01,B->02,C->03,D->04,E->05,F->06,G->07,H->08,I->09,J->0A,K->0B,L->0C) 821 821 740 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 741 +|**Command Example**|**Function**|**Response** 742 +|AT +PROBE =?|Get or Set the probe model.|0 743 +OK 744 +|AT +PROBE =0003|Set water depth sensor mode, 3m type.|OK 745 +|((( 746 +AT +PROBE =000A 822 822 748 + 749 +)))|Set water depth sensor mode, 10m type.|OK 750 +|AT +PROBE =0101|Set pressure transmitters mode, first type(A).|OK 751 +|AT +PROBE =0000|Initial state, no settings.|OK 823 823 824 -1. Battery & how to replace 825 -11. Battery Type 753 +**Downlink Command: 0x08** 826 826 827 - PS-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 withlowdischargerate targeting for 8~~10yearsuse.This type ofbatteryis commonly used in IoTtarget for long-term running,such as water meter.755 +Format: Command Code (0x08) followed by 2 bytes. 828 828 757 +* Example 1: Downlink Payload: 080003 **~-~-->** AT+PROBE=0003 758 +* Example 2: Downlink Payload: 080101 **~-~-->** AT+PROBE=0101 829 829 830 - Thedischargecurve is notlinear so can’tsimply usepercentage tohowthe battery level.Below is thebatteryperformance.760 +=== 3.3.5 Multiple collections are one uplink(Since firmware V1.1) === 831 831 832 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]] 833 833 763 +Added AT+STDC command to collect the voltage of VDC_INPUT multiple times and upload it at one time. 834 834 835 - MinimumWorking VoltageforthePS-LB:765 +(% style="color:blue" %)**AT Command: AT** **+STDC** 836 836 837 - PS-LB: 2.45v ~~ 3.6v767 +AT+STDC=aa,bb,bb 838 838 769 +(% style="color:#037691" %)**aa:**(%%) 770 +**0:** means disable this function and use TDC to send packets. 771 +**1:** means enable this function, use the method of multiple acquisitions to send packets. 772 +(% style="color:#037691" %)**bb:**(%%) Each collection interval (s), the value is 1~~65535 773 +(% style="color:#037691" %)**cc:**(%%)** **the number of collection times, the value is 1~~120 839 839 840 -1. 841 -11. Replace Battery 775 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 776 +|**Command Example**|**Function**|**Response** 777 +|AT+STDC=?|Get the mode of multiple acquisitions and one uplink.|1,10,18 778 +OK 779 +|AT+STDC=1,10,18|Set the mode of multiple acquisitions and one uplink, collect once every 10 seconds, and report after 18 times.|((( 780 +Attention:Take effect after ATZ 842 842 843 -Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 782 +OK 783 +))) 784 +|AT+STDC=0, 0,0|((( 785 +Use the TDC interval to send packets.(default) 844 844 845 -And make sure the positive and negative pins match. 787 + 788 +)))|((( 789 +Attention:Take effect after ATZ 846 846 847 - 848 - 849 -1. 850 -11. Power Consumption Analyze 851 - 852 -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. 853 - 854 - 855 -Instruction to use as below: 856 - 857 - 858 -Step 1: Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 859 - 860 -[[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/]] 861 - 862 - 863 -Step 2: Open it and choose 864 - 865 -* Product Model 866 -* Uplink Interval 867 -* Working Mode 868 - 869 -And the Life expectation in difference case will be shown on the right. 870 - 871 -[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image032.png]] 872 - 873 - 874 -The battery related documents as below: 875 - 876 -* [[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]], 877 -* [[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]] 878 -* [[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]] 879 - 880 -|((( 881 -JST-XH-2P connector 791 +OK 882 882 ))) 883 883 884 - [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image033.png]]794 +(% style="color:blue" %)**Downlink Command: 0xAE** 885 885 796 +Format: Command Code (0x08) followed by 5 bytes. 886 886 798 +* Example 1: Downlink Payload: AE 01 02 58 12** ~-~-->** AT+STDC=1,600,18 887 887 888 -1. 889 -11. 890 -111. Battery Note 800 += 4. Battery & Power Consumption = 891 891 892 - TheLi-SICObatteryisdesignedfor small current /longperiod application.It is notgoodto usehighcurrent, shortperiodtransmitmethod. Therecommended minimum period for use of thisbattery is 5 minutes. Ifyouuseashorterperiodtime totransmit LoRa, then the batterylife may be decreased.802 +PS-LB-NA uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 893 893 804 + [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 894 894 895 -1. 896 -11. 897 -111. Replace the battery 898 898 899 - Youcan change the battery in the PS-LB.Thetype ofbatteryis 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 themain circuit. If you need to use a batterywith less than 3.3v, pleaseremovethe D1 and shortcut the twopads of it so there won’t be voltage drop betweenbattery and main board.807 += 5. OTA firmware update = 900 900 901 901 902 - The default battery pack ofPS-LB includesaER26500 plussupercapacitor. If usercan’tfind thispacklocally,theycanfindER26500orquivalence, whichwillalsoworkmost case. The SPC canenlargethe battery life forhigh frequency use (updateperiodbelow5 minutes)810 +Please see this link for how to do OTA firmware update: [[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/]] 903 903 904 904 813 += 6. FAQ = 905 905 815 +== 6.1 How to use AT Command via UART to access device? == 906 906 907 907 908 - 909 -1. Remote Configure device 910 -11. Connect via BLE 911 - 912 -Please see this instruction for how to configure via BLE: 913 - 914 -[[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/]] 915 - 916 - 917 -1. 918 -11. AT Command Set 919 - 920 -1. OTA firmware update 921 - 922 -Please see this link for how to do OTA firmware update. 923 - 924 -[[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/]] 925 - 926 - 927 - 928 - 929 - 930 -1. FAQ 931 -11. How to use AT Command to access device? 932 - 933 933 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]] 934 934 935 935 936 -1. 937 -11. How to update firmware via UART port? 821 +== 6.2 How to update firmware via UART port? == 938 938 939 -See: 940 940 941 -[[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]] 824 +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]] 942 942 943 943 944 -1. 945 -11. How to change the LoRa Frequency Bands/Region 827 +== 6.3 How to change the LoRa Frequency Bands/Region? == 946 946 947 -You can follow the instructions for [[how to upgrade image>>path:#3ygebqi]]. 829 + 830 +You can follow the instructions for [[how to upgrade image>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]. 948 948 When downloading the images, choose the required image file for download. 949 949 950 950 834 += 7. Order Info = 951 951 952 952 837 +[[image:image-20230131153105-4.png]] 953 953 954 -1. Order Info 955 955 956 - [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.png]]840 += 8. Packing Info = 957 957 958 958 843 +(% style="color:#037691" %)**Package Includes**: 959 959 960 - 961 - 962 -1. Packing Info 963 - 964 -**Package Includes**: 965 - 966 966 * PS-LB LoRaWAN Pressure Sensor 967 967 968 -**Dimension and weight**: 847 +(% style="color:#037691" %)**Dimension and weight**: 969 969 970 970 * Device Size: cm 971 971 * Device Weight: g ... ... @@ -972,13 +972,11 @@ 972 972 * Package Size / pcs : cm 973 973 * Weight / pcs : g 974 974 854 += 9. Support = 975 975 976 976 977 -1. Support 978 - 979 979 * 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. 980 -* 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 981 981 982 -[[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]] 859 +* 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]] 983 983 984 984
- 1675143884058-338.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +11.7 KB - Content
- 1675143899218-599.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +5.6 KB - Content
- 1675143909447-639.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +9.5 KB - Content
- 1675144005218-297.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +88.6 KB - Content
- 1675144035100-313.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +131.3 KB - Content
- 1675144099263-405.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +59.6 KB - Content
- 1675144117571-832.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +53.8 KB - Content
- 1675144143021-195.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.1 KB - Content
- 1675144157838-392.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +65.2 KB - Content
- 1675144504430-490.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +37.2 KB - Content
- 1675144608950-310.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +31.5 KB - Content
- 1675144839454-913.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +59.2 KB - Content
- 1675144951092-237.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +62.2 KB - Content
- 1675144960452-126.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +66.6 KB - Content
- 1675145004465-869.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +112.9 KB - Content
- 1675145018212-853.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +199.6 KB - Content
- 1675145029119-717.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +77.6 KB - Content
- 1675145051360-659.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +49.2 KB - Content
- 1675145060812-420.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +63.1 KB - Content
- 1675145081239-376.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +64.9 KB - Content
- 1675146710956-626.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +75.8 KB - Content
- 1675146895108-304.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +138.2 KB - Content
- 1675150237947-774.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +249.9 KB - Content
- image-20230131134744-2.jpeg
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +16.5 KB - Content
- image-20230131145708-3.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +83.5 KB - Content
- image-20230131153105-4.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +44.8 KB - Content
- image-20230201090514-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Xiaoling - Size
-
... ... @@ -1,0 +1,1 @@ 1 +560.9 KB - Content
- image-20230220171300-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +98.0 KB - Content
- image-20230222174559-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Bei - Size
-
... ... @@ -1,0 +1,1 @@ 1 +19.4 KB - Content
- image-20230225154759-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +468.9 KB - Content