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
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -13,6 +13,7 @@ 13 13 14 14 = 1. Introduction = 15 15 16 + 16 16 == 1.1 What is CPN01 NB-IoT Pulse/Contact Sensor == 17 17 18 18 ... ... @@ -39,7 +39,9 @@ 39 39 \\To use CPN01, user needs to check if there is NB-IoT coverage in the field and with the Nb-IoT bands that CPN01 supports. If local operator support it, user needs to get a (% style="color:blue" %)**NB-IoT SIM card**(%%) from the operator and install into CPN01 to get NB-IoT network connection. 40 40 ))) 41 41 43 + 42 42 45 + 43 43 == 1.2 Features == 44 44 45 45 ... ... @@ -69,12 +69,12 @@ 69 69 70 70 (% style="color:blue" %)**NB-IoT Spec:** 71 71 72 -* B1 @H-FDD: 2100MHz 73 -* B3 @H-FDD: 1800MHz 74 -* B8 @H-FDD: 900MHz 75 -* B5 @H-FDD: 850MHz 76 -* B20 @H-FDD: 800MHz 77 -* B28 @H-FDD: 700MHz 75 +* - B1 @H-FDD: 2100MHz 76 +* - B3 @H-FDD: 1800MHz 77 +* - B8 @H-FDD: 900MHz 78 +* - B5 @H-FDD: 850MHz 79 +* - B20 @H-FDD: 800MHz 80 +* - B28 @H-FDD: 700MHz 78 78 79 79 80 80 == 1.4 Installation == ... ... @@ -103,6 +103,7 @@ 103 103 [[image:image-20221021110415-3.png]] 104 104 105 105 109 + 106 106 == 1.7 Pin Definitions and Switch == 107 107 108 108 ... ... @@ -115,6 +115,7 @@ 115 115 CPN01 is pre-configured to connect to two external wires. The other pins are not used. If user wants to know more about other pins, please refer to the **[[LSN50v2 User Manual>>doc:Main.User Manual for LoRaWAN End Nodes.LSN50 & LSN50-V2 - LoRaWAN Sensor Node User Manual.WebHome]]**. 116 116 117 117 122 + 118 118 === 1.7.2 Jumper JP2(Power ON/OFF) === 119 119 120 120 ... ... @@ -121,6 +121,7 @@ 121 121 Power on Device when putting this jumper. 122 122 123 123 129 + 124 124 === 1.7.3 BOOT MODE / SW1 === 125 125 126 126 ... ... @@ -129,6 +129,7 @@ 129 129 2) Flash: working mode, the device starts to work for NB-IoT connection and sends out console output for further debugging. 130 130 131 131 138 + 132 132 === 1.7.4 Reset Button === 133 133 134 134 ... ... @@ -135,6 +135,7 @@ 135 135 Press to reboot the device. 136 136 137 137 145 + 138 138 === 1.7.5 LED === 139 139 140 140 ... ... @@ -145,8 +145,10 @@ 145 145 2. Send an uplink packet 146 146 147 147 156 + 148 148 = 2. Use CPN01 to communicate with IoT Server = 149 149 159 + 150 150 == 2.1 How it works == 151 151 152 152 ... ... @@ -157,8 +157,10 @@ 157 157 [[image:image-20221021110615-5.png]] 158 158 159 159 170 + 160 160 == 2.2 Configure CPN01 == 161 161 173 + 162 162 === 2.2.1 Test Requirement === 163 163 164 164 ... ... @@ -172,7 +172,9 @@ 172 172 173 173 [[image:image-20221023000439-3.png]] 174 174 187 + 175 175 189 + 176 176 === 2.2.2 Insert NB-IoT SIM card === 177 177 178 178 ... ... @@ -183,6 +183,7 @@ 183 183 [[image:image-20221021110745-6.png]] 184 184 185 185 200 + 186 186 === 2.2.3 Connect USB – TTL to CPN01 and configure it === 187 187 188 188 ... ... @@ -219,6 +219,7 @@ 219 219 (% style="color:red" %)**Note: the valid AT Commands can be found at: **(%%)[[**https:~~/~~/www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0**>>url:https://www.dropbox.com/sh/351dwor6joz8nwh/AADn1BQaAAxLF_QMyU8NkW47a?dl=0]] 220 220 221 221 237 + 222 222 === 2.2.4 Use CoAP protocol to uplink data === 223 223 224 224 ... ... @@ -243,6 +243,7 @@ 243 243 [[image:image-20221021110956-9.png]] 244 244 245 245 262 + 246 246 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 247 247 248 248 ... ... @@ -259,7 +259,9 @@ 259 259 260 260 [[image:image-20221021111033-11.png||height="241" width="576"]] 261 261 279 + 262 262 281 + 263 263 === 2.2.6 Use MQTT protocol to uplink data === 264 264 265 265 ... ... @@ -289,6 +289,7 @@ 289 289 MQTT protocol has a much higher power consumption compare with UDP / CoAP protocol. Please check the power analyze document and adjust the uplink period to a suitable interval. 290 290 291 291 311 + 292 292 === 2.2.7 Use TCP protocol to uplink data === 293 293 294 294 ... ... @@ -300,11 +300,11 @@ 300 300 301 301 [[image:image-20221021111125-14.png]] 302 302 303 - 304 304 [[image:image-20221021111131-15.png]] 305 305 306 306 307 307 327 + 308 308 === 2.2.8 Change Update Interval === 309 309 310 310 ... ... @@ -317,6 +317,7 @@ 317 317 1. By default, the device will send an uplink message every 1 hour. 318 318 319 319 340 + 320 320 == 2.3 Uplink Payload == 321 321 322 322 ... ... @@ -370,9 +370,9 @@ 370 370 371 371 * (% style="color:#037691" %)**8 sets of recorded data: Contact Status, Total pulse, The last open duration ,Time stamp :**(%%) 0100000e00002663510f39,....... 372 372 373 - 374 374 == 2.4 Payload Explanation and Sensor Interface == 375 375 396 + 376 376 === 2.4.1 Device ID === 377 377 378 378 ... ... @@ -387,6 +387,7 @@ 387 387 The Device ID is stored in a non-erase area, Upgrade the firmware or run AT+FDR won't erase the Device ID. 388 388 389 389 411 + 390 390 === 2.4.2 Version Info === 391 391 392 392 ... ... @@ -395,6 +395,7 @@ 395 395 For example 0x00 64 : This device is CPN01 with firmware version 1.0.0. 396 396 397 397 420 + 398 398 === 2.4.3 Battery Info === 399 399 400 400 ... ... @@ -405,6 +405,7 @@ 405 405 Ex2: 0x0B49 = 2889mV 406 406 407 407 431 + 408 408 === 2.4.4 Signal Strength === 409 409 410 410 ... ... @@ -423,6 +423,7 @@ 423 423 **99** Not known or not detectable 424 424 425 425 450 + 426 426 === 2.4.5 Calculate Flag === 427 427 428 428 ... ... @@ -435,6 +435,7 @@ 435 435 Range (6 bits): (b)000000 ~~ (b) 111111 436 436 437 437 463 + 438 438 === 2.4.6 Alarm === 439 439 440 440 ... ... @@ -441,6 +441,7 @@ 441 441 See [[Alarm Base on Timeout>>||anchor="H2.7A0AlarmBaseonTimeout"]] 442 442 443 443 470 + 444 444 === 2.4.7 Contact Status === 445 445 446 446 ... ... @@ -449,6 +449,7 @@ 449 449 1: Close 450 450 451 451 479 + 452 452 === 2.4.8 Total pulse === 453 453 454 454 ... ... @@ -457,6 +457,7 @@ 457 457 Range (3 Bytes) : 0x000000 ~~ 0xFFFFFF . Max: 16777215 458 458 459 459 488 + 460 460 === 2.4.9 The last open duration === 461 461 462 462 ... ... @@ -467,6 +467,7 @@ 467 467 [[image:image-20221021111346-17.png||height="146" width="770"]] 468 468 469 469 499 + 470 470 === 2.4.10 Timestamp === 471 471 472 472 ... ... @@ -476,16 +476,13 @@ 476 476 477 477 **~ ** 478 478 509 + 479 479 == 2.5 Downlink Payload == 480 480 481 481 482 482 By default, CPN01 prints the downlink payload to console port. 483 483 484 -(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:520px" %) 485 -|(% style="width:226px" %)**Downlink Control Type**|(% style="width:25px" %)**FPort**|(% style="width:98px" %)**Type Code**|(% style="width:147px" %)**Downlink payload size(bytes)** 486 -|(% style="width:226px" %)TDC(Transmit Time Interval)|(% style="width:25px" %)Any|(% style="width:98px" %)01|(% style="width:147px" %)4 487 -|(% style="width:226px" %)RESET|(% style="width:25px" %)Any|(% style="width:98px" %)04|(% style="width:147px" %)2 488 -|(% style="width:226px" %)INTMOD|(% style="width:25px" %)Any|(% style="width:98px" %)06|(% style="width:147px" %)4 515 +[[image:image-20221021111414-18.png]] 489 489 490 490 491 491 **Examples:** ... ... @@ -500,7 +500,7 @@ 500 500 501 501 * (% style="color:#037691" %)**Reset** 502 502 503 -If payload = 0x04FF, it will reset the CPN01530 +If payload = 0x04FF, it will reset the NSE01 504 504 505 505 * (% style="color:#037691" %)**INTMOD** 506 506 ... ... @@ -507,6 +507,7 @@ 507 507 Downlink Payload: 06000003, Set AT+INTMOD=3 508 508 509 509 537 + 510 510 == 2.6 LED Indicator == 511 511 512 512 ... ... @@ -516,7 +516,6 @@ 516 516 * After CPN01 join NB-IoT network. The LED will be ON for 3 seconds. 517 517 * For each uplink probe, LED will be on for 500ms. 518 518 519 - 520 520 == 2.7 Alarm Base on Timeout == 521 521 522 522 ... ... @@ -546,6 +546,7 @@ 546 546 (% style="color:#037691" %)**AT+TTRIG=0,0 ** (%%) **~-~->** Default Value, disable timeout Alarm. 547 547 548 548 576 + 549 549 == 2.8 Set debug mode == 550 550 551 551 ... ... @@ -553,14 +553,10 @@ 553 553 554 554 (% style="color:blue" %)**AT Command: AT+DEBUG** 555 555 584 +[[image:image-20221021111629-21.png]] 556 556 557 -(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:430px" %) 558 -|(% style="width:158px" %)**Command Example**|(% style="width:196px" %)**Function**|(% style="width:74px" %)**Response** 559 -|(% style="width:158px" %)AT+DEBUG=0|(% style="width:196px" %)Disable debug mode to 0|(% style="width:74px" %)OK 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 ... ... @@ -571,6 +571,7 @@ 571 571 [[image:image-20221021111527-19.png]] 572 572 573 573 598 + 574 574 == 2.10 Set trigger mode == 575 575 576 576 ... ... @@ -581,6 +581,7 @@ 581 581 [[image:image-20221021111552-20.png]] 582 582 583 583 609 + 584 584 == 2.11 Set the calculate flag == 585 585 586 586 ... ... @@ -591,6 +591,7 @@ 591 591 [[image:image-20221021111711-22.png]] 592 592 593 593 620 + 594 594 == 2.12 Set count number == 595 595 596 596 ... ... @@ -601,6 +601,7 @@ 601 601 [[image:image-20221021111748-24.png]] 602 602 603 603 631 + 604 604 == 2.13 Set the number of data to be uploaded and the recording time == 605 605 606 606 ... ... @@ -611,6 +611,7 @@ 611 611 (% 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. 612 612 613 613 642 + 614 614 == 2.14 Read or Clear cached data == 615 615 616 616 ... ... @@ -623,6 +623,7 @@ 623 623 [[image:image-20221021111810-25.png||height="364" width="797"]] 624 624 625 625 655 + 626 626 == 2.15 Firmware Change Log == 627 627 628 628 ... ... @@ -631,8 +631,10 @@ 631 631 Upgrade Instruction: [[Upgrade Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]] 632 632 633 633 664 + 634 634 == 2.16 Battery Analysis == 635 635 667 + 636 636 === 2.16.1 Battery Type === 637 637 638 638 ... ... @@ -651,6 +651,7 @@ 651 651 [[image:image-20221021111911-26.png]] 652 652 653 653 686 + 654 654 === 2.16.2 Power consumption Analyze === 655 655 656 656 ... ... @@ -673,6 +673,7 @@ 673 673 [[image:1666596205057-567.png]] 674 674 675 675 709 + 676 676 === 2.16.3 Battery Note === 677 677 678 678 ... ... @@ -679,6 +679,7 @@ 679 679 The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased. 680 680 681 681 716 + 682 682 === 2.16.4 Replace the battery === 683 683 684 684 ... ... @@ -685,6 +685,7 @@ 685 685 The default battery pack of CPN01 includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence without the SPC1520 capacitor, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes). 686 686 687 687 723 + 688 688 = 3. Access NB-IoT Module = 689 689 690 690 ... ... @@ -695,8 +695,10 @@ 695 695 [[image:image-20221021112006-28.png]] 696 696 697 697 734 + 698 698 = 4. Using the AT Commands = 699 699 737 + 700 700 == 4.1 Access AT Commands == 701 701 702 702 ... ... @@ -782,8 +782,10 @@ 782 782 AT+PWORD : Serial Access Password 783 783 784 784 823 + 785 785 = 5. FAQ = 786 786 826 + 787 787 == 5.1 How to Upgrade Firmware == 788 788 789 789 ... ... @@ -794,8 +794,10 @@ 794 794 (% style="color:red" %)**Notice: **(% style="color:blue" %)**CPN01** (%%)**and (% style="color:blue" %)CPL01(%%)**(% style="color:blue" %) (%%)**share the same mother board. They use the same connection and method to update.** 795 795 796 796 837 + 797 797 = 6. Trouble Shooting = 798 798 840 + 799 799 == 6.1 Connection problem when uploading firmware == 800 800 801 801 ... ... @@ -802,6 +802,7 @@ 802 802 (% style="color:blue" %)**Please see: **[[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H3.3Troubleshooting>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Upgrade%20Instruction%20for%20STM32%20base%20products/#H3.3Troubleshooting]] 803 803 804 804 847 + 805 805 == 6.2 AT Command input doesn't work == 806 806 807 807 ... ... @@ -808,6 +808,7 @@ 808 808 In the case if user can see the console output but can't type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn't send (% style="color:green" %)**ENTER** (%%)while press the send key, user need to add ENTER in their string. 809 809 810 810 854 + 811 811 = 7. Order Info = 812 812 813 813 ... ... @@ -814,6 +814,7 @@ 814 814 Part Number**:** CPN01 815 815 816 816 861 + 817 817 = 8. Packing Info = 818 818 819 819