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