<
From version < 54.2 >
edited by Xiaoling
on 2022/11/21 11:26
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
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  
... ... @@ -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  
... ... @@ -398,7 +398,6 @@
398 398  
399 399  == 2.4  Payload Explanation and Sensor Interface ==
400 400  
401 -
402 402  === 2.4.1  Device ID ===
403 403  
404 404  
... ... @@ -413,7 +413,6 @@
413 413  The Device ID is stored in a non-erase area, Upgrade the firmware or run AT+FDR won't erase the Device ID.
414 414  
415 415  
416 -
417 417  === 2.4.2  Version Info ===
418 418  
419 419  
... ... @@ -422,7 +422,6 @@
422 422  For example 0x00 64 : This device is CPN01 with firmware version 1.0.0.
423 423  
424 424  
425 -
426 426  === 2.4.3  Battery Info ===
427 427  
428 428  
... ... @@ -433,7 +433,6 @@
433 433  Ex2: 0x0B49 = 2889mV
434 434  
435 435  
436 -
437 437  === 2.4.4  Signal Strength ===
438 438  
439 439  
... ... @@ -452,7 +452,6 @@
452 452  **99**    Not known or not detectable
453 453  
454 454  
455 -
456 456  === 2.4.5  Calculate Flag ===
457 457  
458 458  
... ... @@ -465,7 +465,6 @@
465 465  Range (6 bits): (b)000000 ~~ (b) 111111
466 466  
467 467  
468 -
469 469  === 2.4.6  Alarm ===
470 470  
471 471  
... ... @@ -472,7 +472,6 @@
472 472  See [[Alarm Base on Timeout>>||anchor="H2.7A0AlarmBaseonTimeout"]]
473 473  
474 474  
475 -
476 476  === 2.4.7  Contact Status ===
477 477  
478 478  
... ... @@ -481,7 +481,6 @@
481 481  1: Close
482 482  
483 483  
484 -
485 485  === 2.4.8  Total pulse ===
486 486  
487 487  
... ... @@ -490,7 +490,6 @@
490 490  Range (3 Bytes) : 0x000000 ~~ 0xFFFFFF . Max: 16777215
491 491  
492 492  
493 -
494 494  === 2.4.9  The last open duration ===
495 495  
496 496  
... ... @@ -501,7 +501,6 @@
501 501  [[image:image-20221021111346-17.png||height="146" width="770"]]
502 502  
503 503  
504 -
505 505  === 2.4.10  Timestamp ===
506 506  
507 507  
... ... @@ -511,7 +511,6 @@
511 511  
512 512  **~ **
513 513  
514 -
515 515  == 2.5  Downlink Payload ==
516 516  
517 517  
... ... @@ -532,7 +532,7 @@
532 532  
533 533  * (% style="color:#037691" %)**Reset**
534 534  
535 -If payload = 0x04FF, it will reset the NSE01
503 +If payload = 0x04FF, it will reset the CPN01
536 536  
537 537  * (% style="color:#037691" %)**INTMOD**
538 538  
... ... @@ -539,7 +539,6 @@
539 539  Downlink Payload: 06000003, Set AT+INTMOD=3
540 540  
541 541  
542 -
543 543  == 2.6  ​LED Indicator ==
544 544  
545 545  
... ... @@ -580,7 +580,6 @@
580 580  (% style="color:#037691" %)**AT+TTRIG=0,0 ** (%%) **~-~->** Default Value, disable timeout Alarm.
581 581  
582 582  
583 -
584 584  == 2.8  Set debug mode ==
585 585  
586 586  
... ... @@ -591,7 +591,6 @@
591 591  [[image:image-20221021111629-21.png]]
592 592  
593 593  
594 -
595 595  == 2.9  Clear Flash Record ==
596 596  
597 597  
... ... @@ -602,7 +602,6 @@
602 602  [[image:image-20221021111527-19.png]]
603 603  
604 604  
605 -
606 606  == 2.10  Set trigger mode ==
607 607  
608 608  
... ... @@ -613,7 +613,6 @@
613 613  [[image:image-20221021111552-20.png]]
614 614  
615 615  
616 -
617 617  == 2.11  Set the calculate flag ==
618 618  
619 619  
... ... @@ -624,7 +624,6 @@
624 624  [[image:image-20221021111711-22.png]]
625 625  
626 626  
627 -
628 628  == 2.12 Set count number ==
629 629  
630 630  
... ... @@ -635,7 +635,6 @@
635 635  [[image:image-20221021111748-24.png]]
636 636  
637 637  
638 -
639 639  == 2.13  Set the number of data to be uploaded and the recording time ==
640 640  
641 641  
... ... @@ -646,7 +646,6 @@
646 646  (% 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.
647 647  
648 648  
649 -
650 650  == 2.14  Read or Clear cached data ==
651 651  
652 652  
... ... @@ -659,7 +659,6 @@
659 659  [[image:image-20221021111810-25.png||height="364" width="797"]]
660 660  
661 661  
662 -
663 663  == 2.15  ​Firmware Change Log ==
664 664  
665 665  
... ... @@ -668,10 +668,8 @@
668 668  Upgrade Instruction: [[Upgrade Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]]
669 669  
670 670  
671 -
672 672  == 2.16  ​Battery Analysis ==
673 673  
674 -
675 675  === 2.16.1  ​Battery Type ===
676 676  
677 677  
... ... @@ -690,7 +690,6 @@
690 690  [[image:image-20221021111911-26.png]] ​
691 691  
692 692  
693 -
694 694  === 2.16.2  Power consumption Analyze ===
695 695  
696 696  
... ... @@ -713,7 +713,6 @@
713 713  [[image:1666596205057-567.png]] ​
714 714  
715 715  
716 -
717 717  === 2.16.3  ​Battery Note ===
718 718  
719 719  
... ... @@ -720,7 +720,6 @@
720 720  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.
721 721  
722 722  
723 -
724 724  === 2.16.4  Replace the battery ===
725 725  
726 726  
... ... @@ -727,7 +727,6 @@
727 727  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).
728 728  
729 729  
730 -
731 731  = 3. ​ Access NB-IoT Module =
732 732  
733 733  
... ... @@ -738,10 +738,8 @@
738 738  [[image:image-20221021112006-28.png]] ​
739 739  
740 740  
741 -
742 742  = 4.  Using the AT Commands =
743 743  
744 -
745 745  == 4.1  Access AT Commands ==
746 746  
747 747  
... ... @@ -827,10 +827,8 @@
827 827  AT+PWORD  : Serial Access Password
828 828  
829 829  
830 -
831 831  = ​5.  FAQ =
832 832  
833 -
834 834  == 5.1 ​ How to Upgrade Firmware ==
835 835  
836 836  
... ... @@ -841,10 +841,8 @@
841 841  (% 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.**
842 842  
843 843  
844 -
845 845  = 6.  Trouble Shooting =
846 846  
847 -
848 848  == 6.1  ​Connection problem when uploading firmware ==
849 849  
850 850  
... ... @@ -851,7 +851,6 @@
851 851  (% 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]]
852 852  
853 853  
854 -
855 855  == 6.2  AT Command input doesn't work ==
856 856  
857 857  
... ... @@ -858,7 +858,6 @@
858 858  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.
859 859  
860 860  
861 -
862 862  = 7. ​ Order Info =
863 863  
864 864  
... ... @@ -865,7 +865,6 @@
865 865  Part Number**:** CPN01
866 866  
867 867  
868 -
869 869  = 8.  Packing Info =
870 870  
871 871  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0