<
From version < 37.6 >
edited by Xiaoling
on 2023/01/31 14:29
To version < 32.1 >
edited by Xiaoling
on 2023/01/31 14:03
>
Change comment: Uploaded new attachment "1675145004465-869.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -402,18 +402,25 @@
402 402  
403 403  
404 404  (% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
405 -|(% style="width:97px" %)(((
406 -**Size(bytes)**
407 -)))|(% style="width:48px" %)**2**|(% style="width:58px" %)**2**|**2**|**2**|**1**
408 -|(% style="width:97px" %)**Value**|(% style="width:48px" %)[[BAT>>path:#bat]]|(% style="width:58px" %)[[Probe Model>>path:#Probe_Model]]|0 ~~ 20mA value|[[0 ~~~~ 30v value>>path:#Voltage_30v]]|[[IN1 &IN2 Interrupt  flag>>path:#Int_pin]]
405 +|(((
406 +**Size**
409 409  
410 -[[image:1675144608950-310.png]]
408 +**(bytes)**
409 +)))|**2**|**2**|**2**|**2**|**1**
410 +|**Value**|[[BAT>>path:#bat]]|[[Probe Model>>path:#Probe_Model]]|0 ~~ 20mA value|[[0 ~~~~ 30v value>>path:#Voltage_30v]]|[[IN1 &IN2 Interrupt  flag>>path:#Int_pin]]
411 411  
412 412  
413 413  
414 -=== 2.3.3 Battery Info ===
415 415  
416 416  
416 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]]
417 +
418 +
419 +
420 +1.
421 +11.
422 +111. Battery Info
423 +
417 417  Check the battery voltage for PS-LB.
418 418  
419 419  Ex1: 0x0B45 = 2885mV
... ... @@ -421,45 +421,50 @@
421 421  Ex2: 0x0B49 = 2889mV
422 422  
423 423  
424 -=== 2.3.4 Probe Model ===
431 +1.
432 +11.
433 +111. Probe Model
425 425  
426 -
427 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. 
428 428  
429 429  
430 430  For example.
431 431  
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
440 +|**Part Number**|**Probe Used**|**0~~20mA scale**|**Example: 10mA meaning**
441 +|PS-LB-I3|immersion type with 3 meters cable|0~~3 meters|1.5 meters pure water
442 +|PS-LB-I5|immersion type with 5 meters cable|0~~5 meters|2.5 meters pure water
436 436  
437 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.
438 438  
439 439  
440 -=== 2.3.5 0~~20mA value (IDC_IN) ===
447 +1.
448 +11.
449 +111. 0~~20mA value (IDC_IN)
441 441  
442 -
443 443  The output value from Pressure Probe, use together with Probe Model to get the pressure value or water level.
444 444  
453 +
445 445  **Example**:
446 446  
447 447  27AE(H) = 10158 (D)/1000 = 10.158mA.
448 448  
449 449  
450 -=== 2.3.6 0~~30V value ( pin VDC_IN) ===
459 +1.
460 +11.
461 +111. 0~~30V value ( pin VDC_IN)
451 451  
452 -
453 453  Measure the voltage value. The range is 0 to 30V.
454 454  
465 +
455 455  **Example**:
456 456  
457 457  138E(H) = 5006(D)/1000= 5.006V
458 458  
459 459  
460 -=== 2.3.7 IN1&IN2&INT pin ===
471 +1.
472 +11.
473 +111. IN1&IN2&INT pin
461 461  
462 -
463 463  IN1 and IN2 are used as digital input pins.
464 464  
465 465  **Example**:
... ... @@ -469,8 +469,10 @@
469 469  09 (H) :(0x09&0x04)>>2=0    IN2 pin is low level.
470 470  
471 471  
484 +
472 472  This data field shows if this packet is generated by **Interrupt Pin** or not. [[Click here>>path:#Int_mod]] for the hardware and software set up. Note: The Internet Pin is a separate pin in the screw terminal.
473 473  
487 +
474 474  **Example:**
475 475  
476 476  09 (H) : (0x09&0x02)>>1=1    The level of the interrupt pin.
... ... @@ -480,82 +480,109 @@
480 480  0x01: Interrupt Uplink Packet.
481 481  
482 482  
483 -=== 2.3.8 ​Decode payload in The Things Network ===
484 484  
485 485  
499 +
500 +
501 +
502 +1.
503 +11.
504 +111. ​Decode payload in The Things Network
505 +
486 486  While using TTN network, you can add the payload format to decode the payload.
487 487  
488 488  
489 -[[image:1675144839454-913.png]]
509 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]]
490 490  
511 +PS-LB TTN Payload Decoder:
491 491  
492 -PS-LB TTN Payload Decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]
513 +[[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]
493 493  
494 494  
495 -== 2.4 Uplink Interval ==
516 +1.
517 +11. Uplink Interval
496 496  
519 +The PS-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link:
497 497  
498 -The PS-LB by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/#H4.1ChangeUplinkInterval||style="background-color: rgb(255, 255, 255);"]]
521 +[[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval>>url:http://wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands#Change_Uplink_Interval]]
499 499  
500 500  
501 -== 2.5 Show Data in DataCake IoT Server ==
502 502  
525 +1.
526 +11. ​Show Data in DataCake IoT Server
503 503  
504 504  [[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps:
505 505  
506 506  
507 -**Step 1: **Be sure that your device is programmed and properly connected to the network at this time.
531 +**Step 1**: Be sure that your device is programmed and properly connected to the network at this time.
508 508  
509 -**Step 2:** To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:
533 +**Step 2**: To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:
510 510  
511 511  
512 -[[image:1675144951092-237.png]]
536 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
513 513  
514 514  
515 -[[image:1675144960452-126.png]]
539 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]
516 516  
517 517  
518 -**Step 3:** Create an account or log in Datacake.
542 +Step 3: Create an account or log in Datacake.
519 519  
520 -**Step 4:** Create PS-LB product.
544 +Step 4: Create PS-LB product.
521 521  
522 -[[image:1675145004465-869.png]]
546 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]
523 523  
524 524  
525 -[[image:1675145018212-853.png]]
526 526  
550 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]]
527 527  
528 528  
553 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]]
529 529  
530 -[[image:1675145029119-717.png]]
531 531  
556 +Step 5: add payload decode
532 532  
533 -**Step 5: **add payload decode
534 534  
535 -[[image:1675145051360-659.png]]
559 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]
536 536  
561 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
537 537  
538 -[[image:1675145060812-420.png]]
539 539  
540 540  
541 -
542 542  After added, the sensor data arrive TTN, it will also arrive and show in Datacake.
543 543  
544 544  
545 -[[image:1675145081239-376.png]]
568 +[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
546 546  
547 547  
548 -== 2.6 Frequency Plans ==
549 549  
550 550  
573 +
574 +
575 +
576 +
577 +
578 +
579 +
580 +
581 +
582 +
583 +
584 +
585 +
586 +1.
587 +11. Frequency Plans
588 +
551 551  The PS-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.
552 552  
553 -[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]]
554 554  
592 +[[https:~~/~~/wiki.dragino.com/index.php?title=End_Device_Frequency_Band>>url:https://wiki.dragino.com/index.php?title=End_Device_Frequency_Band]]
555 555  
556 -== 2.7 ​Firmware Change Log ==
557 557  
558 558  
596 +
597 +1.
598 +11. ​Firmware Change Log
599 +
559 559  **Firmware download link:**
560 560  
561 561  [[https:~~/~~/www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0>>url:https://www.dropbox.com/sh/gf1glloczbzz19h/AABbuYI4WY6VdAmpXo6o1V2Ka?dl=0]]
... ... @@ -562,15 +562,16 @@
562 562  
563 563  
564 564  
565 -= 3. Configure PS-LB via AT Command or LoRaWAN Downlink =
606 +1. Configure PS-LB via AT Command or LoRaWAN Downlink
566 566  
567 -
568 568  Use can configure PS-LB via AT Command or LoRaWAN Downlink.
569 569  
570 570  * AT Command Connection: See [[FAQ>>path:#AT_COMMAND]].
571 -* LoRaWAN Downlink instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section.
611 +* LoRaWAN Downlink instruction for different platforms:
572 572  
613 +[[http:~~/~~/wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server>>url:http://wiki.dragino.com/index.php?title=Main_Page#Use_Note_for_Server]]
573 573  
615 +
574 574  There are two kinds of commands to configure PS-LB, they are:
575 575  
576 576  * **General Commands**.
... ... @@ -582,7 +582,7 @@
582 582  
583 583  They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki:
584 584  
585 -[[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/]]
627 +[[http:~~/~~/wiki.dragino.com/index.php?title=End_Device_Downlink_Command>>url:http://wiki.dragino.com/index.php?title=End_Device_Downlink_Command]]
586 586  
587 587  
588 588  * **Commands special design for PS-LB**
... ... @@ -590,14 +590,13 @@
590 590  These commands only valid for PS-LB, as below:
591 591  
592 592  
593 -== 3.1 Set Transmit Interval Time ==
635 +1.
636 +11. Set Transmit Interval Time
594 594  
595 -
596 596  Feature: Change LoRaWAN End Node Transmit Interval.
597 597  
598 598  **AT Command: AT+TDC**
599 599  
600 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
601 601  |**Command Example**|**Function**|**Response**
602 602  |AT+TDC=?|Show current transmit Interval|(((
603 603  30000
... ... @@ -622,14 +622,13 @@
622 622  * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
623 623  
624 624  
625 -== 3.2 Set Interrupt Mode ==
666 +1.
667 +11. Set Interrupt Mode
626 626  
627 -
628 628  Feature, Set Interrupt mode for GPIO_EXIT.
629 629  
630 630  **AT Command: AT+INTMOD**
631 631  
632 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
633 633  |**Command Example**|**Function**|**Response**
634 634  |AT+INTMOD=?|Show current interrupt mode|(((
635 635  0
... ... @@ -641,13 +641,10 @@
641 641  |AT+INTMOD=2|(((
642 642  Set Transmit Interval
643 643  
644 -~1. (Disable Interrupt),
645 -
646 -2. (Trigger by rising and falling edge),
647 -
648 -3. (Trigger by falling edge)
649 -
650 -4. (Trigger by rising edge)
684 +1. (Disable Interrupt),
685 +1. (Trigger by rising and falling edge),
686 +1. (Trigger by falling edge)
687 +1. (Trigger by rising edge)
651 651  )))|OK
652 652  
653 653  **Downlink Command: 0x06**
... ... @@ -659,82 +659,74 @@
659 659  * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode
660 660  * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
661 661  
699 +1.
700 +11. Set the output time
662 662  
663 -
664 -== 3.3 Set the output time ==
665 -
666 -
667 667  Feature, Control the output 3V3 , 5V or 12V.
668 668  
669 669  **AT Command: AT+3V3T**
670 670  
671 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
672 -|(% style="width:156px" %)**Command Example**|(% style="width:236px" %)**Function**|(% style="width:117px" %)**Response**
673 -|(% style="width:156px" %)AT+3V3T=?|(% style="width:236px" %)Show 3V3 open time.|(% style="width:117px" %)(((
706 +|**Command Example**|**Function**|**Response**
707 +|AT+3V3T=?|Show 3V3 open time.|(((
674 674  0
675 675  
676 676  OK
677 677  )))
678 -|(% style="width:156px" %)AT+3V3T=0|(% style="width:236px" %)Normally open 3V3 power supply.|(% style="width:117px" %)(((
712 +|AT+3V3T=0|Normally open 3V3 power supply.|(((
679 679  OK
680 680  
681 681  default setting
682 682  )))
683 -|(% style="width:156px" %)AT+3V3T=1000|(% style="width:236px" %)Close after a delay of 1000 milliseconds.|(% style="width:117px" %)(((
717 +|AT+3V3T=1000|Close after a delay of 1000 milliseconds.|(((
684 684  OK
685 685  
686 686  
687 687  )))
688 -|(% style="width:156px" %)AT+3V3T=65535|(% style="width:236px" %)Normally closed 3V3 power supply.|(% style="width:117px" %)(((
722 +|AT+3V3T=65535|Normally closed 3V3 power supply.|(((
689 689  OK
690 690  
691 691  
692 692  )))
693 693  
694 -
695 695  **AT Command: AT+5VT**
696 696  
697 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
698 -|(% style="width:158px" %)**Command Example**|(% style="width:232px" %)**Function**|(% style="width:119px" %)**Response**
699 -|(% style="width:158px" %)AT+5VT=?|(% style="width:232px" %)Show 5V open time.|(% style="width:119px" %)(((
730 +|**Command Example**|**Function**|**Response**
731 +|AT+5VT=?|Show 5V open time.|(((
700 700  0
701 701  
702 702  OK
703 703  )))
704 -|(% style="width:158px" %)AT+5VT=0|(% style="width:232px" %)Normally closed 5V power supply.|(% style="width:119px" %)(((
736 +|AT+5VT=0|Normally closed 5V power supply.|(((
705 705  OK
706 706  
707 707  default setting
708 708  )))
709 -|(% style="width:158px" %)AT+5VT=1000|(% style="width:232px" %)Close after a delay of 1000 milliseconds.|(% style="width:119px" %)(((
741 +|AT+5VT=1000|Close after a delay of 1000 milliseconds.|(((
710 710  OK
711 711  
712 712  
713 713  )))
714 -|(% style="width:158px" %)AT+5VT=65535|(% style="width:232px" %)Normally open 5V power supply.|(% style="width:119px" %)(((
746 +|AT+5VT=65535|Normally open 5V power supply.|(((
715 715  OK
716 716  
717 717  
718 718  )))
719 719  
720 -
721 721  **AT Command: AT+12VT**
722 722  
723 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
724 -|(% style="width:156px" %)**Command Example**|(% style="width:268px" %)**Function**|**Response**
725 -|(% style="width:156px" %)AT+12VT=?|(% style="width:268px" %)Show 12V open time.|(((
754 +|**Command Example**|**Function**|**Response**
755 +|AT+12VT=?|Show 12V open time.|(((
726 726  0
727 727  
728 728  OK
729 729  )))
730 -|(% style="width:156px" %)AT+12VT=0|(% style="width:268px" %)Normally closed 12V power supply.|OK
731 -|(% style="width:156px" %)AT+12VT=500|(% style="width:268px" %)Close after a delay of 500 milliseconds.|(((
760 +|AT+12VT=0|Normally closed 12V power supply.|OK
761 +|AT+12VT=500|Close after a delay of 500 milliseconds.|(((
732 732  OK
733 733  
734 734  
735 735  )))
736 736  
737 -
738 738  **Downlink Command: 0x07**
739 739  
740 740  Format: Command Code (0x07) followed by 3 bytes.
... ... @@ -748,27 +748,24 @@
748 748  * Example 5: Downlink Payload: 070301F4  -> AT+12VT=500
749 749  * Example 6: Downlink Payload: 07030000  -> AT+12VT=0
750 750  
780 +1.
781 +11. Set the Probe Model
751 751  
752 -
753 -== 3.4 Set the Probe Model ==
754 -
755 -
756 756  **AT Command: AT** **+PROBE**
757 757  
758 -(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %)
759 -|(% style="width:157px" %)**Command Example**|(% style="width:267px" %)**Function**|**Response**
760 -|(% style="width:157px" %)AT +PROBE =?|(% style="width:267px" %)Get or Set the probe model.|(((
785 +|**Command Example**|**Function**|**Response**
786 +|AT +PROBE =?|Get or Set the probe model.|(((
761 761  0
762 762  
763 763  OK
764 764  )))
765 -|(% style="width:157px" %)AT +PROBE =0003|(% style="width:267px" %)Set water depth sensor mode, 3m type.|OK
766 -|(% style="width:157px" %)AT +PROBE =0101|(% style="width:267px" %)Set pressure transmitters mode, first type.|(((
791 +|AT +PROBE =0003|Set water depth sensor mode, 3m type.|OK
792 +|AT +PROBE =0101|Set pressure transmitters mode, first type.|(((
767 767  OK
768 768  
769 769  
770 770  )))
771 -|(% style="width:157px" %)AT +PROBE =0000|(% style="width:267px" %)Initial state, no settings.|(((
797 +|AT +PROBE =0000|Initial state, no settings.|(((
772 772  OK
773 773  
774 774  
... ... @@ -783,11 +783,9 @@
783 783  
784 784  
785 785  
786 -= 4. Battery & how to replace =
812 +1. Battery & how to replace
813 +11. Battery Type
787 787  
788 -== 4.1 Battery Type ==
789 -
790 -
791 791  PS-LB is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. 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.
792 792  
793 793  
1675145018212-853.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -199.6 KB
Content
1675145029119-717.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -77.6 KB
Content
1675145051360-659.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -49.2 KB
Content
1675145060812-420.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -63.1 KB
Content
1675145081239-376.png
Author
... ... @@ -1,1 +1,0 @@
1 -XWiki.Xiaoling
Size
... ... @@ -1,1 +1,0 @@
1 -64.9 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0