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, 1 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -73,8 +73,6 @@ 73 73 74 74 75 75 76 - 77 - 78 78 == 1.3 Specification == 79 79 80 80 ... ... @@ -107,8 +107,6 @@ 107 107 108 108 109 109 110 - 111 - 112 112 == 1.4 Applications == 113 113 114 114 ... ... @@ -124,7 +124,6 @@ 124 124 125 125 126 126 127 - 128 128 == 1.5 Pin Definitions == 129 129 130 130 ... ... @@ -209,13 +209,13 @@ 209 209 [[image:image-20220709092052-2.png]] 210 210 211 211 212 -**Connection:** 207 +(% style="color:blue" %)**Connection:** 213 213 214 - (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND 209 + (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND** 215 215 216 - (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD 211 +**~ (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)** 217 217 218 - (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD 213 +**~ (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)** 219 219 220 220 221 221 In the PC, use below serial tool settings: ... ... @@ -253,10 +253,10 @@ 253 253 (% style="color:blue" %)**AT+PRO=1** (%%) ~/~/ Set to use CoAP protocol to uplink 254 254 ))) 255 255 * ((( 256 -(% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ to set CoAP server address and port 251 +(% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ to set CoAP server address and port 257 257 ))) 258 258 * ((( 259 -(% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/Set COAP resource path 254 +(% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/ Set COAP resource path 260 260 261 261 262 262 ... ... @@ -285,9 +285,9 @@ 285 285 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 286 286 287 287 288 -* (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 289 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 290 -* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessary 283 +* (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 284 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 285 +* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessary 291 291 292 292 [[image:1657330501006-241.png]] 293 293 ... ... @@ -299,13 +299,13 @@ 299 299 === 2.2.6 Use MQTT protocol to uplink data === 300 300 301 301 302 -* (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 303 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port 304 -* (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 305 -* (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 306 -* (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/Set the password of MQTT 307 -* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB **(%%)~/~/Set the sending topic of MQTT 308 -* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB **(%%) ~/~/Set the subscription topic of MQTT 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 309 309 310 310 [[image:1657249978444-674.png]] 311 311 ... ... @@ -322,8 +322,8 @@ 322 322 === 2.2.7 Use TCP protocol to uplink data === 323 323 324 324 325 -* (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 326 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 320 +* (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 321 +* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 327 327 328 328 [[image:image-20220709093918-1.png]] 329 329 ... ... @@ -337,7 +337,7 @@ 337 337 338 338 User can use below command to change the (% style="color:green" %)**uplink interval**. 339 339 340 -* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 335 +* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 341 341 342 342 ((( 343 343 ... ... @@ -357,7 +357,7 @@ 357 357 == 2.3 Uplink Payload == 358 358 359 359 360 -=== 2.3.1 Before Firmware 1.3.2 === 355 +=== 2.3.1 Before Firmware v1.3.2 === 361 361 362 362 363 363 In this mode, uplink payload includes in total 14 bytes ... ... @@ -376,39 +376,27 @@ 376 376 [[image:1657331036973-987.png]] 377 377 378 378 379 - (((374 + 380 380 The payload is **ASCII** string, representative same HEX: 381 -))) 382 382 383 -((( 384 -0x72403155615900640c6c19029200 where: 385 -))) 377 +(% style="background-color:yellow" %)**0x 724031556159 0064 0c6c 19 0292 00 ** 386 386 387 -* ((( 388 -Device ID: 0x724031556159 = 724031556159 389 -))) 390 -* ((( 391 -Version: 0x0064=100=1.0.0 392 -))) 379 +**where :** 393 393 394 -* ((( 395 -BAT: 0x0c6c = 3180 mV = 3.180V 396 -))) 397 -* ((( 398 -Signal: 0x19 = 25 399 -))) 400 -* ((( 401 -Distance: 0x0292= 658 mm 402 -))) 403 -* ((( 404 -Interrupt: 0x00 = 0 381 +* (% style="color:#037691" %)**Device ID:**(%%) 0x724031556159 = 724031556159 405 405 383 +* (% style="color:#037691" %)**Version:**(%%) 0x0064=100=1.0.0 406 406 385 +* (% style="color:#037691" %)**BAT:** (%%) 0x0c6c = 3180 mV = 3.180V 407 407 387 +* (% style="color:#037691" %)**Signal:**(%%) 0x19 = 25 408 408 409 - 410 -))) 389 +* (% style="color:#037691" %)**Distance:** (%%)0x0292= 658 mm 411 411 391 +* (% style="color:#037691" %)**Interrupt:**(%%) 0x00 = 0 392 + 393 + 394 + 412 412 === **2.3.2 Since firmware v1.3.2** === 413 413 414 414 ... ... @@ -427,23 +427,32 @@ 427 427 428 428 The payload is ASCII string, representative same HEX: 429 429 430 -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: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 (%%)** 431 431 432 -* (% style="color:green" %)Device ID: f867787050213317 = f867787050213317 433 -* (% style="color:red" %)Version: 0x0084=132=1.3.2 434 -* (% style="color:green" %)BAT: 0x0cf4 = 3316 mV = 3.316V 435 -* (% style="color:blue" %)Singal: 0x1e = 30 436 -* (% style="color:red" %)Mod: 0x01 = 1 437 -* Interrupt: 0x00= 0 438 -* Distance: 0x0039= 57 = 57 439 -* Time stamp : 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 440 -* Distance,Time stamp : 00396319baf0 441 -* (% style="color:red" %) 8 sets of recorded data: Distance,Time stamp : //**00396319ba3c**//,....... 415 +**where:** 442 442 417 +* (% style="color:#037691" %)**Device ID:**(%%) f867787050213317 = f867787050213317 443 443 419 +* (% style="color:#037691" %)**Version:**(%%) 0x0084=132=1.3.2 444 444 421 +* (% style="color:#037691" %)**BAT:**(%%) 0x0cf4 = 3316 mV = 3.316V 445 445 423 +* (% style="color:#037691" %)**Singal:**(%%) 0x1e = 30 446 446 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 + 447 447 == 2.4 Payload Explanation and Sensor Interface == 448 448 449 449 ... ... @@ -580,7 +580,7 @@ 580 580 ))) 581 581 582 582 ((( 583 -(% 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]])**.** 575 +(% 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]])**.** 584 584 ))) 585 585 586 586 ... ... @@ -707,22 +707,23 @@ 707 707 708 708 (% style="color:blue" %)** ➢ AT Command:** 709 709 710 -* (% 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) 711 -* (% 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. 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. 712 712 705 + The diagram below explains the relationship between TR, NOUD, and TDC more clearly**:** 713 713 707 +[[image:image-20221009001114-1.png||height="687" width="955"]] 714 714 715 715 710 + 716 716 == 2.8 Read or Clear cached data == 717 717 718 718 719 719 (% style="color:blue" %)** ➢ AT Command:** 720 720 721 -* (% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 722 -* (% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 716 +* (% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 717 +* (% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 723 723 724 - 725 - 726 726 [[image:image-20220908175333-2.png]] 727 727 728 728 ... ... @@ -872,90 +872,90 @@ 872 872 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]] 873 873 874 874 875 -AT+<CMD>? : Help on <CMD> 868 +AT+<CMD>? : Help on <CMD> 876 876 877 -AT+<CMD> : Run <CMD> 870 +AT+<CMD> : Run <CMD> 878 878 879 -AT+<CMD>=<value> : Set the value 872 +AT+<CMD>=<value> : Set the value 880 880 881 -AT+<CMD>=? : Get the value 874 +AT+<CMD>=? : Get the value 882 882 883 883 884 884 (% style="color:#037691" %)**General Commands**(%%) 885 885 886 -AT : Attention 879 +AT : Attention 887 887 888 -AT? : Short Help 881 +AT? : Short Help 889 889 890 -ATZ : MCU Reset 883 +ATZ : MCU Reset 891 891 892 -AT+TDC : Application Data Transmission Interval 885 +AT+TDC : Application Data Transmission Interval 893 893 894 -AT+CFG : Print all configurations 887 +AT+CFG : Print all configurations 895 895 896 -AT+CFGMOD : Working mode selection 889 +AT+CFGMOD : Working mode selection 897 897 898 -AT+INTMOD : Set the trigger interrupt mode 891 +AT+INTMOD : Set the trigger interrupt mode 899 899 900 -AT+5VT : Set extend the time of 5V power 893 +AT+5VT : Set extend the time of 5V power 901 901 902 -AT+PRO : Choose agreement 895 +AT+PRO : Choose agreement 903 903 904 -AT+WEIGRE : Get weight or set weight to 0 897 +AT+WEIGRE : Get weight or set weight to 0 905 905 906 -AT+WEIGAP : Get or Set the GapValue of weight 899 +AT+WEIGAP : Get or Set the GapValue of weight 907 907 908 -AT+RXDL : Extend the sending and receiving time 901 +AT+RXDL : Extend the sending and receiving time 909 909 910 -AT+CNTFAC : Get or set counting parameters 903 +AT+CNTFAC : Get or set counting parameters 911 911 912 -AT+SERVADDR 905 +AT+SERVADDR : Server Address 913 913 914 -AT+TR 907 +AT+TR : Get or Set record time" 915 915 916 -AT+APN : Get or set the APN 909 +AT+APN : Get or set the APN 917 917 918 -AT+FBAND 911 +AT+FBAND : Get or Set whether to automatically modify the frequency band 919 919 920 -AT+DNSCFG 913 +AT+DNSCFG : Get or Set DNS Server 921 921 922 -AT+GETSENSORVALUE : Returns the current sensor measurement 915 +AT+GETSENSORVALUE : Returns the current sensor measurement 923 923 924 -AT+NOUD 917 +AT+NOUD : Get or Set the number of data to be uploaded 925 925 926 -AT+CDP : Read or Clear cached data 919 +AT+CDP : Read or Clear cached data 927 927 928 -AT+LDDSALARM : Get or Set alarm of distance 921 +AT+LDDSALARM : Get or Set alarm of distance 929 929 930 930 931 931 (% style="color:#037691" %)**COAP Management** 932 932 933 -AT+URI : Resource parameters 926 +AT+URI : Resource parameters 934 934 935 935 936 936 (% style="color:#037691" %)**UDP Management** 937 937 938 -AT+CFM : Upload confirmation mode (only valid for UDP) 931 +AT+CFM : Upload confirmation mode (only valid for UDP) 939 939 940 940 941 941 (% style="color:#037691" %)**MQTT Management** 942 942 943 -AT+CLIENT 936 +AT+CLIENT : Get or Set MQTT client 944 944 945 -AT+UNAME 938 +AT+UNAME : Get or Set MQTT Username 946 946 947 -AT+PWD 940 +AT+PWD : Get or Set MQTT password 948 948 949 -AT+PUBTOPIC 942 +AT+PUBTOPIC : Get or Set MQTT publish topic 950 950 951 -AT+SUBTOPIC 944 +AT+SUBTOPIC : Get or Set MQTT subscription topic 952 952 953 953 954 954 (% style="color:#037691" %)**Information** 955 955 956 -AT+FDR : Factory Data Reset 949 +AT+FDR : Factory Data Reset 957 957 958 -AT+PWORD : Serial Access Password 951 +AT+PWORD : Serial Access Password 959 959 960 960 961 961
- image-20221009001114-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +282.9 KB - Content