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, 0 added, 3 removed)
Details
- Page properties
-
- Content
-
... ... @@ -16,7 +16,6 @@ 16 16 17 17 = 1. Introduction = 18 18 19 - 20 20 == 1.1 What is NDDS75 Distance Detection Sensor == 21 21 22 22 ((( ... ... @@ -73,6 +73,7 @@ 73 73 74 74 75 75 75 + 76 76 == 1.3 Specification == 77 77 78 78 ... ... @@ -81,6 +81,8 @@ 81 81 * Supply Voltage: 2.1v ~~ 3.6v 82 82 * Operating Temperature: -40 ~~ 85°C 83 83 84 + 85 + 84 84 (% style="color:#037691" %)**NB-IoT Spec:** 85 85 86 86 * - B1 @H-FDD: 2100MHz ... ... @@ -90,6 +90,8 @@ 90 90 * - B20 @H-FDD: 800MHz 91 91 * - B28 @H-FDD: 700MHz 92 92 95 + 96 + 93 93 (% style="color:#037691" %)**Battery:** 94 94 95 95 * Li/SOCI2 un-chargeable battery ... ... @@ -98,6 +98,8 @@ 98 98 * Max continuously current: 130mA 99 99 * Max boost current: 2A, 1 second 100 100 105 + 106 + 101 101 (% style="color:#037691" %)**Power Consumption** 102 102 103 103 * STOP Mode: 10uA @ 3.3v ... ... @@ -105,6 +105,8 @@ 105 105 106 106 107 107 114 + 115 + 108 108 == 1.4 Applications == 109 109 110 110 ... ... @@ -120,6 +120,7 @@ 120 120 121 121 122 122 131 + 123 123 == 1.5 Pin Definitions == 124 124 125 125 ... ... @@ -204,13 +204,13 @@ 204 204 [[image:image-20220709092052-2.png]] 205 205 206 206 207 - (% style="color:blue" %)**Connection:**216 +**Connection:** 208 208 209 - (% style="background-color:yellow" %) **USB TTL GND <~-~-~-~-> GND**218 + (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND 210 210 211 - **~(% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)**220 + (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD 212 212 213 - **~(% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)**222 + (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD 214 214 215 215 216 216 In the PC, use below serial tool settings: ... ... @@ -248,19 +248,14 @@ 248 248 (% style="color:blue" %)**AT+PRO=1** (%%) ~/~/ Set to use CoAP protocol to uplink 249 249 ))) 250 250 * ((( 251 -(% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ 260 +(% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ to set CoAP server address and port 252 252 ))) 253 253 * ((( 254 -(% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/ Set COAP resource path 255 - 256 - 257 - 263 +(% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/Set COAP resource path 258 258 ))) 259 259 260 260 ((( 261 261 For parameter description, please refer to AT command set 262 - 263 - 264 264 ))) 265 265 266 266 [[image:1657330452568-615.png]] ... ... @@ -269,8 +269,6 @@ 269 269 270 270 ((( 271 271 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. 272 - 273 - 274 274 ))) 275 275 276 276 [[image:1657330472797-498.png]] ... ... @@ -280,10 +280,12 @@ 280 280 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 281 281 282 282 283 -* (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ 284 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ 285 -* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ 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 286 286 289 + 290 + 287 287 [[image:1657330501006-241.png]] 288 288 289 289 ... ... @@ -294,14 +294,16 @@ 294 294 === 2.2.6 Use MQTT protocol to uplink data === 295 295 296 296 297 -* (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/ 298 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/ 299 -* (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/ 300 -* (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/ 301 -* (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/ 302 -* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB **(%%)~/~/ 303 -* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB **(%%) ~/~/ 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 304 304 309 + 310 + 305 305 [[image:1657249978444-674.png]] 306 306 307 307 ... ... @@ -317,9 +317,11 @@ 317 317 === 2.2.7 Use TCP protocol to uplink data === 318 318 319 319 320 -* (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ 321 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ 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 322 322 329 + 330 + 323 323 [[image:image-20220709093918-1.png]] 324 324 325 325 ... ... @@ -332,31 +332,24 @@ 332 332 333 333 User can use below command to change the (% style="color:green" %)**uplink interval**. 334 334 335 -* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ 343 +* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 336 336 337 337 ((( 338 - 339 - 340 - 341 341 (% style="color:red" %)**NOTE:** 347 +))) 342 342 349 +((( 343 343 (% style="color:red" %)**1. By default, the device will send an uplink message every 1 hour.** 344 - 345 -(% style="color:red" %)**2. When the firmware version is v1.3.2 and later firmware:** 346 346 ))) 347 347 348 -(% 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).** 349 349 350 350 351 - 352 352 == 2.3 Uplink Payload == 353 353 354 354 355 -=== 2.3.1 Before Firmware v1.3.2 === 356 - 357 - 358 358 In this mode, uplink payload includes in total 14 bytes 359 359 360 + 360 360 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:440px" %) 361 361 |=(% style="width: 60px;" %)((( 362 362 **Size(bytes)** ... ... @@ -371,71 +371,38 @@ 371 371 [[image:1657331036973-987.png]] 372 372 373 373 374 - 375 -The payload is **ASCII** string, representative same HEX: 376 - 377 -(% style="background-color:yellow" %)**0x 724031556159 0064 0c6c 19 0292 00 ** 378 - 379 -**where :** 380 - 381 -* (% style="color:#037691" %)**Device ID:**(%%) 0x724031556159 = 724031556159 382 - 383 -* (% style="color:#037691" %)**Version:**(%%) 0x0064=100=1.0.0 384 - 385 -* (% style="color:#037691" %)**BAT:** (%%) 0x0c6c = 3180 mV = 3.180V 386 - 387 -* (% style="color:#037691" %)**Signal:**(%%) 0x19 = 25 388 - 389 -* (% style="color:#037691" %)**Distance:** (%%)0x0292= 658 mm 390 - 391 -* (% style="color:#037691" %)**Interrupt:**(%%) 0x00 = 0 392 - 393 - 394 - 395 -=== 2.3.2 Since firmware v1.3.2 === 396 - 397 - 398 -In this mode, uplink payload includes 69 bytes in total by default. 399 - 400 -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. 401 - 402 -(% border="1" style="background-color:#ffffcc; color:green; width:490px" %) 403 -|=(% scope="row" style="width: 60px;" %)**Size(bytes)**|(% style="width:40px" %)**8**|(% style="width:25px" %)**2**|(% style="width:25px" %)**2**|(% style="width:60px" %)**1**|(% style="width:25px" %)**1**|(% style="width:40px" %)**1**|(% style="width:40px" %)**2**|(% style="width:70px" %)**4**|(% style="width:40px" %)**2**|(% style="width:60px" %)**4** 404 -|=(% 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....... 405 - 406 -If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDDS75 uplink data. 407 - 408 -[[image:image-20220908175246-1.png]] 409 - 410 - 375 +((( 411 411 The payload is ASCII string, representative same HEX: 377 +))) 412 412 413 -**0x (% style="color:red" %)f867787050213317 (% style="color:blue" %)0084 (% style="color:green" %)0cf4 (% style="color:#00b0f0" %)1e (% style="color:#7030a0" %)01 (% style="color:#d60093" %)00(% style="color:#a14d07" %) 0039 (% style="color:#0020b0" %)6315537b (% style="color:#663300" %)00396319baf0 00396319ba3c 00396319b988 00396319b8d4 00396319b820 00396319b76c 00396319b6b8 00396319b604 (%%)** 379 +((( 380 +0x72403155615900640c6c19029200 where: 381 +))) 414 414 415 -**where:** 383 +* ((( 384 +Device ID: 0x724031556159 = 724031556159 385 +))) 386 +* ((( 387 +Version: 0x0064=100=1.0.0 388 +))) 416 416 417 -* (% style="color:#037691" %)**Device ID:**(%%) f867787050213317 = f867787050213317 390 +* ((( 391 +BAT: 0x0c6c = 3180 mV = 3.180V 392 +))) 393 +* ((( 394 +Signal: 0x19 = 25 395 +))) 396 +* ((( 397 +Distance: 0x0292= 658 mm 398 +))) 399 +* ((( 400 +Interrupt: 0x00 = 0 418 418 419 -* (% style="color:#037691" %)**Version:**(%%) 0x0084=132=1.3.2 420 420 421 -* (% style="color:#037691" %)**BAT:**(%%) 0x0cf4 = 3316 mV = 3.316V 422 422 423 -* (% style="color:#037691" %)**Singal:**(%%) 0x1e = 30 404 + 405 +))) 424 424 425 -* (% style="color:#037691" %)**Mod:**(%%)** **0x01 = 1 426 - 427 -* (% style="color:#037691" %)**Interrupt:**(%%) 0x00= 0 428 - 429 -* (% style="color:#037691" %)**Distance:**(%%) 0x0039= 57 = 57 430 - 431 -* (% style="color:#037691" %)**Time stamp:**(%%) 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 432 - 433 -* (% style="color:#037691" %)**Distance,Time stamp:**(%%) 00396319baf0 434 - 435 -* (% style="color:#037691" %)**8 sets of recorded data: Distance,Time stamp :**(%%) //**00396319ba3c**//,....... 436 - 437 - 438 - 439 439 == 2.4 Payload Explanation and Sensor Interface == 440 440 441 441 ... ... @@ -453,7 +453,7 @@ 453 453 ))) 454 454 455 455 ((( 456 - (% style="color:blue" %)**Example424 +**Example:** 457 457 ))) 458 458 459 459 ((( ... ... @@ -461,23 +461,11 @@ 461 461 ))) 462 462 463 463 ((( 464 -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.432 +The Device ID is stored in a none-erase area, Upgrade the firmware or run **AT+FDR** won't erase Device ID. 465 465 ))) 466 466 467 467 468 -(% style="color:red" %)**NOTE: When the firmware version is v1.3.2 and later firmware:** 469 469 470 -(% style="color:red" %)**By default, the Device ID equal to the last 15 bits of IMEI.** 471 - 472 -User can use (% style="color:blue" %)**AT+DEUI**(%%) to set Device ID 473 - 474 - 475 -(% style="color:blue" %)**Example :** 476 - 477 -AT+DEUI=868411056754138 478 - 479 - 480 - 481 481 === 2.4.2 Version Info === 482 482 483 483 ... ... @@ -572,7 +572,7 @@ 572 572 ))) 573 573 574 574 ((( 575 -(% style="color:blue" %)**AT+INTMOD=3 **(%%) ~/~/ 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]])**.** 576 576 ))) 577 577 578 578 ... ... @@ -674,55 +674,9 @@ 674 674 675 675 676 676 677 -== 2.6 D istancealarm function(Since firmwarev1.3.2)==633 +== 2.6 LED Indicator == 678 678 679 679 680 -(% style="color:blue" %)** ➢ AT Command:** 681 - 682 -(% style="color:#037691" %)** AT+ LDDSALARM=min,max** 683 - 684 -² When min=0, and max≠0, Alarm higher than max 685 - 686 -² When min≠0, and max=0, Alarm lower than min 687 - 688 -² When min≠0 and max≠0, Alarm higher than max or lower than min 689 - 690 - 691 -(% style="color:blue" %)** Example:** 692 - 693 -**AT+ LDDSALARM=260,2000** ~/~/ Alarm when distance lower than 260. 694 - 695 - 696 - 697 -== 2.7 Set the number of data to be uploaded and the recording time == 698 - 699 - 700 -(% style="color:blue" %)** ➢ AT Command:** 701 - 702 -* (% 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) 703 -* (% 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. 704 - 705 - The diagram below explains the relationship between TR, NOUD, and TDC more clearly**:** 706 - 707 -[[image:image-20221009001114-1.png||height="687" width="955"]] 708 - 709 - 710 - 711 -== 2.8 Read or Clear cached data == 712 - 713 - 714 -(% style="color:blue" %)** ➢ AT Command:** 715 - 716 -* (% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 717 -* (% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 718 - 719 -[[image:image-20220908175333-2.png]] 720 - 721 - 722 - 723 -== 2.9 LED Indicator == 724 - 725 - 726 726 The NDDS75 has an internal LED which is to show the status of different state. 727 727 728 728 ... ... @@ -737,7 +737,7 @@ 737 737 738 738 739 739 740 -== 2. 10Firmware Change Log ==650 +== 2.7 Firmware Change Log == 741 741 742 742 743 743 ((( ... ... @@ -754,10 +754,10 @@ 754 754 755 755 756 756 757 -== 2. 11Battery Analysis ==667 +== 2.8 Battery Analysis == 758 758 759 759 760 -=== 2. 11.1 Battery Type ===670 +=== 2.8.1 Battery Type === 761 761 762 762 763 763 ((( ... ... @@ -782,7 +782,7 @@ 782 782 783 783 784 784 785 -=== 2. 11.2 Power consumption Analyze ===695 +=== 2.8.2 Power consumption Analyze === 786 786 787 787 788 788 ((( ... ... @@ -821,7 +821,7 @@ 821 821 822 822 823 823 824 -=== 2. 11.3 Battery Note ===734 +=== 2.8.3 Battery Note === 825 825 826 826 827 827 ((( ... ... @@ -830,7 +830,7 @@ 830 830 831 831 832 832 833 -=== 2. 11.4 Replace the battery ===743 +=== 2.8.4 Replace the battery === 834 834 835 835 836 836 ((( ... ... @@ -865,90 +865,74 @@ 865 865 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]] 866 866 867 867 868 -AT+<CMD>? : 778 +AT+<CMD>? : Help on <CMD> 869 869 870 -AT+<CMD> : 780 +AT+<CMD> : Run <CMD> 871 871 872 -AT+<CMD>=<value> : 782 +AT+<CMD>=<value> : Set the value 873 873 874 -AT+<CMD>=? : 784 +AT+<CMD>=? : Get the value 875 875 876 876 877 877 (% style="color:#037691" %)**General Commands**(%%) 878 878 879 -AT : 789 +AT : Attention 880 880 881 -AT? : 791 +AT? : Short Help 882 882 883 -ATZ : 793 +ATZ : MCU Reset 884 884 885 -AT+TDC : 795 +AT+TDC : Application Data Transmission Interval 886 886 887 -AT+CFG : 797 +AT+CFG : Print all configurations 888 888 889 -AT+CFGMOD : 799 +AT+CFGMOD : Working mode selection 890 890 891 -AT+INTMOD : 801 +AT+INTMOD : Set the trigger interrupt mode 892 892 893 -AT+5VT : 803 +AT+5VT : Set extend the time of 5V power 894 894 895 -AT+PRO : 805 +AT+PRO : Choose agreement 896 896 897 -AT+WEIGRE : 807 +AT+WEIGRE : Get weight or set weight to 0 898 898 899 -AT+WEIGAP : 809 +AT+WEIGAP : Get or Set the GapValue of weight 900 900 901 -AT+RXDL : 811 +AT+RXDL : Extend the sending and receiving time 902 902 903 -AT+CNTFAC : 813 +AT+CNTFAC : Get or set counting parameters 904 904 905 -AT+SERVADDR : 815 +AT+SERVADDR : Server Address 906 906 907 -AT+TR : Get or Set record time" 908 908 909 -AT+APN : Get or set the APN 910 - 911 -AT+FBAND : Get or Set whether to automatically modify the frequency band 912 - 913 -AT+DNSCFG : Get or Set DNS Server 914 - 915 -AT+GETSENSORVALUE : Returns the current sensor measurement 916 - 917 -AT+NOUD : Get or Set the number of data to be uploaded 918 - 919 -AT+CDP : Read or Clear cached data 920 - 921 -AT+LDDSALARM : Get or Set alarm of distance 922 - 923 - 924 924 (% style="color:#037691" %)**COAP Management** 925 925 926 -AT+URI : 820 +AT+URI : Resource parameters 927 927 928 928 929 929 (% style="color:#037691" %)**UDP Management** 930 930 931 -AT+CFM : 825 +AT+CFM : Upload confirmation mode (only valid for UDP) 932 932 933 933 934 934 (% style="color:#037691" %)**MQTT Management** 935 935 936 -AT+CLIENT 830 +AT+CLIENT : Get or Set MQTT client 937 937 938 -AT+UNAME :Get or Set MQTT Username832 +AT+UNAME : Get or Set MQTT Username 939 939 940 -AT+PWD 834 +AT+PWD : Get or Set MQTT password 941 941 942 -AT+PUBTOPIC :Get or Set MQTT publish topic836 +AT+PUBTOPIC : Get or Set MQTT publish topic 943 943 944 -AT+SUBTOPIC :Get or Set MQTT subscription topic838 +AT+SUBTOPIC : Get or Set MQTT subscription topic 945 945 946 946 947 947 (% style="color:#037691" %)**Information** 948 948 949 -AT+FDR : 843 +AT+FDR : Factory Data Reset 950 950 951 -AT+PWORD : 845 +AT+PWORD : Serial Access Password 952 952 953 953 954 954 ... ... @@ -1023,7 +1023,6 @@ 1023 1023 ((( 1024 1024 1025 1025 1026 - 1027 1027 (% style="color:#037691" %)**Dimension and weight**: 1028 1028 1029 1029 * Device Size: 13.0 x 5 x 4.5 cm ... ... @@ -1044,3 +1044,6 @@ 1044 1044 1045 1045 * 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. 1046 1046 * 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,1 +1,0 @@ 1 -XWiki.David - Size
-
... ... @@ -1,1 +1,0 @@ 1 -55.7 KB - Content
- image-20220908175333-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.David - Size
-
... ... @@ -1,1 +1,0 @@ 1 -31.1 KB - Content
- image-20221009001114-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Edwin - Size
-
... ... @@ -1,1 +1,0 @@ 1 -282.9 KB - Content