Last modified by Xiaoling on 2025/06/10 15:28

From version 47.1
edited by Bei Jinggeng
on 2023/02/22 17:55
Change comment: There is no comment for this version
To version 45.1
edited by Bei Jinggeng
on 2023/02/20 17:13
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -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  
64 64  == 1.3 Specification ==
... ... @@ -309,8 +309,18 @@
309 309  After join success, it will start to upload messages to TTN and you can see the messages in the panel.
310 310  
311 311  
311 +
312 312  == 2.3 ​Uplink Payload ==
313 313  
314 +
315 +Uplink payloads have two types:
316 +
317 +* Distance Value: Use FPORT=2
318 +* Other control commands: Use other FPORT fields.
319 +
320 +The application server should parse the correct value based on FPORT settings.
321 +
322 +
314 314  === 2.3.1 Device Status, FPORT~=5 ===
315 315  
316 316  
... ... @@ -392,14 +392,26 @@
392 392  |(% style="width:97px" %)(((
393 393  **Size(bytes)**
394 394  )))|(% style="width:48px" %)**2**|(% style="width:71px" %)**2**|(% style="width:98px" %)**2**|(% style="width:73px" %)**2**|(% style="width:122px" %)**1**
395 -|(% 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"]]
404 +|(% 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"]]
396 396  
397 397  [[image:1675144608950-310.png]]
398 398  
399 399  
400 -=== ===
409 +(% class="wikigeneratedid" %)
410 +=== 2.3.3 Sensor value, FPORT~=7 ===
401 401  
412 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:543px" %)
413 +|(% style="width:99px" %)(((
414 +**Size(bytes)**
415 +)))|(% style="width:63px" %)2|(% style="width:378px" %)n
416 +|(% style="width:99px" %)Value|(% style="width:63px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:378px" %)(((
417 +Voltage value, each 2 bytes is a set of voltage values
418 +)))
402 402  
420 +
421 +[[image:image-20230220171300-1.png||height="207" width="863"]]
422 +
423 +
403 403  === 2.3.3 Battery Info ===
404 404  
405 405  
... ... @@ -410,25 +410,23 @@
410 410  Ex2: 0x0B49 = 2889mV
411 411  
412 412  
434 +
413 413  === 2.3.4 Probe Model ===
414 414  
415 415  
416 -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. 
438 +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. 
417 417  
418 418  
419 419  For example.
420 420  
421 421  (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
422 -|**Part Number**|**Probe Used**|**4~~20mA scale**|**Example: 12mA meaning**
423 -|PS-LB-I3|immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water
424 -|PS-LB-I5|immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water
425 -|PS-LB-T20-B|T20 threaded probe|0~~1MPa|0.5MPa air / gas or water pressure
444 +|(% style="width:111px" %)**Part Number**|(% style="width:158px" %)**Probe Used**|**0~~20mA scale**|**Example: 10mA meaning**
445 +|(% style="width:111px" %)PS-LB-I3|(% style="width:158px" %)immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water
446 +|(% style="width:111px" %)PS-LB-I5|(% style="width:158px" %)immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water
426 426  
427 -
448 +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.
428 428  
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.
430 430  
431 -
432 432  === 2.3.5 0~~20mA value (IDC_IN) ===
433 433  
434 434  
... ... @@ -471,27 +471,10 @@
471 471  
472 472  0x01: Interrupt Uplink Packet.
473 473  
474 -=== (% id="cke_bm_109176S" style="display:none" %) (%%)2.3.8 Sensor value, FPORT~=7 ===
475 475  
494 +=== 2.3.8 ​Decode payload in The Things Network ===
476 476  
477 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:508.222px" %)
478 -|(% style="width:94px" %)(((
479 -**Size(bytes)**
480 -)))|(% style="width:43px" %)2|(% style="width:367px" %)n
481 -|(% style="width:94px" %)**Value**|(% style="width:43px" %)[[BAT>>||anchor="H2.3.4BatteryInfo"]]|(% style="width:367px" %)(((
482 -Voltage value, each 2 bytes is a set of voltage values.
483 -)))
484 484  
485 -[[image:image-20230220171300-1.png||height="207" width="863"]]
486 -
487 -Multiple sets of data collected are displayed in this form:
488 -
489 -[voltage value1], [voltage value2], [voltage value3],…[voltage value n]
490 -
491 -
492 -=== 2.3.9 ​Decode payload in The Things Network ===
493 -
494 -
495 495  While using TTN network, you can add the payload format to decode the payload.
496 496  
497 497  
... ... @@ -569,6 +569,7 @@
569 569  [[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]]
570 570  
571 571  
574 +
572 572  = 3. Configure PS-LB via AT Command or LoRaWAN Downlink =
573 573  
574 574  
... ... @@ -637,14 +637,14 @@
637 637  |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)(((
638 638  0
639 639  OK
640 -the mode is 0 =Disable Interrupt
643 +the mode is 0 = No interruption
641 641  )))
642 642  |(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)(((
643 643  Set Transmit Interval
644 -0. (Disable Interrupt),
645 -~1. (Trigger by rising and falling edge)
646 -2. (Trigger by falling edge)
647 -3. (Trigger by rising edge)
647 +~1. (Disable Interrupt),
648 +2. (Trigger by rising and falling edge)
649 +3. (Trigger by falling edge)
650 +4. (Trigger by rising edge)
648 648  )))|(% style="width:157px" %)OK
649 649  
650 650  (% style="color:blue" %)**Downlink Command: 0x06**
... ... @@ -730,86 +730,64 @@
730 730  == 3.4 Set the Probe Model ==
731 731  
732 732  
733 -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.
736 +(% style="color:blue" %)**AT Command: AT** **+PROBE**
734 734  
735 -**AT Command: AT** **+PROBE**
736 -
737 -AT+PROBE=aabb
738 -
739 -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.
740 -
741 -When aa=01, it is the pressure mode, which converts the current into a pressure value;
742 -
743 -bb represents which type of pressure sensor it is.
744 -
745 -(A->01,B->02,C->03,D->04,E->05,F->06,G->07,H->08,I->09,J->0A,K->0B,L->0C)
746 -
747 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
748 -|**Command Example**|**Function**|**Response**
749 -|AT +PROBE =?|Get or Set the probe model.|0
738 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:448px" %)
739 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 204px;" %)**Function**|=(% style="width: 85px;" %)**Response**
740 +|(% style="width:154px" %)AT +PROBE =?|(% style="width:204px" %)Get or Set the probe model.|(% style="width:85px" %)(((
741 +0
750 750  OK
751 -|AT +PROBE =0003|Set water depth sensor mode, 3m type.|OK
752 -|(((
753 -AT +PROBE =000A
743 +)))
744 +|(% style="width:154px" %)AT +PROBE =0003|(% style="width:204px" %)Set water depth sensor mode, 3m type.|(% style="width:85px" %)OK
745 +|(% style="width:154px" %)AT +PROBE =0101|(% style="width:204px" %)Set pressure transmitters mode, first type.|(% style="width:85px" %)(((
746 +OK
747 +)))
748 +|(% style="width:154px" %)AT +PROBE =0000|(% style="width:204px" %)Initial state, no settings.|(% style="width:85px" %)(((
749 +OK
750 +)))
754 754  
755 -
756 -)))|Set water depth sensor mode, 10m type.|OK
757 -|AT +PROBE =0101|Set pressure transmitters mode, first type(A).|OK
758 -|AT +PROBE =0000|Initial state, no settings.|OK
752 +(% style="color:blue" %)**Downlink Command: 0x08**
759 759  
760 -
761 -
762 -**Downlink Command: 0x08**
763 -
764 764  Format: Command Code (0x08) followed by 2 bytes.
765 765  
766 -* Example 1: Downlink Payload: 080003  **~-~-->**  AT+PROBE=0003
767 -* Example 2: Downlink Payload: 080101  **~-~-->**  AT+PROBE=0101
756 +* Example 1: Downlink Payload: 080003  **~-~-->**  AT+PROBE=0003
757 +* Example 2: Downlink Payload: 080101  **~-~-->**  AT+PROBE=0101
768 768  
769 769  
770 770  == 3.5 Multiple collections are one uplink(Since firmware V1.1) ==
771 771  
772 -
773 773  Added AT+STDC command to collect the voltage of VDC_INPUT multiple times and upload it at one time.
774 774  
775 775  (% style="color:blue" %)**AT Command: AT** **+STDC**
776 776  
777 -AT+STDC=aa,bb,bb
778 -
779 -(% style="color:#037691" %)**aa:**(%%)
780 -**0:** means disable this function and use TDC to send packets.
781 -**1:** means enable this function, use the method of multiple acquisitions to send packets.
782 -(% style="color:#037691" %)**bb:**(%%) Each collection interval (s), the value is 1~~65535
783 -(% style="color:#037691" %)**cc:**(%%)** **the number of collection times, the value is 1~~120
784 -
785 785  (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
786 -|**Command Example**|**Function**|**Response**
787 -|AT+STDC=?|Get the mode of multiple acquisitions and one uplink.|1,10,18
767 +|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response**
768 +|(% style="width:156px" %)AT+STDC=?|(% style="width:137px" %)(((
769 +Get the mode of multiple acquisitions and one uplink
770 +)))|(((
771 +1,10,18
788 788  OK
789 -|AT+STDC=1,10,18|Set the mode of multiple acquisitions and one uplink, collect once every 10 seconds, and report after 18 times.|(((
790 -Attention:Take effect after ATZ
791 -
792 -OK
793 793  )))
794 -|AT+STDC=0, 0,0|(((
795 -Use the TDC interval to send packets.(default)
774 +|(% style="width:156px" %)AT+STDC=1,10,18|(% style="width:137px" %)Set the mode of multiple acquisitions and one uplink|(((
775 +OK
796 796  
797 -
798 -)))|(((
799 -Attention:Take effect after ATZ
777 +aa:
800 800  
801 -OK
802 -)))
779 +0 means disable this function and use TDC to send packets.
803 803  
804 -
781 +1 means enable this function, use the method of multiple acquisitions to send packets.
805 805  
783 +bb: Each collection interval (s), the value is 1~~65535
784 +
785 +cc: the number of collection times, the value is 1~~120
786 +)))
787 +
806 806  (% style="color:blue" %)**Downlink Command: 0xAE**
807 807  
808 808  Format: Command Code (0x08) followed by 5 bytes.
809 809  
810 -* Example 1: Downlink Payload: AE 01 02 58 12** ~-~-->**  AT+STDC=1,600,18
792 +* Example 1: Downlink Payload: AE 01 02 58 12 **~-~-->**  AT+STDC=1,600,18
811 811  
812 -
813 813  = 4. Battery & how to replace =
814 814  
815 815  == 4.1 Battery Type ==
... ... @@ -945,4 +945,5 @@
945 945  
946 946  * 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]]
947 947  
929 +
948 948  
image-20230222174559-1.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Bei
Size
... ... @@ -1,1 +1,0 @@
1 -19.4 KB
Content