<
From version < 98.6 >
edited by Xiaoling
on 2024/10/21 09:24
To version < 103.1 >
edited by Mengting Qiu
on 2025/01/16 16:32
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Xiaoling
1 +XWiki.ting
Content
... ... @@ -300,7 +300,6 @@
300 300  
301 301  Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example.
302 302  
303 -
304 304  [[image:1675144005218-297.png]]
305 305  
306 306  
... ... @@ -356,7 +356,6 @@
356 356  
357 357  Users can also use the downlink command(0x26 01) to ask PS-LB/LS to resend this uplink.
358 358  
359 -
360 360  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
361 361  |(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)**
362 362  |(% style="background-color:#f2f2f2; width:103px" %)**Size (bytes)**|(% style="background-color:#f2f2f2; width:72px" %)**1**|(% style="background-color:#f2f2f2" %)**2**|(% style="background-color:#f2f2f2; width:91px" %)**1**|(% style="background-color:#f2f2f2; width:86px" %)**1**|(% style="background-color:#f2f2f2; width:44px" %)**2**
... ... @@ -477,7 +477,7 @@
477 477  [[image:image-20230225154759-1.png||height="408" width="741"]]
478 478  
479 479  
480 -=== 2.3.6 0~~30V value ( pin VDC_IN) ===
478 +=== 2.3.6 0~~30V value (pin VDC_IN) ===
481 481  
482 482  
483 483  Measure the voltage value. The range is 0 to 30V.
... ... @@ -533,7 +533,6 @@
533 533  
534 534  While using TTN network, you can add the payload format to decode the payload.
535 535  
536 -
537 537  [[image:1675144839454-913.png]]
538 538  
539 539  
... ... @@ -551,12 +551,10 @@
551 551  
552 552  [[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:
553 553  
554 -
555 555  (% style="color:blue" %)**Step 1: **(%%)Be sure that your device is programmed and properly connected to the network at this time.
556 556  
557 557  (% style="color:blue" %)**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:
558 558  
559 -
560 560  [[image:1675144951092-237.png]]
561 561  
562 562  
... ... @@ -573,7 +573,6 @@
573 573  [[image:1675145018212-853.png]]
574 574  
575 575  
576 -
577 577  [[image:1675145029119-717.png]]
578 578  
579 579  
... ... @@ -587,20 +587,20 @@
587 587  
588 588  After added, the sensor data arrive TTN, it will also arrive and show in Datacake.
589 589  
590 -
591 591  [[image:1675145081239-376.png]]
592 592  
593 593  
594 594  == 2.6 Datalog Feature (Since V1.1) ==
595 595  
589 +
596 596  When a user wants to retrieve sensor value, he can send a poll command from the IoT platform to ask the sensor to send value in the required time slot.
597 597  
598 598  
599 -
600 600  === 2.6.1 Unix TimeStamp ===
601 601  
602 -CPL01 uses Unix TimeStamp format based on
603 603  
596 +PS-LB uses Unix TimeStamp format based on
597 +
604 604  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652861618065-927.png?width=705&height=109&rev=1.1||alt="1652861618065-927.png" height="109" width="705"]]
605 605  
606 606  Users can get this time from the link:  [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] :
... ... @@ -612,6 +612,7 @@
612 612  
613 613  === 2.6.2 Set Device Time ===
614 614  
609 +
615 615  There are two ways to set the device's time:
616 616  
617 617  
... ... @@ -621,7 +621,6 @@
621 621  
622 622  Once CPL01 Joined the LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to CPL01. If CPL01 fails to get the time from the server, CPL01 will use the internal time and wait for the next time request ~[[[via Device Status (FPORT=5)>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/#H2.3.1DeviceStatus2CFPORT3D5]]].
623 623  
624 -
625 625  (% style="color:red" %)**Note: LoRaWAN Server needs to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature.**
626 626  
627 627  
... ... @@ -632,6 +632,7 @@
632 632  
633 633  === 2.6.3 Poll sensor value ===
634 634  
629 +
635 635  Users can poll sensor values based on timestamps. Below is the downlink command.
636 636  
637 637  (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
... ... @@ -642,6 +642,7 @@
642 642  )))
643 643  
644 644  
640 +
645 645  )))|(% style="background-color:#f2f2f2; width:150px" %)**1byte**
646 646  |(% style="background-color:#f2f2f2; width:70px" %)31|(% style="background-color:#f2f2f2; width:140px" %)Timestamp start|(% style="background-color:#f2f2f2; width:140px" %)Timestamp end|(% style="background-color:#f2f2f2; width:150px" %)Uplink Interval
647 647  
... ... @@ -651,7 +651,7 @@
651 651  
652 652  Is to check 2021/11/12 12:00:00 to 2021/11/12 15:00:00's data
653 653  
654 -Uplink Internal =5s,means CPL01 will send one packet every 5s. range 5~~255s.
650 +Uplink Internal =5s,means PS-LB will send one packet every 5s. range 5~~255s.
655 655  
656 656  
657 657  === 2.6.4 Decoder in TTN V3 ===
... ... @@ -661,7 +661,6 @@
661 661  Please check the decoder from this link: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]
662 662  
663 663  
664 -
665 665  == 2.7 Frequency Plans ==
666 666  
667 667  
... ... @@ -670,9 +670,8 @@
670 670  [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/a>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]]
671 671  
672 672  
673 -== 2.8 Report on Change Feature (Since firmware V1.1.2) ==
668 +== 2.8 Report on Change Feature (Since firmware V1.2) ==
674 674  
675 -
676 676  === 2.8.1 Uplink payload(Enable ROC) ===
677 677  
678 678  
... ... @@ -745,14 +745,22 @@
745 745  === 2.8.2 Set the Report on Change ===
746 746  
747 747  
748 -Feature: Set the detection interval and threshold to monitor whether the IDC/VDC variable exceeds the threshold. If the threshold is exceeded, an ROC uplink is sent.
742 +Feature: Get or Set the Report on Change.
743 +
744 +
745 +==== 2.8.2.1 Wave alarm mode ====
746 +
747 +Feature: By setting the detection period and a change value, the IDC/VDC variable is monitored whether it exceeds the set change value. If this change value is exceeded, the ROC uplink is sent and the comparison value is flushed.
748 +
749 +* (% style="color:#037691" %)**Change value: **(%%)The amount by which the next detection value increases/decreases relative to the previous detection value.
750 +* (% style="color:#037691" %)**Comparison value:**(%%) A parameter to compare with the latest ROC test.
751 +
749 749  (% style="color:blue" %)**AT Command: AT+ROC**
750 750  
751 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
752 -|=(% style="width: 143px; background-color: rgb(79, 129, 189); color: white;" %)**Command Example**|=(% style="width: 197px; background-color: rgb(79, 129, 189); color: white;" %)**Parameters**|=(% style="width: 170px; background-color: rgb(79, 129, 189); color: white;" %)**Response/Explanation**
753 -|(% style="width:143px" %)AT+ROC=?|(% style="width:197px" %)Show current ROC setting|(% style="width:168px" %)(((
754 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
755 +|=(% style="width: 163px; background-color: rgb(79, 129, 189); color: white;" %)**Command Example**|=(% style="width: 154px; background-color: rgb(79, 129, 189); color: white;" %)**Parameters**|=(% style="width: 197px; background-color: rgb(79, 129, 189); color: white;" %)**Response/Explanation**
756 +|(% style="width:143px" %)AT+ROC=?|(% style="width:154px" %)Show current ROC setting|(% style="width:197px" %)(((
754 754  0,0,0,0(default)
755 -
756 756  OK
757 757  )))
758 758  |(% colspan="1" rowspan="4" style="width:143px" %)(((
... ... @@ -761,44 +761,125 @@
761 761  
762 762  
763 763  AT+ROC=a,b,c,d
764 -)))|(% style="width:197px" %)**a**: Enable or disable the ROC|(% style="width:168px" %)(((
765 -0: off
766 +)))|(% style="width:154px" %)(((
767 +
766 766  
767 -1: on
769 +
770 +
771 +
772 +
773 +**a**: Enable or disable the ROC
774 +)))|(% style="width:197px" %)(((
775 +**0:** off
776 +**1:** Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value.
777 +
778 +**2: **Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value. In addition, the comparison value is refreshed when the device sends packets ([[TDC>>||anchor="H3.3.1SetTransmitIntervalTime"]] or [[ACT>>||anchor="H1.6Button26LEDs"]]).
768 768  )))
769 -|(% style="width:197px" %)**b**: Set the detection interval|(% style="width:168px" %)Unit: second
770 -|(% style="width:197px" %)**c**: Setting the IDC change threshold|(% style="width:168px" %)Unit: uA
771 -|(% style="width:197px" %)**d**: Setting the VDC change threshold|(% style="width:168px" %)Unit: mV
780 +|(% style="width:154px" %)**b**: Set the detection interval|(% style="width:197px" %)(((
781 +Range:  0~~65535s
782 +)))
783 +|(% style="width:154px" %)**c**: Setting the IDC change value|(% style="width:197px" %)Unit: uA
784 +|(% style="width:154px" %)**d**: Setting the VDC change value|(% style="width:197px" %)Unit: mV
772 772  
773 773  **Example:**
774 774  
775 -* AT+ROC=1,60,3000, 500  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA) or VDC (>500mV), sends an ROC uplink.
776 -* AT+ROC=1,60,3000,0  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA), send an ROC uplink. 0 Means doesn't monitor Voltage.
788 +* AT+ROC=0,0,0,0  ~/~/The ROC function is not used.
789 +* AT+ROC=1,60,3000, 500  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA) or VDC (>500mV), sends an ROC uplink, and the comparison value is refreshed.
790 +* AT+ROC=1,60,3000,0  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA), send an ROC uplink and the comparison value of IDC is refreshed. dd=0 Means doesn't monitor Voltage.
791 +* AT+ROC=2,60,3000,0  ~/~/ Check value every 60 seconds. lf there is change in IDC (>3mA), send an ROC uplink and the comparison value of IDC is refreshed. dd=0 Means doesn't monitor Voltage. In addition, if the change in the IDC does not exceed 3mA, then the ROC uplink is not sent, and the comparison value is not refreshed by the ROC uplink packet. However, if the device TDC time arrives, or if the user manually sends packets, then the IDC comparison value is also refreshed.
777 777  
778 778  (% style="color:blue" %)**Downlink Command: 0x09 aa bb cc dd**
779 779  
780 780  Format: Function code (0x09) followed by 4 bytes.
781 781  
782 -(% style="color:blue" %)**aa: **(%%)Enable/Disable the ROC.
797 +(% style="color:blue" %)**aa: **(% style="color:#037691" %)**1 byte;**(%%) Set the wave alarm mode.
783 783  
784 -(% style="color:blue" %)**bb: **(%%)Set the detection interval. (second)
799 +(% style="color:blue" %)**bb: **(% style="color:#037691" %)**2 bytes;**(%%) Set the detection interval. (second)
785 785  
786 -(% style="color:blue" %)**cc: **(%%)Setting the IDC change threshold. (uA)
801 +(% style="color:blue" %)**cc: **(% style="color:#037691" %)**2 bytes;**(%%) Setting the IDC change threshold. (uA)
787 787  
788 -(% style="color:blue" %)**dd: **(%%)Setting the VDC change threshold. (mV)
803 +(% style="color:blue" %)**dd: **(% style="color:#037691" %)**2 bytes;**(%%) Setting the VDC change threshold. (mV)
789 789  
790 790  **Example:**
791 791  
792 792  * Downlink Payload: **09 01 00 3C 0B B8 01 F4 ** ~/~/Equal to AT+ROC=1,60,3000, 500
793 -* Downlink Payload: **09 01 00 3C 0B B8 00 00 ** ~/~/AT+ROC=1,60,3000,0
808 +* Downlink Payload: **09 01 00 3C 0B B8 00 00 ** ~/~/Equal to AT+ROC=1,60,3000,0
809 +* Downlink Payload: **09 02 00 3C 0B B8 00 00 ** ~/~/Equal to AT+ROC=2,60,3000,0
794 794  
795 795  (% style="color:blue" %)**Screenshot of parsing example in TTN:**
796 796  
797 797  * AT+ROC=1,60,3000, 500.
798 798  
799 -[[image:image-20241019170902-1.png||height="450" width="1454"]]
815 +[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/PS-LB-NA--LoRaWAN_Analog_Sensor_User_Manual/WebHome/image-20241019170902-1.png?width=1454&height=450&rev=1.1||alt="image-20241019170902-1.png"]]
800 800  
801 801  
818 +==== 2.8.2.2 Over-threshold alarm mode ====
819 +
820 +Feature: Monitors whether the IDC/VDC exceeds the threshold by setting the detection period and threshold. Alarm if the threshold is exceeded.
821 +
822 +(% style="color:blue" %)**AT Command: AT+ROC=3,a,b,c,d,e**
823 +
824 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
825 +|=(% style="width: 163px; background-color: rgb(79, 129, 189); color: white;" %)**Command Example**|=(% style="width: 160px; background-color: rgb(79, 129, 189); color: white;" %)**Parameters**|=(% style="width: 185px; background-color: rgb(79, 129, 189); color: white;" %)**Response/Explanation**
826 +|(% style="width:143px" %)AT+ROC=?|(% style="width:160px" %)Show current ROC setting|(% style="width:185px" %)(((
827 +0,0,0,0(default)
828 +OK
829 +)))
830 +|(% colspan="1" rowspan="5" style="width:143px" %)(((
831 +
832 +
833 +
834 +
835 +AT+ROC=(% style="color:blue" %)**3**(%%),a,b,c,d,e
836 +)))|(% style="width:160px" %)(((
837 +**a: **Set the detection interval
838 +)))|(% style="width:185px" %)(((
839 +Range:  0~~65535s
840 +)))
841 +|(% style="width:160px" %)**b**: Set the IDC alarm trigger condition|(% style="width:185px" %)(((
842 +**0:** Less than the set IDC threshold, Alarm
843 +
844 +**1:** Greater than the set IDC threshold, Alarm
845 +)))
846 +|(% style="width:160px" %)**c**:  Set the VDC alarm trigger condition|(% style="width:185px" %)(((
847 +**0:** Less than the set VDC threshold, Alarm
848 +
849 +**1:** Greater than the set VDC threshold, Alarm
850 +)))
851 +|(% style="width:160px" %)**d**: IDC alarm threshold|(% style="width:185px" %)Unit: uA
852 +|(% style="width:160px" %)**e:** VDC alarm threshold|(% style="width:185px" %)Unit: mV
853 +
854 +**Example:**
855 +
856 +* AT+ROC=3,60,0,0,3000,500  ~/~/The data is checked every 60 seconds. If the IDC is less than 3mA or the VDC is less than 500mV, an alarm is generated.
857 +* AT+ROC=3,180,1,1,3000,500  ~/~/The data is checked every 180 seconds. If the IDC is greater than 3mA or the VDC is greater than 500mV, an alarm is generated.
858 +* AT+ROC=3,300,0,1,3000,500  ~/~/The data is checked every 300 seconds. If the IDC is less than 3mA or the VDC is greater than 500mV, an alarm is generated.
859 +
860 +(% style="color:blue" %)**Downlink Command: 0x09 03 aa bb cc dd ee**
861 +
862 +Format: Function code (0x09) followed by 03 and the remaining 5 bytes.
863 +
864 +(% style="color:blue" %)**aa: **(% style="color:#037691" %)**2 bytes;**(%%) Set the detection interval.(second)
865 +
866 +(% style="color:blue" %)**bb: **(% style="color:#037691" %)**1 byte; **(%%)Set the IDC alarm trigger condition.
867 +
868 +(% style="color:blue" %)**cc: **(% style="color:#037691" %)**1 byte;**(%%) Set the VDC alarm trigger condition.
869 +
870 +(% style="color:blue" %)**dd: **(% style="color:#037691" %)**2 bytes;**(%%) IDC alarm threshold.(uA)
871 +
872 +(% style="color:blue" %)**ee: **(% style="color:#037691" %)**2 bytes; **(%%)VDC alarm threshold.(mV)
873 +
874 +**Example:**
875 +
876 +* Downlink Payload: **09 03 00 3C 00 00 0B B8 01 F4** ~/~/Equal to AT+ROC=3,60,0,0,3000,500
877 +* Downlink Payload: **09 03 00 b4 01 01 0B B8 01 F4**  ~/~/Equal to AT+ROC=3,180,1,1,3000,500
878 +* Downlink Payload: **09 03 01 2C 00 01 0B B8 01 F4** ~/~/Equal to AT+ROC=3,300,0,1,3000,500
879 +
880 +(% style="color:blue" %)**Screenshot of parsing example in TTN:**
881 +
882 +
883 +
884 +
802 802  == 2.9 ​Firmware Change Log ==
803 803  
804 804  
... ... @@ -965,6 +965,16 @@
965 965  * Example 5: Downlink Payload: 070301F4  **~-~-->**  AT+12VT=500
966 966  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
967 967  
1051 +(% style="color:red" %)**Note: Before v1.2, the maximum settable time of 3V3T, 5VT and 12VT is 65535 milliseconds. After v1.2, the maximum settable time of 3V3T, 5VT and 12VT is 180 seconds.**
1052 +
1053 +(% style="color:red" %)**Therefore, the corresponding downlink command is increased by one byte to five bytes.**
1054 +
1055 +**Example: **
1056 +
1057 +* 120s=120000ms(D) =0x01D4C0(H), Downlink Payload: 07 **01** 01 D4 C0  **~-~-->**  AT+3V3T=120000
1058 +* 100s=100000ms(D) =0x0186A0(H), Downlink Payload: 07 **02** 01 86 A0  **~-~-->**  AT+5VT=100000
1059 +* 80s=80000ms(D) =0x013880(H), Downlink Payload: 07 **03** 01 38 80  **~-~-->**  AT+12VT=80000
1060 +
968 968  === 3.3.4 Set the Probe Model ===
969 969  
970 970  
... ... @@ -1128,9 +1128,9 @@
1128 1128  = 8. Order Info =
1129 1129  
1130 1130  
1131 -[[image:image-20240109172423-7.png]](% style="display:none" %)
1224 +(% style="display:none" %)
1132 1132  
1133 -[[image:image-20240817150702-1.png]]
1226 +[[image:image-20241021093209-1.png]]
1134 1134  
1135 1135  = 9. ​Packing Info =
1136 1136  
... ... @@ -1152,4 +1152,3 @@
1152 1152  * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
1153 1153  
1154 1154  * 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.cc>>mailto:Support@dragino.cc]].
1155 -
image-20241021093209-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +52.1 KB
Content
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0