<
From version < 53.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  
... ... @@ -73,12 +73,12 @@
73 73  
74 74  (% style="color:blue" %)**NB-IoT Spec:**
75 75  
76 -* - B1 @H-FDD: 2100MHz
77 -* - B3 @H-FDD: 1800MHz
78 -* - B8 @H-FDD: 900MHz
79 -* - B5 @H-FDD: 850MHz
80 -* - B20 @H-FDD: 800MHz
81 -* - 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
82 82  
83 83  
84 84  
... ... @@ -90,7 +90,7 @@
90 90  [[image:image-20221021110329-1.png]]
91 91  
92 92  
93 -[[image:image-20221022234602-2.png||height="288" width="922"]]
90 +[[image:image-20221117175717-1.png||height="323" width="861"]]
94 94  
95 95  
96 96  
... ... @@ -109,7 +109,6 @@
109 109  ​[[image:image-20221021110415-3.png]]
110 110  
111 111  
112 -
113 113  == 1.7  Pin Definitions and Switch ==
114 114  
115 115  
... ... @@ -122,7 +122,6 @@
122 122  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]]**.
123 123  
124 124  
125 -
126 126  === 1.7.2  Jumper JP2(Power ON/OFF) ===
127 127  
128 128  
... ... @@ -129,7 +129,6 @@
129 129  Power on Device when putting this jumper.
130 130  
131 131  
132 -
133 133  === 1.7.3  BOOT MODE / SW1 ===
134 134  
135 135  
... ... @@ -138,7 +138,6 @@
138 138  2)  Flash:  working mode, the device starts to work for NB-IoT connection and sends out console output for further debugging.
139 139  
140 140  
141 -
142 142  === 1.7.4  Reset Button ===
143 143  
144 144  
... ... @@ -145,7 +145,6 @@
145 145  Press to reboot the device.
146 146  
147 147  
148 -
149 149  === 1.7.5  LED ===
150 150  
151 151  
... ... @@ -156,10 +156,8 @@
156 156  2.  Send an uplink packet
157 157  
158 158  
159 -
160 160  = 2.  Use CPN01 to communicate with IoT Server =
161 161  
162 -
163 163  == 2.1  How it works ==
164 164  
165 165  
... ... @@ -170,10 +170,8 @@
170 170  [[image:image-20221021110615-5.png]]
171 171  
172 172  
173 -
174 174  == 2.2 ​ Configure CPN01 ==
175 175  
176 -
177 177  === 2.2.1 Test Requirement ===
178 178  
179 179  
... ... @@ -187,9 +187,7 @@
187 187  
188 188  [[image:image-20221023000439-3.png]]
189 189  
190 - ​
191 191  
192 -
193 193  === 2.2.2 Insert NB-IoT SIM card ===
194 194  
195 195  
... ... @@ -200,7 +200,6 @@
200 200  [[image:image-20221021110745-6.png]] ​
201 201  
202 202  
203 -
204 204  === 2.2.3 Connect USB – TTL to CPN01 and configure it ===
205 205  
206 206  
... ... @@ -237,7 +237,6 @@
237 237  (% 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]]
238 238  
239 239  
240 -
241 241  === 2.2.4 Use CoAP protocol to uplink data ===
242 242  
243 243  
... ... @@ -262,7 +262,6 @@
262 262  [[image:image-20221021110956-9.png]] ​
263 263  
264 264  
265 -
266 266  === 2.2.5 Use UDP protocol to uplink data(Default protocol) ===
267 267  
268 268  
... ... @@ -279,9 +279,7 @@
279 279  
280 280  [[image:image-20221021111033-11.png||height="241" width="576"]]
281 281  
282 -​
283 283  
284 -
285 285  === 2.2.6 Use MQTT protocol to uplink data ===
286 286  
287 287  
... ... @@ -311,7 +311,6 @@
311 311  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.
312 312  
313 313  
314 -
315 315  === 2.2.7 Use TCP protocol to uplink data ===
316 316  
317 317  
... ... @@ -323,11 +323,11 @@
323 323  
324 324  ​ [[image:image-20221021111125-14.png]]
325 325  
306 +
326 326  [[image:image-20221021111131-15.png]]
327 327  
328 328  ​
329 329  
330 -
331 331  === 2.2.8 Change Update Interval ===
332 332  
333 333  
... ... @@ -340,7 +340,6 @@
340 340  1.  By default, the device will send an uplink message every 1 hour.
341 341  
342 342  
343 -
344 344  == 2.3  Uplink Payload ==
345 345  
346 346  
... ... @@ -395,9 +395,9 @@
395 395  * (% style="color:#037691" %)**8 sets of recorded data: Contact Status, Total pulse, The last open duration ,Time stamp :**(%%) 0100000e00002663510f39,.......
396 396  
397 397  
377 +
398 398  == 2.4  Payload Explanation and Sensor Interface ==
399 399  
400 -
401 401  === 2.4.1  Device ID ===
402 402  
403 403  
... ... @@ -412,7 +412,6 @@
412 412  The Device ID is stored in a non-erase area, Upgrade the firmware or run AT+FDR won't erase the Device ID.
413 413  
414 414  
415 -
416 416  === 2.4.2  Version Info ===
417 417  
418 418  
... ... @@ -421,7 +421,6 @@
421 421  For example 0x00 64 : This device is CPN01 with firmware version 1.0.0.
422 422  
423 423  
424 -
425 425  === 2.4.3  Battery Info ===
426 426  
427 427  
... ... @@ -432,7 +432,6 @@
432 432  Ex2: 0x0B49 = 2889mV
433 433  
434 434  
435 -
436 436  === 2.4.4  Signal Strength ===
437 437  
438 438  
... ... @@ -451,7 +451,6 @@
451 451  **99**    Not known or not detectable
452 452  
453 453  
454 -
455 455  === 2.4.5  Calculate Flag ===
456 456  
457 457  
... ... @@ -464,7 +464,6 @@
464 464  Range (6 bits): (b)000000 ~~ (b) 111111
465 465  
466 466  
467 -
468 468  === 2.4.6  Alarm ===
469 469  
470 470  
... ... @@ -471,7 +471,6 @@
471 471  See [[Alarm Base on Timeout>>||anchor="H2.7A0AlarmBaseonTimeout"]]
472 472  
473 473  
474 -
475 475  === 2.4.7  Contact Status ===
476 476  
477 477  
... ... @@ -480,7 +480,6 @@
480 480  1: Close
481 481  
482 482  
483 -
484 484  === 2.4.8  Total pulse ===
485 485  
486 486  
... ... @@ -489,7 +489,6 @@
489 489  Range (3 Bytes) : 0x000000 ~~ 0xFFFFFF . Max: 16777215
490 490  
491 491  
492 -
493 493  === 2.4.9  The last open duration ===
494 494  
495 495  
... ... @@ -500,7 +500,6 @@
500 500  [[image:image-20221021111346-17.png||height="146" width="770"]]
501 501  
502 502  
503 -
504 504  === 2.4.10  Timestamp ===
505 505  
506 506  
... ... @@ -510,7 +510,6 @@
510 510  
511 511  **~ **
512 512  
513 -
514 514  == 2.5  Downlink Payload ==
515 515  
516 516  
... ... @@ -531,7 +531,7 @@
531 531  
532 532  * (% style="color:#037691" %)**Reset**
533 533  
534 -If payload = 0x04FF, it will reset the NSE01
503 +If payload = 0x04FF, it will reset the CPN01
535 535  
536 536  * (% style="color:#037691" %)**INTMOD**
537 537  
... ... @@ -538,7 +538,6 @@
538 538  Downlink Payload: 06000003, Set AT+INTMOD=3
539 539  
540 540  
541 -
542 542  == 2.6  ​LED Indicator ==
543 543  
544 544  
... ... @@ -549,6 +549,7 @@
549 549  * For each uplink probe, LED will be on for 500ms.
550 550  
551 551  
520 +
552 552  == 2.7  Alarm Base on Timeout ==
553 553  
554 554  
... ... @@ -578,7 +578,6 @@
578 578  (% style="color:#037691" %)**AT+TTRIG=0,0 ** (%%) **~-~->** Default Value, disable timeout Alarm.
579 579  
580 580  
581 -
582 582  == 2.8  Set debug mode ==
583 583  
584 584  
... ... @@ -589,7 +589,6 @@
589 589  [[image:image-20221021111629-21.png]]
590 590  
591 591  
592 -
593 593  == 2.9  Clear Flash Record ==
594 594  
595 595  
... ... @@ -600,7 +600,6 @@
600 600  [[image:image-20221021111527-19.png]]
601 601  
602 602  
603 -
604 604  == 2.10  Set trigger mode ==
605 605  
606 606  
... ... @@ -611,7 +611,6 @@
611 611  [[image:image-20221021111552-20.png]]
612 612  
613 613  
614 -
615 615  == 2.11  Set the calculate flag ==
616 616  
617 617  
... ... @@ -622,7 +622,6 @@
622 622  [[image:image-20221021111711-22.png]]
623 623  
624 624  
625 -
626 626  == 2.12 Set count number ==
627 627  
628 628  
... ... @@ -633,7 +633,6 @@
633 633  [[image:image-20221021111748-24.png]]
634 634  
635 635  
636 -
637 637  == 2.13  Set the number of data to be uploaded and the recording time ==
638 638  
639 639  
... ... @@ -644,7 +644,6 @@
644 644  (% 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.
645 645  
646 646  
647 -
648 648  == 2.14  Read or Clear cached data ==
649 649  
650 650  
... ... @@ -657,7 +657,6 @@
657 657  [[image:image-20221021111810-25.png||height="364" width="797"]]
658 658  
659 659  
660 -
661 661  == 2.15  ​Firmware Change Log ==
662 662  
663 663  
... ... @@ -666,10 +666,8 @@
666 666  Upgrade Instruction: [[Upgrade Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]]
667 667  
668 668  
669 -
670 670  == 2.16  ​Battery Analysis ==
671 671  
672 -
673 673  === 2.16.1  ​Battery Type ===
674 674  
675 675  
... ... @@ -688,7 +688,6 @@
688 688  [[image:image-20221021111911-26.png]] ​
689 689  
690 690  
691 -
692 692  === 2.16.2  Power consumption Analyze ===
693 693  
694 694  
... ... @@ -711,7 +711,6 @@
711 711  [[image:1666596205057-567.png]] ​
712 712  
713 713  
714 -
715 715  === 2.16.3  ​Battery Note ===
716 716  
717 717  
... ... @@ -718,7 +718,6 @@
718 718  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.
719 719  
720 720  
721 -
722 722  === 2.16.4  Replace the battery ===
723 723  
724 724  
... ... @@ -725,7 +725,6 @@
725 725  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).
726 726  
727 727  
728 -
729 729  = 3. ​ Access NB-IoT Module =
730 730  
731 731  
... ... @@ -736,10 +736,8 @@
736 736  [[image:image-20221021112006-28.png]] ​
737 737  
738 738  
739 -
740 740  = 4.  Using the AT Commands =
741 741  
742 -
743 743  == 4.1  Access AT Commands ==
744 744  
745 745  
... ... @@ -825,10 +825,8 @@
825 825  AT+PWORD  : Serial Access Password
826 826  
827 827  
828 -
829 829  = ​5.  FAQ =
830 830  
831 -
832 832  == 5.1 ​ How to Upgrade Firmware ==
833 833  
834 834  
... ... @@ -839,10 +839,8 @@
839 839  (% 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.**
840 840  
841 841  
842 -
843 843  = 6.  Trouble Shooting =
844 844  
845 -
846 846  == 6.1  ​Connection problem when uploading firmware ==
847 847  
848 848  
... ... @@ -849,7 +849,6 @@
849 849  (% 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]]
850 850  
851 851  
852 -
853 853  == 6.2  AT Command input doesn't work ==
854 854  
855 855  
... ... @@ -856,7 +856,6 @@
856 856  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.
857 857  
858 858  
859 -
860 860  = 7. ​ Order Info =
861 861  
862 862  
... ... @@ -863,7 +863,6 @@
863 863  Part Number**:** CPN01
864 864  
865 865  
866 -
867 867  = 8.  Packing Info =
868 868  
869 869  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0