Last modified by Xiaoling on 2025/07/10 16:21

From version 98.3
edited by Xiaoling
on 2024/10/21 09:05
Change comment: There is no comment for this version
To version 120.1
edited by Xiaoling
on 2025/04/01 16:35
Change comment: Uploaded new attachment "image-20250401163530-1.jpeg", version {1}

Summary

Details

Page properties
Content
... ... @@ -200,8 +200,11 @@
200 200  
201 201  [[image:1675071776102-240.png]]
202 202  
203 +Size of immersion type water depth sensor:
203 203  
205 +[[image:image-20250401102131-1.png||height="268" width="707"]]
204 204  
207 +
205 205  === 1.5.3 Wireless Differential Air Pressure Sensor ===
206 206  
207 207  
... ... @@ -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) ===
481 +=== 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  
592 +
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  
599 +PS-LB uses Unix TimeStamp format based on
600 +
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  
612 +
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  
... ... @@ -634,36 +634,142 @@
634 634  
635 635  Users can poll sensor values based on timestamps. Below is the downlink command.
636 636  
637 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:470px" %)
638 -|=(% colspan="4" style="width: 154px;background-color:#4F81BD;color:white" %)**Downlink Command to poll Open/Close status (0x31)**
639 -|(% style="background-color:#f2f2f2; width:70px" %)**1byte**|(% style="background-color:#f2f2f2; width:140px" %)**4bytes**|(% style="background-color:#f2f2f2; width:140px" %)(((
634 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:470px" %)
635 +|=(% colspan="4" style="width: 160px; background-color:#4F81BD;color:white" %)**Downlink Command to poll Open/Close status (0x31)**
636 +|(% style="background-color:#f2f2f2; width:67px" %)**1byte**|(% style="background-color:#f2f2f2; width:145px" %)**4bytes**|(% style="background-color:#f2f2f2; width:133px" %)**4bytes**|(% style="background-color:#f2f2f2; width:163px" %)**1byte**
637 +|(% style="background-color:#f2f2f2; width:67px" %)31|(% style="background-color:#f2f2f2; width:145px" %)Timestamp start|(% style="background-color:#f2f2f2; width:133px" %)(((
638 +Timestamp end
639 +)))|(% style="background-color:#f2f2f2; width:163px" %)Uplink Interval
640 +
641 +Timestamp start and Timestamp end-use Unix TimeStamp format as mentioned above. Devices will reply with all data logs during this period, using the uplink interval.
642 +
643 +For example, downlink command[[image:image-20250117104812-1.png]]
644 +
645 +Is to check 2024/12/20 09:34:59 to 2024/12/20 14:34:59's data
646 +
647 +Uplink Internal =5s,means PS-LB will send one packet every 5s. range 5~~255s.
648 +
649 +
650 +=== 2.6.4 Datalog Uplink payload (FPORT~=3) ===
651 +
652 +
653 +The Datalog uplinks will use below payload format.
654 +
655 +**Retrieval data payload:**
656 +
657 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %)
658 +|=(% style="width: 60px;background-color:#4F81BD;color:white" %)(((
659 +**Size(bytes)**
660 +)))|=(% style="width: 40px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 55px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 83px; background-color: rgb(79, 129, 189); color: white;" %)**2**|=(% style="width: 201px; background-color: rgb(79, 129, 189); color: white;" %)**1**|=(% style="width: 86px; background-color: rgb(79, 129, 189); color: white;" %)**4**
661 +|(% style="width:103px" %)Value|(% style="width:68px" %)(((
662 +Probe
663 +
664 +_mod
665 +)))|(% style="width:104px" %)(((
666 +VDC
667 +
668 +_intput_V
669 +)))|(% style="width:83px" %)(((
670 +IDC
671 +
672 +_intput_mA
673 +)))|(% style="width:201px" %)(((
674 +IN1_pin_level& IN2_pin_level& Exti_pin_level&Exti_status
675 +)))|(% style="width:86px" %)Unix Time Stamp
676 +
677 +**IN1_pin_level & IN2_pin_level & Exti_pin_level & Exti_status:**
678 +
679 +[[image:image-20250117104847-4.png]]
680 +
681 +
682 +**No ACK Message**:  1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for **PNACKMD=1** feature)
683 +
684 +**Poll Message Flag**: 1: This message is a poll message reply.
685 +
686 +* Poll Message Flag is set to 1.
687 +
688 +* Each data entry is 11 bytes, to save airtime and battery, devices will send max bytes according to the current DR and Frequency bands.
689 +
690 +For example, in US915 band, the max payload for different DR is:
691 +
692 +**a) DR0:** max is 11 bytes so one entry of data
693 +
694 +**b) DR1:** max is 53 bytes so devices will upload 4 entries of data (total 44 bytes)
695 +
696 +**c) DR2:** total payload includes 11 entries of data
697 +
698 +**d) DR3: **total payload includes 22 entries of data.
699 +
700 +If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0   
701 +
702 +**Example:**
703 +
704 +If PS-LB-NA has below data inside Flash:
705 +
706 +[[image:image-20250117104837-3.png]]
707 +
708 +
709 +If user sends below downlink command: 316788D9BF6788DB6305
710 +
711 +Where : Start time: 6788D9BF = time 25/1/16 10:04:47
712 +
713 + Stop time: 6788DB63 = time 25/1/16 10:11:47
714 +
715 +
716 +**PA-LB-NA will uplink this payload.**
717 +
718 +[[image:image-20250117104827-2.png]]
719 +
640 640  (((
641 -**4bytes**
721 +00001B620000406788D9BF  00000D130000406788D9FB  00000D120000406788DA37  00000D110000406788DA73  00000D100000406788DAAF  00000D100000406788DAEB  00000D0F0000406788DB27  00000D100000406788DB63
642 642  )))
643 643  
644 644  (((
645 -
725 +Where the first 11 bytes is for the first entry :
646 646  )))
647 -)))|(% style="background-color:#f2f2f2; width:150px" %)**1byte**
648 -|(% 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
649 649  
650 -Timestamp start and Timestamp end-use Unix TimeStamp format as mentioned above. Devices will reply with all data logs during this period, using the uplink interval.
728 +(((
729 +0000  0D10  0000  40  6788DB63
730 +)))
651 651  
652 -For example, downlink command[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/image-20220518162852-1.png?rev=1.1||alt="image-20220518162852-1.png"]]
732 +(((
733 +**Probe_mod **= 0x0000 = 0000
734 +)))
653 653  
654 -Is to check 2021/11/12 12:00:00 to 2021/11/12 15:00:00's data
736 +(((
737 +**VDC_intput_V **= 0x0D10/1000=3.344V
655 655  
656 -Uplink Internal =5s,means CPL01 will send one packet every 5s. range 5~~255s.
739 +**IDC_intput_mA **= 0x0000/1000=0mA
740 +)))
657 657  
742 +(((
743 +**IN1_pin_level **= (0x40& 0x08)? "High":"Low" = 0(Low)
658 658  
659 -=== 2.6.4 Decoder in TTN V3 ===
745 +**IN2_pin_level = (**0x40& 0x04)? "High":"Low" = 0(Low)
660 660  
747 +**Exti_pin_level = (**0x40& 0x02)? "High":"Low" = 0(Low)
748 +
749 +**Exti_status = (**0x40& 0x01)? "True":"False" = 0(False)
750 +)))
751 +
752 +(((
753 +**Unix time** is 0x6788DB63 = 1737022307s = 2025/1/16 10:11:47
754 +)))
755 +
756 +**Its data format is:**
757 +
758 +[Probe_mod, VDC_intput_V, IDC_intput_mA, IN1_pin_level**, **IN2_pin_level, Exti_pin_level, water_deep, Data_time],[Probe_mod, VDC_intput_V, IDC_intput_mA, IN1_pin_level**, **IN2_pin_level, Exti_pin_level, water_deep, Data_time],...
759 +
760 +(% style="color:red" %)**Note: water_deep in the data needs to be converted using decoding to get it.**
761 +
762 +
763 +=== 2.6.5 Decoder in TTN V3 ===
764 +
661 661  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652862574387-195.png?width=722&height=359&rev=1.1||alt="1652862574387-195.png" height="359" width="722"]]
662 662  
663 663  Please check the decoder from this link: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>url:https://github.com/dragino/dragino-end-node-decoder]]
664 664  
665 665  
666 -
667 667  == 2.7 Frequency Plans ==
668 668  
669 669  
... ... @@ -672,9 +672,8 @@
672 672  [[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/]]
673 673  
674 674  
675 -== 2.8 Report on Change Feature (Since firmware V1.1.2 ==
778 +== 2.8 Report on Change Feature (Since firmware V1.2) ==
676 676  
677 -
678 678  === 2.8.1 Uplink payload(Enable ROC) ===
679 679  
680 680  
... ... @@ -682,20 +682,18 @@
682 682  
683 683  With ROC enabled, the payload is as follows:
684 684  
685 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
787 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
686 686  |(% style="background-color:#4f81bd; color:white; width:97px" %)(((
687 687  **Size(bytes)**
688 688  )))|(% style="background-color:#4f81bd; color:white; width:48px" %)**2**|(% style="background-color:#4f81bd; color:white; width:71px" %)**2**|(% style="background-color:#4f81bd; color:white; width:98px" %)**2**|(% style="background-color:#4f81bd; color:white; width:73px" %)**2**|(% style="background-color:#4f81bd; color:white; width:122px" %)**1**
689 689  |(% 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" %)(((
690 -[[IN1 &IN2 Interrupt  flag>>||anchor="H2.3.7IN126IN226INTpin"]]
691 -
692 -& **ROC_flag**
792 +[[IN1 &IN2 Interrupt  flag>>||anchor="H2.3.7IN126IN226INTpin"]] & ROC_flag
693 693  )))
694 694  
695 695  (% style="color:blue" %)**IN1 &IN2 , Interrupt  flag , ROC_flag:**
696 696  
697 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
698 -|(% style="background-color:#4f81bd; color:white; width:55px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:46.5834px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:1px" %)**bit5**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit4**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit3**|(% style="background-color:#4f81bd; color:white; width:105px" %)**bit2**|(% style="background-color:#4f81bd; color:white; width:105px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:105px" %)**bit0**
797 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %)
798 +|(% style="background-color:#4f81bd; color:white; width:50px" %)**Size(bit)**|(% style="background-color:#4f81bd; color:white; width:60px" %)**bit7**|(% style="background-color:#4f81bd; color:white; width:62px" %)**bit6**|(% style="background-color:#4f81bd; color:white; width:62px" %)**bit5**|(% style="background-color:#4f81bd; color:white; width:65px" %)**bit4**|(% style="background-color:#4f81bd; color:white; width:56px" %)**bit3**|(% style="background-color:#4f81bd; color:white; width:55px" %)**bit2**|(% style="background-color:#4f81bd; color:white; width:55px" %)**bit1**|(% style="background-color:#4f81bd; color:white; width:50px" %)**bit0**
699 699  |(% style="width:75px" %)Value|(% style="width:89px" %)IDC_Roc_flagL|(% style="width:46.5834px" %)IDC_Roc_flagH|(% style="width:1px" %)VDC_Roc_flagL|(% style="width:89px" %)VDC_Roc_flagH|(% style="width:89px" %)IN1_pin_level|(% style="width:103px" %)IN2_pin_level|(% style="width:103px" %)Exti_pin_level|(% style="width:103px" %)Exti_status
700 700  
701 701  * (% style="color:#037691" %)**IDC_Roc_flagL**
... ... @@ -749,14 +749,22 @@
749 749  === 2.8.2 Set the Report on Change ===
750 750  
751 751  
752 -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.
852 +Feature: Get or Set the Report on Change.
853 +
854 +
855 +==== 2.8.2.1 Wave alarm mode ====
856 +
857 +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.
858 +
859 +* (% style="color:#037691" %)**Change value: **(%%)The amount by which the next detection value increases/decreases relative to the previous detection value.
860 +* (% style="color:#037691" %)**Comparison value:**(%%) A parameter to compare with the latest ROC test.
861 +
753 753  (% style="color:blue" %)**AT Command: AT+ROC**
754 754  
755 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %)
756 -|=(% 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: 168px; background-color: rgb(79, 129, 189); color: white;" %)**Response/Explanation**
757 -|(% style="width:143px" %)AT+ROC=?|(% style="width:197px" %)Show current ROC setting|(% style="width:168px" %)(((
864 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
865 +|=(% 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**
866 +|(% style="width:143px" %)AT+ROC=?|(% style="width:154px" %)Show current ROC setting|(% style="width:197px" %)(((
758 758  0,0,0,0(default)
759 -
760 760  OK
761 761  )))
762 762  |(% colspan="1" rowspan="4" style="width:143px" %)(((
... ... @@ -765,44 +765,132 @@
765 765  
766 766  
767 767  AT+ROC=a,b,c,d
768 -)))|(% style="width:197px" %)**a**: Enable or disable the ROC|(% style="width:168px" %)(((
769 -0: off
876 +)))|(% style="width:154px" %)(((
877 +
770 770  
771 -1: on
879 +
880 +
881 +
882 +
883 +**a**: Enable or disable the ROC
884 +)))|(% style="width:197px" %)(((
885 +**0:** off
886 +**1:** Turn on the wave alarm mode, send the ROC uplink when the increment exceeds the set parameter and refresh the comparison value.
887 +
888 +**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.7Button26LEDs"]]).
772 772  )))
773 -|(% style="width:197px" %)**b**: Set the detection interval|(% style="width:168px" %)Unit: second
774 -|(% style="width:197px" %)**c**: Setting the IDC change threshold|(% style="width:168px" %)Unit: uA
775 -|(% style="width:197px" %)**d**: Setting the VDC change threshold|(% style="width:168px" %)Unit: mV
890 +|(% style="width:154px" %)**b**: Set the detection interval|(% style="width:197px" %)(((
891 +Range:  0~~65535s
892 +)))
893 +|(% style="width:154px" %)**c**: Setting the IDC change value|(% style="width:197px" %)Unit: uA
894 +|(% style="width:154px" %)**d**: Setting the VDC change value|(% style="width:197px" %)Unit: mV
776 776  
777 777  **Example:**
778 778  
779 -* 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.
780 -* 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.
898 +* AT+ROC=0,0,0,0  ~/~/The ROC function is not used.
899 +* 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.
900 +* 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.
901 +* 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.
781 781  
782 782  (% style="color:blue" %)**Downlink Command: 0x09 aa bb cc dd**
783 783  
784 784  Format: Function code (0x09) followed by 4 bytes.
785 785  
786 -(% style="color:blue" %)**aa: **(%%)Enable/Disable the ROC.
907 +(% style="color:blue" %)**aa: **(% style="color:#037691" %)**1 byte;**(%%) Set the wave alarm mode.
787 787  
788 -(% style="color:blue" %)**bb: **(%%)Set the detection interval. (second)
909 +(% style="color:blue" %)**bb: **(% style="color:#037691" %)**2 bytes;**(%%) Set the detection interval. (second)
789 789  
790 -(% style="color:blue" %)**cc: **(%%)Setting the IDC change threshold. (uA)
911 +(% style="color:blue" %)**cc: **(% style="color:#037691" %)**2 bytes;**(%%) Setting the IDC change threshold. (uA)
791 791  
792 -(% style="color:blue" %)**dd: **(%%)Setting the VDC change threshold. (mV)
913 +(% style="color:blue" %)**dd: **(% style="color:#037691" %)**2 bytes;**(%%) Setting the VDC change threshold. (mV)
793 793  
794 794  **Example:**
795 795  
796 796  * Downlink Payload: **09 01 00 3C 0B B8 01 F4 ** ~/~/Equal to AT+ROC=1,60,3000, 500
797 -* Downlink Payload: **09 01 00 3C 0B B8 00 00 ** ~/~/AT+ROC=1,60,3000,0
918 +* Downlink Payload: **09 01 00 3C 0B B8 00 00 ** ~/~/Equal to AT+ROC=1,60,3000,0
919 +* Downlink Payload: **09 02 00 3C 0B B8 00 00 ** ~/~/Equal to AT+ROC=2,60,3000,0
798 798  
799 799  (% style="color:blue" %)**Screenshot of parsing example in TTN:**
800 800  
801 801  * AT+ROC=1,60,3000, 500.
802 802  
803 -[[image:image-20241019170902-1.png||height="450" width="1454"]]
925 +[[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"]]
804 804  
805 805  
928 +==== 2.8.2.2 Over-threshold alarm mode ====
929 +
930 +Feature: Monitors whether the IDC/VDC exceeds the threshold by setting the detection period and threshold. Alarm if the threshold is exceeded.
931 +
932 +(% style="color:blue" %)**AT Command: AT+ROC=3,a,b,c,d,e**
933 +
934 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
935 +|=(% 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**
936 +|(% style="width:143px" %)AT+ROC=?|(% style="width:160px" %)Show current ROC setting|(% style="width:185px" %)(((
937 +0,0,0,0(default)
938 +OK
939 +)))
940 +|(% colspan="1" rowspan="5" style="width:143px" %)(((
941 +
942 +
943 +
944 +
945 +AT+ROC=(% style="color:blue" %)**3**(%%),a,b,c,d,e
946 +)))|(% style="width:160px" %)(((
947 +**a: **Set the detection interval
948 +)))|(% style="width:185px" %)(((
949 +Range:  0~~65535s
950 +)))
951 +|(% style="width:160px" %)**b**: Set the IDC alarm trigger condition|(% style="width:185px" %)(((
952 +**0:** Less than the set IDC threshold, Alarm
953 +
954 +**1:** Greater than the set IDC threshold, Alarm
955 +)))
956 +|(% style="width:160px" %)(((
957 +**c**:  IDC alarm threshold
958 +)))|(% style="width:185px" %)(((
959 +Unit: uA
960 +)))
961 +|(% style="width:160px" %)**d**: Set the VDC alarm trigger condition|(% style="width:185px" %)(((
962 +**0:** Less than the set VDC threshold, Alarm
963 +
964 +**1:** Greater than the set VDC threshold, Alarm
965 +)))
966 +|(% style="width:160px" %)**e:** VDC alarm threshold|(% style="width:185px" %)Unit: mV
967 +
968 +**Example:**
969 +
970 +* AT+ROC=3,60,0,3000,0,5000  ~/~/The data is checked every 60 seconds. If the IDC is less than 3mA or the VDC is less than 5000mV, an alarm is generated.
971 +* AT+ROC=3,180,1,3000,1,5000  ~/~/The data is checked every 180 seconds. If the IDC is greater than 3mA or the VDC is greater than 5000mV, an alarm is generated.
972 +* AT+ROC=3,300,0,3000,1,5000  ~/~/The data is checked every 300 seconds. If the IDC is less than 3mA or the VDC is greater than 5000mV, an alarm is generated.
973 +
974 +(% style="color:blue" %)**Downlink Command: 0x09 03 aa bb cc dd ee**
975 +
976 +Format: Function code (0x09) followed by 03 and the remaining 5 bytes.
977 +
978 +(% style="color:blue" %)**aa: **(% style="color:#037691" %)**2 bytes;**(%%) Set the detection interval.(second)
979 +
980 +(% style="color:blue" %)**bb: **(% style="color:#037691" %)**1 byte; **(%%)Set the IDC alarm trigger condition.
981 +
982 +(% style="color:blue" %)**cc: **(% style="color:#037691" %)**2 bytes;**(%%) IDC alarm threshold.(uA)
983 +
984 +
985 +(% style="color:blue" %)**dd: **(% style="color:#037691" %)**1 byte;**(%%) Set the VDC alarm trigger condition.
986 +
987 +(% style="color:blue" %)**ee: **(% style="color:#037691" %)**2 bytes; **(%%)VDC alarm threshold.(mV)
988 +
989 +**Example:**
990 +
991 +* Downlink Payload: **09 03 00 3C 00 0B B8 00 13 38** ~/~/Equal to AT+ROC=3,60,0,3000,0,5000
992 +* Downlink Payload: **09 03 00 b4 01 0B B8 01 13 38**  ~/~/Equal to AT+ROC=3,60,1,3000,1,5000
993 +* Downlink Payload: **09 03 01 2C 00 0B B8 01 13 38**  ~/~/Equal to AT+ROC=3,60,0,3000,1,5000
994 +
995 +(% style="color:blue" %)**Screenshot of parsing example in TTN:**
996 +
997 +* AT+ROC=3,60,0,3000,0,5000
998 +
999 +[[image:image-20250116180030-2.png]]
1000 +
1001 +
806 806  == 2.9 ​Firmware Change Log ==
807 807  
808 808  
... ... @@ -969,6 +969,16 @@
969 969  * Example 5: Downlink Payload: 070301F4  **~-~-->**  AT+12VT=500
970 970  * Example 6: Downlink Payload: 07030000  **~-~-->**  AT+12VT=0
971 971  
1168 +(% 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.**
1169 +
1170 +(% style="color:red" %)**Therefore, the corresponding downlink command is increased by one byte to five bytes.**
1171 +
1172 +**Example: **
1173 +
1174 +* 120s=120000ms(D) =0x01D4C0(H), Downlink Payload: 07 **01** 01 D4 C0  **~-~-->**  AT+3V3T=120000
1175 +* 100s=100000ms(D) =0x0186A0(H), Downlink Payload: 07 **02** 01 86 A0  **~-~-->**  AT+5VT=100000
1176 +* 80s=80000ms(D) =0x013880(H), Downlink Payload: 07 **03** 01 38 80  **~-~-->**  AT+12VT=80000
1177 +
972 972  === 3.3.4 Set the Probe Model ===
973 973  
974 974  
... ... @@ -1132,9 +1132,9 @@
1132 1132  = 8. Order Info =
1133 1133  
1134 1134  
1135 -[[image:image-20240109172423-7.png]](% style="display:none" %)
1341 +(% style="display:none" %)
1136 1136  
1137 -[[image:image-20240817150702-1.png]]
1343 +[[image:image-20241021093209-1.png]]
1138 1138  
1139 1139  = 9. ​Packing Info =
1140 1140  
... ... @@ -1156,4 +1156,3 @@
1156 1156  * 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.
1157 1157  
1158 1158  * 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]].
1159 -
image-20241021093209-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +52.1 KB
Content
image-20250116175954-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +68.6 KB
Content
image-20250116180030-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +69.2 KB
Content
image-20250117104812-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +1.7 KB
Content
image-20250117104827-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +74.6 KB
Content
image-20250117104837-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +38.7 KB
Content
image-20250117104847-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +4.2 KB
Content
image-20250401102131-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.ting
Size
... ... @@ -1,0 +1,1 @@
1 +64.7 KB
Content
image-20250401163530-1.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +44.9 KB
Content