<
From version < 45.4 >
edited by Xiaoling
on 2023/02/21 15:29
To version < 50.2 >
edited by Xiaoling
on 2023/02/27 09:26
>
Change comment: There is no comment for this version

Summary

Details

Page properties
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  
... ... @@ -315,15 +315,6 @@
315 315  
316 316  == 2.3 ​Uplink Payload ==
317 317  
318 -
319 -Uplink payloads have two types:
320 -
321 -* Distance Value: Use FPORT=2
322 -* Other control commands: Use other FPORT fields.
323 -
324 -The application server should parse the correct value based on FPORT settings.
325 -
326 -
327 327  === 2.3.1 Device Status, FPORT~=5 ===
328 328  
329 329  
... ... @@ -405,28 +405,14 @@
405 405  |(% style="width:97px" %)(((
406 406  **Size(bytes)**
407 407  )))|(% style="width:48px" %)**2**|(% style="width:71px" %)**2**|(% style="width:98px" %)**2**|(% style="width:73px" %)**2**|(% style="width:122px" %)**1**
408 -|(% 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"]]
409 409  
410 410  [[image:1675144608950-310.png]]
411 411  
412 412  
413 -=== 2.3.3 Sensor value, FPORT~=7 ===
405 +=== 2.3.3 Battery Info ===
414 414  
415 415  
416 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:508.222px" %)
417 -|(% style="width:94px" %)(((
418 -**Size(bytes)**
419 -)))|(% style="width:43px" %)2|(% style="width:367px" %)n
420 -|(% style="width:94px" %)**Value**|(% style="width:43px" %)[[BAT>>||anchor="H2.3.3BatteryInfo"]]|(% style="width:367px" %)(((
421 -Voltage value, each 2 bytes is a set of voltage values.
422 -)))
423 -
424 -[[image:image-20230220171300-1.png||height="207" width="863"]]
425 -
426 -
427 -=== 2.3.4 Battery Info ===
428 -
429 -
430 430  Check the battery voltage for PS-LB.
431 431  
432 432  Ex1: 0x0B45 = 2885mV
... ... @@ -434,26 +434,27 @@
434 434  Ex2: 0x0B49 = 2889mV
435 435  
436 436  
437 -=== 2.3.5 Probe Model ===
415 +=== 2.3.4 Probe Model ===
438 438  
439 439  
440 -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. 
441 441  
442 442  
443 443  For example.
444 444  
445 445  (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
446 -|(% style="width:111px" %)**Part Number**|(% style="width:158px" %)**Probe Used**|**0~~20mA scale**|**Example: 10mA meaning**
447 -|(% style="width:111px" %)PS-LB-I3|(% style="width:158px" %)immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water
448 -|(% 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
449 449  
450 -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.
451 451  
452 452  
453 -=== 2.3.6 0~~20mA value (IDC_IN) ===
432 +=== 2.3.5 0~~20mA value (IDC_IN) ===
454 454  
455 455  
456 -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.
457 457  
458 458  (% style="color:#037691" %)**Example**:
459 459  
... ... @@ -460,9 +460,14 @@
460 460  27AE(H) = 10158 (D)/1000 = 10.158mA.
461 461  
462 462  
463 -=== 2.3.7 0~~30V value ( pin VDC_IN) ===
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:
464 464  
444 +[[image:image-20230225154759-1.png||height="408" width="741"]]
465 465  
446 +
447 +=== 2.3.6 0~~30V value ( pin VDC_IN) ===
448 +
449 +
466 466  Measure the voltage value. The range is 0 to 30V.
467 467  
468 468  (% style="color:#037691" %)**Example**:
... ... @@ -470,7 +470,7 @@
470 470  138E(H) = 5006(D)/1000= 5.006V
471 471  
472 472  
473 -=== 2.3.8 IN1&IN2&INT pin ===
457 +=== 2.3.7 IN1&IN2&INT pin ===
474 474  
475 475  
476 476  IN1 and IN2 are used as digital input pins.
... ... @@ -493,6 +493,24 @@
493 493  0x01: Interrupt Uplink Packet.
494 494  
495 495  
480 +=== (% id="cke_bm_109176S" style="display:none" %) (%%)2.3.8 Sensor value, FPORT~=7 ===
481 +
482 +
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 +
496 496  === 2.3.9 ​Decode payload in The Things Network ===
497 497  
498 498  
... ... @@ -573,7 +573,6 @@
573 573  [[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]]
574 574  
575 575  
576 -
577 577  = 3. Configure PS-LB via AT Command or LoRaWAN Downlink =
578 578  
579 579  
... ... @@ -643,14 +643,14 @@
643 643  |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)(((
644 644  0
645 645  OK
646 -the mode is 0 = No interruption
647 +the mode is 0 =Disable Interrupt
647 647  )))
648 648  |(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)(((
649 649  Set Transmit Interval
650 -~1. (Disable Interrupt),
651 -2. (Trigger by rising and falling edge)
652 -3. (Trigger by falling edge)
653 -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)
654 654  )))|(% style="width:157px" %)OK
655 655  
656 656  (% style="color:blue" %)**Downlink Command: 0x06**
... ... @@ -738,28 +738,39 @@
738 738  == 3.4 Set the Probe Model ==
739 739  
740 740  
741 -(% style="color:blue" %)**AT Command: 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.
742 742  
743 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:448px" %)
744 -|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 204px;" %)**Function**|=(% style="width: 85px;" %)**Response**
745 -|(% style="width:154px" %)AT +PROBE =?|(% style="width:204px" %)Get or Set the probe model.|(% style="width:85px" %)(((
746 -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
747 747  OK
748 -)))
749 -|(% style="width:154px" %)AT +PROBE =0003|(% style="width:204px" %)Set water depth sensor mode, 3m type.|(% style="width:85px" %)OK
750 -|(% style="width:154px" %)AT +PROBE =0101|(% style="width:204px" %)Set pressure transmitters mode, first type.|(% style="width:85px" %)(((
751 -OK
752 -)))
753 -|(% style="width:154px" %)AT +PROBE =0000|(% style="width:204px" %)Initial state, no settings.|(% style="width:85px" %)(((
754 -OK
755 -)))
760 +|AT +PROBE =0003|Set water depth sensor mode, 3m type.|OK
761 +|(((
762 +AT +PROBE =000A
756 756  
757 -(% style="color:blue" %)**Downlink Command: 0x08**
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
758 758  
769 +**Downlink Command: 0x08**
770 +
759 759  Format: Command Code (0x08) followed by 2 bytes.
760 760  
761 -* Example 1: Downlink Payload: 080003  **~-~-->**  AT+PROBE=0003
762 -* Example 2: Downlink Payload: 080101  **~-~-->**  AT+PROBE=0101
773 +* Example 1: Downlink Payload: 080003  **~-~-->**  AT+PROBE=0003
774 +* Example 2: Downlink Payload: 080101  **~-~-->**  AT+PROBE=0101
763 763  
764 764  
765 765  
... ... @@ -770,21 +770,31 @@
770 770  
771 771  (% style="color:blue" %)**AT Command: AT** **+STDC**
772 772  
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 +
773 773  (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
774 -|=(% style="width: 156px;" %)**Command Example**|=(% style="width: 137px;" %)**Function**|=**Response**
775 -|(% style="width:156px" %)AT+STDC=?|(% style="width:137px" %)(((
776 -Get the mode of multiple acquisitions and one uplink
777 -)))|(((
778 -1,10,18
794 +|**Command Example**|**Function**|**Response**
795 +|AT+STDC=?|Get the mode of multiple acquisitions and one uplink.|1,10,18
779 779  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
780 780  )))
781 -|(% style="width:156px" %)AT+STDC=1,10,18|(% style="width:137px" %)Set the mode of multiple acquisitions and one uplink|(((
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 +
782 782  OK
783 -(% style="color:#037691" %)**aa:**(%%)
784 -**0:** means disable this function and use TDC to send packets.
785 -**1:** means enable this function, use the method of multiple acquisitions to send packets.
786 -(% style="color:#037691" %)**bb:**(%%) Each collection interval (s), the value is 1~~65535
787 -(% style="color:#037691" %)**cc: **(%%)the number of collection times, the value is 1~~120
788 788  )))
789 789  
790 790  (% style="color:blue" %)**Downlink Command: 0xAE**
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
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0