<
From version < 61.3 >
edited by Xiaoling
on 2022/11/17 16:39
To version < 67.1 >
edited by Xiaoling
on 2022/11/18 09:44
>
Change comment: Uploaded new attachment "image-20221118094449-6.png", version {1}

Summary

Details

Page properties
Content
... ... @@ -370,7 +370,6 @@
370 370  )))
371 371  |(% style="width:98px" %)[[Time stamp>>||anchor="H2.4.10A0Timestamp"]]|(% style="width:115px" %)Door Status(pb14)|(% style="width:92px" %)door open num(pb14)|(% style="width:99px" %)last open time(pb14)|(% style="width:67px" %)Time stamp|(% style="width:74px" %)...
372 372  
373 -
374 374  (% style="color:blue" %)**When AT+TTRCHANNEL=2:**
375 375  
376 376  
... ... @@ -395,8 +395,6 @@
395 395  
396 396  The payload is ASCII string, representative same HEX:
397 397  
398 -**0x **f867787050213317  0064  0ccf 19 01 00 00 000016 000017 637590df
399 -
400 400  **0x (% style="color:red" %)__f867787050213317__  (% style="color:blue" %)__0064__ (% style="color:green" %) __0ccf__(% style="color:#00b0f0" %) __19__(% style="color:#7030a0" %) __01__(% style="color:#0020b0" %) __00__ (% style="color:#420042" %)__00__(% style="color:#660066" %) (% style="color:#aaaa40" %)__000016__(% style="color:#663300" %) __000017__ (% style="color:#d60093" %)__637590df__(%%)**
401 401  
402 402  **where:**
... ... @@ -421,7 +421,6 @@
421 421  
422 422  * (% style="color:#037691" %)**Timestamp:**(%%) 0x637590df =1668649183 (Unix Time)
423 423  
424 -
425 425  == 2.4  Payload Explanation and Sensor Interface ==
426 426  
427 427  
... ... @@ -439,20 +439,18 @@
439 439  The Device ID is stored in a non-erase area, Upgrade the firmware or run AT+FDR won't erase the Device ID.
440 440  
441 441  
442 -
443 443  === 2.4.2  Version Info ===
444 444  
445 445  
446 446  Specify the software version: 0x64=100, which means firmware version 1.00.
447 447  
448 -For example 0x00 64 : This device is CPN01 with firmware version 1.0.0.
443 +For example 0x00 64 : This device is NDS03A 1 with firmware version 1.0.0.
449 449  
450 450  
451 -
452 452  === 2.4.3  Battery Info ===
453 453  
454 454  
455 -Check the battery voltage for CPN01.
449 +Check the battery voltage for NDS03A.
456 456  
457 457  Ex1: 0x0B45 = 2885mV
458 458  
... ... @@ -459,7 +459,6 @@
459 459  Ex2: 0x0B49 = 2889mV
460 460  
461 461  
462 -
463 463  === 2.4.4  Signal Strength ===
464 464  
465 465  
... ... @@ -478,70 +478,39 @@
478 478  **99**    Not known or not detectable
479 479  
480 480  
474 +=== 2.4.5  Disalarm: (default: 0) ===
481 481  
482 -=== 2.4.5  Calculate Flag ===
483 483  
477 +(% style="color:blue" %)**If Disalarm = 1**(%%), NDS03A will only send uplink at every TDC periodically. This is normally use for pulse meter application, in this application, there are many open/close event, and platform only care about the total number of pulse.
484 484  
485 -The calculate flag is a user defined field, IoT server can use this filed to handle different meters with different pulse factors. For example, if there are 100 water meters, meter 1~~50 are 1 liter/pulse and meter 51 ~~ 100 has 1.5 liter/pulse.
479 +(% style="color:blue" %)**If Disalarm = 0**(%%), NDS03A will send uplink at every TDC periodically and send data on each open/close event. This is useful for the application user need to monitor the open/close event in real-time.
486 486  
487 -User can set calculate flag to 1 for meter 1~~50 and 2 for meter 51 ~~ 100, So IoT Server can use this field for calculation.
481 + (% style="color:red" %)**Note:**(%%) When Disalarm=0, a high frequently open/close event will cause lots of uplink and drain battery very fast.
488 488  
489 -Default value: 0. 
490 490  
491 -Range (6 bits): (b)000000 ~~ (b) 111111
484 +=== 2.4.6  Keep Status & Keep Time ===
492 492  
493 493  
487 +Shows the configure value of Alarm Base on Timeout Feature
494 494  
495 -=== 2.4.6  Alarm ===
496 496  
490 +=== 2.4.7  Timestamp ===
497 497  
498 -See [[Alarm Base on Timeout>>||anchor="H2.7A0AlarmBaseonTimeout"]]
499 499  
493 +Timestamp : 0x6315537b =1662342011
500 500  
501 501  
502 -=== 2.4.7  Contact Status ===
503 503  
497 +=== 2.4.8  Switch Dual Channel Mode ===
504 504  
505 -0: Open
506 506  
507 -1: Close
500 +NDS03A can connect two door sensors. Another door sensor can be connected to PB15 pin. Both channels support alarm function.
508 508  
509 509  
510 -
511 -=== 2.4.8  Total pulse ===
512 -
513 -
514 -Total pulse/counting based on dry [[contact trigger event>>||anchor="H2.12Setcountnumber"]]
515 -
516 -Range (3 Bytes) : 0x000000 ~~ 0xFFFFFF . Max: 16777215
517 -
518 -
519 -
520 -=== 2.4.9  The last open duration ===
521 -
522 -
523 -Dry Contact last open duration.
524 -
525 -Unit: min.
526 -
527 -[[image:image-20221021111346-17.png||height="146" width="770"]]
528 -
529 -
530 -
531 -=== 2.4.10  Timestamp ===
532 -
533 -
534 -Timestamp : 0x6315537b =1662342011
535 -
536 -Convert Unix timestamp to time 2022-9-5 9:40:11.
537 -
538 -**~ **
539 -
540 -
541 541  == 2.5  Downlink Payload ==
542 542  
543 543  
544 -By default, CPN01 prints the downlink payload to console port.
506 +By default, NDS03A prints the downlink payload to console port.
545 545  
546 546  [[image:image-20221021111414-18.png]] ​
547 547  
... ... @@ -558,7 +558,7 @@
558 558  
559 559  * (% style="color:#037691" %)**Reset**
560 560  
561 -If payload = 0x04FF, it will reset the NSE01
523 +If payload = 0x04FF, it will reset the NDS03A
562 562  
563 563  * (% style="color:#037691" %)**INTMOD**
564 564  
... ... @@ -569,16 +569,17 @@
569 569  == 2.6  ​LED Indicator ==
570 570  
571 571  
572 -The CPN01 has an internal LED which is to show the status of different states.
534 +The NDS03A has an internal LED which is to show the status of different states.
573 573  
574 574  * When the device starts normally, the LED will light up for 1 second.
575 575  * After CPN01 join NB-IoT network. The LED will be ON for 3 seconds.
576 576  * For each uplink probe, LED will be on for 500ms.
577 577  
540 +
578 578  == 2.7  Alarm Base on Timeout ==
579 579  
580 580  
581 -CPN01 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:
544 +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:
582 582  
583 583  
584 584  (% style="color:blue" %)**1. Keep Status: Status to be monitor**
... ... @@ -594,17 +594,25 @@
594 594  
595 595  If keep time = 0, Disable Alarm Base on Timeout feature.
596 596  
597 -If keep time > 0, device will monitor the keep status event and send an alarm when status doesnt change after timeout.
560 +If keep time > 0, device will monitor the keep status event and send an alarm when status doesn't change after timeout.
598 598  
599 599  
600 600  (% style="color:blue" %)**AT Command to configure:**
601 601  
565 +(% style="color:blue" %)**PB14 PIN:**
566 +
602 602  (% 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. CPN01 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.
603 603  
604 604  (% style="color:#037691" %)**AT+TTRIG=0,0 ** (%%) **~-~->** Default Value, disable timeout Alarm.
605 605  
606 606  
572 +(% style="color:blue" %)**PB15 PIN:**
607 607  
574 +(% style="color:#037691" %)**AT+TTRIG2=1,30**
575 +
576 +(% style="color:#037691" %)**AT+TTRIG2=0,0 **
577 +
578 +
608 608  == 2.8  Set debug mode ==
609 609  
610 610  
... ... @@ -627,64 +627,73 @@
627 627  
628 628  
629 629  
630 -== 2.10  Set trigger mode ==
601 +== 2.10  Count Mod ==
631 631  
632 632  
633 -(% style="color:blue" %)**AT Command: AT+TTRMOD**
604 +(% style="color:blue" %)**AT Command: AT+COUNTMOD**
634 634  
635 -Feature: Set the trigger interrupt mode.
606 +[[image:image-20221118092935-1.png]]
636 636  
637 -[[image:image-20221021111552-20.png]]
638 638  
639 639  
610 +== 2.11  Interrupt Pin Channel Mod ==
640 640  
641 -== 2.11  Set the calculate flag ==
642 642  
613 +(% style="color:blue" %)**AT Command: AT+TTRCHANNEL**
643 643  
644 -Feature: Set the calculate flag
615 +[[image:image-20221118093144-2.png]]
645 645  
646 -(% style="color:blue" %)**AT Command: AT+CALCFLAG**
647 647  
648 -[[image:image-20221021111711-22.png]]
649 649  
619 +== 2.12 TTRIG1/2 timeout status alarm ==
650 650  
651 651  
652 -== 2.12 Set count number ==
622 +It needs to be used with AT+TTRIG1 or AT+TTRIG2. When TTRIG1 or TTRIG2 times out and causes an alarm, and the status does not change subsequently, an alarm packet will be sent at the alarm interval.
653 653  
624 +(% style="color:blue" %)**AT Command: AT+TTRALARM**
654 654  
655 -Feature: Manually set the count number
626 +[[image:image-20221118093512-3.png]]
656 656  
657 -(% style="color:blue" %)**AT Command: AT+SETCNT**
658 658  
659 -[[image:image-20221021111748-24.png]]
660 660  
630 +== 2.13  Select counting mode ==
661 661  
662 662  
663 -== 2.13  Set the number of data to be uploaded and the recording time ==
633 +(% style="color:blue" %)**AT Command: AT+TTRMODx=a,b**
664 664  
635 +When (% style="color:red" %)**a=0**(%%), the door is opened to count, and when (% style="color:red" %)**a=1**(%%),the closed door is counted.
665 665  
666 -(% style="color:blue" %)**AT Command:**
637 +When (% style="color:red" %)**b=0**(%%), it is the last door open duration, and when (% style="color:red" %)**b=1**(%%),the last door close duration.
667 667  
668 -(% style="color:#037691" %)**AT+TR=900**        (%%)~/~/  The unit is seconds, and the default is to record data once every 900 seconds.( The minimum can be set to 180 seconds)
639 +[[image:image-20221118093658-4.png]]
669 669  
670 -(% style="color:#037691" %)**AT+NOUD=8 ** (%%)~/~/  The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
671 671  
672 672  
673 673  
674 -== 2.14  Read or Clear cached data ==
644 +== 2.14  Set the number of data to be uploaded and the recording time ==
675 675  
676 676  
677 677  (% style="color:blue" %)**AT Command:**
678 678  
649 +(% style="color:#037691" %)**AT+TR=900**(%%)  ~/~/  The unit is seconds, and the default is to record data once every 900 seconds.( The minimum can be set to 180 seconds)
650 +
651 +(% style="color:#037691" %)**AT+NOUD=8**(%%)** ** ~/~/  The device uploads 0 sets of recorded data by default. Up to 32 sets of record data can be uploaded.
652 +
653 +
654 +== 2.15  Read or Clear cached data ==
655 +
656 +
657 +(% style="color:blue" %)**AT Command:**
658 +
679 679  (% style="color:#037691" %)**AT+CDP**  (%%) ~/~/ Read cached data
680 680  
681 681  (% style="color:#037691" %)**AT+CDP=0**  (%%) ~/~/ Clear cached data ​
682 682  
683 -[[image:image-20221021111810-25.png||height="364" width="797"]]
663 +[[image:image-20221118094227-5.png]]
684 684  
685 685  
686 686  
687 -== 2.15  ​Firmware Change Log ==
667 +== 2.16  ​Firmware Change Log ==
688 688  
689 689  
690 690  Download URL & Firmware Change log:  [[https:~~/~~/www.dropbox.com/sh/8p5nuvo6gh7je4n/AAAMP7MMusgbXMz9Ik7Ls03Ga?dl=0>>https://www.dropbox.com/sh/8p5nuvo6gh7je4n/AAAMP7MMusgbXMz9Ik7Ls03Ga?dl=0]]
image-20221118092935-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +13.1 KB
Content
image-20221118093144-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +11.7 KB
Content
image-20221118093512-3.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +9.5 KB
Content
image-20221118093658-4.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +12.7 KB
Content
image-20221118094227-5.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +29.2 KB
Content
image-20221118094449-6.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +76.5 KB
Content
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0