Changes for page NDDS75 -- NB-IoT Distance Detect Sensor User Manual
Last modified by Bei Jinggeng on 2024/05/31 09:53
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 2 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -71,9 +71,6 @@ 71 71 * Micro SIM card slot for NB-IoT SIM 72 72 * 8500mAh Battery for long term use 73 73 74 - 75 - 76 - 77 77 == 1.3 Specification == 78 78 79 79 ... ... @@ -82,7 +82,6 @@ 82 82 * Supply Voltage: 2.1v ~~ 3.6v 83 83 * Operating Temperature: -40 ~~ 85°C 84 84 85 - 86 86 (% style="color:#037691" %)**NB-IoT Spec:** 87 87 88 88 * - B1 @H-FDD: 2100MHz ... ... @@ -92,7 +92,6 @@ 92 92 * - B20 @H-FDD: 800MHz 93 93 * - B28 @H-FDD: 700MHz 94 94 95 - 96 96 (% style="color:#037691" %)**Battery:** 97 97 98 98 * Li/SOCI2 un-chargeable battery ... ... @@ -101,15 +101,11 @@ 101 101 * Max continuously current: 130mA 102 102 * Max boost current: 2A, 1 second 103 103 104 - 105 105 (% style="color:#037691" %)**Power Consumption** 106 106 107 107 * STOP Mode: 10uA @ 3.3v 108 108 * Max transmit power: 350mA@3.3v 109 109 110 - 111 - 112 - 113 113 == 1.4 Applications == 114 114 115 115 ... ... @@ -210,13 +210,13 @@ 210 210 [[image:image-20220709092052-2.png]] 211 211 212 212 213 -**Connection:** 204 +(% style="color:blue" %)**Connection:** 214 214 215 - (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND 206 + (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND** 216 216 217 - (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD 208 +**~ (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)** 218 218 219 - (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD 210 +**~ (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)** 220 220 221 221 222 222 In the PC, use below serial tool settings: ... ... @@ -254,14 +254,19 @@ 254 254 (% style="color:blue" %)**AT+PRO=1** (%%) ~/~/ Set to use CoAP protocol to uplink 255 255 ))) 256 256 * ((( 257 -(% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ to set CoAP server address and port 248 +(% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ to set CoAP server address and port 258 258 ))) 259 259 * ((( 260 -(% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/Set COAP resource path 251 +(% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/ Set COAP resource path 252 + 253 + 254 + 261 261 ))) 262 262 263 263 ((( 264 264 For parameter description, please refer to AT command set 259 + 260 + 265 265 ))) 266 266 267 267 [[image:1657330452568-615.png]] ... ... @@ -270,6 +270,8 @@ 270 270 271 271 ((( 272 272 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. 269 + 270 + 273 273 ))) 274 274 275 275 [[image:1657330472797-498.png]] ... ... @@ -279,11 +279,10 @@ 279 279 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 280 280 281 281 282 -* (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 283 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 284 -* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessary 280 +* (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 281 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 282 +* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessary 285 285 286 - 287 287 [[image:1657330501006-241.png]] 288 288 289 289 ... ... @@ -294,15 +294,14 @@ 294 294 === 2.2.6 Use MQTT protocol to uplink data === 295 295 296 296 297 -* (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 298 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port 299 -* (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 300 -* (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 301 -* (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/Set the password of MQTT 302 -* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB **(%%)~/~/Set the sending topic of MQTT 303 -* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB **(%%) ~/~/Set the subscription topic of MQTT 294 +* (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/ Set to use MQTT protocol to uplink 295 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/ Set MQTT server address and port 296 +* (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/ Set up the CLIENT of MQTT 297 +* (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/ Set the username of MQTT 298 +* (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/ Set the password of MQTT 299 +* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB **(%%)~/~/ Set the sending topic of MQTT 300 +* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB **(%%) ~/~/ Set the subscription topic of MQTT 304 304 305 - 306 306 [[image:1657249978444-674.png]] 307 307 308 308 ... ... @@ -318,10 +318,9 @@ 318 318 === 2.2.7 Use TCP protocol to uplink data === 319 319 320 320 321 -* (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 322 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 317 +* (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 318 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 323 323 324 - 325 325 [[image:image-20220709093918-1.png]] 326 326 327 327 ... ... @@ -334,24 +334,31 @@ 334 334 335 335 User can use below command to change the (% style="color:green" %)**uplink interval**. 336 336 337 -* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 332 +* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 338 338 339 339 ((( 335 + 336 + 337 + 340 340 (% style="color:red" %)**NOTE:** 341 -))) 342 342 343 -((( 344 344 (% style="color:red" %)**1. By default, the device will send an uplink message every 1 hour.** 341 + 342 +(% style="color:red" %)**2. When the firmware version is v1.3.2 and later firmware:** 345 345 ))) 346 346 345 +(% 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).** 347 347 348 348 348 + 349 349 == 2.3 Uplink Payload == 350 350 351 351 352 - Inthismode,uplink payload includesin total14bytes352 +=== 2.3.1 Before Firmware v1.3.2 === 353 353 354 354 355 +In this mode, uplink payload includes in total 14 bytes 356 + 355 355 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:440px" %) 356 356 |=(% style="width: 60px;" %)((( 357 357 **Size(bytes)** ... ... @@ -367,7 +367,7 @@ 367 367 368 368 369 369 ((( 370 -The payload is ASCII string, representative same HEX: 372 +The payload is **ASCII** string, representative same HEX: 371 371 ))) 372 372 373 373 ((( ... ... @@ -378,11 +378,11 @@ 378 378 Device ID: 0x724031556159 = 724031556159 379 379 ))) 380 380 * ((( 381 -Version: 0x0064=100=1.0.0 383 +Version: 0x0064=100=1.0.0 382 382 ))) 383 383 384 384 * ((( 385 -BAT: 0x0c6c = 3180 mV = 3.180V 387 +BAT: 0x0c6c = 3180 mV = 3.180V 386 386 ))) 387 387 * ((( 388 388 Signal: 0x19 = 25 ... ... @@ -395,9 +395,41 @@ 395 395 396 396 397 397 400 + 398 398 399 399 ))) 400 400 404 +=== **2.3.2 Since firmware v1.3.2** === 405 + 406 + 407 +In this mode, uplink payload includes 69 bytes in total by default. 408 + 409 +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. 410 + 411 +(% border="2" style="background-color:#ffffcc; color:green; width:896px" %) 412 +|(% 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 413 +|(% 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....... 414 + 415 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDDS75 uplink data. 416 + 417 +[[image:image-20220908175246-1.png]] 418 + 419 + 420 +The payload is ASCII string, representative same HEX: 421 + 422 +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: 423 + 424 +* (% style="color:green" %)Device ID: f867787050213317 = f867787050213317 425 +* (% style="color:red" %)Version: 0x0084=132=1.3.2 426 +* (% style="color:green" %)BAT: 0x0cf4 = 3316 mV = 3.316V 427 +* (% style="color:blue" %)Singal: 0x1e = 30 428 +* (% style="color:red" %)Mod: 0x01 = 1 429 +* Interrupt: 0x00= 0 430 +* Distance: 0x0039= 57 = 57 431 +* Time stamp : 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 432 +* Distance,Time stamp : 00396319baf0 433 +* (% style="color:red" %) 8 sets of recorded data: Distance,Time stamp : //**00396319ba3c**//,....... 434 + 401 401 == 2.4 Payload Explanation and Sensor Interface == 402 402 403 403 ... ... @@ -415,7 +415,7 @@ 415 415 ))) 416 416 417 417 ((( 418 -**Example:** 452 +(% style="color:blue" %)**Example :** 419 419 ))) 420 420 421 421 ((( ... ... @@ -423,11 +423,23 @@ 423 423 ))) 424 424 425 425 ((( 426 -The Device ID is stored in a none-erase area, Upgrade the firmware or run **AT+FDR** won't erase Device ID. 460 +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. 427 427 ))) 428 428 429 429 464 +(% style="color:red" %)**NOTE: When the firmware version is v1.3.2 and later firmware:** 430 430 466 +(% style="color:red" %)**By default, the Device ID equal to the last 15 bits of IMEI.** 467 + 468 +User can use (% style="color:blue" %)**AT+DEUI**(%%) to set Device ID 469 + 470 + 471 +(% style="color:blue" %)**Example :** 472 + 473 +AT+DEUI=868411056754138 474 + 475 + 476 + 431 431 === 2.4.2 Version Info === 432 432 433 433 ... ... @@ -522,7 +522,7 @@ 522 522 ))) 523 523 524 524 ((( 525 -(% 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]])**.** 571 +(% 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]])**.** 526 526 ))) 527 527 528 528 ... ... @@ -624,9 +624,55 @@ 624 624 625 625 626 626 627 -== 2.6 LEDIndicator ==673 +== 2.6 Distance alarm function(Since firmware v1.3.2) == 628 628 629 629 676 +(% style="color:blue" %)** ➢ AT Command:** 677 + 678 +(% style="color:#037691" %)** AT+ LDDSALARM=min,max** 679 + 680 +² When min=0, and max≠0, Alarm higher than max 681 + 682 +² When min≠0, and max=0, Alarm lower than min 683 + 684 +² When min≠0 and max≠0, Alarm higher than max or lower than min 685 + 686 + 687 +(% style="color:blue" %)** Example:** 688 + 689 +**AT+ LDDSALARM=260,2000** ~/~/ Alarm when distance lower than 260. 690 + 691 + 692 + 693 +== 2.7 Set the number of data to be uploaded and the recording time == 694 + 695 + 696 +(% style="color:blue" %)** ➢ AT Command:** 697 + 698 +* (% 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) 699 +* (% 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. 700 + 701 + The diagram below explains the relationship between TR, NOUD, and TDC more clearly**:** 702 + 703 +[[image:image-20221009000513-1.png||height="732" width="1018"]] 704 + 705 + 706 + 707 +== 2.8 Read or Clear cached data == 708 + 709 + 710 +(% style="color:blue" %)** ➢ AT Command:** 711 + 712 +* (% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 713 +* (% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 714 + 715 +[[image:image-20220908175333-2.png]] 716 + 717 + 718 + 719 +== 2.9 LED Indicator == 720 + 721 + 630 630 The NDDS75 has an internal LED which is to show the status of different state. 631 631 632 632 ... ... @@ -641,7 +641,7 @@ 641 641 642 642 643 643 644 -== 2. 7Firmware Change Log ==736 +== 2.10 Firmware Change Log == 645 645 646 646 647 647 ((( ... ... @@ -658,10 +658,10 @@ 658 658 659 659 660 660 661 -== 2. 8Battery Analysis ==753 +== 2.11 Battery Analysis == 662 662 663 663 664 -=== 2. 8.1 Battery Type ===756 +=== 2.11.1 Battery Type === 665 665 666 666 667 667 ((( ... ... @@ -686,7 +686,7 @@ 686 686 687 687 688 688 689 -=== 2. 8.2 Power consumption Analyze ===781 +=== 2.11.2 Power consumption Analyze === 690 690 691 691 692 692 ((( ... ... @@ -725,7 +725,7 @@ 725 725 726 726 727 727 728 -=== 2. 8.3 Battery Note ===820 +=== 2.11.3 Battery Note === 729 729 730 730 731 731 ((( ... ... @@ -734,7 +734,7 @@ 734 734 735 735 736 736 737 -=== 2. 8.4 Replace the battery ===829 +=== 2.11.4 Replace the battery === 738 738 739 739 740 740 ((( ... ... @@ -769,74 +769,90 @@ 769 769 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]] 770 770 771 771 772 -AT+<CMD>? : Help on <CMD> 864 +AT+<CMD>? : Help on <CMD> 773 773 774 -AT+<CMD> : Run <CMD> 866 +AT+<CMD> : Run <CMD> 775 775 776 -AT+<CMD>=<value> : Set the value 868 +AT+<CMD>=<value> : Set the value 777 777 778 -AT+<CMD>=? : Get the value 870 +AT+<CMD>=? : Get the value 779 779 780 780 781 781 (% style="color:#037691" %)**General Commands**(%%) 782 782 783 -AT : Attention 875 +AT : Attention 784 784 785 -AT? : Short Help 877 +AT? : Short Help 786 786 787 -ATZ : MCU Reset 879 +ATZ : MCU Reset 788 788 789 -AT+TDC : Application Data Transmission Interval 881 +AT+TDC : Application Data Transmission Interval 790 790 791 -AT+CFG : Print all configurations 883 +AT+CFG : Print all configurations 792 792 793 -AT+CFGMOD : Working mode selection 885 +AT+CFGMOD : Working mode selection 794 794 795 -AT+INTMOD : Set the trigger interrupt mode 887 +AT+INTMOD : Set the trigger interrupt mode 796 796 797 -AT+5VT : Set extend the time of 5V power 889 +AT+5VT : Set extend the time of 5V power 798 798 799 -AT+PRO : Choose agreement 891 +AT+PRO : Choose agreement 800 800 801 -AT+WEIGRE : Get weight or set weight to 0 893 +AT+WEIGRE : Get weight or set weight to 0 802 802 803 -AT+WEIGAP : Get or Set the GapValue of weight 895 +AT+WEIGAP : Get or Set the GapValue of weight 804 804 805 -AT+RXDL : Extend the sending and receiving time 897 +AT+RXDL : Extend the sending and receiving time 806 806 807 -AT+CNTFAC : Get or set counting parameters 899 +AT+CNTFAC : Get or set counting parameters 808 808 809 -AT+SERVADDR 901 +AT+SERVADDR : Server Address 810 810 903 +AT+TR : Get or Set record time" 811 811 905 +AT+APN : Get or set the APN 906 + 907 +AT+FBAND : Get or Set whether to automatically modify the frequency band 908 + 909 +AT+DNSCFG : Get or Set DNS Server 910 + 911 +AT+GETSENSORVALUE : Returns the current sensor measurement 912 + 913 +AT+NOUD : Get or Set the number of data to be uploaded 914 + 915 +AT+CDP : Read or Clear cached data 916 + 917 +AT+LDDSALARM : Get or Set alarm of distance 918 + 919 + 812 812 (% style="color:#037691" %)**COAP Management** 813 813 814 -AT+URI : Resource parameters 922 +AT+URI : Resource parameters 815 815 816 816 817 817 (% style="color:#037691" %)**UDP Management** 818 818 819 -AT+CFM : Upload confirmation mode (only valid for UDP) 927 +AT+CFM : Upload confirmation mode (only valid for UDP) 820 820 821 821 822 822 (% style="color:#037691" %)**MQTT Management** 823 823 824 -AT+CLIENT 932 +AT+CLIENT : Get or Set MQTT client 825 825 826 -AT+UNAME 934 +AT+UNAME : Get or Set MQTT Username 827 827 828 -AT+PWD 936 +AT+PWD : Get or Set MQTT password 829 829 830 -AT+PUBTOPIC 938 +AT+PUBTOPIC : Get or Set MQTT publish topic 831 831 832 -AT+SUBTOPIC 940 +AT+SUBTOPIC : Get or Set MQTT subscription topic 833 833 834 834 835 835 (% style="color:#037691" %)**Information** 836 836 837 -AT+FDR : Factory Data Reset 945 +AT+FDR : Factory Data Reset 838 838 839 -AT+PWORD : Serial Access Password 947 +AT+PWORD : Serial Access Password 840 840 841 841 842 842 ... ... @@ -911,6 +911,7 @@ 911 911 ((( 912 912 913 913 1022 + 914 914 (% style="color:#037691" %)**Dimension and weight**: 915 915 916 916 * Device Size: 13.0 x 5 x 4.5 cm ... ... @@ -931,5 +931,3 @@ 931 931 932 932 * 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. 933 933 * 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]] 934 - 935 -
- 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