<
From version < 81.4 >
edited by Xiaoling
on 2022/12/07 18:13
To version < 81.3 >
edited by Xiaoling
on 2022/12/07 18:09
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -458,20 +458,41 @@
458 458  == 2.7  Distance alarm function ==
459 459  
460 460  
461 -(% style="color:blue" %)**AT Command: AT+ALARM1=min,max**
461 +NDS03A can monitor the timeout for a status change, this feature can be used to monitor some events such as door opening too long etc. Related Parameters are:
462 462  
463 -**Example 1:**
464 464  
465 -AT+ ALARM1 =60,200  ~/~/ Alarm when moisture lower than 60.
464 +(% style="color:blue" %)**1. Keep Status: Status to be monitor**
466 466  
467 -AT+ ALARM2 =min,max
466 +Keep Status = 1: Monitor Close to Open event
468 468  
468 +Keep Status = 0: Monitor Open to Close event
469 469  
470 -**Example 2:**
471 471  
472 -AT+ ALARM2 =200,1500  ~/~/ Alarm when temperature lower than 1500
471 +(% style="color:blue" %)**2. Keep Time: Timeout to send an Alarm**
473 473  
473 +Range 0 ~~ 65535(0xFFFF) seconds.
474 474  
475 +If keep time = 0, Disable Alarm Base on Timeout feature.
476 +
477 +If keep time > 0, device will monitor the keep status event and send an alarm when status doesn't change after timeout.
478 +
479 +
480 +(% style="color:blue" %)**AT Command to configure:**
481 +
482 +(% style="color:blue" %)**PB14 PIN:**
483 +
484 +(% style="color:#037691" %)**AT+TTRIG=1,30** (%%) **~-~->**  When the **Keep Status** change from connected to disconnect, and device remains in disconnect status for more than 30 seconds. NDS03A will send an uplink packet, the [[Alarm bit>>url:http://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/#H2.3.3Real-TimeOpen2FCloseStatus2CUplinkFPORT3D2]] (the second bit of 1^^st^^ byte of payload) on this uplink packet is set to 1.
485 +
486 +(% style="color:#037691" %)**AT+TTRIG=0,0 ** (%%) **~-~->** Default Value, disable timeout Alarm.
487 +
488 +
489 +(% style="color:blue" %)**PB15 PIN:**
490 +
491 +(% style="color:#037691" %)**AT+TTRIG2=1,30**
492 +
493 +(% style="color:#037691" %)**AT+TTRIG2=0,0 **
494 +
495 +
475 475  == 2.8  Set debug mode ==
476 476  
477 477  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0