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

From version 45.5
edited by Xiaoling
on 2023/02/21 15:33
Change comment: There is no comment for this version
To version 47.1
edited by Bei Jinggeng
on 2023/02/22 17:55
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.Bei
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  == 1.3 Specification ==
... ... @@ -310,15 +310,6 @@
310 310  
311 311  == 2.3 ​Uplink Payload ==
312 312  
313 -
314 -Uplink payloads have two types:
315 -
316 -* Distance Value: Use FPORT=2
317 -* Other control commands: Use other FPORT fields.
318 -
319 -The application server should parse the correct value based on FPORT settings.
320 -
321 -
322 322  === 2.3.1 Device Status, FPORT~=5 ===
323 323  
324 324  
... ... @@ -405,23 +405,12 @@
405 405  [[image:1675144608950-310.png]]
406 406  
407 407  
408 -=== 2.3.3 Sensor value, FPORT~=7 ===
400 +=== ===
409 409  
410 410  
411 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:508.222px" %)
412 -|(% style="width:94px" %)(((
413 -**Size(bytes)**
414 -)))|(% style="width:43px" %)2|(% style="width:367px" %)n
415 -|(% style="width:94px" %)**Value**|(% style="width:43px" %)[[BAT>>||anchor="H2.3.4BatteryInfo"]]|(% style="width:367px" %)(((
416 -Voltage value, each 2 bytes is a set of voltage values.
417 -)))
403 +=== 2.3.3 Battery Info ===
418 418  
419 -[[image:image-20230220171300-1.png||height="207" width="863"]]
420 420  
421 -
422 -=== 2.3.4 Battery Info ===
423 -
424 -
425 425  Check the battery voltage for PS-LB.
426 426  
427 427  Ex1: 0x0B45 = 2885mV
... ... @@ -429,25 +429,28 @@
429 429  Ex2: 0x0B49 = 2889mV
430 430  
431 431  
432 -=== 2.3.5 Probe Model ===
413 +=== 2.3.4 Probe Model ===
433 433  
434 434  
435 -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. 
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. 
436 436  
437 437  
438 438  For example.
439 439  
440 440  (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
441 -|(% style="width:111px" %)**Part Number**|(% style="width:158px" %)**Probe Used**|**0~~20mA scale**|**Example: 10mA meaning**
442 -|(% style="width:111px" %)PS-LB-I3|(% style="width:158px" %)immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water
443 -|(% style="width:111px" %)PS-LB-I5|(% style="width:158px" %)immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water
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 444  
445 -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.
427 +
446 446  
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.
447 447  
448 -=== 2.3.6 0~~20mA value (IDC_IN) ===
449 449  
432 +=== 2.3.5 0~~20mA value (IDC_IN) ===
450 450  
434 +
451 451  The output value from Pressure Probe, use together with Probe Model to get the pressure value or water level.
452 452  
453 453  (% style="color:#037691" %)**Example**:
... ... @@ -455,7 +455,7 @@
455 455  27AE(H) = 10158 (D)/1000 = 10.158mA.
456 456  
457 457  
458 -=== 2.3.7 0~~30V value ( pin VDC_IN) ===
442 +=== 2.3.6 0~~30V value ( pin VDC_IN) ===
459 459  
460 460  
461 461  Measure the voltage value. The range is 0 to 30V.
... ... @@ -465,7 +465,7 @@
465 465  138E(H) = 5006(D)/1000= 5.006V
466 466  
467 467  
468 -=== 2.3.8 IN1&IN2&INT pin ===
452 +=== 2.3.7 IN1&IN2&INT pin ===
469 469  
470 470  
471 471  IN1 and IN2 are used as digital input pins.
... ... @@ -487,7 +487,24 @@
487 487  
488 488  0x01: Interrupt Uplink Packet.
489 489  
474 +=== (% id="cke_bm_109176S" style="display:none" %) (%%)2.3.8 Sensor value, FPORT~=7 ===
490 490  
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 +
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 +
491 491  === 2.3.9 ​Decode payload in The Things Network ===
492 492  
493 493  
... ... @@ -568,7 +568,6 @@
568 568  [[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]]
569 569  
570 570  
571 -
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 = No interruption
640 +the mode is 0 =Disable Interrupt
641 641  )))
642 642  |(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)(((
643 643  Set Transmit Interval
644 -~1. (Disable Interrupt),
645 -2. (Trigger by rising and falling edge)
646 -3. (Trigger by falling edge)
647 -4. (Trigger by rising edge)
644 +0. (Disable Interrupt),
645 +~1. (Trigger by rising and falling edge)
646 +2. (Trigger by falling edge)
647 +3. (Trigger by rising edge)
648 648  )))|(% style="width:157px" %)OK
649 649  
650 650  (% style="color:blue" %)**Downlink Command: 0x06**
... ... @@ -730,28 +730,41 @@
730 730  == 3.4 Set the Probe Model ==
731 731  
732 732  
733 -(% style="color:blue" %)**AT Command: AT** **+PROBE**
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.
734 734  
735 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:448px" %)
736 -|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 204px;" %)**Function**|=(% style="width: 85px;" %)**Response**
737 -|(% style="width:154px" %)AT +PROBE =?|(% style="width:204px" %)Get or Set the probe model.|(% style="width:85px" %)(((
738 -0
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
739 739  OK
740 -)))
741 -|(% style="width:154px" %)AT +PROBE =0003|(% style="width:204px" %)Set water depth sensor mode, 3m type.|(% style="width:85px" %)OK
742 -|(% style="width:154px" %)AT +PROBE =0101|(% style="width:204px" %)Set pressure transmitters mode, first type.|(% style="width:85px" %)(((
743 -OK
744 -)))
745 -|(% style="width:154px" %)AT +PROBE =0000|(% style="width:204px" %)Initial state, no settings.|(% style="width:85px" %)(((
746 -OK
747 -)))
751 +|AT +PROBE =0003|Set water depth sensor mode, 3m type.|OK
752 +|(((
753 +AT +PROBE =000A
748 748  
749 -(% style="color:blue" %)**Downlink Command: 0x08**
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
750 750  
760 +
761 +
762 +**Downlink Command: 0x08**
763 +
751 751  Format: Command Code (0x08) followed by 2 bytes.
752 752  
753 -* Example 1: Downlink Payload: 080003  **~-~-->**  AT+PROBE=0003
754 -* Example 2: Downlink Payload: 080101  **~-~-->**  AT+PROBE=0101
766 +* Example 1: Downlink Payload: 080003  **~-~-->**  AT+PROBE=0003
767 +* Example 2: Downlink Payload: 080101  **~-~-->**  AT+PROBE=0101
755 755  
756 756  
757 757  == 3.5 Multiple collections are one uplink(Since firmware V1.1) ==
... ... @@ -761,23 +761,35 @@
761 761  
762 762  (% style="color:blue" %)**AT Command: AT** **+STDC**
763 763  
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 +
764 764  (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
765 -|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response**
766 -|(% style="width:156px" %)AT+STDC=?|(% style="width:137px" %)(((
767 -Get the mode of multiple acquisitions and one uplink
768 -)))|(((
769 -1,10,18
786 +|**Command Example**|**Function**|**Response**
787 +|AT+STDC=?|Get the mode of multiple acquisitions and one uplink.|1,10,18
770 770  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
771 771  )))
772 -|(% style="width:156px" %)AT+STDC=1,10,18|(% style="width:137px" %)Set the mode of multiple acquisitions and one uplink|(((
794 +|AT+STDC=0, 0,0|(((
795 +Use the TDC interval to send packets.(default)
796 +
797 +
798 +)))|(((
799 +Attention:Take effect after ATZ
800 +
773 773  OK
774 -(% style="color:#037691" %)**aa:**(%%)
775 -**0:** means disable this function and use TDC to send packets.
776 -**1:** means enable this function, use the method of multiple acquisitions to send packets.
777 -(% style="color:#037691" %)**bb:**(%%) Each collection interval (s), the value is 1~~65535
778 -(% style="color:#037691" %)**cc: **(%%)the number of collection times, the value is 1~~120
779 779  )))
780 780  
804 +
805 +
781 781  (% style="color:blue" %)**Downlink Command: 0xAE**
782 782  
783 783  Format: Command Code (0x08) followed by 5 bytes.
image-20230222174559-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Bei
Size
... ... @@ -1,0 +1,1 @@
1 +19.4 KB
Content