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 (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- 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 ... ... @@ -106,6 +106,7 @@ 106 106 [[image:image-20221021110415-3.png]] 107 107 108 108 112 + 109 109 == 1.7 Pin Definitions and Switch == 110 110 111 111 ... ... @@ -118,6 +118,7 @@ 118 118 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]]**. 119 119 120 120 125 + 121 121 === 1.7.2 Jumper JP2(Power ON/OFF) === 122 122 123 123 ... ... @@ -124,6 +124,7 @@ 124 124 Power on Device when putting this jumper. 125 125 126 126 132 + 127 127 === 1.7.3 BOOT MODE / SW1 === 128 128 129 129 ... ... @@ -132,6 +132,7 @@ 132 132 2) Flash: working mode, the device starts to work for NB-IoT connection and sends out console output for further debugging. 133 133 134 134 141 + 135 135 === 1.7.4 Reset Button === 136 136 137 137 ... ... @@ -138,6 +138,7 @@ 138 138 Press to reboot the device. 139 139 140 140 148 + 141 141 === 1.7.5 LED === 142 142 143 143 ... ... @@ -148,8 +148,10 @@ 148 148 2. Send an uplink packet 149 149 150 150 159 + 151 151 = 2. Use CPN01 to communicate with IoT Server = 152 152 162 + 153 153 == 2.1 How it works == 154 154 155 155 ... ... @@ -160,8 +160,10 @@ 160 160 [[image:image-20221021110615-5.png]] 161 161 162 162 173 + 163 163 == 2.2 Configure CPN01 == 164 164 176 + 165 165 === 2.2.1 Test Requirement === 166 166 167 167 ... ... @@ -175,7 +175,9 @@ 175 175 176 176 [[image:image-20221023000439-3.png]] 177 177 190 + 178 178 192 + 179 179 === 2.2.2 Insert NB-IoT SIM card === 180 180 181 181 ... ... @@ -186,6 +186,7 @@ 186 186 [[image:image-20221021110745-6.png]] 187 187 188 188 203 + 189 189 === 2.2.3 Connect USB – TTL to CPN01 and configure it === 190 190 191 191 ... ... @@ -222,6 +222,7 @@ 222 222 (% 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]] 223 223 224 224 240 + 225 225 === 2.2.4 Use CoAP protocol to uplink data === 226 226 227 227 ... ... @@ -246,6 +246,7 @@ 246 246 [[image:image-20221021110956-9.png]] 247 247 248 248 265 + 249 249 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 250 250 251 251 ... ... @@ -262,7 +262,9 @@ 262 262 263 263 [[image:image-20221021111033-11.png||height="241" width="576"]] 264 264 282 + 265 265 284 + 266 266 === 2.2.6 Use MQTT protocol to uplink data === 267 267 268 268 ... ... @@ -292,6 +292,7 @@ 292 292 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. 293 293 294 294 314 + 295 295 === 2.2.7 Use TCP protocol to uplink data === 296 296 297 297 ... ... @@ -303,11 +303,11 @@ 303 303 304 304 [[image:image-20221021111125-14.png]] 305 305 306 - 307 307 [[image:image-20221021111131-15.png]] 308 308 309 309 310 310 330 + 311 311 === 2.2.8 Change Update Interval === 312 312 313 313 ... ... @@ -320,6 +320,7 @@ 320 320 1. By default, the device will send an uplink message every 1 hour. 321 321 322 322 343 + 323 323 == 2.3 Uplink Payload == 324 324 325 325 ... ... @@ -377,6 +377,7 @@ 377 377 378 378 == 2.4 Payload Explanation and Sensor Interface == 379 379 401 + 380 380 === 2.4.1 Device ID === 381 381 382 382 ... ... @@ -391,6 +391,7 @@ 391 391 The Device ID is stored in a non-erase area, Upgrade the firmware or run AT+FDR won't erase the Device ID. 392 392 393 393 416 + 394 394 === 2.4.2 Version Info === 395 395 396 396 ... ... @@ -399,6 +399,7 @@ 399 399 For example 0x00 64 : This device is CPN01 with firmware version 1.0.0. 400 400 401 401 425 + 402 402 === 2.4.3 Battery Info === 403 403 404 404 ... ... @@ -409,6 +409,7 @@ 409 409 Ex2: 0x0B49 = 2889mV 410 410 411 411 436 + 412 412 === 2.4.4 Signal Strength === 413 413 414 414 ... ... @@ -427,6 +427,7 @@ 427 427 **99** Not known or not detectable 428 428 429 429 455 + 430 430 === 2.4.5 Calculate Flag === 431 431 432 432 ... ... @@ -439,6 +439,7 @@ 439 439 Range (6 bits): (b)000000 ~~ (b) 111111 440 440 441 441 468 + 442 442 === 2.4.6 Alarm === 443 443 444 444 ... ... @@ -445,6 +445,7 @@ 445 445 See [[Alarm Base on Timeout>>||anchor="H2.7A0AlarmBaseonTimeout"]] 446 446 447 447 475 + 448 448 === 2.4.7 Contact Status === 449 449 450 450 ... ... @@ -453,6 +453,7 @@ 453 453 1: Close 454 454 455 455 484 + 456 456 === 2.4.8 Total pulse === 457 457 458 458 ... ... @@ -461,6 +461,7 @@ 461 461 Range (3 Bytes) : 0x000000 ~~ 0xFFFFFF . Max: 16777215 462 462 463 463 493 + 464 464 === 2.4.9 The last open duration === 465 465 466 466 ... ... @@ -471,6 +471,7 @@ 471 471 [[image:image-20221021111346-17.png||height="146" width="770"]] 472 472 473 473 504 + 474 474 === 2.4.10 Timestamp === 475 475 476 476 ... ... @@ -480,6 +480,7 @@ 480 480 481 481 **~ ** 482 482 514 + 483 483 == 2.5 Downlink Payload == 484 484 485 485 ... ... @@ -500,7 +500,7 @@ 500 500 501 501 * (% style="color:#037691" %)**Reset** 502 502 503 -If payload = 0x04FF, it will reset the CPN01535 +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 542 + 510 510 == 2.6 LED Indicator == 511 511 512 512 ... ... @@ -547,6 +547,7 @@ 547 547 (% style="color:#037691" %)**AT+TTRIG=0,0 ** (%%) **~-~->** Default Value, disable timeout Alarm. 548 548 549 549 583 + 550 550 == 2.8 Set debug mode == 551 551 552 552 ... ... @@ -557,6 +557,7 @@ 557 557 [[image:image-20221021111629-21.png]] 558 558 559 559 594 + 560 560 == 2.9 Clear Flash Record == 561 561 562 562 ... ... @@ -567,6 +567,7 @@ 567 567 [[image:image-20221021111527-19.png]] 568 568 569 569 605 + 570 570 == 2.10 Set trigger mode == 571 571 572 572 ... ... @@ -577,6 +577,7 @@ 577 577 [[image:image-20221021111552-20.png]] 578 578 579 579 616 + 580 580 == 2.11 Set the calculate flag == 581 581 582 582 ... ... @@ -587,6 +587,7 @@ 587 587 [[image:image-20221021111711-22.png]] 588 588 589 589 627 + 590 590 == 2.12 Set count number == 591 591 592 592 ... ... @@ -597,6 +597,7 @@ 597 597 [[image:image-20221021111748-24.png]] 598 598 599 599 638 + 600 600 == 2.13 Set the number of data to be uploaded and the recording time == 601 601 602 602 ... ... @@ -607,6 +607,7 @@ 607 607 (% 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. 608 608 609 609 649 + 610 610 == 2.14 Read or Clear cached data == 611 611 612 612 ... ... @@ -619,6 +619,7 @@ 619 619 [[image:image-20221021111810-25.png||height="364" width="797"]] 620 620 621 621 662 + 622 622 == 2.15 Firmware Change Log == 623 623 624 624 ... ... @@ -627,8 +627,10 @@ 627 627 Upgrade Instruction: [[Upgrade Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]] 628 628 629 629 671 + 630 630 == 2.16 Battery Analysis == 631 631 674 + 632 632 === 2.16.1 Battery Type === 633 633 634 634 ... ... @@ -647,6 +647,7 @@ 647 647 [[image:image-20221021111911-26.png]] 648 648 649 649 693 + 650 650 === 2.16.2 Power consumption Analyze === 651 651 652 652 ... ... @@ -669,6 +669,7 @@ 669 669 [[image:1666596205057-567.png]] 670 670 671 671 716 + 672 672 === 2.16.3 Battery Note === 673 673 674 674 ... ... @@ -675,6 +675,7 @@ 675 675 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. 676 676 677 677 723 + 678 678 === 2.16.4 Replace the battery === 679 679 680 680 ... ... @@ -681,6 +681,7 @@ 681 681 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). 682 682 683 683 730 + 684 684 = 3. Access NB-IoT Module = 685 685 686 686 ... ... @@ -691,8 +691,10 @@ 691 691 [[image:image-20221021112006-28.png]] 692 692 693 693 741 + 694 694 = 4. Using the AT Commands = 695 695 744 + 696 696 == 4.1 Access AT Commands == 697 697 698 698 ... ... @@ -778,8 +778,10 @@ 778 778 AT+PWORD : Serial Access Password 779 779 780 780 830 + 781 781 = 5. FAQ = 782 782 833 + 783 783 == 5.1 How to Upgrade Firmware == 784 784 785 785 ... ... @@ -790,8 +790,10 @@ 790 790 (% 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.** 791 791 792 792 844 + 793 793 = 6. Trouble Shooting = 794 794 847 + 795 795 == 6.1 Connection problem when uploading firmware == 796 796 797 797 ... ... @@ -798,6 +798,7 @@ 798 798 (% 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]] 799 799 800 800 854 + 801 801 == 6.2 AT Command input doesn't work == 802 802 803 803 ... ... @@ -804,6 +804,7 @@ 804 804 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. 805 805 806 806 861 + 807 807 = 7. Order Info = 808 808 809 809 ... ... @@ -810,6 +810,7 @@ 810 810 Part Number**:** CPN01 811 811 812 812 868 + 813 813 = 8. Packing Info = 814 814 815 815