<
From version < 55.3 >
edited by Xiaoling
on 2023/06/15 09:36
To version < 55.5 >
edited by Xiaoling
on 2024/01/19 09:57
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Title
... ... @@ -1,1 +1,1 @@
1 -CPN01- NB-IoT Outdoor Open/Close Dry Contact Sensor User Manual
1 +CPN01 -- NB-IoT Outdoor Open/Close Dry Contact Sensor User Manual
Content
... ... @@ -1,10 +1,18 @@
1 +
2 +
1 1  (% style="text-align:center" %)
2 2  [[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/CPL01%20LoRaWAN%20Outdoor%20PulseContact%20%20Sensor%20Manual/WebHome/1652856952171-363.png?rev=1.1||alt="1652856952171-363.png" height="578" width="588"]]
3 3  
4 4  
5 5  
6 -**Table of Contents:**
7 7  
9 +
10 +
11 +
12 +
13 +
14 +**Table of Contents :**
15 +
8 8  {{toc/}}
9 9  
10 10  
... ... @@ -59,7 +59,6 @@
59 59  * 8500mAh Battery for long-term use
60 60  
61 61  
62 -
63 63  == 1.3  Specification ==
64 64  
65 65  
... ... @@ -78,7 +78,6 @@
78 78  * B28 @H-FDD: 700MHz
79 79  
80 80  
81 -
82 82  == 1.4  Installation ==
83 83  
84 84  
... ... @@ -98,7 +98,6 @@
98 98  * Dry Contact Detection
99 99  
100 100  
101 -
102 102  == 1.6  Mechanical ==
103 103  
104 104  
... ... @@ -110,7 +110,6 @@
110 110  
111 111  [[image:image-20221021110429-4.png]]
112 112  
113 -
114 114  === 1.7.1  Pin Definition ===
115 115  
116 116  
... ... @@ -172,7 +172,7 @@
172 172  
173 173  Below figure shows our testing structure. Here we have NB-IoT network coverage by China Mobile, the band they use is B8.  The CPN01 will use** (% style="color:red" %)CoAP(120.24.4.116:5683)(%%)** or raw (% style="color:red" %)**UDP(120.24.4.116:5601) **(%%)or (% style="color:red" %)**MQTT(120.24.4.116:1883) **(%%)or (% style="color:red" %)**TCP(120.24.4.116:5600)protocol**(%%) to send data to the test server.
174 174  
175 -[[image:image-20221023000439-3.png]]
179 +[[image:image-20221023000439-3.png||height="296" width="894"]]
176 176  
177 177  
178 178  === 2.2.2 Insert NB-IoT SIM card ===
... ... @@ -324,13 +324,12 @@
324 324  
325 325  Each time the device uploads a data package, 8 sets of recorded data will be attached. Up to 32 sets of recorded data can be uploaded.
326 326  
331 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:520px" %)
332 +|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:40px" %)**8**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:25px" %)**2**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:25px" %)**2**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:30px" %)**1**|(% style="background-color:#d9e2f3; color#4F81BD;color:white; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:40px" %)**1**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:60px" %)**3**
333 +|(% style="width:96px" %)Value|(% style="width:84px" %)[[Device ID>>||anchor="H2.4.1A0A0DeviceID"]]|(% style="width:40px" %)[[Ver>>||anchor="H2.4.2A0VersionInfo"]]|(% style="width:44px" %)[[BAT>>||anchor="H2.4.3A0BatteryInfo"]]|(% style="width:121px" %)[[Signal Strength>>||anchor="H2.4.4A0SignalStrength"]]|(% style="width:52px" %)MOD|(% style="width:84px" %)[[ Calculate Flag>>||anchor="H2.4.5A0CalculateFlag"]]|(% style="width:116px" %)[[Contact Status>>||anchor="H2.4.7A0ContactStatus"]]|(% style="width:57px" %)[[Alarm>>||anchor="H2.4.6A0Alarm"]]|(% style="width:91px" %)[[Total pulse>>||anchor="H2.4.8A0Totalpulse"]]
327 327  
328 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %)
329 -|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**8**|(% style="background-color:#d9e2f3; color:#0070c0; width:25px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:25px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:30px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**3**
330 -|(% style="width:96px" %)**Value**|(% style="width:84px" %)[[Device ID>>||anchor="H2.4.1A0A0DeviceID"]]|(% style="width:40px" %)[[Ver>>||anchor="H2.4.2A0VersionInfo"]]|(% style="width:44px" %)[[BAT>>||anchor="H2.4.3A0BatteryInfo"]]|(% style="width:121px" %)[[Signal Strength>>||anchor="H2.4.4A0SignalStrength"]]|(% style="width:52px" %)MOD|(% style="width:84px" %)[[ Calculate Flag>>||anchor="H2.4.5A0CalculateFlag"]]|(% style="width:116px" %)[[Contact Status>>||anchor="H2.4.7A0ContactStatus"]]|(% style="width:57px" %)[[Alarm>>||anchor="H2.4.6A0Alarm"]]|(% style="width:91px" %)[[Total pulse>>||anchor="H2.4.8A0Totalpulse"]]
331 -
332 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %)
333 -|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**3**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**3**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**3**|(% style="background-color:#d9e2f3; color:#0070c0; width:80px" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0; width:50px" %)**8group**
335 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %)
336 +|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:100px" %)**3**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:50px" %)**4**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:70px" %)**1**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:50px" %)**3**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:100px" %)**3**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:80px" %)**4**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:50px" %)**8group**
334 334  |(% style="width:176px" %)[[The last open duration>>||anchor="H2.4.9A0Thelastopenduration"]]|(% style="width:98px" %)[[Time stamp>>||anchor="H2.4.10A0Timestamp"]]|(% style="width:115px" %)Contact Status|(% style="width:92px" %)Total pulse|(% style="width:169px" %)The last open duration|(% style="width:97px" %)Time stamp|(% style="width:74px" %)...
335 335  
336 336  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the CPN01 uplink data.
... ... @@ -371,7 +371,6 @@
371 371  * (% style="color:#037691" %)**8 sets of recorded data: Contact Status, Total pulse, The last open duration ,Time stamp :**(%%) 0100000e00002663510f39,.......
372 372  
373 373  
374 -
375 375  == 2.4  Payload Explanation and Sensor Interface ==
376 376  
377 377  === 2.4.1  Device ID ===
... ... @@ -482,8 +482,8 @@
482 482  
483 483  By default, CPN01 prints the downlink payload to console port.
484 484  
485 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:505px" %)
486 -|(% style="background-color:#d9e2f3; color:#0070c0; width:207px" %)**Downlink Control Type**|(% style="background-color:#d9e2f3; color:#0070c0; width:56px" %)**FPort**|(% style="background-color:#d9e2f3; color:#0070c0; width:93px" %)**Type Code**|(% style="background-color:#d9e2f3; color:#0070c0; width:149px" %)**Downlink payload size(bytes)**
487 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:505px" %)
488 +|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:207px" %)**Downlink Control Type**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:56px" %)**FPort**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:93px" %)**Type Code**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:149px" %)**Downlink payload size(bytes)**
487 487  |(% style="width:207px" %)TDC(Transmit Time Interval)|(% style="width:56px" %)Any|(% style="width:93px" %)01|(% style="width:144px" %)4
488 488  |(% style="width:207px" %)RESET|(% style="width:56px" %)Any|(% style="width:93px" %)04|(% style="width:144px" %)2
489 489  |(% style="width:207px" %)INTMOD|(% style="width:56px" %)Any|(% style="width:93px" %)06|(% style="width:144px" %)4
... ... @@ -517,7 +517,6 @@
517 517  * For each uplink probe, LED will be on for 500ms.
518 518  
519 519  
520 -
521 521  == 2.7  Alarm Base on Timeout ==
522 522  
523 523  
... ... @@ -554,13 +554,12 @@
554 554  
555 555  (% style="color:blue" %)**AT Command: AT+DEBUG**
556 556  
557 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:430px" %)
558 -|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:196px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:76px" %)**Response**
558 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:430px" %)
559 +|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:196px" %)**Function**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:76px" %)**Response**
559 559  |(% style="width:158px" %)AT+DEBUG=0|(% style="width:196px" %)Disable debug mode to 0|(% style="width:74px" %)OK
560 560  |(% style="width:158px" %)AT+DEBUG=1|(% style="width:196px" %)Enable debug mode to 1|(% style="width:74px" %)OK
561 561  
562 562  
563 -
564 564  == 2.9  Clear Flash Record ==
565 565  
566 566  
... ... @@ -568,14 +568,13 @@
568 568  
569 569  (% style="color:blue" %)**AT Command: AT+CLRDTA**
570 570  
571 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:498px" %)
572 -|(% style="background-color:#d9e2f3; color:#0070c0; width:159px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:170px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:169px" %)**Response**
571 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:498px" %)
572 +|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:159px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:170px" %)**Function**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:169px" %)**Response**
573 573  |(% style="width:158px" %)AT+CLRDTA|(% style="width:169px" %)Clear flash storage for data log feature.|(% style="width:167px" %)(((
574 574  Clear all stored sensor data…OK
575 575  )))
576 576  
577 577  
578 -
579 579  == 2.10  Set trigger mode ==
580 580  
581 581  
... ... @@ -583,13 +583,12 @@
583 583  
584 584  Feature: Set the trigger interrupt mode.
585 585  
586 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:472px" %)
587 -|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:225px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:89px" %)**Response**
585 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:472px" %)
586 +|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:225px" %)**Function**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:89px" %)**Response**
588 588  |(% style="width:158px" %)AT+TTRMOD=1|(% style="width:225px" %)Count and trigger from open to close (rising edge)|(% style="width:88px" %)OK
589 589  |(% style="width:158px" %)AT+TTRMOD=0|(% style="width:225px" %)Count and trigger from close to open (falling edge)|(% style="width:88px" %)OK
590 590  
591 591  
592 -
593 593  == 2.11  Set the calculate flag ==
594 594  
595 595  
... ... @@ -597,13 +597,12 @@
597 597  
598 598  (% style="color:blue" %)**AT Command: AT+CALCFLAG**
599 599  
600 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:430px" %)
601 -|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:197px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:75px" %)**Response**
598 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:430px" %)
599 +|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:197px" %)**Function**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:75px" %)**Response**
602 602  |(% style="width:158px" %)AT+CALCFLAG=1|(% style="width:196px" %)Set the calculate flag to 1|(% style="width:74px" %)OK
603 603  |(% style="width:158px" %)AT+CALCFLAG=2|(% style="width:196px" %)Set the calculate flag to 2|(% style="width:74px" %)OK
604 604  
605 605  
606 -
607 607  == 2.12 Set count number ==
608 608  
609 609  
... ... @@ -612,13 +612,12 @@
612 612  (% style="color:blue" %)**AT Command: AT+SETCNT**
613 613  
614 614  
615 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:459px" %)
616 -|(% style="background-color:#d9e2f3; color:#0070c0; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#0070c0; width:239px" %)**Function**|(% style="background-color:#d9e2f3; color:#0070c0; width:62px" %)**Response**
612 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:459px" %)
613 +|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:239px" %)**Function**|(% style="background-color:#d9e2f3; color:#4F81BD;color:white; width:62px" %)**Response**
617 617  |(% style="width:158px" %)AT+SETCNT=0|(% style="width:239px" %)Set the count number to 0|(% style="width:85px" %)OK
618 618  |(% style="width:158px" %)AT+SETCNT=100|(% style="width:239px" %)Set the count number to 100|(% style="width:85px" %)OK
619 619  
620 620  
621 -
622 622  == 2.13  Set the number of data to be uploaded and the recording time ==
623 623  
624 624  
... ... @@ -806,7 +806,6 @@
806 806  * Weight:   420g
807 807  
808 808  
809 -
810 810  = 9.  Support =
811 811  
812 812  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0