<
From version < 54.1 >
edited by Edwin Chen
on 2022/11/17 17:57
To version < 54.3 >
edited by Xiaoling
on 2022/12/15 12:00
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Edwin
1 +XWiki.Xiaoling
Content
... ... @@ -13,7 +13,6 @@
13 13  
14 14  = 1.  Introduction =
15 15  
16 -
17 17  == 1.1 ​ What is CPN01 NB-IoT Pulse/Contact Sensor ==
18 18  
19 19  
... ... @@ -40,9 +40,7 @@
40 40  \\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.
41 41  )))
42 42  
43 -​
44 44  
45 -
46 46  == ​1.2  Features ==
47 47  
48 48  
... ... @@ -62,6 +62,7 @@
62 62  * 8500mAh Battery for long-term use
63 63  
64 64  
62 +
65 65  == 1.3  Specification ==
66 66  
67 67  
... ... @@ -72,14 +72,15 @@
72 72  
73 73  (% style="color:blue" %)**NB-IoT Spec:**
74 74  
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
73 +* B1 @H-FDD: 2100MHz
74 +* B3 @H-FDD: 1800MHz
75 +* B8 @H-FDD: 900MHz
76 +* B5 @H-FDD: 850MHz
77 +* B20 @H-FDD: 800MHz
78 +* B28 @H-FDD: 700MHz
81 81  
82 82  
81 +
83 83  == 1.4  Installation ==
84 84  
85 85  
... ... @@ -100,6 +100,7 @@
100 100  * Dry Contact Detection
101 101  
102 102  
102 +
103 103  == 1.6  Mechanical ==
104 104  
105 105  
... ... @@ -106,7 +106,6 @@
106 106  ​[[image:image-20221021110415-3.png]]
107 107  
108 108  
109 -
110 110  == 1.7  Pin Definitions and Switch ==
111 111  
112 112  
... ... @@ -119,7 +119,6 @@
119 119  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]]**.
120 120  
121 121  
122 -
123 123  === 1.7.2  Jumper JP2(Power ON/OFF) ===
124 124  
125 125  
... ... @@ -126,7 +126,6 @@
126 126  Power on Device when putting this jumper.
127 127  
128 128  
129 -
130 130  === 1.7.3  BOOT MODE / SW1 ===
131 131  
132 132  
... ... @@ -135,7 +135,6 @@
135 135  2)  Flash:  working mode, the device starts to work for NB-IoT connection and sends out console output for further debugging.
136 136  
137 137  
138 -
139 139  === 1.7.4  Reset Button ===
140 140  
141 141  
... ... @@ -142,7 +142,6 @@
142 142  Press to reboot the device.
143 143  
144 144  
145 -
146 146  === 1.7.5  LED ===
147 147  
148 148  
... ... @@ -153,10 +153,8 @@
153 153  2.  Send an uplink packet
154 154  
155 155  
156 -
157 157  = 2.  Use CPN01 to communicate with IoT Server =
158 158  
159 -
160 160  == 2.1  How it works ==
161 161  
162 162  
... ... @@ -167,10 +167,8 @@
167 167  [[image:image-20221021110615-5.png]]
168 168  
169 169  
170 -
171 171  == 2.2 ​ Configure CPN01 ==
172 172  
173 -
174 174  === 2.2.1 Test Requirement ===
175 175  
176 176  
... ... @@ -184,9 +184,7 @@
184 184  
185 185  [[image:image-20221023000439-3.png]]
186 186  
187 - ​
188 188  
189 -
190 190  === 2.2.2 Insert NB-IoT SIM card ===
191 191  
192 192  
... ... @@ -197,7 +197,6 @@
197 197  [[image:image-20221021110745-6.png]] ​
198 198  
199 199  
200 -
201 201  === 2.2.3 Connect USB – TTL to CPN01 and configure it ===
202 202  
203 203  
... ... @@ -234,7 +234,6 @@
234 234  (% 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]]
235 235  
236 236  
237 -
238 238  === 2.2.4 Use CoAP protocol to uplink data ===
239 239  
240 240  
... ... @@ -259,7 +259,6 @@
259 259  [[image:image-20221021110956-9.png]] ​
260 260  
261 261  
262 -
263 263  === 2.2.5 Use UDP protocol to uplink data(Default protocol) ===
264 264  
265 265  
... ... @@ -276,9 +276,7 @@
276 276  
277 277  [[image:image-20221021111033-11.png||height="241" width="576"]]
278 278  
279 -​
280 280  
281 -
282 282  === 2.2.6 Use MQTT protocol to uplink data ===
283 283  
284 284  
... ... @@ -308,7 +308,6 @@
308 308  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.
309 309  
310 310  
311 -
312 312  === 2.2.7 Use TCP protocol to uplink data ===
313 313  
314 314  
... ... @@ -320,11 +320,11 @@
320 320  
321 321  ​ [[image:image-20221021111125-14.png]]
322 322  
306 +
323 323  [[image:image-20221021111131-15.png]]
324 324  
325 325  ​
326 326  
327 -
328 328  === 2.2.8 Change Update Interval ===
329 329  
330 330  
... ... @@ -337,7 +337,6 @@
337 337  1.  By default, the device will send an uplink message every 1 hour.
338 338  
339 339  
340 -
341 341  == 2.3  Uplink Payload ==
342 342  
343 343  
... ... @@ -391,9 +391,10 @@
391 391  
392 392  * (% style="color:#037691" %)**8 sets of recorded data: Contact Status, Total pulse, The last open duration ,Time stamp :**(%%) 0100000e00002663510f39,.......
393 393  
394 -== 2.4  Payload Explanation and Sensor Interface ==
395 395  
396 396  
378 +== 2.4  Payload Explanation and Sensor Interface ==
379 +
397 397  === 2.4.1  Device ID ===
398 398  
399 399  
... ... @@ -408,7 +408,6 @@
408 408  The Device ID is stored in a non-erase area, Upgrade the firmware or run AT+FDR won't erase the Device ID.
409 409  
410 410  
411 -
412 412  === 2.4.2  Version Info ===
413 413  
414 414  
... ... @@ -417,7 +417,6 @@
417 417  For example 0x00 64 : This device is CPN01 with firmware version 1.0.0.
418 418  
419 419  
420 -
421 421  === 2.4.3  Battery Info ===
422 422  
423 423  
... ... @@ -428,7 +428,6 @@
428 428  Ex2: 0x0B49 = 2889mV
429 429  
430 430  
431 -
432 432  === 2.4.4  Signal Strength ===
433 433  
434 434  
... ... @@ -447,7 +447,6 @@
447 447  **99**    Not known or not detectable
448 448  
449 449  
450 -
451 451  === 2.4.5  Calculate Flag ===
452 452  
453 453  
... ... @@ -460,7 +460,6 @@
460 460  Range (6 bits): (b)000000 ~~ (b) 111111
461 461  
462 462  
463 -
464 464  === 2.4.6  Alarm ===
465 465  
466 466  
... ... @@ -467,7 +467,6 @@
467 467  See [[Alarm Base on Timeout>>||anchor="H2.7A0AlarmBaseonTimeout"]]
468 468  
469 469  
470 -
471 471  === 2.4.7  Contact Status ===
472 472  
473 473  
... ... @@ -476,7 +476,6 @@
476 476  1: Close
477 477  
478 478  
479 -
480 480  === 2.4.8  Total pulse ===
481 481  
482 482  
... ... @@ -485,7 +485,6 @@
485 485  Range (3 Bytes) : 0x000000 ~~ 0xFFFFFF . Max: 16777215
486 486  
487 487  
488 -
489 489  === 2.4.9  The last open duration ===
490 490  
491 491  
... ... @@ -496,7 +496,6 @@
496 496  [[image:image-20221021111346-17.png||height="146" width="770"]]
497 497  
498 498  
499 -
500 500  === 2.4.10  Timestamp ===
501 501  
502 502  
... ... @@ -506,7 +506,6 @@
506 506  
507 507  **~ **
508 508  
509 -
510 510  == 2.5  Downlink Payload ==
511 511  
512 512  
... ... @@ -527,7 +527,7 @@
527 527  
528 528  * (% style="color:#037691" %)**Reset**
529 529  
530 -If payload = 0x04FF, it will reset the NSE01
503 +If payload = 0x04FF, it will reset the CPN01
531 531  
532 532  * (% style="color:#037691" %)**INTMOD**
533 533  
... ... @@ -534,7 +534,6 @@
534 534  Downlink Payload: 06000003, Set AT+INTMOD=3
535 535  
536 536  
537 -
538 538  == 2.6  ​LED Indicator ==
539 539  
540 540  
... ... @@ -544,6 +544,8 @@
544 544  * After CPN01 join NB-IoT network. The LED will be ON for 3 seconds.
545 545  * For each uplink probe, LED will be on for 500ms.
546 546  
519 +
520 +
547 547  == 2.7  Alarm Base on Timeout ==
548 548  
549 549  
... ... @@ -573,7 +573,6 @@
573 573  (% style="color:#037691" %)**AT+TTRIG=0,0 ** (%%) **~-~->** Default Value, disable timeout Alarm.
574 574  
575 575  
576 -
577 577  == 2.8  Set debug mode ==
578 578  
579 579  
... ... @@ -584,7 +584,6 @@
584 584  [[image:image-20221021111629-21.png]]
585 585  
586 586  
587 -
588 588  == 2.9  Clear Flash Record ==
589 589  
590 590  
... ... @@ -595,7 +595,6 @@
595 595  [[image:image-20221021111527-19.png]]
596 596  
597 597  
598 -
599 599  == 2.10  Set trigger mode ==
600 600  
601 601  
... ... @@ -606,7 +606,6 @@
606 606  [[image:image-20221021111552-20.png]]
607 607  
608 608  
609 -
610 610  == 2.11  Set the calculate flag ==
611 611  
612 612  
... ... @@ -617,7 +617,6 @@
617 617  [[image:image-20221021111711-22.png]]
618 618  
619 619  
620 -
621 621  == 2.12 Set count number ==
622 622  
623 623  
... ... @@ -628,7 +628,6 @@
628 628  [[image:image-20221021111748-24.png]]
629 629  
630 630  
631 -
632 632  == 2.13  Set the number of data to be uploaded and the recording time ==
633 633  
634 634  
... ... @@ -639,7 +639,6 @@
639 639  (% 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.
640 640  
641 641  
642 -
643 643  == 2.14  Read or Clear cached data ==
644 644  
645 645  
... ... @@ -652,7 +652,6 @@
652 652  [[image:image-20221021111810-25.png||height="364" width="797"]]
653 653  
654 654  
655 -
656 656  == 2.15  ​Firmware Change Log ==
657 657  
658 658  
... ... @@ -661,10 +661,8 @@
661 661  Upgrade Instruction: [[Upgrade Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]]
662 662  
663 663  
664 -
665 665  == 2.16  ​Battery Analysis ==
666 666  
667 -
668 668  === 2.16.1  ​Battery Type ===
669 669  
670 670  
... ... @@ -683,7 +683,6 @@
683 683  [[image:image-20221021111911-26.png]] ​
684 684  
685 685  
686 -
687 687  === 2.16.2  Power consumption Analyze ===
688 688  
689 689  
... ... @@ -706,7 +706,6 @@
706 706  [[image:1666596205057-567.png]] ​
707 707  
708 708  
709 -
710 710  === 2.16.3  ​Battery Note ===
711 711  
712 712  
... ... @@ -713,7 +713,6 @@
713 713  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.
714 714  
715 715  
716 -
717 717  === 2.16.4  Replace the battery ===
718 718  
719 719  
... ... @@ -720,7 +720,6 @@
720 720  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).
721 721  
722 722  
723 -
724 724  = 3. ​ Access NB-IoT Module =
725 725  
726 726  
... ... @@ -731,10 +731,8 @@
731 731  [[image:image-20221021112006-28.png]] ​
732 732  
733 733  
734 -
735 735  = 4.  Using the AT Commands =
736 736  
737 -
738 738  == 4.1  Access AT Commands ==
739 739  
740 740  
... ... @@ -820,10 +820,8 @@
820 820  AT+PWORD  : Serial Access Password
821 821  
822 822  
823 -
824 824  = ​5.  FAQ =
825 825  
826 -
827 827  == 5.1 ​ How to Upgrade Firmware ==
828 828  
829 829  
... ... @@ -834,10 +834,8 @@
834 834  (% 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.**
835 835  
836 836  
837 -
838 838  = 6.  Trouble Shooting =
839 839  
840 -
841 841  == 6.1  ​Connection problem when uploading firmware ==
842 842  
843 843  
... ... @@ -844,7 +844,6 @@
844 844  (% 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]]
845 845  
846 846  
847 -
848 848  == 6.2  AT Command input doesn't work ==
849 849  
850 850  
... ... @@ -851,7 +851,6 @@
851 851  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.
852 852  
853 853  
854 -
855 855  = 7. ​ Order Info =
856 856  
857 857  
... ... @@ -858,7 +858,6 @@
858 858  Part Number**:** CPN01
859 859  
860 860  
861 -
862 862  = 8.  Packing Info =
863 863  
864 864  
... ... @@ -873,6 +873,7 @@
873 873  * Weight:   420g
874 874  
875 875  
827 +
876 876  = 9.  Support =
877 877  
878 878  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0