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)
Details
- Page properties
-
- Content
-
... ... @@ -72,7 +72,6 @@ 72 72 * 8500mAh Battery for long term use 73 73 74 74 75 - 76 76 == 1.3 Specification == 77 77 78 78 ... ... @@ -104,7 +104,6 @@ 104 104 * Max transmit power: 350mA@3.3v 105 105 106 106 107 - 108 108 == 1.4 Applications == 109 109 110 110 ... ... @@ -205,13 +205,13 @@ 205 205 [[image:image-20220709092052-2.png]] 206 206 207 207 208 - (% style="color:blue" %)**Connection:**206 +**Connection:** 209 209 210 - (% style="background-color:yellow" %) **USB TTL GND <~-~-~-~-> GND**208 + (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND 211 211 212 - **~(% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)**210 + (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD 213 213 214 - **~(% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)**212 + (% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD 215 215 216 216 217 217 In the PC, use below serial tool settings: ... ... @@ -249,10 +249,10 @@ 249 249 (% style="color:blue" %)**AT+PRO=1** (%%) ~/~/ Set to use CoAP protocol to uplink 250 250 ))) 251 251 * ((( 252 -(% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ 250 +(% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5683 ** (%%)~/~/ to set CoAP server address and port 253 253 ))) 254 254 * ((( 255 -(% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/ 253 +(% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/Set COAP resource path 256 256 257 257 258 258 ... ... @@ -281,12 +281,10 @@ 281 281 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 282 282 283 283 284 -* (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ 285 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ 286 -* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ 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 287 287 288 - 289 - 290 290 [[image:1657330501006-241.png]] 291 291 292 292 ... ... @@ -297,13 +297,13 @@ 297 297 === 2.2.6 Use MQTT protocol to uplink data === 298 298 299 299 300 -* (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/ 301 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/ 302 -* (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/ 303 -* (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/ 304 -* (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/ 305 -* (% style="color:blue" %)**AT+PUBTOPIC=NDDS75_PUB **(%%)~/~/ 306 -* (% style="color:blue" %)**AT+SUBTOPIC=NDDS75_SUB **(%%) ~/~/ 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 307 307 308 308 [[image:1657249978444-674.png]] 309 309 ... ... @@ -320,8 +320,8 @@ 320 320 === 2.2.7 Use TCP protocol to uplink data === 321 321 322 322 323 -* (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ 324 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ 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 325 325 326 326 [[image:image-20220709093918-1.png]] 327 327 ... ... @@ -335,19 +335,16 @@ 335 335 336 336 User can use below command to change the (% style="color:green" %)**uplink interval**. 337 337 338 -* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ 334 +* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 339 339 340 340 ((( 341 - 337 +(% style="color:red" %)**NOTE 1: By default, the device will send an uplink message every 1 hour.** 342 342 343 - 344 -(% style="color:red" %)**NOTE:** 345 - 346 -(% style="color:red" %)**1. By default, the device will send an uplink message every 1 hour.** 347 - 348 -(% style="color:red" %)**2. When the firmware version is v1.3.2 and later firmware:** 339 + 349 349 ))) 350 350 342 +(% style="color:red" %)**NOTE 2: When the firmware version is v1.3.2 and later firmware:** 343 + 351 351 (% 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).** 352 352 353 353 ... ... @@ -355,7 +355,7 @@ 355 355 == 2.3 Uplink Payload == 356 356 357 357 358 -=== 2.3.1 Before Firmware v1.3.2 ===351 +=== 2.3.1 Before Firmware 1.3.2 === 359 359 360 360 361 361 In this mode, uplink payload includes in total 14 bytes ... ... @@ -439,7 +439,6 @@ 439 439 * (% style="color:red" %) 8 sets of recorded data: Distance,Time stamp : //**00396319ba3c**//,....... 440 440 441 441 442 - 443 443 == 2.4 Payload Explanation and Sensor Interface == 444 444 445 445 ... ... @@ -576,7 +576,7 @@ 576 576 ))) 577 577 578 578 ((( 579 -(% style="color:blue" %)**AT+INTMOD=3 **(%%) ~/~/ 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]])**.** 580 580 ))) 581 581 582 582 ... ... @@ -703,9 +703,9 @@ 703 703 704 704 (% style="color:blue" %)** ➢ AT Command:** 705 705 706 -* (% 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) 707 -* (% 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. 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) 708 708 700 +(% 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. 709 709 710 710 711 711 ... ... @@ -714,13 +714,16 @@ 714 714 715 715 (% style="color:blue" %)** ➢ AT Command:** 716 716 717 -* (% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 718 -* (% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 709 +(% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 719 719 711 + 720 720 [[image:image-20220908175333-2.png]] 721 721 722 722 715 +(% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 723 723 717 + 718 + 724 724 == 2.9 LED Indicator == 725 725 726 726 ... ... @@ -866,90 +866,90 @@ 866 866 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]] 867 867 868 868 869 -AT+<CMD>? : 864 +AT+<CMD>? : Help on <CMD> 870 870 871 -AT+<CMD> : 866 +AT+<CMD> : Run <CMD> 872 872 873 -AT+<CMD>=<value> : 868 +AT+<CMD>=<value> : Set the value 874 874 875 -AT+<CMD>=? : 870 +AT+<CMD>=? : Get the value 876 876 877 877 878 878 (% style="color:#037691" %)**General Commands**(%%) 879 879 880 -AT : 875 +AT : Attention 881 881 882 -AT? : 877 +AT? : Short Help 883 883 884 -ATZ : 879 +ATZ : MCU Reset 885 885 886 -AT+TDC : 881 +AT+TDC : Application Data Transmission Interval 887 887 888 -AT+CFG : 883 +AT+CFG : Print all configurations 889 889 890 -AT+CFGMOD : 885 +AT+CFGMOD : Working mode selection 891 891 892 -AT+INTMOD : 887 +AT+INTMOD : Set the trigger interrupt mode 893 893 894 -AT+5VT : 889 +AT+5VT : Set extend the time of 5V power 895 895 896 -AT+PRO : 891 +AT+PRO : Choose agreement 897 897 898 -AT+WEIGRE : 893 +AT+WEIGRE : Get weight or set weight to 0 899 899 900 -AT+WEIGAP : 895 +AT+WEIGAP : Get or Set the GapValue of weight 901 901 902 -AT+RXDL : 897 +AT+RXDL : Extend the sending and receiving time 903 903 904 -AT+CNTFAC : 899 +AT+CNTFAC : Get or set counting parameters 905 905 906 -AT+SERVADDR : 901 +AT+SERVADDR : Server Address 907 907 908 -AT+TR 903 +AT+TR : Get or Set record time" 909 909 910 -AT+APN : 905 +AT+APN : Get or set the APN 911 911 912 -AT+FBAND : 907 +AT+FBAND : Get or Set whether to automatically modify the frequency band 913 913 914 -AT+DNSCFG : Get or Set DNS Server 909 +AT+DNSCFG : Get or Set DNS Server 915 915 916 -AT+GETSENSORVALUE : 911 +AT+GETSENSORVALUE : Returns the current sensor measurement 917 917 918 -AT+NOUD : 913 +AT+NOUD : Get or Set the number of data to be uploaded 919 919 920 -AT+CDP : 915 +AT+CDP : Read or Clear cached data 921 921 922 -AT+LDDSALARM : 917 +AT+LDDSALARM : Get or Set alarm of distance 923 923 924 924 925 925 (% style="color:#037691" %)**COAP Management** 926 926 927 -AT+URI : 922 +AT+URI : Resource parameters 928 928 929 929 930 930 (% style="color:#037691" %)**UDP Management** 931 931 932 -AT+CFM : 927 +AT+CFM : Upload confirmation mode (only valid for UDP) 933 933 934 934 935 935 (% style="color:#037691" %)**MQTT Management** 936 936 937 -AT+CLIENT 932 +AT+CLIENT : Get or Set MQTT client 938 938 939 -AT+UNAME :Get or Set MQTT Username934 +AT+UNAME : Get or Set MQTT Username 940 940 941 -AT+PWD 936 +AT+PWD : Get or Set MQTT password 942 942 943 -AT+PUBTOPIC :Get or Set MQTT publish topic938 +AT+PUBTOPIC : Get or Set MQTT publish topic 944 944 945 -AT+SUBTOPIC :Get or Set MQTT subscription topic940 +AT+SUBTOPIC : Get or Set MQTT subscription topic 946 946 947 947 948 948 (% style="color:#037691" %)**Information** 949 949 950 -AT+FDR : 945 +AT+FDR : Factory Data Reset 951 951 952 -AT+PWORD : 947 +AT+PWORD : Serial Access Password 953 953 954 954 955 955