Changes for page PS-LB/LS -- LoRaWAN Air Water Pressure Sensor User Manual
Last modified by Xiaoling on 2025/04/19 17:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,15 +16,15 @@ 16 16 == 1.1 What is LoRaWAN Pressure Sensor == 17 17 18 18 19 -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.19 +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. 20 20 21 -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.21 +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. 22 22 23 23 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. 24 24 25 25 PS-LB supports BLE configure and wireless OTA update which make user easy to use. 26 26 27 -PS-LB is powered by (% style="color:blue" %) **8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years.27 +PS-LB is powered by **(% style="color:blue" %)8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years. 28 28 29 29 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. 30 30 ... ... @@ -48,21 +48,22 @@ 48 48 * Downlink to change configure 49 49 * 8500mAh Battery for long term use 50 50 51 + 51 51 == 1.3 Specification == 52 52 53 53 54 -(% style="color:#037691" %) **Micro Controller:**55 +**(% style="color:#037691" %)Micro Controller:** 55 55 56 56 * MCU: 48Mhz ARM 57 57 * Flash: 256KB 58 58 * RAM: 64KB 59 59 60 -(% style="color:#037691" %) **Common DC Characteristics:**61 +**(% style="color:#037691" %)Common DC Characteristics:** 61 61 62 62 * Supply Voltage: 2.5v ~~ 3.6v 63 63 * Operating Temperature: -40 ~~ 85°C 64 64 65 -(% style="color:#037691" %) **LoRa Spec:**66 +**(% style="color:#037691" %)LoRa Spec:** 66 66 67 67 * Frequency Range, Band 1 (HF): 862 ~~ 1020 Mhz 68 68 * Max +22 dBm constant RF output vs. ... ... @@ -69,19 +69,19 @@ 69 69 * RX sensitivity: down to -139 dBm. 70 70 * Excellent blocking immunity 71 71 72 -(% style="color:#037691" %) **Current Input Measuring :**73 +**(% style="color:#037691" %)Current Input Measuring :** 73 73 74 74 * Range: 0 ~~ 20mA 75 75 * Accuracy: 0.02mA 76 76 * Resolution: 0.001mA 77 77 78 -(% style="color:#037691" %) **Voltage Input Measuring:**79 +**(% style="color:#037691" %)Voltage Input Measuring:** 79 79 80 80 * Range: 0 ~~ 30v 81 81 * Accuracy: 0.02v 82 82 * Resolution: 0.001v 83 83 84 -(% style="color:#037691" %) **Battery:**85 +**(% style="color:#037691" %)Battery:** 85 85 86 86 * Li/SOCI2 un-chargeable battery 87 87 * Capacity: 8500mAh ... ... @@ -89,11 +89,12 @@ 89 89 * Max continuously current: 130mA 90 90 * Max boost current: 2A, 1 second 91 91 92 -(% style="color:#037691" %) **Power Consumption**93 +**(% style="color:#037691" %)Power Consumption** 93 93 94 94 * Sleep Mode: 5uA @ 3.3v 95 95 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 96 96 98 + 97 97 == 1.4 Probe Types == 98 98 99 99 === 1.4.1 Thread Installation Type === ... ... @@ -112,6 +112,7 @@ 112 112 * Operating temperature: -20℃~~60℃ 113 113 * Connector Type: Various Types, see order info 114 114 117 + 115 115 === 1.4.2 Immersion Type === 116 116 117 117 ... ... @@ -128,6 +128,7 @@ 128 128 * Operating temperature: -40℃~~85℃ 129 129 * Material: 316 stainless steels 130 130 134 + 131 131 == 1.5 Probe Dimension == 132 132 133 133 ... ... @@ -138,7 +138,7 @@ 138 138 === 1.6.1 Thread Installation Type === 139 139 140 140 141 -(% style="color:blue" %) **Application:**145 +**(% style="color:blue" %)Application:** 142 142 143 143 * Hydraulic Pressure 144 144 * Petrochemical Industry ... ... @@ -156,7 +156,7 @@ 156 156 === 1.6.2 Immersion Type === 157 157 158 158 159 -(% style="color:blue" %) **Application:**163 +**(% style="color:blue" %)Application:** 160 160 161 161 Liquid & Water Pressure / Level detect. 162 162 ... ... @@ -175,9 +175,9 @@ 175 175 == 1.7 Sleep mode and working mode == 176 176 177 177 178 -(% 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.182 +**(% 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. 179 179 180 -(% 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.184 +**(% 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. 181 181 182 182 183 183 == 1.8 Button & LEDs == ... ... @@ -189,14 +189,14 @@ 189 189 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 190 190 |(% style="width:138px" %)**Behavior on ACT**|(% style="width:100px" %)**Function**|**Action** 191 191 |(% style="width:138px" %)Pressing ACT between 1s < time < 3s|(% style="width:100px" %)Send an uplink|((( 192 -If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %) **blue led** (%%)will blink once.196 +If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, **(% style="color:blue" %)blue led** (%%)will blink once. 193 193 194 194 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 195 195 ))) 196 196 |(% style="width:138px" %)Pressing ACT for more than 3s|(% style="width:100px" %)Active Device|((( 197 -(% 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.201 +**(% 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. 198 198 199 -(% style="color:green" %) **Green led**(%%) will solidly turn on for 5 seconds after joined in network.203 +**(% style="color:green" %)Green led**(%%) will solidly turn on for 5 seconds after joined in network. 200 200 201 201 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. 202 202 ))) ... ... @@ -203,6 +203,7 @@ 203 203 |(% style="width:138px" %)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. 204 204 205 205 210 + 206 206 == 1.9 Pin Mapping == 207 207 208 208 ... ... @@ -243,7 +243,7 @@ 243 243 == 2.1 How it works == 244 244 245 245 246 -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.251 +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. 247 247 248 248 249 249 ... ... @@ -259,7 +259,7 @@ 259 259 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. 260 260 261 261 262 -(% style="color:blue" %) **Step 1:**(%%) Create a device in TTN with the OTAA keys from PS-LB.267 +**(% style="color:blue" %)Step 1:**(%%) Create a device in TTN with the OTAA keys from PS-LB. 263 263 264 264 Each PS-LB is shipped with a sticker with the default device EUI as below: 265 265 ... ... @@ -270,32 +270,32 @@ 270 270 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 271 271 272 272 273 -(% style="color:blue" %) **Register the device**278 +**(% style="color:blue" %)Register the device** 274 274 275 275 [[image:1675144099263-405.png]] 276 276 277 277 278 -(% style="color:blue" %) **Add APP EUI and DEV EUI**283 +**(% style="color:blue" %)Add APP EUI and DEV EUI** 279 279 280 280 [[image:1675144117571-832.png]] 281 281 282 282 283 -(% style="color:blue" %) **Add APP EUI in the application**288 +**(% style="color:blue" %)Add APP EUI in the application** 284 284 285 285 286 286 [[image:1675144143021-195.png]] 287 287 288 288 289 -(% style="color:blue" %) **Add APP KEY**294 +**(% style="color:blue" %)Add APP KEY** 290 290 291 291 [[image:1675144157838-392.png]] 292 292 293 -(% style="color:blue" %) **Step 2:**(%%) Activate on PS-LB298 +**(% style="color:blue" %)Step 2:**(%%) Activate on PS-LB 294 294 295 295 296 296 Press the button for 5 seconds to activate the PS-LB. 297 297 298 - (% 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.303 +**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. 299 299 300 300 After join success, it will start to upload messages to TTN and you can see the messages in the panel. 301 301 ... ... @@ -330,11 +330,11 @@ 330 330 [[image:1675144504430-490.png]] 331 331 332 332 333 - (% style="color:#037691" %)**Sensor Model**(%%): For PS-LB, this value is 0x16338 +**Sensor Model**: For PS-LB, this value is 0x16 334 334 335 - (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version340 +**Firmware Version**: 0x0100, Means: v1.0.0 version 336 336 337 - (% style="color:#037691" %)**Frequency Band**:342 +**Frequency Band**: 338 338 339 339 *0x01: EU868 340 340 ... ... @@ -365,7 +365,7 @@ 365 365 *0x0e: MA869 366 366 367 367 368 - (% style="color:#037691" %)**Sub-Band**:373 +**Sub-Band**: 369 369 370 370 AU915 and US915:value 0x00 ~~ 0x08 371 371 ... ... @@ -374,7 +374,7 @@ 374 374 Other Bands: Always 0x00 375 375 376 376 377 - (% style="color:#037691" %)**Battery Info**:382 +**Battery Info**: 378 378 379 379 Check the battery voltage. 380 380 ... ... @@ -383,7 +383,7 @@ 383 383 Ex2: 0x0B49 = 2889mV 384 384 385 385 386 -=== 2.3.2 Sensor value, FPORT~=2 ===391 +=== 1.3.2 Sensor value, FPORT~=2 === 387 387 388 388 389 389 Uplink payload includes in total 9 bytes. ... ... @@ -393,7 +393,7 @@ 393 393 |(% style="width:97px" %)((( 394 394 **Size(bytes)** 395 395 )))|(% style="width:48px" %)**2**|(% style="width:58px" %)**2**|**2**|**2**|**1** 396 -|(% style="width:97px" %)**Value**|(% style="width:48px" %)[[BAT>> ||anchor="H2.3.3BatteryInfo"]]|(% style="width:58px" %)[[Probe Model>>||anchor="H2.3.4ProbeModel"]]|[[0 ~~~~20mA value>>||anchor="H2.3.507E20mAvalue28IDC_IN29"]]|[[0 ~~~~ 30v value>>||anchor="H2.3.607E30Vvalue28pinVDC_IN29"]]|[[IN1 &IN2 Interrupt flag>>||anchor="H2.3.7IN126IN226INTpin"]]401 +|(% style="width:97px" %)**Value**|(% style="width:48px" %)[[BAT>>path:#bat]]|(% style="width:58px" %)[[Probe Model>>path:#Probe_Model]]|0 ~~ 20mA value|[[0 ~~~~ 30v value>>path:#Voltage_30v]]|[[IN1 &IN2 Interrupt flag>>path:#Int_pin]] 397 397 398 398 [[image:1675144608950-310.png]] 399 399 ... ... @@ -430,7 +430,7 @@ 430 430 431 431 The output value from Pressure Probe, use together with Probe Model to get the pressure value or water level. 432 432 433 - (% style="color:#037691" %)**Example**:438 +**Example**: 434 434 435 435 27AE(H) = 10158 (D)/1000 = 10.158mA. 436 436 ... ... @@ -440,7 +440,7 @@ 440 440 441 441 Measure the voltage value. The range is 0 to 30V. 442 442 443 - (% style="color:#037691" %)**Example**:448 +**Example**: 444 444 445 445 138E(H) = 5006(D)/1000= 5.006V 446 446 ... ... @@ -450,20 +450,20 @@ 450 450 451 451 IN1 and IN2 are used as digital input pins. 452 452 453 - (% style="color:#037691" %)**Example**:458 +**Example**: 454 454 455 -09 (H) :(0x09&0x08)>>3=1 IN1 pin is high level.460 +09 (H) :(0x09&0x08)>>3=1 IN1 pin is high level. 456 456 457 -09 (H) :(0x09&0x04)>>2=0 IN2 pin is low level.462 +09 (H) :(0x09&0x04)>>2=0 IN2 pin is low level. 458 458 459 459 460 -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.465 +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. 461 461 462 - (% style="color:#037691" %)**Example:**467 +**Example:** 463 463 464 -09 (H): (0x09&0x02)>>1=1 The level of the interrupt pin. 469 +09 (H) : (0x09&0x02)>>1=1 The level of the interrupt pin. 465 465 466 -09 (H): 0x09&0x01=1 0x00: Normal uplink packet. 471 +09 (H) : 0x09&0x01=1 0x00: Normal uplink packet. 467 467 468 468 0x01: Interrupt Uplink Packet. 469 469 ... ... @@ -492,9 +492,9 @@ 492 492 [[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: 493 493 494 494 495 - (% style="color:blue" %)**Step 1: **(%%)Be sure that your device is programmed and properly connected to the network at this time.500 +**Step 1: **Be sure that your device is programmed and properly connected to the network at this time. 496 496 497 - (% 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:502 +**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: 498 498 499 499 500 500 [[image:1675144951092-237.png]] ... ... @@ -503,9 +503,9 @@ 503 503 [[image:1675144960452-126.png]] 504 504 505 505 506 - (% style="color:blue" %)**Step 3:**(%%)Create an account or log in Datacake.511 +**Step 3:** Create an account or log in Datacake. 507 507 508 - (% style="color:#blue" %)**Step 4:**(%%)Create PS-LB product.513 +**Step 4:** Create PS-LB product. 509 509 510 510 [[image:1675145004465-869.png]] 511 511 ... ... @@ -518,7 +518,7 @@ 518 518 [[image:1675145029119-717.png]] 519 519 520 520 521 - (% style="color:blue" %)**Step 5: **(%%)add payload decode526 +**Step 5: **add payload decode 522 522 523 523 [[image:1675145051360-659.png]] 524 524 ... ... @@ -558,6 +558,7 @@ 558 558 * AT Command Connection: See [[FAQ>>path:#AT_COMMAND]]. 559 559 * LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 560 560 566 + 561 561 There are two kinds of commands to configure PS-LB, they are: 562 562 563 563 * **General Commands**. ... ... @@ -608,6 +608,7 @@ 608 608 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 609 609 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 610 610 617 + 611 611 == 3.2 Set Interrupt Mode == 612 612 613 613 ... ... @@ -646,6 +646,7 @@ 646 646 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 647 647 648 648 656 + 649 649 == 3.3 Set the output time == 650 650 651 651 ... ... @@ -676,6 +676,7 @@ 676 676 677 677 ))) 678 678 687 + 679 679 **AT Command: AT+5VT** 680 680 681 681 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) ... ... @@ -701,6 +701,7 @@ 701 701 702 702 ))) 703 703 713 + 704 704 **AT Command: AT+12VT** 705 705 706 706 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) ... ... @@ -717,6 +717,7 @@ 717 717 718 718 ))) 719 719 730 + 720 720 **Downlink Command: 0x07** 721 721 722 722 Format: Command Code (0x07) followed by 3 bytes. ... ... @@ -731,6 +731,7 @@ 731 731 * Example 6: Downlink Payload: 07030000 -> AT+12VT=0 732 732 733 733 745 + 734 734 == 3.4 Set the Probe Model == 735 735 736 736 ... ... @@ -763,6 +763,7 @@ 763 763 * Example 2: Downlink Payload: 080101 -> AT+PROBE=0101 764 764 765 765 778 + 766 766 = 4. Battery & how to replace = 767 767 768 768 == 4.1 Battery Type == ... ... @@ -897,6 +897,7 @@ 897 897 * Weight / pcs : g 898 898 899 899 913 + 900 900 = 10. Support = 901 901 902 902