Changes for page PS-LB/LS -- LoRaWAN Air Water Pressure Sensor User Manual
Last modified by Xiaoling on 2025/04/27 10:31
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 4 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,33 +16,22 @@ 16 16 == 1.1 What is LoRaWAN Pressure Sensor == 17 17 18 18 19 -((( 20 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 -))) 22 22 23 -((( 24 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 -))) 26 26 27 -((( 28 28 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 -))) 30 30 31 -((( 32 32 PS-LB supports BLE configure and wireless OTA update which make user easy to use. 33 -))) 34 34 35 -((( 36 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 -))) 38 38 39 -((( 40 40 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 -))) 42 42 43 43 [[image:1675071321348-194.png]] 44 44 45 45 34 + 46 46 == 1.2 Features == 47 47 48 48 ... ... @@ -58,7 +58,6 @@ 58 58 * Uplink on periodically 59 59 * Downlink to change configure 60 60 * 8500mAh Battery for long term use 61 -* Controllable 3.3v,5v and 12v output to power external sensor 62 62 63 63 == 1.3 Specification == 64 64 ... ... @@ -133,8 +133,11 @@ 133 133 * Measuring Range: Measure range can be customized, up to 100m. 134 134 * Accuracy: 0.2% F.S 135 135 * Long-Term Stability: ±0.2% F.S / Year 124 +* Overload 200% F.S 125 +* Zero Temperature Drift: ±2% F.S) 126 +* FS Temperature Drift: ±2% F.S 136 136 * Storage temperature: -30℃~~80℃ 137 -* Operating temperature: 0℃~~5 0℃128 +* Operating temperature: -40℃~~85℃ 138 138 * Material: 316 stainless steels 139 139 140 140 == 1.5 Probe Dimension == ... ... @@ -141,6 +141,7 @@ 141 141 142 142 143 143 135 + 144 144 == 1.6 Application and Installation == 145 145 146 146 === 1.6.1 Thread Installation Type === ... ... @@ -194,18 +194,18 @@ 194 194 [[image:1675071855856-879.png]] 195 195 196 196 197 -(% border="1" cellspacing="4" style="width:510px" %) 198 -|=(% style="width: 1 67px;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" %)(((189 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 190 +|=(% style="width: 150px;" %)**Behavior on ACT**|=(% style="width: 90px;" %)**Function**|=**Action** 191 +|(% style="width:260px" %)Pressing ACT between 1s < time < 3s|(% style="width:100px" %)Send an uplink|((( 200 200 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 201 201 Meanwhile, BLE module will be active and user can connect via BLE to configure device. 202 202 ))) 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.195 +|(% style="width:138px" %)Pressing ACT for more than 3s|(% style="width:100px" %)Active Device|((( 196 +(% 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. 197 +(% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 206 206 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. 207 207 ))) 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"%)**Redled**(%%)will solid on for 5 seconds. Means PS-LB-NAis in Deep Sleep Mode.200 +|(% 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. 209 209 210 210 == 1.9 Pin Mapping == 211 211 ... ... @@ -231,6 +231,8 @@ 231 231 == 1.11 Mechanical == 232 232 233 233 226 + 227 + 234 234 [[image:1675143884058-338.png]] 235 235 236 236 ... ... @@ -248,6 +248,7 @@ 248 248 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. 249 249 250 250 245 + 251 251 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == 252 252 253 253 ... ... @@ -301,8 +301,18 @@ 301 301 After join success, it will start to upload messages to TTN and you can see the messages in the panel. 302 302 303 303 299 + 304 304 == 2.3 Uplink Payload == 305 305 302 + 303 +Uplink payloads have two types: 304 + 305 +* Distance Value: Use FPORT=2 306 +* Other control commands: Use other FPORT fields. 307 + 308 +The application server should parse the correct value based on FPORT settings. 309 + 310 + 306 306 === 2.3.1 Device Status, FPORT~=5 === 307 307 308 308 ... ... @@ -311,10 +311,10 @@ 311 311 Users can also use the downlink command(0x26 01) to ask PS-LB to resend this uplink. 312 312 313 313 314 -(% border="1" cellspacing="4" style="width:510px" %) 315 -|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0"%)**Device Status (FPORT=5)**316 -|(% 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**317 -|(% 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" %)BAT319 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 320 +|(% colspan="6" %)**Device Status (FPORT=5)** 321 +|(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|**1**|**1**|**2** 322 +|(% style="width:103px" %)**Value**|(% style="width:72px" %)Sensor Model|Firmware Version|Frequency Band|Sub-band|BAT 318 318 319 319 Example parse in TTNv3 320 320 ... ... @@ -380,15 +380,16 @@ 380 380 Uplink payload includes in total 9 bytes. 381 381 382 382 383 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)388 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 384 384 |(% style="width:97px" %)((( 385 385 **Size(bytes)** 386 386 )))|(% style="width:48px" %)**2**|(% style="width:71px" %)**2**|(% style="width:98px" %)**2**|(% style="width:73px" %)**2**|(% style="width:122px" %)**1** 387 -|(% 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"]]392 +|(% style="width:97px" %)**Value**|(% style="width:48px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:71px" %)[[Probe Model>>||anchor="H2.3.4ProbeModel"]]|(% style="width:98px" %)[[0 ~~~~ 20mA value>>||anchor="H2.3.507E20mAvalue28IDC_IN29"]]|(% style="width:73px" %)[[0 ~~~~ 30v value>>||anchor="H2.3.607E30Vvalue28pinVDC_IN29"]]|(% style="width:122px" %)[[IN1 &IN2 Interrupt flag>>||anchor="H2.3.7IN126IN226INTpin"]] 388 388 389 389 [[image:1675144608950-310.png]] 390 390 391 391 397 + 392 392 === 2.3.3 Battery Info === 393 393 394 394 ... ... @@ -402,24 +402,23 @@ 402 402 === 2.3.4 Probe Model === 403 403 404 404 405 -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.411 +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. 406 406 407 407 408 - **For example.**414 +For example. 409 409 410 -(% border="1" cellspacing="4" style="width:510px" %) 411 -|(% style="background-color:#d9e2f3; color:#0070c0" %)**Part Number**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Probe Used**|(% style="background-color:#d9e2f3; color:#0070c0" %)**4~~20mA scale**|(% style="background-color:#d9e2f3; color:#0070c0" %)**Example: 12mA meaning** 412 -|(% style="background-color:#f2f2f2" %)PS-LB-I3|(% style="background-color:#f2f2f2" %)immersion type with 3 meters cable|(% style="background-color:#f2f2f2" %)0~~3 meters|(% style="background-color:#f2f2f2" %)1.5 meters pure water 413 -|(% style="background-color:#f2f2f2" %)PS-LB-I5|(% style="background-color:#f2f2f2" %)immersion type with 5 meters cable|(% style="background-color:#f2f2f2" %)0~~5 meters|(% style="background-color:#f2f2f2" %)2.5 meters pure water 414 -|(% style="background-color:#f2f2f2" %)PS-LB-T20-B|(% style="background-color:#f2f2f2" %)T20 threaded probe|(% style="background-color:#f2f2f2" %)0~~1MPa|(% style="background-color:#f2f2f2" %)0.5MPa air / gas or water pressure 416 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 417 +|(% style="width:111px" %)**Part Number**|(% style="width:158px" %)**Probe Used**|**0~~20mA scale**|**Example: 10mA meaning** 418 +|(% style="width:111px" %)PS-LB-I3|(% style="width:158px" %)immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water 419 +|(% style="width:111px" %)PS-LB-I5|(% style="width:158px" %)immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water 415 415 416 -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.421 +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 417 418 418 419 419 === 2.3.5 0~~20mA value (IDC_IN) === 420 420 421 421 422 -The output value from **Pressure Probe**, use together with Probe Model to get the pressure value or water level.427 +The output value from Pressure Probe, use together with Probe Model to get the pressure value or water level. 423 423 424 424 (% style="color:#037691" %)**Example**: 425 425 ... ... @@ -426,11 +426,6 @@ 426 426 27AE(H) = 10158 (D)/1000 = 10.158mA. 427 427 428 428 429 -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: 430 - 431 -[[image:image-20230225154759-1.png||height="408" width="741"]] 432 - 433 - 434 434 === 2.3.6 0~~30V value ( pin VDC_IN) === 435 435 436 436 ... ... @@ -464,27 +464,9 @@ 464 464 0x01: Interrupt Uplink Packet. 465 465 466 466 467 -=== (%id="cke_bm_109176S"style="display:none"%) (%%)2.3.8 Sensorvalue, FPORT~=7===467 +=== 2.3.8 Decode payload in The Things Network === 468 468 469 469 470 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:508.222px" %) 471 -|(% style="width:94px" %)((( 472 -**Size(bytes)** 473 -)))|(% style="width:43px" %)2|(% style="width:367px" %)n 474 -|(% style="width:94px" %)**Value**|(% style="width:43px" %)[[BAT>>||anchor="H2.3.4BatteryInfo"]]|(% style="width:367px" %)((( 475 -Voltage value, each 2 bytes is a set of voltage values. 476 -))) 477 - 478 -[[image:image-20230220171300-1.png||height="207" width="863"]] 479 - 480 -Multiple sets of data collected are displayed in this form: 481 - 482 -[voltage value1], [voltage value2], [voltage value3],…[voltage value n/2] 483 - 484 - 485 -=== 2.3.9 Decode payload in The Things Network === 486 - 487 - 488 488 While using TTN network, you can add the payload format to decode the payload. 489 489 490 490 ... ... @@ -540,6 +540,7 @@ 540 540 [[image:1675145060812-420.png]] 541 541 542 542 525 + 543 543 After added, the sensor data arrive TTN, it will also arrive and show in Datacake. 544 544 545 545 ... ... @@ -562,19 +562,18 @@ 562 562 [[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]] 563 563 564 564 565 -= 3. Configure PS-LB = 566 566 567 -= =3.1ConfigureMethods==549 += 3. Configure PS-LB via AT Command or LoRaWAN Downlink = 568 568 569 569 570 - PS-LB-NAsupports belowconfiguremethod:552 +Use can configure PS-LB via AT Command or LoRaWAN Downlink. 571 571 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. 554 +* AT Command Connection: See [[FAQ>>||anchor="H7.FAQ"]]. 555 +* LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 575 575 576 - == 3.2 GeneralCommands==557 +There are two kinds of commands to configure PS-LB, they are: 577 577 559 +* (% style="color:#037691" %)**General Commands**. 578 578 579 579 These commands are to configure: 580 580 ... ... @@ -581,18 +581,17 @@ 581 581 * General system settings like: uplink interval. 582 582 * LoRaWAN protocol & radio related command. 583 583 584 -They are same for all Dragino Device swhich support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:566 +They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: 585 585 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/]]568 +[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 587 587 588 588 571 +* (% style="color:#037691" %)**Commands special design for PS-LB** 589 589 590 -== 3.3 Commands special design for PS-LB == 591 - 592 592 These commands only valid for PS-LB, as below: 593 593 594 594 595 -== =3.3.1 Set Transmit Interval Time ===576 +== 3.1 Set Transmit Interval Time == 596 596 597 597 598 598 Feature: Change LoRaWAN End Node Transmit Interval. ... ... @@ -599,14 +599,14 @@ 599 599 600 600 (% style="color:blue" %)**AT Command: AT+TDC** 601 601 602 -(% border="1" cellspacing="4" style="width:510px" %) 603 -|=(% style="width: 16 0px;background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Command Example**|=(% style="width: 160px;background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)**Function**|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)**Response**604 -|(% style=" background-color:#f2f2f2;width:157px" %)AT+TDC=?|(% style="background-color:#f2f2f2;width:166px" %)Show current transmit Interval|(% style="background-color:#f2f2f2" %)(((583 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 584 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response** 585 +|(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 605 605 30000 606 606 OK 607 607 the interval is 30000ms = 30s 608 608 ))) 609 -|(% style=" background-color:#f2f2f2;width:157px" %)AT+TDC=60000|(% style="background-color:#f2f2f2;width:166px" %)Set Transmit Interval|(% style="background-color:#f2f2f2" %)(((590 +|(% style="width:156px" %)AT+TDC=60000|(% style="width:137px" %)Set Transmit Interval|((( 610 610 OK 611 611 Set transmit interval to 60000ms = 60 seconds 612 612 ))) ... ... @@ -615,12 +615,12 @@ 615 615 616 616 Format: Command Code (0x01) followed by 3 bytes time value. 617 617 618 -If the downlink payload=0100003C, it means set the END Node 's Transmit Interval to 0x00003C=60(S), while type code is 01.599 +If the downlink payload=0100003C, it means set the END Node’s Transmit Interval to 0x00003C=60(S), while type code is 01. 619 619 620 -* Example 1: Downlink Payload: 0100001E 621 -* Example 2: Downlink Payload: 0100003C 601 +* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 602 +* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 622 622 623 -== =3.3.2 Set Interrupt Mode ===604 +== 3.2 Set Interrupt Mode == 624 624 625 625 626 626 Feature, Set Interrupt mode for GPIO_EXIT. ... ... @@ -627,20 +627,20 @@ 627 627 628 628 (% style="color:blue" %)**AT Command: AT+INTMOD** 629 629 630 -(% border="1" cellspacing="4" style="width:510px" %) 631 -|= (% style="width: 154px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3;color:#0070C0" %)**Response**632 -| (% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=?|(% style="background-color:#f2f2f2; width:196px" %)Show current interrupt mode|(% style="background-color:#f2f2f2; width:157px" %)(((611 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 612 +|=**Command Example**|=**Function**|=**Response** 613 +|AT+INTMOD=?|Show current interrupt mode|((( 633 633 0 634 634 OK 635 -the mode is 0 = DisableInterrupt616 +the mode is 0 = No interruption 636 636 ))) 637 -| (% style="background-color:#f2f2f2; width:154px" %)AT+INTMOD=2|(% style="background-color:#f2f2f2; width:196px" %)(((618 +|AT+INTMOD=2|((( 638 638 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="background-color:#f2f2f2; width:157px" %)OK620 +~1. (Disable Interrupt), 621 +2. (Trigger by rising and falling edge) 622 +3. (Trigger by falling edge) 623 +4. (Trigger by rising edge) 624 +)))|OK 644 644 645 645 (% style="color:blue" %)**Downlink Command: 0x06** 646 646 ... ... @@ -648,10 +648,10 @@ 648 648 649 649 This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06. 650 650 651 -* Example 1: Downlink Payload: 06000000 652 -* Example 2: Downlink Payload: 06000003 632 +* Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 633 +* Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 653 653 654 -== =3.3.3Set the output time ===635 +== 3.3 Set the output time == 655 655 656 656 657 657 Feature, Control the output 3V3 , 5V or 12V. ... ... @@ -658,52 +658,52 @@ 658 658 659 659 (% style="color:blue" %)**AT Command: AT+3V3T** 660 660 661 -(% border="1" cellspacing="4" style="width:474px" %) 662 -|=(% style="width: 154px; background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 201px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 116px;background-color:#D9E2F3;color:#0070C0" %)**Response**663 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+3V3T=?|(% style="background-color:#f2f2f2;width:201px" %)Show 3V3 open time.|(% style="background-color:#f2f2f2;width:116px" %)(((642 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:474px" %) 643 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 201px;" %)**Function**|=(% style="width: 116px;" %)**Response** 644 +|(% style="width:154px" %)AT+3V3T=?|(% style="width:201px" %)Show 3V3 open time.|(% style="width:116px" %)((( 664 664 0 665 665 OK 666 666 ))) 667 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+3V3T=0|(% style="background-color:#f2f2f2;width:201px" %)Normally open 3V3 power supply.|(% style="background-color:#f2f2f2;width:116px" %)(((648 +|(% style="width:154px" %)AT+3V3T=0|(% style="width:201px" %)Normally open 3V3 power supply.|(% style="width:116px" %)((( 668 668 OK 669 669 default setting 670 670 ))) 671 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+3V3T=1000|(% style="background-color:#f2f2f2;width:201px" %)Close after a delay of 1000 milliseconds.|(% style="background-color:#f2f2f2;width:116px" %)(((652 +|(% style="width:154px" %)AT+3V3T=1000|(% style="width:201px" %)Close after a delay of 1000 milliseconds.|(% style="width:116px" %)((( 672 672 OK 673 673 ))) 674 -|(% style=" background-color:#f2f2f2;width:154px" %)AT+3V3T=65535|(% style="background-color:#f2f2f2;width:201px" %)Normally closed 3V3 power supply.|(% style="background-color:#f2f2f2;width:116px" %)(((655 +|(% style="width:154px" %)AT+3V3T=65535|(% style="width:201px" %)Normally closed 3V3 power supply.|(% style="width:116px" %)((( 675 675 OK 676 676 ))) 677 677 678 678 (% style="color:blue" %)**AT Command: AT+5VT** 679 679 680 -(% border="1" cellspacing="4" style="width:470px" %) 681 -|=(% style="width: 155px; background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 114px;background-color:#D9E2F3;color:#0070C0" %)**Response**682 -|(% style=" background-color:#f2f2f2;width:155px" %)AT+5VT=?|(% style="background-color:#f2f2f2;width:196px" %)Show 5V open time.|(% style="background-color:#f2f2f2;width:114px" %)(((661 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:470px" %) 662 +|=(% style="width: 155px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 114px;" %)**Response** 663 +|(% style="width:155px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:114px" %)((( 683 683 0 684 684 OK 685 685 ))) 686 -|(% style=" background-color:#f2f2f2;width:155px" %)AT+5VT=0|(% style="background-color:#f2f2f2;width:196px" %)Normally closed 5V power supply.|(% style="background-color:#f2f2f2;width:114px" %)(((667 +|(% style="width:155px" %)AT+5VT=0|(% style="width:196px" %)Normally closed 5V power supply.|(% style="width:114px" %)((( 687 687 OK 688 688 default setting 689 689 ))) 690 -|(% style=" background-color:#f2f2f2;width:155px" %)AT+5VT=1000|(% style="background-color:#f2f2f2;width:196px" %)Close after a delay of 1000 milliseconds.|(% style="background-color:#f2f2f2;width:114px" %)(((671 +|(% style="width:155px" %)AT+5VT=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:114px" %)((( 691 691 OK 692 692 ))) 693 -|(% style=" background-color:#f2f2f2;width:155px" %)AT+5VT=65535|(% style="background-color:#f2f2f2;width:196px" %)Normally open 5V power supply.|(% style="background-color:#f2f2f2;width:114px" %)(((674 +|(% style="width:155px" %)AT+5VT=65535|(% style="width:196px" %)Normally open 5V power supply.|(% style="width:114px" %)((( 694 694 OK 695 695 ))) 696 696 697 697 (% style="color:blue" %)**AT Command: AT+12VT** 698 698 699 -(% border="1" cellspacing="4" style="width:443px" %) 700 -|=(% style="width: 156px; background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 199px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 83px;background-color:#D9E2F3;color:#0070C0" %)**Response**701 -|(% style=" background-color:#f2f2f2;width:156px" %)AT+12VT=?|(% style="background-color:#f2f2f2;width:199px" %)Show 12V open time.|(% style="background-color:#f2f2f2;width:83px" %)(((680 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:443px" %) 681 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 199px;" %)**Function**|=(% style="width: 83px;" %)**Response** 682 +|(% style="width:156px" %)AT+12VT=?|(% style="width:199px" %)Show 12V open time.|(% style="width:83px" %)((( 702 702 0 703 703 OK 704 704 ))) 705 -|(% style=" background-color:#f2f2f2;width:156px" %)AT+12VT=0|(% style="background-color:#f2f2f2;width:199px" %)Normally closed 12V power supply.|(% style="background-color:#f2f2f2;width:83px" %)OK706 -|(% style=" background-color:#f2f2f2;width:156px" %)AT+12VT=500|(% style="background-color:#f2f2f2;width:199px" %)Close after a delay of 500 milliseconds.|(% style="background-color:#f2f2f2;width:83px" %)(((686 +|(% style="width:156px" %)AT+12VT=0|(% style="width:199px" %)Normally closed 12V power supply.|(% style="width:83px" %)OK 687 +|(% style="width:156px" %)AT+12VT=500|(% style="width:199px" %)Close after a delay of 500 milliseconds.|(% style="width:83px" %)((( 707 707 OK 708 708 ))) 709 709 ... ... @@ -713,118 +713,146 @@ 713 713 714 714 The first byte is which power, the second and third bytes are the time to turn on. 715 715 716 -* Example 1: Downlink Payload: 070101F4 **~-~-->**717 -* Example 2: Downlink Payload: 0701FFFF **~-~-->**AT+3V3T=65535718 -* Example 3: Downlink Payload: 070203E8 **~-~-->**AT+5VT=1000719 -* Example 4: Downlink Payload: 07020000 **~-~-->**AT+5VT=0720 -* Example 5: Downlink Payload: 070301F4 **~-~-->**AT+12VT=500721 -* Example 6: Downlink Payload: 07030000 **~-~-->**AT+12VT=0697 +* Example 1: Downlink Payload: 070101F4 -> AT+3V3T=500 698 +* Example 2: Downlink Payload: 0701FFFF -> AT+3V3T=65535 699 +* Example 3: Downlink Payload: 070203E8 -> AT+5VT=1000 700 +* Example 4: Downlink Payload: 07020000 -> AT+5VT=0 701 +* Example 5: Downlink Payload: 070301F4 -> AT+12VT=500 702 +* Example 6: Downlink Payload: 07030000 -> AT+12VT=0 722 722 723 -== =3.3.4 Set the Probe Model ===704 +== 3.4 Set the Probe Model == 724 724 725 725 726 - Usersneed to configure thisparameter according to the type of externalprobe. In this way, the servercan decode according to this value, and convert the current valueoutputby the sensor into waterdepthorpressure value.707 +(% style="color:blue" %)**AT Command: AT** **+PROBE** 727 727 728 -**AT Command: AT** **+PROBE** 709 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:448px" %) 710 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 204px;" %)**Function**|=(% style="width: 85px;" %)**Response** 711 +|(% style="width:154px" %)AT +PROBE =?|(% style="width:204px" %)Get or Set the probe model.|(% style="width:85px" %)((( 712 +0 713 +OK 714 +))) 715 +|(% style="width:154px" %)AT +PROBE =0003|(% style="width:204px" %)Set water depth sensor mode, 3m type.|(% style="width:85px" %)OK 716 +|(% style="width:154px" %)AT +PROBE =0101|(% style="width:204px" %)Set pressure transmitters mode, first type.|(% style="width:85px" %)((( 717 +OK 718 +))) 719 +|(% style="width:154px" %)AT +PROBE =0000|(% style="width:204px" %)Initial state, no settings.|(% style="width:85px" %)((( 720 +OK 721 +))) 729 729 730 - AT+PROBE=aabb723 +(% style="color:blue" %)**Downlink Command: 0x08** 731 731 732 - Whenaa=00, itis the waterdepthmode,andthe current is converted intothewaterdepthvalue;bbisthe probe ata depth ofseveral meters.725 +Format: Command Code (0x08) followed by 2 bytes. 733 733 734 -When aa=01, it is the pressure mode, which converts the current into a pressure value; 727 +* Example 1: Downlink Payload: 080003 -> AT+PROBE=0003 728 +* Example 2: Downlink Payload: 080101 -> AT+PROBE=0101 735 735 736 - bbrepresentswhichtypeofpressuresensor it is.730 += 4. Battery & how to replace = 737 737 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)732 +== 4.1 Battery Type == 739 739 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 747 747 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 735 +PS-LB is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>https://www.dropbox.com/sh/w9l2oa3ytpculph/AAAPtt-apH4lYfCj-2Y6lHvQa?dl=0]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter. 752 752 753 -**Downlink Command: 0x08** 754 754 755 - Format:CommandCode(0x08)followedby2bytes.738 +The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance. 756 756 757 -* Example 1: Downlink Payload: 080003 **~-~-->** AT+PROBE=0003 758 -* Example 2: Downlink Payload: 080101 **~-~-->** AT+PROBE=0101 740 +[[image:1675146710956-626.png]] 759 759 760 -=== 3.3.5 Multiple collections are one uplink(Since firmware V1.1) === 761 761 743 +Minimum Working Voltage for the PS-LB: 762 762 763 - Added AT+STDCcommand to collect thevoltageofVDC_INPUT multiple times and upload it at one time.745 +PS-LB: 2.45v ~~ 3.6v 764 764 765 -(% style="color:blue" %)**AT Command: AT** **+STDC** 766 766 767 - AT+STDC=aa,bb,bb748 +== 4.2 Replace Battery == 768 768 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 774 774 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 751 +Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery. 781 781 782 -OK 783 -))) 784 -|AT+STDC=0, 0,0|((( 785 -Use the TDC interval to send packets.(default) 753 +And make sure the positive and negative pins match. 786 786 787 - 788 -)))|((( 789 -Attention:Take effect after ATZ 790 790 791 -OK 792 -))) 756 +== 4.3 Power Consumption Analyze == 793 793 794 -(% style="color:blue" %)**Downlink Command: 0xAE** 795 795 796 - Format:CommandCode(0x08)followedby5bytes.759 +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. 797 797 798 -* Example 1: Downlink Payload: AE 01 02 58 12** ~-~-->** AT+STDC=1,600,18 799 799 800 - = 4. Battery & Power Consumption=762 +Instruction to use as below: 801 801 802 -PS-LB-NA uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 803 803 804 - [[**BatteryInfo & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]].765 +(% style="color:blue" %)**Step 1:**(%%) Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from: 805 805 767 +[[https:~~/~~/www.dropbox.com/sh/zwex6i331j5oeq2/AACIMf9f_v2qsJ39CuMQ5Py_a?dl=0>>https://www.dropbox.com/sh/zwex6i331j5oeq2/AACIMf9f_v2qsJ39CuMQ5Py_a?dl=0]] 806 806 807 -= 5. OTA firmware update = 808 808 770 +(% style="color:blue" %)**Step 2:**(%%) Open it and choose 809 809 772 +* Product Model 773 +* Uplink Interval 774 +* Working Mode 775 + 776 +And the Life expectation in difference case will be shown on the right. 777 + 778 +[[image:1675146895108-304.png]] 779 + 780 + 781 +The battery related documents as below: 782 + 783 +* [[Battery Dimension>>https://www.dropbox.com/s/ox5g9njwjle7aw3/LSN50-Battery-Dimension.pdf?dl=0]], 784 +* [[Lithium-Thionyl Chloride Battery datasheet, Tech Spec>>https://www.dropbox.com/sh/d4oyfnp8o94180o/AABQewCNSh5GPeQH86UxRgQQa?dl=0]] 785 +* [[Lithium-ion Battery-Capacitor datasheet>>https://www.dropbox.com/s/791gjes2lcbfi1p/SPC_1520_datasheet.jpg?dl=0]], [[Tech Spec>>https://www.dropbox.com/s/4pkepr9qqqvtzf2/SPC1520%20Technical%20Specification20171123.pdf?dl=0]] 786 + 787 +[[image:image-20230131145708-3.png]] 788 + 789 + 790 +=== 4.3.1 Battery Note === 791 + 792 + 793 +The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased. 794 + 795 + 796 +=== 4.3.2 Replace the battery === 797 + 798 + 799 +You can change the battery in the PS-LB.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won't be voltage drop between battery and main board. 800 + 801 +The default battery pack of PS-LB includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes) 802 + 803 + 804 += 5. Remote Configure device = 805 + 806 +== 5.1 Connect via BLE == 807 + 808 + 809 +Please see this instruction for how to configure via BLE: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]] 810 + 811 + 812 +== 5.2 AT Command Set == 813 + 814 + 815 + 816 += 6. OTA firmware update = 817 + 818 + 810 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/]] 811 811 812 812 813 -= 6. FAQ =822 += 7. FAQ = 814 814 815 -== 6.1 How to use AT Commandvia UARTto access device? ==824 +== 7.1 How to use AT Command to access device? == 816 816 817 817 818 818 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]] 819 819 820 820 821 -== 6.2 How to update firmware via UART port? ==830 +== 7.2 How to update firmware via UART port? == 822 822 823 823 824 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]] 825 825 826 826 827 -== 6.3 How to change the LoRa Frequency Bands/Region? ==836 +== 7.3 How to change the LoRa Frequency Bands/Region? == 828 828 829 829 830 830 You can follow the instructions for [[how to upgrade image>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]. ... ... @@ -831,13 +831,13 @@ 831 831 When downloading the images, choose the required image file for download. 832 832 833 833 834 -= 7. Order Info =843 += 8. Order Info = 835 835 836 836 837 837 [[image:image-20230131153105-4.png]] 838 838 839 839 840 -= 8. Packing Info =849 += 9. Packing Info = 841 841 842 842 843 843 (% style="color:#037691" %)**Package Includes**: ... ... @@ -851,7 +851,7 @@ 851 851 * Package Size / pcs : cm 852 852 * Weight / pcs : g 853 853 854 -= 9. Support =863 += 10. Support = 855 855 856 856 857 857 * 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.
- image-20230201090514-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -560.9 KB - Content
- image-20230220171300-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -98.0 KB - Content
- image-20230222174559-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Bei - Size
-
... ... @@ -1,1 +1,0 @@ 1 -19.4 KB - Content
- image-20230225154759-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -468.9 KB - Content