Changes for page CPN01- NB-IoT Outdoor Open/Close Dry Contact Sensor User Manual
Last modified by Mengting Qiu on 2024/04/02 16:56
Summary
-
Page properties (2 modified, 0 added, 0 removed)
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 ... ... @@ -58,6 +58,7 @@ 58 58 * Micro SIM card slot for NB-IoT SIM 59 59 * 8500mAh Battery for long-term use 60 60 69 + 61 61 == 1.3 Specification == 62 62 63 63 ... ... @@ -75,6 +75,7 @@ 75 75 * B20 @H-FDD: 800MHz 76 76 * B28 @H-FDD: 700MHz 77 77 87 + 78 78 == 1.4 Installation == 79 79 80 80 ... ... @@ -93,6 +93,7 @@ 93 93 * Pulse meter application 94 94 * Dry Contact Detection 95 95 106 + 96 96 == 1.6 Mechanical == 97 97 98 98 ... ... @@ -104,7 +104,6 @@ 104 104 105 105 [[image:image-20221021110429-4.png]] 106 106 107 - 108 108 === 1.7.1 Pin Definition === 109 109 110 110 ... ... @@ -166,7 +166,7 @@ 166 166 167 167 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. 168 168 169 -[[image:image-20221023000439-3.png]] 179 +[[image:image-20221023000439-3.png||height="296" width="894"]] 170 170 171 171 172 172 === 2.2.2 Insert NB-IoT SIM card === ... ... @@ -318,13 +318,12 @@ 318 318 319 319 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. 320 320 321 - 322 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:515px" %) 323 -|(% style="background-color:#4f81bd; color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:40px" %)**8**|(% style="background-color:#4f81bd; color:white; width:25px" %)**2**|(% style="background-color:#4f81bd; color:white; width:25px" %)**2**|(% style="background-color:#4f81bd; color:white; width:79px" %)**1**|(% style="background-color:#4f81bd; color:white; width:30px" %)**1**|(% style="background-color:#4f81bd; color:white; width:79px" %)**1**|(% style="background-color:#4f81bd; color:white; width:79px" %)**1**|(% style="background-color:#4f81bd; color:white; width:39px" %)**1**|(% style="background-color:#4f81bd; color:white; width:59px" %)**3** 331 +(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:520px" %) 332 +|(% style="background-color:#4F81BD;color:white; width:60px" %)**Size(bytes)**|(% style="background-color:#4F81BD;color:white; width:40px" %)**8**|(% style="background-color:#4F81BD;color:white; width:25px" %)**2**|(% style="background-color:#4F81BD;color:white; width:25px" %)**2**|(% style="background-color:#4F81BD;color:white; width:80px" %)**1**|(% style="background-color:#4F81BD;color:white; width:30px" %)**1**|(% style="background-color:#d9e2f3; color#4F81BD;color:white; width:80px" %)**1**|(% style="background-color:#4F81BD;color:white; width:80px" %)**1**|(% style="background-color:#4F81BD;color:white; width:40px" %)**1**|(% style="background-color:#4F81BD;color:white; width:60px" %)**3** 324 324 |(% 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"]] 325 325 326 326 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:500px" %) 327 -|(% style="background-color:#4 f81bd;f81bd;f81bd;f81bd;f81bd;f81bd;f81bd;336 +|(% style="background-color:#4F81BD;color:white; width:100px" %)**3**|(% style="background-color:#4F81BD;color:white; width:50px" %)**4**|(% style="background-color:#4F81BD;color:white; width:70px" %)**1**|(% style="background-color:#4F81BD;color:white; width:50px" %)**3**|(% style="background-color:#4F81BD;color:white; width:100px" %)**3**|(% style="background-color:#4F81BD;color:white; width:80px" %)**4**|(% style="background-color:#4F81BD;color:white; width:50px" %)**8group** 328 328 |(% 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" %)... 329 329 330 330 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the CPN01 uplink data. ... ... @@ -334,7 +334,7 @@ 334 334 335 335 The payload is ASCII string, representative same HEX: 336 336 337 -**0x (% style="color:red" %)__f867787050213317__ (% style="color:blue" %)__0064__ (% style="color:green" %) __0c78__(% style="color:#00b0f0" %) __17__(% style="color:#7030a0" %) __01__(% style="color:#0020b0" %) __00__ (% style="color:#420042" %)__00__ (% style="color:#660066" %)__00__ (% style="color:#aaaa40" %)__000009__(% style="color:#663300" %) __000002__ (% style="color:#d60093" %)__6315537b__ (% style="color:#660066" %)__01 00000b 0 20000026 63510fed__ (%%)__0100000e0200000263510f39__ __010000000000000063510e85__ __010000000000000063510d2e__ __010000000000000063510c7a__ __010000000000000063510bc6__ __010000000000000063510954__ __010000000000000063510882 __**346 +**0x (% style="color:red" %)__f867787050213317__ (% style="color:blue" %)__0064__ (% style="color:green" %) __0c78__(% style="color:#00b0f0" %) __17__(% style="color:#7030a0" %) __01__(% style="color:#0020b0" %) __00__ (% style="color:#420042" %)__00__ (% style="color:#660066" %)__00__ (% style="color:#aaaa40" %)__000009__(% style="color:#663300" %) __000002__ (% style="color:#d60093" %)__6315537b__ (% style="color:#660066" %)__01 00000b 0000026 63510fed__ (%%)__0100000e00000263510f39__ __0100000000000063510e85__ __0100000000000063510d2e__ __0100000000000063510c7a__ __0100000000000063510bc6__ __0100000000000063510954__ __0100000000000063510882 __** 338 338 339 339 **where:** 340 340 ... ... @@ -364,6 +364,7 @@ 364 364 365 365 * (% style="color:#037691" %)**8 sets of recorded data: Contact Status, Total pulse, The last open duration ,Time stamp :**(%%) 0100000e00002663510f39,....... 366 366 376 + 367 367 == 2.4 Payload Explanation and Sensor Interface == 368 368 369 369 === 2.4.1 Device ID === ... ... @@ -475,7 +475,7 @@ 475 475 By default, CPN01 prints the downlink payload to console port. 476 476 477 477 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:505px" %) 478 -|(% style="background-color:#4 f81bd;f81bd;f81bd;f81bd;488 +|(% style="background-color:#4F81BD;color:white; width:207px" %)**Downlink Control Type**|(% style="background-color:#4F81BD;color:white; width:56px" %)**FPort**|(% style="background-color:#4F81BD;color:white; width:93px" %)**Type Code**|(% style="background-color:#4F81BD;color:white; width:149px" %)**Downlink payload size(bytes)** 479 479 |(% style="width:207px" %)TDC(Transmit Time Interval)|(% style="width:56px" %)Any|(% style="width:93px" %)01|(% style="width:144px" %)4 480 480 |(% style="width:207px" %)RESET|(% style="width:56px" %)Any|(% style="width:93px" %)04|(% style="width:144px" %)2 481 481 |(% style="width:207px" %)INTMOD|(% style="width:56px" %)Any|(% style="width:93px" %)06|(% style="width:144px" %)4 ... ... @@ -508,6 +508,7 @@ 508 508 * After CPN01 join NB-IoT network. The LED will be ON for 3 seconds. 509 509 * For each uplink probe, LED will be on for 500ms. 510 510 521 + 511 511 == 2.7 Alarm Base on Timeout == 512 512 513 513 ... ... @@ -544,12 +544,12 @@ 544 544 545 545 (% style="color:blue" %)**AT Command: AT+DEBUG** 546 546 547 - 548 548 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:430px" %) 549 -|(% style="background-color:#4 f81bd;f81bd;f81bd;559 +|(% style="background-color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:196px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:76px" %)**Response** 550 550 |(% style="width:158px" %)AT+DEBUG=0|(% style="width:196px" %)Disable debug mode to 0|(% style="width:74px" %)OK 551 551 |(% style="width:158px" %)AT+DEBUG=1|(% style="width:196px" %)Enable debug mode to 1|(% style="width:74px" %)OK 552 552 563 + 553 553 == 2.9 Clear Flash Record == 554 554 555 555 ... ... @@ -557,13 +557,13 @@ 557 557 558 558 (% style="color:blue" %)**AT Command: AT+CLRDTA** 559 559 560 - 561 561 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:498px" %) 562 -|(% style="background-color:#4 f81bd;f81bd;f81bd;572 +|(% style="background-color:#4F81BD;color:white; width:159px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:170px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:169px" %)**Response** 563 563 |(% style="width:158px" %)AT+CLRDTA|(% style="width:169px" %)Clear flash storage for data log feature.|(% style="width:167px" %)((( 564 564 Clear all stored sensor data…OK 565 565 ))) 566 566 577 + 567 567 == 2.10 Set trigger mode == 568 568 569 569 ... ... @@ -572,10 +572,11 @@ 572 572 Feature: Set the trigger interrupt mode. 573 573 574 574 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:472px" %) 575 -|(% style="background-color:#4 f81bd;f81bd;f81bd;586 +|(% style="background-color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:225px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:89px" %)**Response** 576 576 |(% style="width:158px" %)AT+TTRMOD=1|(% style="width:225px" %)Count and trigger from open to close (rising edge)|(% style="width:88px" %)OK 577 577 |(% style="width:158px" %)AT+TTRMOD=0|(% style="width:225px" %)Count and trigger from close to open (falling edge)|(% style="width:88px" %)OK 578 578 590 + 579 579 == 2.11 Set the calculate flag == 580 580 581 581 ... ... @@ -583,12 +583,12 @@ 583 583 584 584 (% style="color:blue" %)**AT Command: AT+CALCFLAG** 585 585 586 - 587 587 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:430px" %) 588 -|(% style="background-color:#4 f81bd;f81bd;f81bd;599 +|(% style="background-color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:197px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:75px" %)**Response** 589 589 |(% style="width:158px" %)AT+CALCFLAG=1|(% style="width:196px" %)Set the calculate flag to 1|(% style="width:74px" %)OK 590 590 |(% style="width:158px" %)AT+CALCFLAG=2|(% style="width:196px" %)Set the calculate flag to 2|(% style="width:74px" %)OK 591 591 603 + 592 592 == 2.12 Set count number == 593 593 594 594 ... ... @@ -598,10 +598,11 @@ 598 598 599 599 600 600 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:459px" %) 601 -|(% style="background-color:#4 f81bd;f81bd;f81bd;613 +|(% style="background-color:#4F81BD;color:white; width:158px" %)**Command Example**|(% style="background-color:#4F81BD;color:white; width:239px" %)**Function**|(% style="background-color:#4F81BD;color:white; width:62px" %)**Response** 602 602 |(% style="width:158px" %)AT+SETCNT=0|(% style="width:239px" %)Set the count number to 0|(% style="width:85px" %)OK 603 603 |(% style="width:158px" %)AT+SETCNT=100|(% style="width:239px" %)Set the count number to 100|(% style="width:85px" %)OK 604 604 617 + 605 605 == 2.13 Set the number of data to be uploaded and the recording time == 606 606 607 607 ... ... @@ -788,6 +788,7 @@ 788 788 * Size: 195 x 125 x 55 mm 789 789 * Weight: 420g 790 790 804 + 791 791 = 9. Support = 792 792 793 793