<
From version < 70.22 >
edited by Xiaoling
on 2022/11/18 11:25
To version < 70.2 >
edited by Xiaoling
on 2022/11/18 10:39
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -131,6 +131,7 @@
131 131  The device is pre-configured to connect to a door sensor. The other pins are not used. If user wants to know more about other pins, please refer to the user manual of LSN50v2 at:  [[https:~~/~~/www.dropbox.com/sh/djkxs7mr17y94mi/AABVlWbM9uzK9OA3mXyAT10Za?dl=0>>https://www.dropbox.com/sh/djkxs7mr17y94mi/AABVlWbM9uzK9OA3mXyAT10Za?dl=0]]
132 132  
133 133  
134 +
134 134  === 1.7.2  Jumper JP2(Power ON/OFF) ===
135 135  
136 136  
... ... @@ -137,6 +137,7 @@
137 137  Power on Device when putting this jumper.
138 138  
139 139  
141 +
140 140  === 1.7.3  BOOT MODE / SW1 ===
141 141  
142 142  
... ... @@ -145,6 +145,7 @@
145 145  2)  Flash:  working mode, the device starts to work for NB-IoT connection and sends out console output for further debugging.
146 146  
147 147  
150 +
148 148  === 1.7.4  Reset Button ===
149 149  
150 150  
... ... @@ -151,6 +151,7 @@
151 151  Press to reboot the device.
152 152  
153 153  
157 +
154 154  === 1.7.5  LED ===
155 155  
156 156  
... ... @@ -161,6 +161,7 @@
161 161  2.  Send an uplink packet
162 162  
163 163  
168 +
164 164  == 1.8  Magnet Distance ==
165 165  
166 166  
... ... @@ -169,6 +169,7 @@
169 169  (% style="color:blue" %)**Iron Door:**(%%)**    **30 ~~ 45mm
170 170  
171 171  
177 +
172 172  = 2.  Use NDS03A to communicate with IoT Server =
173 173  
174 174  == 2.1  How it works ==
... ... @@ -181,6 +181,7 @@
181 181  [[image:image-20221021110615-5.png]]
182 182  
183 183  
190 +
184 184  == 2.2 ​ Configure NDS03A ==
185 185  
186 186  === 2.2.1 Test Requirement ===
... ... @@ -196,7 +196,9 @@
196 196  
197 197  [[image:image-20221117142300-1.png]]
198 198  
206 + ​
199 199  
208 +
200 200  === 2.2.2 Insert NB-IoT SIM card ===
201 201  
202 202  
... ... @@ -207,6 +207,7 @@
207 207  [[image:image-20221021110745-6.png]] ​
208 208  
209 209  
219 +
210 210  === 2.2.3 Connect USB – TTL to NDS03A and configure it ===
211 211  
212 212  
... ... @@ -268,6 +268,7 @@
268 268  [[image:image-20221118103547-9.png||height="605" width="837"]] ​
269 269  
270 270  
281 +
271 271  === 2.2.5 Use UDP protocol to uplink data(Default protocol) ===
272 272  
273 273  
... ... @@ -286,6 +286,7 @@
286 286  
287 287  ​
288 288  
300 +
289 289  === 2.2.6 Use MQTT protocol to uplink data ===
290 290  
291 291  
... ... @@ -315,6 +315,7 @@
315 315  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.
316 316  
317 317  
330 +
318 318  === 2.2.7 Use TCP protocol to uplink data ===
319 319  
320 320  
... ... @@ -330,6 +330,7 @@
330 330  
331 331  ​
332 332  
346 +
333 333  === 2.2.8 Change Update Interval ===
334 334  
335 335  
... ... @@ -342,6 +342,7 @@
342 342  1.  By default, the device will send an uplink message every 4 hour.
343 343  
344 344  
359 +
345 345  == 2.3  Uplink Payload ==
346 346  
347 347  
... ... @@ -351,35 +351,35 @@
351 351  
352 352  (% style="color:blue" %)**When AT+TTRCHANNEL=1:**
353 353  
354 -(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:510px" %)
355 -|=(% scope="row" style="width: 50px;" %)**Size(bytes)**|(% style="width:50px" %)**8**|(% style="width:20px" %)**2**|(% style="width:20px" %)**2**|(% style="width:65px" %)**1**|(% style="width:25px" %)**1**|(% style="width:50px" %)**1**|(% style="width:60px" %)**1**|(% style="width:90px" %)**3**|(% style="width:100px" %)**3**
369 +(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:693px" %)
370 +|=(% scope="row" style="width: 93px;" %)**Size(bytes)**|(% style="width:67px" %)**8**|(% style="width:40px" %)**2**|(% style="width:45px" %)**2**|(% style="width:75px" %)**1**|(% style="width:54px" %)**1**|(% style="width:62px" %)**1**|(% style="width:60px" %)**1**|(% style="width:94px" %)**3**|(% style="width:93px" %)**3**
356 356  |=(% style="width: 93px;" %)**Value**|(% style="width:67px" %)[[Device ID>>||anchor="H2.4.1A0A0DeviceID"]]|(% style="width:40px" %)[[Ver>>||anchor="H2.4.2A0VersionInfo"]]|(% style="width:45px" %)[[BAT>>||anchor="H2.4.3A0BatteryInfo"]]|(% style="width:75px" %)[[Signal Strength>>||anchor="H2.4.4A0SignalStrength"]]|(% style="width:54px" %)MOD|(% style="width:62px" %)Door Status|(% style="width:60px" %)[[Alarm Status>>||anchor="H2.7A0AlarmBaseonTimeout"]]|(% style="width:94px" %)door open num(pb14) |(% style="width:93px" %)last open time(pb14)
357 357  
358 -(% border="1.5" style="background-color:#ffffcc; color:green; width:450px" %)
359 -|(% style="width:50px" %)**4**|(% style="width:90px" %)**1**|(% style="width:90px" %)**3**|(% style="width:90px" %)**3**|(% style="width:60px" %)4|(% style="width:50px" %)(((
373 +(% border="1.5" style="background-color:#ffffcc; color:green; width:490px" %)
374 +|(% style="width:50px" %)**4**|(% style="width:70px" %)**1**|(% style="width:50px" %)**3**|(% style="width:99px" %)**3**|(% style="width:67px" %)4|(% style="width:50px" %)(((
360 360  **1-32 group**
361 361  )))
362 362  |(% style="width:98px" %)[[Time stamp>>||anchor="H2.4.7A0Timestamp"]]|(% style="width:115px" %)Door Status(pb14)|(% style="width:92px" %)door open num(pb14)|(% style="width:99px" %)last open time(pb14)|(% style="width:67px" %)Time stamp|(% style="width:74px" %)...
363 363  
364 364  
380 +
365 365  (% style="color:blue" %)**When AT+TTRCHANNEL=2:**
366 366  
367 367  
368 -(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:510px" %)
369 -|=(% scope="row" style="width: 50px;" %)**Size(bytes)**|(% style="width:45px" %)**8**|(% style="width:20px" %)**2**|(% style="width:20px" %)**2**|(% style="width:65px" %)**1**|(% style="width:25px" %)**1**|(% style="width:60px" %)**1**|(% style="width:60px" %)**1**|(% style="width:87px" %)**3**|(% style="width:80px" %)**3**
384 +(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:520px" %)
385 +|=(% scope="row" style="width: 96px;" %)**Size(bytes)**|(% style="width:66px" %)**8**|(% style="width:40px" %)**2**|(% style="width:46px" %)**2**|(% style="width:70px" %)**1**|(% style="width:54px" %)**1**|(% style="width:55px" %)**1**|(% style="width:57px" %)**1**|(% style="width:86px" %)**3**|(% style="width:82px" %)**3**
370 370  |=(% style="width: 96px;" %)**Value**|(% style="width:66px" %)[[Device ID>>||anchor="H2.4.1A0A0DeviceID"]]|(% style="width:40px" %)[[Ver>>||anchor="H2.4.2A0VersionInfo"]]|(% style="width:46px" %)[[BAT>>||anchor="H2.4.3A0BatteryInfo"]]|(% style="width:70px" %)[[Signal Strength>>||anchor="H2.4.4A0SignalStrength"]]|(% style="width:54px" %)MOD|(% style="width:55px" %)Door Status(pb14)|(% style="width:57px" %)[[Alarm Status>>||anchor="H2.7A0AlarmBaseonTimeout"]](pb14)|(% style="width:86px" %)door open num(pb14) |(% style="width:82px" %)last open time(pb14)
371 371  
372 -(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:510px" %)
373 -|(% style="width:80px" %)**1**|(% style="width:80px" %)**1**|(% style="width:88px" %)**3**|(% style="width:81px" %)**3**|(% style="width:50px" %)**4**|(% style="width:75px" %)**1**|(% style="width:75px" %)**3**
388 +(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:520px" %)
389 +|(% style="width:59px" %)**1**|(% style="width:67px" %)**1**|(% style="width:88px" %)**3**|(% style="width:81px" %)**3**|(% style="width:50px" %)**4**|(% style="width:66px" %)**1**|(% style="width:92px" %)**3**
374 374  |(% style="width:59px" %)Door Status(pb15)|(% style="width:67px" %)[[Alarm Status>>||anchor="H2.7A0AlarmBaseonTimeout"]](pb15)|(% style="width:88px" %)door open num(pb15)|(% style="width:81px" %)last open time(pb15)|(% style="width:50px" %)[[Time stamp>>||anchor="H2.4.7A0Timestamp"]]|(% style="width:66px" %)Door Status(pb14)|(% style="width:92px" %)door open num(pb14)
375 375  
376 -(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:510px" %)
377 -|(% style="width:100px" %)**3**|(% style="width:80px" %)**1**|(% style="width:90px" %)**3**|(% style="width:90px" %)**3**|(% style="width:70px" %)**4**|(% style="width:80px" %)(((
392 +(% border="1" cellspacing="5" style="background-color:#ffffcc; color:green; width:500px" %)
393 +|(% style="width:102px" %)**3**|(% style="width:93px" %)**1**|(% style="width:91px" %)**3**|(% style="width:88px" %)**3**|(% style="width:63px" %)**4**|(% style="width:87px" %)(((
378 378  **1-32 group**
379 379  )))
380 -|(% style="width:102px" %)last open time(pb14)|(% style="width:93px" %)Door Status(pb15)|(% style="width:91px" %)door open num(pb15)|(% style="width:100px" %)last open time(pb15)|(% style="width:63px" %)[[Time stamp>>||anchor="H2.4.7A0Timestamp"]]|(% style="width:87px" %)......
396 +|(% style="width:102px" %)last open time (pb14)|(% style="width:93px" %)Door Status(pb15)|(% style="width:91px" %)door open num(pb15)|(% style="width:88px" %)last open time(pb15)|(% style="width:63px" %)[[Time stamp>>||anchor="H2.4.7A0Timestamp"]]|(% style="width:87px" %)......
381 381  
382 -
383 383  If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDS03A uplink data.
384 384  
385 385  [[image:image-20221117145932-2.png]]
... ... @@ -407,11 +407,12 @@
407 407  
408 408  * (% style="color:#037691" %)**door open num: **(%%)0x000016 =22
409 409  
410 -* (% style="color:#037691" %)**last open time:   **(%%)0x000017 =23
425 +* (% style="color:#037691" %)**last open time:  **(%%)0x000017 =23
411 411  
412 412  * (% style="color:#037691" %)**Timestamp:**(%%) 0x637590df =1668649183 (Unix Time)
413 413  
414 414  
430 +
415 415  == 2.4  Payload Explanation and Sensor Interface ==
416 416  
417 417  === 2.4.1  Device ID ===
... ... @@ -529,6 +529,7 @@
529 529  * For each uplink probe, LED will be on for 500ms.
530 530  
531 531  
548 +
532 532  == 2.7  Alarm Base on Timeout ==
533 533  
534 534  
... ... @@ -588,6 +588,7 @@
588 588  [[image:image-20221021111527-19.png]]
589 589  
590 590  
608 +
591 591  == 2.10  Count Mod ==
592 592  
593 593  
... ... @@ -596,6 +596,7 @@
596 596  [[image:image-20221118092935-1.png]]
597 597  
598 598  
617 +
599 599  == 2.11  Interrupt Pin Channel Mod ==
600 600  
601 601  
... ... @@ -604,6 +604,7 @@
604 604  [[image:image-20221118093144-2.png]]
605 605  
606 606  
626 +
607 607  == 2.12 TTRIG1/2 timeout status alarm ==
608 608  
609 609  
... ... @@ -614,6 +614,7 @@
614 614  [[image:image-20221118093512-3.png]]
615 615  
616 616  
637 +
617 617  == 2.13  Select counting mode ==
618 618  
619 619  
... ... @@ -626,6 +626,8 @@
626 626  [[image:image-20221118093658-4.png]]
627 627  
628 628  
650 +
651 +
629 629  == 2.14  Set the number of data to be uploaded and the recording time ==
630 630  
631 631  
... ... @@ -648,6 +648,7 @@
648 648  [[image:image-20221118094227-5.png]]
649 649  
650 650  
674 +
651 651  == 2.16  ​Firmware Change Log ==
652 652  
653 653  
... ... @@ -656,8 +656,10 @@
656 656  Upgrade Instruction: [[Upgrade Firmware>>||anchor="H5.1200BHowtoUpgradeFirmware"]]
657 657  
658 658  
683 +
659 659  == 2.17  ​Battery Analysis ==
660 660  
686 +
661 661  === 2.17.1  ​Battery Type ===
662 662  
663 663  
... ... @@ -676,6 +676,7 @@
676 676  [[image:image-20221021111911-26.png]] ​
677 677  
678 678  
705 +
679 679  === 2.17.2  Power consumption Analyze ===
680 680  
681 681  
... ... @@ -698,6 +698,7 @@
698 698  [[image:1666596205057-567.png]] ​
699 699  
700 700  
728 +
701 701  === 2.17.3  ​Battery Note ===
702 702  
703 703  
... ... @@ -704,6 +704,7 @@
704 704  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.
705 705  
706 706  
735 +
707 707  === 2.17.4  Replace the battery ===
708 708  
709 709  
... ... @@ -710,6 +710,7 @@
710 710  The default battery pack of NDS03A 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).
711 711  
712 712  
742 +
713 713  = 3. ​ Access NB-IoT Module =
714 714  
715 715  
... ... @@ -717,12 +717,13 @@
717 717  
718 718  The AT Command set can refer the BC35-G NB-IoT Module AT Command: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/other_vendors/BC35-G/]] 
719 719  
720 -
721 721  [[image:image-20221118094449-6.png]] ​
722 722  
723 723  
753 +
724 724  = 4.  Using the AT Commands =
725 725  
756 +
726 726  == 4.1  Access AT Commands ==
727 727  
728 728  
... ... @@ -814,8 +814,10 @@
814 814  AT+PWORD  : Serial Access Password
815 815  
816 816  
848 +
817 817  = ​5.  FAQ =
818 818  
851 +
819 819  == 5.1 ​ How to Upgrade Firmware ==
820 820  
821 821  
... ... @@ -826,8 +826,10 @@
826 826  (% style="color:red" %)**Notice: **(% style="color:blue" %)**NDS03A** (%%)**and (% style="color:blue" %)LDS03A(%%)**(% style="color:blue" %) (%%)**share the same mother board. They use the same connection and method to update.**
827 827  
828 828  
862 +
829 829  = 6.  Trouble Shooting =
830 830  
865 +
831 831  == 6.1  ​Connection problem when uploading firmware ==
832 832  
833 833  
... ... @@ -834,6 +834,7 @@
834 834  (% 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]]
835 835  
836 836  
872 +
837 837  == 6.2  AT Command input doesn't work ==
838 838  
839 839  
... ... @@ -840,6 +840,7 @@
840 840  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.
841 841  
842 842  
879 +
843 843  = 7. ​ Order Info =
844 844  
845 845  
... ... @@ -846,6 +846,7 @@
846 846  Part Number**:** NDS03A
847 847  
848 848  
886 +
849 849  = 8.  Packing Info =
850 850  
851 851  
... ... @@ -853,8 +853,6 @@
853 853  
854 854  * NDS03A Open/Close Door Sensor x 1
855 855  
856 -
857 -
858 858  = 9.  Support =
859 859  
860 860  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0