Changes for page NDDS75 -- NB-IoT Distance Detect Sensor User Manual
Last modified by Bei Jinggeng on 2024/05/31 09:53
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,6 +16,7 @@ 16 16 17 17 = 1. Introduction = 18 18 19 + 19 19 == 1.1 What is NDDS75 Distance Detection Sensor == 20 20 21 21 ((( ... ... @@ -72,7 +72,6 @@ 72 72 73 73 74 74 75 - 76 76 == 1.3 Specification == 77 77 78 78 ... ... @@ -81,8 +81,6 @@ 81 81 * Supply Voltage: 2.1v ~~ 3.6v 82 82 * Operating Temperature: -40 ~~ 85°C 83 83 84 - 85 - 86 86 (% style="color:#037691" %)**NB-IoT Spec:** 87 87 88 88 * - B1 @H-FDD: 2100MHz ... ... @@ -92,8 +92,6 @@ 92 92 * - B20 @H-FDD: 800MHz 93 93 * - B28 @H-FDD: 700MHz 94 94 95 - 96 - 97 97 (% style="color:#037691" %)**Battery:** 98 98 99 99 * Li/SOCI2 un-chargeable battery ... ... @@ -102,8 +102,6 @@ 102 102 * Max continuously current: 130mA 103 103 * Max boost current: 2A, 1 second 104 104 105 - 106 - 107 107 (% style="color:#037691" %)**Power Consumption** 108 108 109 109 * STOP Mode: 10uA @ 3.3v ... ... @@ -111,8 +111,6 @@ 111 111 112 112 113 113 114 - 115 - 116 116 == 1.4 Applications == 117 117 118 118 ... ... @@ -213,13 +213,13 @@ 213 213 [[image:image-20220709092052-2.png]] 214 214 215 215 216 -**Connection:** 208 +(% style="color:blue" %)**Connection:** 217 217 218 - (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND 210 + (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND** 219 219 220 - (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD 212 +**~ (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)** 221 221 222 - (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD 214 +**~ (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)** 223 223 224 224 225 225 In the PC, use below serial tool settings: ... ... @@ -257,14 +257,19 @@ 257 257 (% style="color:blue" %)**AT+PRO=1** (%%) ~/~/ Set to use CoAP protocol to uplink 258 258 ))) 259 259 * ((( 260 -(% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ to set CoAP server address and port 252 +(% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ to set CoAP server address and port 261 261 ))) 262 262 * ((( 263 -(% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/Set COAP resource path 255 +(% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/ Set COAP resource path 256 + 257 + 258 + 264 264 ))) 265 265 266 266 ((( 267 267 For parameter description, please refer to AT command set 263 + 264 + 268 268 ))) 269 269 270 270 [[image:1657330452568-615.png]] ... ... @@ -273,6 +273,8 @@ 273 273 274 274 ((( 275 275 After configure the server address and (% style="color:green" %)**reset the device**(%%) (via AT+ATZ ), NDDS75 will start to uplink sensor values to CoAP server. 273 + 274 + 276 276 ))) 277 277 278 278 [[image:1657330472797-498.png]] ... ... @@ -282,9 +282,9 @@ 282 282 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 283 283 284 284 285 -* (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 286 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 287 -* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessary 284 +* (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 285 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 286 +* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessary 288 288 289 289 290 290 ... ... @@ -298,16 +298,14 @@ 298 298 === 2.2.6 Use MQTT protocol to uplink data === 299 299 300 300 301 -* (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 302 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port 303 -* (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 304 -* (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 305 -* (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/Set the password of MQTT 306 -* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB **(%%)~/~/Set the sending topic of MQTT 307 -* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB **(%%) ~/~/Set the subscription topic of MQTT 300 +* (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/ Set to use MQTT protocol to uplink 301 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/ Set MQTT server address and port 302 +* (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/ Set up the CLIENT of MQTT 303 +* (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/ Set the username of MQTT 304 +* (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/ Set the password of MQTT 305 +* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB **(%%)~/~/ Set the sending topic of MQTT 306 +* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB **(%%) ~/~/ Set the subscription topic of MQTT 308 308 309 - 310 - 311 311 [[image:1657249978444-674.png]] 312 312 313 313 ... ... @@ -323,11 +323,9 @@ 323 323 === 2.2.7 Use TCP protocol to uplink data === 324 324 325 325 326 -* (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 327 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 323 +* (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 324 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 328 328 329 - 330 - 331 331 [[image:image-20220709093918-1.png]] 332 332 333 333 ... ... @@ -340,24 +340,31 @@ 340 340 341 341 User can use below command to change the (% style="color:green" %)**uplink interval**. 342 342 343 -* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 338 +* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 344 344 345 345 ((( 341 + 342 + 343 + 346 346 (% style="color:red" %)**NOTE:** 347 -))) 348 348 349 -((( 350 350 (% style="color:red" %)**1. By default, the device will send an uplink message every 1 hour.** 347 + 348 +(% style="color:red" %)**2. When the firmware version is v1.3.2 and later firmware:** 351 351 ))) 352 352 351 +(% style="color:red" %)**By default, the device will send an uplink message every 2 hours. Each Uplink Include 8 set of records in this 2 hour (15 minute interval / record).** 353 353 354 354 354 + 355 355 == 2.3 Uplink Payload == 356 356 357 357 358 - Inthismode,uplink payload includesin total14bytes358 +=== 2.3.1 Before Firmware v1.3.2 === 359 359 360 360 361 +In this mode, uplink payload includes in total 14 bytes 362 + 361 361 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:440px" %) 362 362 |=(% style="width: 60px;" %)((( 363 363 **Size(bytes)** ... ... @@ -373,7 +373,7 @@ 373 373 374 374 375 375 ((( 376 -The payload is ASCII string, representative same HEX: 378 +The payload is **ASCII** string, representative same HEX: 377 377 ))) 378 378 379 379 ((( ... ... @@ -384,11 +384,11 @@ 384 384 Device ID: 0x724031556159 = 724031556159 385 385 ))) 386 386 * ((( 387 -Version: 0x0064=100=1.0.0 389 +Version: 0x0064=100=1.0.0 388 388 ))) 389 389 390 390 * ((( 391 -BAT: 0x0c6c = 3180 mV = 3.180V 393 +BAT: 0x0c6c = 3180 mV = 3.180V 392 392 ))) 393 393 * ((( 394 394 Signal: 0x19 = 25 ... ... @@ -401,9 +401,43 @@ 401 401 402 402 403 403 406 + 404 404 405 405 ))) 406 406 410 +=== **2.3.2 Since firmware v1.3.2** === 411 + 412 + 413 +In this mode, uplink payload includes 69 bytes in total by default. 414 + 415 +Each time the device uploads a data package, 8 sets of recorded data will be attached. Up to 32 sets of recorded data can be uploaded. 416 + 417 +(% border="2" style="background-color:#ffffcc; color:green; width:896px" %) 418 +|(% style="width:95px" %)**Size(bytes)**|(% style="width:84px" %)**8**|(% style="width:44px" %)2|(% style="width:48px" %)2|(% style="width:123px" %)1|(% style="width:55px" %)1|(% style="width:80px" %)1|(% style="width:77px" %)2|(% style="width:94px" %)4|(% style="width:77px" %)2|(% style="width:116px" %)4 419 +|(% style="width:95px" %)**Value**|(% style="width:84px" %)Device ID|(% style="width:44px" %)Ver|(% style="width:48px" %)BAT|(% style="width:123px" %)Signal Strength|(% style="width:55px" %)MOD|(% style="width:80px" %)Interrupt|(% style="width:77px" %)Distance|(% style="width:94px" %)Timestamp|(% style="width:77px" %)Distance|(% style="width:116px" %)Timestamp....... 420 + 421 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDDS75 uplink data. 422 + 423 +[[image:image-20220908175246-1.png]] 424 + 425 + 426 +The payload is ASCII string, representative same HEX: 427 + 428 +0x(% style="color:red" %)f867787050213317(% style="color:blue" %)0084(% style="color:green" %)0cf4(% style="color:red" %)1e(% style="color:blue" %)01(% style="color:green" %)00(% style="color:red" %)**//00396319bb32//**00396319baf0//**00396319ba3c**//00396319b988//**00396319b8d4**//00396319b820//**00396319b76c**//00396319b6b8//**00396319b604**//(%%) where: 429 + 430 +* (% style="color:green" %)Device ID: f867787050213317 = f867787050213317 431 +* (% style="color:red" %)Version: 0x0084=132=1.3.2 432 +* (% style="color:green" %)BAT: 0x0cf4 = 3316 mV = 3.316V 433 +* (% style="color:blue" %)Singal: 0x1e = 30 434 +* (% style="color:red" %)Mod: 0x01 = 1 435 +* Interrupt: 0x00= 0 436 +* Distance: 0x0039= 57 = 57 437 +* Time stamp : 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 438 +* Distance,Time stamp : 00396319baf0 439 +* (% style="color:red" %) 8 sets of recorded data: Distance,Time stamp : //**00396319ba3c**//,....... 440 + 441 + 442 + 407 407 == 2.4 Payload Explanation and Sensor Interface == 408 408 409 409 ... ... @@ -421,7 +421,7 @@ 421 421 ))) 422 422 423 423 ((( 424 -**Example:** 460 +(% style="color:blue" %)**Example :** 425 425 ))) 426 426 427 427 ((( ... ... @@ -429,11 +429,23 @@ 429 429 ))) 430 430 431 431 ((( 432 -The Device ID is stored in a none-erase area, Upgrade the firmware or run **AT+FDR** won't erase Device ID. 468 +The Device ID is stored in a none-erase area, Upgrade the firmware or run (% style="color:blue" %)**AT+FDR**(%%) won't erase Device ID. 433 433 ))) 434 434 435 435 472 +(% style="color:red" %)**NOTE: When the firmware version is v1.3.2 and later firmware:** 436 436 474 +(% style="color:red" %)**By default, the Device ID equal to the last 15 bits of IMEI.** 475 + 476 +User can use (% style="color:blue" %)**AT+DEUI**(%%) to set Device ID 477 + 478 + 479 +(% style="color:blue" %)**Example :** 480 + 481 +AT+DEUI=868411056754138 482 + 483 + 484 + 437 437 === 2.4.2 Version Info === 438 438 439 439 ... ... @@ -528,7 +528,7 @@ 528 528 ))) 529 529 530 530 ((( 531 -(% style="color:blue" %)**AT+INTMOD=3 **(%%) ~/~/(more info about INMOD please refer [[**AT Command Manual**>>url:https://www.dragino.com/downloads/downloads/NB-IoT/NBSN95/DRAGINO_NBSN95-NB_AT%20Commands_v1.1.0.pdf]])**.** 579 +(% style="color:blue" %)**AT+INTMOD=3 **(%%) ~/~/ (more info about INMOD please refer [[**AT Command Manual**>>url:https://www.dragino.com/downloads/downloads/NB-IoT/NBSN95/DRAGINO_NBSN95-NB_AT%20Commands_v1.1.0.pdf]])**.** 532 532 ))) 533 533 534 534 ... ... @@ -630,9 +630,52 @@ 630 630 631 631 632 632 633 -== 2.6 LEDIndicator ==681 +== 2.6 Distance alarm function(Since firmware v1.3.2) == 634 634 635 635 684 +(% style="color:blue" %)** ➢ AT Command:** 685 + 686 +(% style="color:#037691" %)** AT+ LDDSALARM=min,max** 687 + 688 +² When min=0, and max≠0, Alarm higher than max 689 + 690 +² When min≠0, and max=0, Alarm lower than min 691 + 692 +² When min≠0 and max≠0, Alarm higher than max or lower than min 693 + 694 + 695 +(% style="color:blue" %)** Example:** 696 + 697 +**AT+ LDDSALARM=260,2000** ~/~/ Alarm when distance lower than 260. 698 + 699 + 700 + 701 +== 2.7 Set the number of data to be uploaded and the recording time == 702 + 703 + 704 +(% style="color:blue" %)** ➢ AT Command:** 705 + 706 +* (% style="color:#037691" %)** AT+TR=900** (%%) ~/~/ The unit is seconds, and the default is to record data once every 900 seconds.( The minimum can be set to 180 seconds) 707 +* (% 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. 708 + 709 + 710 + 711 + 712 +== 2.8 Read or Clear cached data == 713 + 714 + 715 +(% style="color:blue" %)** ➢ AT Command:** 716 + 717 +* (% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 718 +* (% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 719 + 720 +[[image:image-20220908175333-2.png]] 721 + 722 + 723 + 724 +== 2.9 LED Indicator == 725 + 726 + 636 636 The NDDS75 has an internal LED which is to show the status of different state. 637 637 638 638 ... ... @@ -647,7 +647,7 @@ 647 647 648 648 649 649 650 -== 2. 7Firmware Change Log ==741 +== 2.10 Firmware Change Log == 651 651 652 652 653 653 ((( ... ... @@ -664,10 +664,10 @@ 664 664 665 665 666 666 667 -== 2. 8Battery Analysis ==758 +== 2.11 Battery Analysis == 668 668 669 669 670 -=== 2. 8.1 Battery Type ===761 +=== 2.11.1 Battery Type === 671 671 672 672 673 673 ((( ... ... @@ -692,7 +692,7 @@ 692 692 693 693 694 694 695 -=== 2. 8.2 Power consumption Analyze ===786 +=== 2.11.2 Power consumption Analyze === 696 696 697 697 698 698 ((( ... ... @@ -731,7 +731,7 @@ 731 731 732 732 733 733 734 -=== 2. 8.3 Battery Note ===825 +=== 2.11.3 Battery Note === 735 735 736 736 737 737 ((( ... ... @@ -740,7 +740,7 @@ 740 740 741 741 742 742 743 -=== 2. 8.4 Replace the battery ===834 +=== 2.11.4 Replace the battery === 744 744 745 745 746 746 ((( ... ... @@ -775,74 +775,90 @@ 775 775 See this link for detail: [[https:~~/~~/www.dropbox.com/sh/aaq2xcl0bzfu0yd/AAAEAHRa7Io_465ds4Y7-F3aa?dl=0>>https://www.dropbox.com/sh/aaq2xcl0bzfu0yd/AAAEAHRa7Io_465ds4Y7-F3aa?dl=0]] 776 776 777 777 778 -AT+<CMD>? : Help on <CMD> 869 +AT+<CMD>? : Help on <CMD> 779 779 780 -AT+<CMD> : Run <CMD> 871 +AT+<CMD> : Run <CMD> 781 781 782 -AT+<CMD>=<value> : Set the value 873 +AT+<CMD>=<value> : Set the value 783 783 784 -AT+<CMD>=? : Get the value 875 +AT+<CMD>=? : Get the value 785 785 786 786 787 787 (% style="color:#037691" %)**General Commands**(%%) 788 788 789 -AT : Attention 880 +AT : Attention 790 790 791 -AT? : Short Help 882 +AT? : Short Help 792 792 793 -ATZ : MCU Reset 884 +ATZ : MCU Reset 794 794 795 -AT+TDC : Application Data Transmission Interval 886 +AT+TDC : Application Data Transmission Interval 796 796 797 -AT+CFG : Print all configurations 888 +AT+CFG : Print all configurations 798 798 799 -AT+CFGMOD : Working mode selection 890 +AT+CFGMOD : Working mode selection 800 800 801 -AT+INTMOD : Set the trigger interrupt mode 892 +AT+INTMOD : Set the trigger interrupt mode 802 802 803 -AT+5VT : Set extend the time of 5V power 894 +AT+5VT : Set extend the time of 5V power 804 804 805 -AT+PRO : Choose agreement 896 +AT+PRO : Choose agreement 806 806 807 -AT+WEIGRE : Get weight or set weight to 0 898 +AT+WEIGRE : Get weight or set weight to 0 808 808 809 -AT+WEIGAP : Get or Set the GapValue of weight 900 +AT+WEIGAP : Get or Set the GapValue of weight 810 810 811 -AT+RXDL : Extend the sending and receiving time 902 +AT+RXDL : Extend the sending and receiving time 812 812 813 -AT+CNTFAC : Get or set counting parameters 904 +AT+CNTFAC : Get or set counting parameters 814 814 815 -AT+SERVADDR 906 +AT+SERVADDR : Server Address 816 816 908 +AT+TR : Get or Set record time" 817 817 910 +AT+APN : Get or set the APN 911 + 912 +AT+FBAND : Get or Set whether to automatically modify the frequency band 913 + 914 +AT+DNSCFG : Get or Set DNS Server 915 + 916 +AT+GETSENSORVALUE : Returns the current sensor measurement 917 + 918 +AT+NOUD : Get or Set the number of data to be uploaded 919 + 920 +AT+CDP : Read or Clear cached data 921 + 922 +AT+LDDSALARM : Get or Set alarm of distance 923 + 924 + 818 818 (% style="color:#037691" %)**COAP Management** 819 819 820 -AT+URI : Resource parameters 927 +AT+URI : Resource parameters 821 821 822 822 823 823 (% style="color:#037691" %)**UDP Management** 824 824 825 -AT+CFM : Upload confirmation mode (only valid for UDP) 932 +AT+CFM : Upload confirmation mode (only valid for UDP) 826 826 827 827 828 828 (% style="color:#037691" %)**MQTT Management** 829 829 830 -AT+CLIENT 937 +AT+CLIENT : Get or Set MQTT client 831 831 832 -AT+UNAME 939 +AT+UNAME : Get or Set MQTT Username 833 833 834 -AT+PWD 941 +AT+PWD : Get or Set MQTT password 835 835 836 -AT+PUBTOPIC 943 +AT+PUBTOPIC : Get or Set MQTT publish topic 837 837 838 -AT+SUBTOPIC 945 +AT+SUBTOPIC : Get or Set MQTT subscription topic 839 839 840 840 841 841 (% style="color:#037691" %)**Information** 842 842 843 -AT+FDR : Factory Data Reset 950 +AT+FDR : Factory Data Reset 844 844 845 -AT+PWORD : Serial Access Password 952 +AT+PWORD : Serial Access Password 846 846 847 847 848 848 ... ... @@ -917,6 +917,7 @@ 917 917 ((( 918 918 919 919 1027 + 920 920 (% style="color:#037691" %)**Dimension and weight**: 921 921 922 922 * Device Size: 13.0 x 5 x 4.5 cm ... ... @@ -937,6 +937,3 @@ 937 937 938 938 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 939 939 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]] 940 - 941 - 942 -
- image-20220908175246-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.David - Size
-
... ... @@ -1,0 +1,1 @@ 1 +55.7 KB - Content
- image-20220908175333-2.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.David - Size
-
... ... @@ -1,0 +1,1 @@ 1 +31.1 KB - Content