Changes for page PS-LB/LS -- LoRaWAN Air Water Pressure Sensor User Manual
Last modified by Xiaoling on 2025/04/19 17:58
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Bei1 +XWiki.Xiaoling - Content
-
... ... @@ -58,6 +58,7 @@ 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 61 61 62 62 63 63 ... ... @@ -313,18 +313,8 @@ 313 313 After join success, it will start to upload messages to TTN and you can see the messages in the panel. 314 314 315 315 316 - 317 317 == 2.3 Uplink Payload == 318 318 319 - 320 -Uplink payloads have two types: 321 - 322 -* Distance Value: Use FPORT=2 323 -* Other control commands: Use other FPORT fields. 324 - 325 -The application server should parse the correct value based on FPORT settings. 326 - 327 - 328 328 === 2.3.1 Device Status, FPORT~=5 === 329 329 330 330 ... ... @@ -406,7 +406,7 @@ 406 406 |(% style="width:97px" %)((( 407 407 **Size(bytes)** 408 408 )))|(% style="width:48px" %)**2**|(% style="width:71px" %)**2**|(% style="width:98px" %)**2**|(% style="width:73px" %)**2**|(% style="width:122px" %)**1** 409 -|(% 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"]]400 +|(% 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"]] 410 410 411 411 [[image:1675144608950-310.png]] 412 412 ... ... @@ -424,23 +424,24 @@ 424 424 === 2.3.4 Probe Model === 425 425 426 426 427 -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.418 +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. 428 428 429 429 430 430 For example. 431 431 432 432 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 433 -|(% style="width:111px" %)**Part Number**|(% style="width:158px" %)**Probe Used**|**0~~20mA scale**|**Example: 10mA meaning** 434 -|(% style="width:111px" %)PS-LB-I3|(% style="width:158px" %)immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water 435 -|(% style="width:111px" %)PS-LB-I5|(% style="width:158px" %)immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water 424 +|**Part Number**|**Probe Used**|**4~~20mA scale**|**Example: 12mA meaning** 425 +|PS-LB-I3|immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water 426 +|PS-LB-I5|immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water 427 +|PS-LB-T20-B|T20 threaded probe|0~~1MPa|0.5MPa air / gas or water pressure 436 436 437 -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.429 +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. 438 438 439 439 440 440 === 2.3.5 0~~20mA value (IDC_IN) === 441 441 442 442 443 -The output value from Pressure Probe, use together with Probe Model to get the pressure value or water level. 435 +The output value from **Pressure Probe**, use together with Probe Model to get the pressure value or water level. 444 444 445 445 (% style="color:#037691" %)**Example**: 446 446 ... ... @@ -447,6 +447,11 @@ 447 447 27AE(H) = 10158 (D)/1000 = 10.158mA. 448 448 449 449 442 +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: 443 + 444 +[[image:image-20230225154759-1.png||height="408" width="741"]] 445 + 446 + 450 450 === 2.3.6 0~~30V value ( pin VDC_IN) === 451 451 452 452 ... ... @@ -480,9 +480,27 @@ 480 480 0x01: Interrupt Uplink Packet. 481 481 482 482 483 -=== 2.3.8DecodepayloadTheThingsNetwork===480 +=== (% id="cke_bm_109176S" style="display:none" %) (%%)2.3.8 Sensor value, FPORT~=7 === 484 484 485 485 483 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:508.222px" %) 484 +|(% style="width:94px" %)((( 485 +**Size(bytes)** 486 +)))|(% style="width:43px" %)2|(% style="width:367px" %)n 487 +|(% style="width:94px" %)**Value**|(% style="width:43px" %)[[BAT>>||anchor="H2.3.4BatteryInfo"]]|(% style="width:367px" %)((( 488 +Voltage value, each 2 bytes is a set of voltage values. 489 +))) 490 + 491 +[[image:image-20230220171300-1.png||height="207" width="863"]] 492 + 493 +Multiple sets of data collected are displayed in this form: 494 + 495 +[voltage value1], [voltage value2], [voltage value3],…[voltage value n/2] 496 + 497 + 498 +=== 2.3.9 Decode payload in The Things Network === 499 + 500 + 486 486 While using TTN network, you can add the payload format to decode the payload. 487 487 488 488 ... ... @@ -560,7 +560,6 @@ 560 560 [[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]] 561 561 562 562 563 - 564 564 = 3. Configure PS-LB via AT Command or LoRaWAN Downlink = 565 565 566 566 ... ... @@ -630,14 +630,14 @@ 630 630 |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 631 631 0 632 632 OK 633 -the mode is 0 = Nointerruption647 +the mode is 0 =Disable Interrupt 634 634 ))) 635 635 |(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)((( 636 636 Set Transmit Interval 637 - ~1. (Disable Interrupt),638 - 2. (Trigger by rising and falling edge)639 - 3. (Trigger by falling edge)640 - 4. (Trigger by rising edge)651 +0. (Disable Interrupt), 652 +~1. (Trigger by rising and falling edge) 653 +2. (Trigger by falling edge) 654 +3. (Trigger by rising edge) 641 641 )))|(% style="width:157px" %)OK 642 642 643 643 (% style="color:blue" %)**Downlink Command: 0x06** ... ... @@ -675,7 +675,6 @@ 675 675 OK 676 676 ))) 677 677 678 - 679 679 (% style="color:blue" %)**AT Command: AT+5VT** 680 680 681 681 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:470px" %) ... ... @@ -695,7 +695,6 @@ 695 695 OK 696 696 ))) 697 697 698 - 699 699 (% style="color:blue" %)**AT Command: AT+12VT** 700 700 701 701 (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:443px" %) ... ... @@ -709,7 +709,6 @@ 709 709 OK 710 710 ))) 711 711 712 - 713 713 (% style="color:blue" %)**Downlink Command: 0x07** 714 714 715 715 Format: Command Code (0x07) followed by 3 bytes. ... ... @@ -728,28 +728,81 @@ 728 728 == 3.4 Set the Probe Model == 729 729 730 730 731 - (%style="color:blue"%)**ATCommand:AT****+PROBE**742 +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. 732 732 733 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:448px" %) 734 -|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 204px;" %)**Function**|=(% style="width: 85px;" %)**Response** 735 -|(% style="width:154px" %)AT +PROBE =?|(% style="width:204px" %)Get or Set the probe model.|(% style="width:85px" %)((( 736 -0 744 +**AT Command: AT** **+PROBE** 745 + 746 +AT+PROBE=aabb 747 + 748 +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. 749 + 750 +When aa=01, it is the pressure mode, which converts the current into a pressure value; 751 + 752 +bb represents which type of pressure sensor it is. 753 + 754 +(A->01,B->02,C->03,D->04,E->05,F->06,G->07,H->08,I->09,J->0A,K->0B,L->0C) 755 + 756 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 757 +|**Command Example**|**Function**|**Response** 758 +|AT +PROBE =?|Get or Set the probe model.|0 737 737 OK 738 -))) 739 -|(% style="width:154px" %)AT +PROBE =0003|(% style="width:204px" %)Set water depth sensor mode, 3m type.|(% style="width:85px" %)OK 740 -|(% style="width:154px" %)AT +PROBE =0101|(% style="width:204px" %)Set pressure transmitters mode, first type.|(% style="width:85px" %)((( 760 +|AT +PROBE =0003|Set water depth sensor mode, 3m type.|OK 761 +|((( 762 +AT +PROBE =000A 763 + 764 + 765 +)))|Set water depth sensor mode, 10m type.|OK 766 +|AT +PROBE =0101|Set pressure transmitters mode, first type(A).|OK 767 +|AT +PROBE =0000|Initial state, no settings.|OK 768 + 769 +**Downlink Command: 0x08** 770 + 771 +Format: Command Code (0x08) followed by 2 bytes. 772 + 773 +* Example 1: Downlink Payload: 080003 **~-~-->** AT+PROBE=0003 774 +* Example 2: Downlink Payload: 080101 **~-~-->** AT+PROBE=0101 775 + 776 + 777 + 778 +== 3.5 Multiple collections are one uplink(Since firmware V1.1) == 779 + 780 + 781 +Added AT+STDC command to collect the voltage of VDC_INPUT multiple times and upload it at one time. 782 + 783 +(% style="color:blue" %)**AT Command: AT** **+STDC** 784 + 785 +AT+STDC=aa,bb,bb 786 + 787 +(% style="color:#037691" %)**aa:**(%%) 788 +**0:** means disable this function and use TDC to send packets. 789 +**1:** means enable this function, use the method of multiple acquisitions to send packets. 790 +(% style="color:#037691" %)**bb:**(%%) Each collection interval (s), the value is 1~~65535 791 +(% style="color:#037691" %)**cc:**(%%)** **the number of collection times, the value is 1~~120 792 + 793 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 794 +|**Command Example**|**Function**|**Response** 795 +|AT+STDC=?|Get the mode of multiple acquisitions and one uplink.|1,10,18 741 741 OK 797 +|AT+STDC=1,10,18|Set the mode of multiple acquisitions and one uplink, collect once every 10 seconds, and report after 18 times.|((( 798 +Attention:Take effect after ATZ 799 + 800 +OK 742 742 ))) 743 -|(% style="width:154px" %)AT +PROBE =0000|(% style="width:204px" %)Initial state, no settings.|(% style="width:85px" %)((( 802 +|AT+STDC=0, 0,0|((( 803 +Use the TDC interval to send packets.(default) 804 + 805 + 806 +)))|((( 807 +Attention:Take effect after ATZ 808 + 744 744 OK 745 745 ))) 746 746 747 -(% style="color:blue" %)**Downlink Command: 0x 08**812 +(% style="color:blue" %)**Downlink Command: 0xAE** 748 748 749 -Format: Command Code (0x08) followed by 2bytes.814 +Format: Command Code (0x08) followed by 5 bytes. 750 750 751 -* Example 1: Downlink Payload: 080003 **~-~-->** AT+PROBE=0003 752 -* Example 2: Downlink Payload: 080101 **~-~-->** AT+PROBE=0101 816 +* Example 1: Downlink Payload: AE 01 02 58 12** ~-~-->** AT+STDC=1,600,18 753 753 754 754 755 755 ... ... @@ -889,6 +889,4 @@ 889 889 890 890 * 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]] 891 891 892 - 893 - 894 894
- 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