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
-
... ... @@ -72,6 +72,7 @@ 72 72 * 8500mAh Battery for long term use 73 73 74 74 75 + 75 75 == 1.3 Specification == 76 76 77 77 ... ... @@ -103,6 +103,7 @@ 103 103 * Max transmit power: 350mA@3.3v 104 104 105 105 107 + 106 106 == 1.4 Applications == 107 107 108 108 ... ... @@ -118,7 +118,6 @@ 118 118 119 119 120 120 121 - 122 122 == 1.5 Pin Definitions == 123 123 124 124 ... ... @@ -203,13 +203,13 @@ 203 203 [[image:image-20220709092052-2.png]] 204 204 205 205 206 -**Connection:** 207 +(% style="color:blue" %)**Connection:** 207 207 208 - (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND 209 + (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND** 209 209 210 - (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD 211 +**~ (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)** 211 211 212 - (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD 213 +**~ (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)** 213 213 214 214 215 215 In the PC, use below serial tool settings: ... ... @@ -247,10 +247,10 @@ 247 247 (% style="color:blue" %)**AT+PRO=1** (%%) ~/~/ Set to use CoAP protocol to uplink 248 248 ))) 249 249 * ((( 250 -(% 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 251 251 ))) 252 252 * ((( 253 -(% 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 254 254 255 255 256 256 ... ... @@ -279,9 +279,9 @@ 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 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 285 285 286 286 [[image:1657330501006-241.png]] 287 287 ... ... @@ -293,13 +293,13 @@ 293 293 === 2.2.6 Use MQTT protocol to uplink data === 294 294 295 295 296 -* (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 297 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port 298 -* (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 299 -* (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 300 -* (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/Set the password of MQTT 301 -* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB **(%%)~/~/Set the sending topic of MQTT 302 -* (% 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 303 303 304 304 [[image:1657249978444-674.png]] 305 305 ... ... @@ -316,8 +316,8 @@ 316 316 === 2.2.7 Use TCP protocol to uplink data === 317 317 318 318 319 -* (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 320 -* (% 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 321 321 322 322 [[image:image-20220709093918-1.png]] 323 323 ... ... @@ -331,16 +331,19 @@ 331 331 332 332 User can use below command to change the (% style="color:green" %)**uplink interval**. 333 333 334 -* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 335 +* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 335 335 336 336 ((( 337 -(% style="color:red" %)**NOTE 1: By default, the device will send an uplink message every 1 hour.** 338 - 339 339 340 -))) 341 341 342 -(% style="color:red" %)**NOTE 2: When the firmware version is v1.3.2 and later firmware:** 343 343 341 +(% style="color:red" %)**NOTE:** 342 + 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 +))) 347 + 344 344 (% 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).** 345 345 346 346 ... ... @@ -348,7 +348,7 @@ 348 348 == 2.3 Uplink Payload == 349 349 350 350 351 -=== 2.3.1 Before Firmware 1.3.2 === 355 +=== 2.3.1 Before Firmware v1.3.2 === 352 352 353 353 354 354 In this mode, uplink payload includes in total 14 bytes ... ... @@ -367,39 +367,27 @@ 367 367 [[image:1657331036973-987.png]] 368 368 369 369 370 - (((374 + 371 371 The payload is **ASCII** string, representative same HEX: 372 -))) 373 373 374 -((( 375 -0x72403155615900640c6c19029200 where: 376 -))) 377 +(% style="background-color:yellow" %)**0x 724031556159 0064 0c6c 19 0292 00 ** 377 377 378 -* ((( 379 -Device ID: 0x724031556159 = 724031556159 380 -))) 381 -* ((( 382 -Version: 0x0064=100=1.0.0 383 -))) 379 +**where :** 384 384 385 -* ((( 386 -BAT: 0x0c6c = 3180 mV = 3.180V 387 -))) 388 -* ((( 389 -Signal: 0x19 = 25 390 -))) 391 -* ((( 392 -Distance: 0x0292= 658 mm 393 -))) 394 -* ((( 395 -Interrupt: 0x00 = 0 381 +* (% style="color:#037691" %)**Device ID:**(%%) 0x724031556159 = 724031556159 396 396 383 +* (% style="color:#037691" %)**Version:**(%%) 0x0064=100=1.0.0 397 397 385 +* (% style="color:#037691" %)**BAT:** (%%) 0x0c6c = 3180 mV = 3.180V 398 398 387 +* (% style="color:#037691" %)**Signal:**(%%) 0x19 = 25 399 399 400 - 401 -))) 389 +* (% style="color:#037691" %)**Distance:** (%%)0x0292= 658 mm 402 402 391 +* (% style="color:#037691" %)**Interrupt:**(%%) 0x00 = 0 392 + 393 + 394 + 403 403 === **2.3.2 Since firmware v1.3.2** === 404 404 405 405 ... ... @@ -418,20 +418,32 @@ 418 418 419 419 The payload is ASCII string, representative same HEX: 420 420 421 -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 (%%)** 422 422 423 -* (% style="color:green" %)Device ID: f867787050213317 = f867787050213317 424 -* (% style="color:red" %)Version: 0x0084=132=1.3.2 425 -* (% style="color:green" %)BAT: 0x0cf4 = 3316 mV = 3.316V 426 -* (% style="color:blue" %)Singal: 0x1e = 30 427 -* (% style="color:red" %)Mod: 0x01 = 1 428 -* Interrupt: 0x00= 0 429 -* Distance: 0x0039= 57 = 57 430 -* Time stamp : 0x6315537b =1662342011 ([[Unix Epoch Time>>url:http://www.epochconverter.com/]]) 431 -* Distance,Time stamp : 00396319baf0 432 -* (% style="color:red" %) 8 sets of recorded data: Distance,Time stamp : //**00396319ba3c**//,....... 415 +**where:** 433 433 417 +* (% style="color:#037691" %)**Device ID:**(%%) f867787050213317 = f867787050213317 434 434 419 +* (% style="color:#037691" %)**Version:**(%%) 0x0084=132=1.3.2 420 + 421 +* (% style="color:#037691" %)**BAT:**(%%) 0x0cf4 = 3316 mV = 3.316V 422 + 423 +* (% style="color:#037691" %)**Singal:**(%%) 0x1e = 30 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 + 435 435 == 2.4 Payload Explanation and Sensor Interface == 436 436 437 437 ... ... @@ -568,7 +568,7 @@ 568 568 ))) 569 569 570 570 ((( 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]])**.** 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]])**.** 572 572 ))) 573 573 574 574 ... ... @@ -695,27 +695,27 @@ 695 695 696 696 (% style="color:blue" %)** ➢ AT Command:** 697 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) 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. 699 699 700 - (%style="color:#037691" %)** AT+NOUD=8** (%%) ~/~/ The deviceuploads8 setsofrecorded databy default.Upto32setsofrecorddatacan be uploaded.705 + The diagram below explains the relationship between TR, NOUD, and TDC more clearly**:** 701 701 707 +[[image:image-20221009001114-1.png||height="687" width="955"]] 702 702 703 703 710 + 704 704 == 2.8 Read or Clear cached data == 705 705 706 706 707 707 (% style="color:blue" %)** ➢ AT Command:** 708 708 709 -(% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 716 +* (% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 717 +* (% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 710 710 711 - 712 712 [[image:image-20220908175333-2.png]] 713 713 714 714 715 -(% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 716 716 717 - 718 - 719 719 == 2.9 LED Indicator == 720 720 721 721 ... ... @@ -861,90 +861,90 @@ 861 861 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]] 862 862 863 863 864 -AT+<CMD>? : Help on <CMD> 868 +AT+<CMD>? : Help on <CMD> 865 865 866 -AT+<CMD> : Run <CMD> 870 +AT+<CMD> : Run <CMD> 867 867 868 -AT+<CMD>=<value> : Set the value 872 +AT+<CMD>=<value> : Set the value 869 869 870 -AT+<CMD>=? : Get the value 874 +AT+<CMD>=? : Get the value 871 871 872 872 873 873 (% style="color:#037691" %)**General Commands**(%%) 874 874 875 -AT : Attention 879 +AT : Attention 876 876 877 -AT? : Short Help 881 +AT? : Short Help 878 878 879 -ATZ : MCU Reset 883 +ATZ : MCU Reset 880 880 881 -AT+TDC : Application Data Transmission Interval 885 +AT+TDC : Application Data Transmission Interval 882 882 883 -AT+CFG : Print all configurations 887 +AT+CFG : Print all configurations 884 884 885 -AT+CFGMOD : Working mode selection 889 +AT+CFGMOD : Working mode selection 886 886 887 -AT+INTMOD : Set the trigger interrupt mode 891 +AT+INTMOD : Set the trigger interrupt mode 888 888 889 -AT+5VT : Set extend the time of 5V power 893 +AT+5VT : Set extend the time of 5V power 890 890 891 -AT+PRO : Choose agreement 895 +AT+PRO : Choose agreement 892 892 893 -AT+WEIGRE : Get weight or set weight to 0 897 +AT+WEIGRE : Get weight or set weight to 0 894 894 895 -AT+WEIGAP : Get or Set the GapValue of weight 899 +AT+WEIGAP : Get or Set the GapValue of weight 896 896 897 -AT+RXDL : Extend the sending and receiving time 901 +AT+RXDL : Extend the sending and receiving time 898 898 899 -AT+CNTFAC : Get or set counting parameters 903 +AT+CNTFAC : Get or set counting parameters 900 900 901 -AT+SERVADDR 905 +AT+SERVADDR : Server Address 902 902 903 -AT+TR 907 +AT+TR : Get or Set record time" 904 904 905 -AT+APN : Get or set the APN 909 +AT+APN : Get or set the APN 906 906 907 -AT+FBAND 911 +AT+FBAND : Get or Set whether to automatically modify the frequency band 908 908 909 -AT+DNSCFG 913 +AT+DNSCFG : Get or Set DNS Server 910 910 911 -AT+GETSENSORVALUE : Returns the current sensor measurement 915 +AT+GETSENSORVALUE : Returns the current sensor measurement 912 912 913 -AT+NOUD 917 +AT+NOUD : Get or Set the number of data to be uploaded 914 914 915 -AT+CDP : Read or Clear cached data 919 +AT+CDP : Read or Clear cached data 916 916 917 -AT+LDDSALARM : Get or Set alarm of distance 921 +AT+LDDSALARM : Get or Set alarm of distance 918 918 919 919 920 920 (% style="color:#037691" %)**COAP Management** 921 921 922 -AT+URI : Resource parameters 926 +AT+URI : Resource parameters 923 923 924 924 925 925 (% style="color:#037691" %)**UDP Management** 926 926 927 -AT+CFM : Upload confirmation mode (only valid for UDP) 931 +AT+CFM : Upload confirmation mode (only valid for UDP) 928 928 929 929 930 930 (% style="color:#037691" %)**MQTT Management** 931 931 932 -AT+CLIENT 936 +AT+CLIENT : Get or Set MQTT client 933 933 934 -AT+UNAME 938 +AT+UNAME : Get or Set MQTT Username 935 935 936 -AT+PWD 940 +AT+PWD : Get or Set MQTT password 937 937 938 -AT+PUBTOPIC 942 +AT+PUBTOPIC : Get or Set MQTT publish topic 939 939 940 -AT+SUBTOPIC 944 +AT+SUBTOPIC : Get or Set MQTT subscription topic 941 941 942 942 943 943 (% style="color:#037691" %)**Information** 944 944 945 -AT+FDR : Factory Data Reset 949 +AT+FDR : Factory Data Reset 946 946 947 -AT+PWORD : Serial Access Password 951 +AT+PWORD : Serial Access Password 948 948 949 949 950 950
- image-20221009001114-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +282.9 KB - Content