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
-
... ... @@ -71,6 +71,8 @@ 71 71 * Micro SIM card slot for NB-IoT SIM 72 72 * 8500mAh Battery for long term use 73 73 74 + 75 + 74 74 == 1.3 Specification == 75 75 76 76 ... ... @@ -81,12 +81,12 @@ 81 81 82 82 (% style="color:#037691" %)**NB-IoT Spec:** 83 83 84 -* -B1 @H-FDD: 2100MHz85 -* -B3 @H-FDD: 1800MHz86 -* -B8 @H-FDD: 900MHz87 -* -B5 @H-FDD: 850MHz88 -* -B20 @H-FDD: 800MHz89 -* -B28 @H-FDD: 700MHz86 +* B1 @H-FDD: 2100MHz 87 +* B3 @H-FDD: 1800MHz 88 +* B8 @H-FDD: 900MHz 89 +* B5 @H-FDD: 850MHz 90 +* B20 @H-FDD: 800MHz 91 +* B28 @H-FDD: 700MHz 90 90 91 91 (% style="color:#037691" %)**Battery:** 92 92 ... ... @@ -101,6 +101,8 @@ 101 101 * STOP Mode: 10uA @ 3.3v 102 102 * Max transmit power: 350mA@3.3v 103 103 106 + 107 + 104 104 == 1.4 Applications == 105 105 106 106 ... ... @@ -116,7 +116,6 @@ 116 116 117 117 118 118 119 - 120 120 == 1.5 Pin Definitions == 121 121 122 122 ... ... @@ -201,13 +201,13 @@ 201 201 [[image:image-20220709092052-2.png]] 202 202 203 203 204 -**Connection:** 207 +(% style="color:blue" %)**Connection:** 205 205 206 - (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND 209 + (% style="background-color:yellow" %)**USB TTL GND <~-~-~-~-> GND** 207 207 208 - (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD 211 +**~ (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)** 209 209 210 - (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD 213 +**~ (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)** 211 211 212 212 213 213 In the PC, use below serial tool settings: ... ... @@ -245,10 +245,10 @@ 245 245 (% style="color:blue" %)**AT+PRO=1** (%%) ~/~/ Set to use CoAP protocol to uplink 246 246 ))) 247 247 * ((( 248 -(% 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 249 249 ))) 250 250 * ((( 251 -(% 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 252 252 253 253 254 254 ... ... @@ -277,9 +277,9 @@ 277 277 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 278 278 279 279 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 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 283 283 284 284 [[image:1657330501006-241.png]] 285 285 ... ... @@ -291,13 +291,13 @@ 291 291 === 2.2.6 Use MQTT protocol to uplink data === 292 292 293 293 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 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 301 301 302 302 [[image:1657249978444-674.png]] 303 303 ... ... @@ -314,8 +314,8 @@ 314 314 === 2.2.7 Use TCP protocol to uplink data === 315 315 316 316 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 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 319 319 320 320 [[image:image-20220709093918-1.png]] 321 321 ... ... @@ -329,7 +329,7 @@ 329 329 330 330 User can use below command to change the (% style="color:green" %)**uplink interval**. 331 331 332 -* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 335 +* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 333 333 334 334 ((( 335 335 ... ... @@ -337,9 +337,9 @@ 337 337 338 338 (% style="color:red" %)**NOTE:** 339 339 340 -(% style="color:red" %)**1 :By default, the device will send an uplink message every 1 hour.**343 +(% style="color:red" %)**1. By default, the device will send an uplink message every 1 hour.** 341 341 342 -(% style="color:red" %)**2 :When the firmware version is v1.3.2 and later firmware:**345 +(% style="color:red" %)**2. When the firmware version is v1.3.2 and later firmware:** 343 343 ))) 344 344 345 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).** ... ... @@ -349,7 +349,7 @@ 349 349 == 2.3 Uplink Payload == 350 350 351 351 352 -=== 2.3.1 Before Firmware 1.3.2 === 355 +=== 2.3.1 Before Firmware v1.3.2 === 353 353 354 354 355 355 In this mode, uplink payload includes in total 14 bytes ... ... @@ -361,7 +361,7 @@ 361 361 |(% style="width:97px" %)**Value**|(% style="width:83px" %)[[Device ID>>||anchor="H2.4.1A0A0DeviceID"]]|(% style="width:41px" %)[[Ver>>||anchor="H2.4.2A0VersionInfo"]]|(% style="width:46px" %)[[BAT>>||anchor="H2.4.3A0BatteryInfo"]]|(% style="width:123px" %)[[Signal Strength>>||anchor="H2.4.4A0SignalStrength"]]|(% style="width:120px" %)[[Distance (unit: mm)>>||anchor="H2.4.5A0Distance"]]|(% style="width:80px" %)[[Interrupt>>||anchor="H2.4.6A0DigitalInterrupt"]] 362 362 363 363 ((( 364 -If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDDS75 1uplink data.367 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDDS75 uplink data. 365 365 ))) 366 366 367 367 ... ... @@ -368,49 +368,37 @@ 368 368 [[image:1657331036973-987.png]] 369 369 370 370 371 - (((374 + 372 372 The payload is **ASCII** string, representative same HEX: 373 -))) 374 374 375 -((( 376 -0x72403155615900640c6c19029200 where: 377 -))) 377 +(% style="background-color:yellow" %)**0x 724031556159 0064 0c6c 19 0292 00 ** 378 378 379 -* ((( 380 -Device ID: 0x724031556159 = 724031556159 381 -))) 382 -* ((( 383 -Version: 0x0064=100=1.0.0 384 -))) 379 +**where :** 385 385 386 -* ((( 387 -BAT: 0x0c6c = 3180 mV = 3.180V 388 -))) 389 -* ((( 390 -Signal: 0x19 = 25 391 -))) 392 -* ((( 393 -Distance: 0x0292= 658 mm 394 -))) 395 -* ((( 396 -Interrupt: 0x00 = 0 381 +* (% style="color:#037691" %)**Device ID:**(%%) 0x724031556159 = 724031556159 397 397 383 +* (% style="color:#037691" %)**Version:**(%%) 0x0064=100=1.0.0 398 398 385 +* (% style="color:#037691" %)**BAT:** (%%) 0x0c6c = 3180 mV = 3.180V 399 399 387 +* (% style="color:#037691" %)**Signal:**(%%) 0x19 = 25 400 400 401 - 402 -))) 389 +* (% style="color:#037691" %)**Distance:** (%%)0x0292= 658 mm 403 403 404 -= ==**2.3.2 Sincefirmware v1.3.2** ===391 +* (% style="color:#037691" %)**Interrupt:**(%%) 0x00 = 0 405 405 406 406 394 + 395 +=== 2.3.2 Since firmware v1.3.2 === 396 + 397 + 407 407 In this mode, uplink payload includes 69 bytes in total by default. 408 408 409 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 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" %)4413 -|(% 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....... 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....... 414 414 415 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 416 ... ... @@ -419,23 +419,31 @@ 419 419 420 420 The payload is ASCII string, representative same HEX: 421 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: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 (%%)** 423 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**//,....... 415 +**where:** 434 434 417 +* (% style="color:#037691" %)**Device ID:**(%%) f867787050213317 = f867787050213317 435 435 419 +* (% style="color:#037691" %)**Version:**(%%) 0x0084=132=1.3.2 436 436 421 +* (% style="color:#037691" %)**BAT:**(%%) 0x0cf4 = 3316 mV = 3.316V 437 437 423 +* (% style="color:#037691" %)**Singal:**(%%) 0x1e = 30 438 438 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 + 439 439 == 2.4 Payload Explanation and Sensor Interface == 440 440 441 441 ... ... @@ -572,7 +572,7 @@ 572 572 ))) 573 573 574 574 ((( 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]])**.** 574 +(% 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 ... ... @@ -699,27 +699,27 @@ 699 699 700 700 (% style="color:blue" %)** ➢ AT Command:** 701 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) 701 +* (% 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+NOUD=8** (%%) ~/~/ The device uploads 8 sets of recorded data by default. Up to 32 sets of record data can be uploaded. 703 703 704 - (%style="color:#037691" %)** AT+NOUD=8** (%%) ~/~/ The deviceuploads8 setsofrecorded databy default.Upto32setsofrecorddatacan be uploaded.704 + The diagram below explains the relationship between TR, NOUD, and TDC more clearly**:** 705 705 706 +[[image:image-20221009001114-1.png||height="687" width="955"]] 706 706 707 707 709 + 708 708 == 2.8 Read or Clear cached data == 709 709 710 710 711 711 (% style="color:blue" %)** ➢ AT Command:** 712 712 713 -(% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 715 +* (% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 716 +* (% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 714 714 715 - 716 716 [[image:image-20220908175333-2.png]] 717 717 718 718 719 -(% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 720 720 721 - 722 - 723 723 == 2.9 LED Indicator == 724 724 725 725 ... ... @@ -865,90 +865,90 @@ 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>? : Help on <CMD> 867 +AT+<CMD>? : Help on <CMD> 869 869 870 -AT+<CMD> : Run <CMD> 869 +AT+<CMD> : Run <CMD> 871 871 872 -AT+<CMD>=<value> : Set the value 871 +AT+<CMD>=<value> : Set the value 873 873 874 -AT+<CMD>=? : Get the value 873 +AT+<CMD>=? : Get the value 875 875 876 876 877 877 (% style="color:#037691" %)**General Commands**(%%) 878 878 879 -AT : Attention 878 +AT : Attention 880 880 881 -AT? : Short Help 880 +AT? : Short Help 882 882 883 -ATZ : MCU Reset 882 +ATZ : MCU Reset 884 884 885 -AT+TDC : Application Data Transmission Interval 884 +AT+TDC : Application Data Transmission Interval 886 886 887 -AT+CFG : Print all configurations 886 +AT+CFG : Print all configurations 888 888 889 -AT+CFGMOD : Working mode selection 888 +AT+CFGMOD : Working mode selection 890 890 891 -AT+INTMOD : Set the trigger interrupt mode 890 +AT+INTMOD : Set the trigger interrupt mode 892 892 893 -AT+5VT : Set extend the time of 5V power 892 +AT+5VT : Set extend the time of 5V power 894 894 895 -AT+PRO : Choose agreement 894 +AT+PRO : Choose agreement 896 896 897 -AT+WEIGRE : Get weight or set weight to 0 896 +AT+WEIGRE : Get weight or set weight to 0 898 898 899 -AT+WEIGAP : Get or Set the GapValue of weight 898 +AT+WEIGAP : Get or Set the GapValue of weight 900 900 901 -AT+RXDL : Extend the sending and receiving time 900 +AT+RXDL : Extend the sending and receiving time 902 902 903 -AT+CNTFAC : Get or set counting parameters 902 +AT+CNTFAC : Get or set counting parameters 904 904 905 -AT+SERVADDR 904 +AT+SERVADDR : Server Address 906 906 907 -AT+TR 906 +AT+TR : Get or Set record time" 908 908 909 -AT+APN : Get or set the APN 908 +AT+APN : Get or set the APN 910 910 911 -AT+FBAND 910 +AT+FBAND : Get or Set whether to automatically modify the frequency band 912 912 913 -AT+DNSCFG 912 +AT+DNSCFG : Get or Set DNS Server 914 914 915 -AT+GETSENSORVALUE : Returns the current sensor measurement 914 +AT+GETSENSORVALUE : Returns the current sensor measurement 916 916 917 -AT+NOUD 916 +AT+NOUD : Get or Set the number of data to be uploaded 918 918 919 -AT+CDP : Read or Clear cached data 918 +AT+CDP : Read or Clear cached data 920 920 921 -AT+LDDSALARM : Get or Set alarm of distance 920 +AT+LDDSALARM : Get or Set alarm of distance 922 922 923 923 924 924 (% style="color:#037691" %)**COAP Management** 925 925 926 -AT+URI : Resource parameters 925 +AT+URI : Resource parameters 927 927 928 928 929 929 (% style="color:#037691" %)**UDP Management** 930 930 931 -AT+CFM : Upload confirmation mode (only valid for UDP) 930 +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 935 +AT+CLIENT : Get or Set MQTT client 937 937 938 -AT+UNAME 937 +AT+UNAME : Get or Set MQTT Username 939 939 940 -AT+PWD 939 +AT+PWD : Get or Set MQTT password 941 941 942 -AT+PUBTOPIC 941 +AT+PUBTOPIC : Get or Set MQTT publish topic 943 943 944 -AT+SUBTOPIC 943 +AT+SUBTOPIC : Get or Set MQTT subscription topic 945 945 946 946 947 947 (% style="color:#037691" %)**Information** 948 948 949 -AT+FDR : Factory Data Reset 948 +AT+FDR : Factory Data Reset 950 950 951 -AT+PWORD : Serial Access Password 950 +AT+PWORD : Serial Access Password 952 952 953 953 954 954
- image-20221009001114-1.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.Edwin - Size
-
... ... @@ -1,0 +1,1 @@ 1 +282.9 KB - Content