Changes for page NDDS75 -- NB-IoT Distance Detect Sensor User Manual
Last modified by Bei Jinggeng on 2024/05/31 09:53
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. David1 +XWiki.Xiaoling - Content
-
... ... @@ -72,6 +72,9 @@ 72 72 * 8500mAh Battery for long term use 73 73 74 74 75 + 76 + 77 + 75 75 == 1.3 Specification == 76 76 77 77 ... ... @@ -103,6 +103,9 @@ 103 103 * Max transmit power: 350mA@3.3v 104 104 105 105 109 + 110 + 111 + 106 106 == 1.4 Applications == 107 107 108 108 ... ... @@ -203,13 +203,13 @@ 203 203 [[image:image-20220709092052-2.png]] 204 204 205 205 206 - (% style="color:blue" %)**Connection:**212 +**Connection:** 207 207 208 - (% style="background-color:yellow" %) **USB TTL GND <~-~-~-~-> GND**214 + (% style="background-color:yellow" %)USB TTL GND <~-~-~-~-> GND 209 209 210 - **~(% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD(%%)**216 + (% style="background-color:yellow" %)USB TTL TXD <~-~-~-~-> UART_RXD 211 211 212 - **~(% style="background-color:yellow" %)USB TTL RXD <~-~-~-~-> UART_TXD(%%)**218 + (% 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 ** (%%)~/~/ 256 +(% 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" ** (%%) ~/~/ 259 +(% 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,11 +279,10 @@ 279 279 === 2.2.5 Use UDP protocol to uplink data(Default protocol) === 280 280 281 281 282 -* (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ 283 -* (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ 284 -* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ 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 285 285 286 - 287 287 [[image:1657330501006-241.png]] 288 288 289 289 ... ... @@ -294,13 +294,13 @@ 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 **(%%) ~/~/ 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 304 304 305 305 [[image:1657249978444-674.png]] 306 306 ... ... @@ -317,8 +317,8 @@ 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 **(%%) ~/~/ 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 322 322 323 323 [[image:image-20220709093918-1.png]] 324 324 ... ... @@ -332,7 +332,7 @@ 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 ** (%%)~/~/ 340 +* (% style="color:blue" %)**AT+TDC=600 ** (%%)~/~/ Set Update Interval to 600s 336 336 337 337 ((( 338 338 ... ... @@ -352,7 +352,7 @@ 352 352 == 2.3 Uplink Payload == 353 353 354 354 355 -=== 2.3.1 Before Firmware v1.3.2 ===360 +=== 2.3.1 Before Firmware 1.3.2 === 356 356 357 357 358 358 In this mode, uplink payload includes in total 14 bytes ... ... @@ -436,6 +436,9 @@ 436 436 * (% style="color:red" %) 8 sets of recorded data: Distance,Time stamp : //**00396319ba3c**//,....... 437 437 438 438 444 + 445 + 446 + 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 **(%%) ~/~/ 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]])**.** 576 576 ))) 577 577 578 578 ... ... @@ -699,19 +699,22 @@ 699 699 700 700 (% style="color:blue" %)** ➢ AT Command:** 701 701 702 -* (% style="color:#037691" %)** AT+TR=900** (%%) 703 -* (% style="color:#037691" %)** AT+NOUD=8** 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. 704 704 705 -This link explains the relationship between TR, NOUD and TDC more clearly **: **[[https:~~/~~/www.processon.com/view/link/6340e606e401fd390891af87>>url:https://www.processon.com/view/link/6340e606e401fd390891af87]] 706 706 714 + 715 + 707 707 == 2.8 Read or Clear cached data == 708 708 709 709 710 710 (% style="color:blue" %)** ➢ AT Command:** 711 711 712 -* (% style="color:#037691" %)** AT+CDP ** (%%) 713 -* (% style="color:#037691" %)** AT+CDP=0** (%%) 721 +* (% style="color:#037691" %)** AT+CDP ** (%%) ~/~/ Read cached data 722 +* (% style="color:#037691" %)** AT+CDP=0** (%%) ~/~/ Clear cached data 714 714 724 + 725 + 715 715 [[image:image-20220908175333-2.png]] 716 716 717 717 ... ... @@ -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>? : 875 +AT+<CMD>? : Help on <CMD> 865 865 866 -AT+<CMD> : 877 +AT+<CMD> : Run <CMD> 867 867 868 -AT+<CMD>=<value> : 879 +AT+<CMD>=<value> : Set the value 869 869 870 -AT+<CMD>=? : 881 +AT+<CMD>=? : Get the value 871 871 872 872 873 873 (% style="color:#037691" %)**General Commands**(%%) 874 874 875 -AT : 886 +AT : Attention 876 876 877 -AT? : 888 +AT? : Short Help 878 878 879 -ATZ : 890 +ATZ : MCU Reset 880 880 881 -AT+TDC : 892 +AT+TDC : Application Data Transmission Interval 882 882 883 -AT+CFG : 894 +AT+CFG : Print all configurations 884 884 885 -AT+CFGMOD : 896 +AT+CFGMOD : Working mode selection 886 886 887 -AT+INTMOD : 898 +AT+INTMOD : Set the trigger interrupt mode 888 888 889 -AT+5VT : 900 +AT+5VT : Set extend the time of 5V power 890 890 891 -AT+PRO : 902 +AT+PRO : Choose agreement 892 892 893 -AT+WEIGRE : 904 +AT+WEIGRE : Get weight or set weight to 0 894 894 895 -AT+WEIGAP : 906 +AT+WEIGAP : Get or Set the GapValue of weight 896 896 897 -AT+RXDL : 908 +AT+RXDL : Extend the sending and receiving time 898 898 899 -AT+CNTFAC : 910 +AT+CNTFAC : Get or set counting parameters 900 900 901 -AT+SERVADDR : 912 +AT+SERVADDR : Server Address 902 902 903 -AT+TR 914 +AT+TR : Get or Set record time" 904 904 905 -AT+APN : 916 +AT+APN : Get or set the APN 906 906 907 -AT+FBAND : 918 +AT+FBAND : Get or Set whether to automatically modify the frequency band 908 908 909 -AT+DNSCFG : Get or Set DNS Server 920 +AT+DNSCFG : Get or Set DNS Server 910 910 911 -AT+GETSENSORVALUE : 922 +AT+GETSENSORVALUE : Returns the current sensor measurement 912 912 913 -AT+NOUD : 924 +AT+NOUD : Get or Set the number of data to be uploaded 914 914 915 -AT+CDP : 926 +AT+CDP : Read or Clear cached data 916 916 917 -AT+LDDSALARM : 928 +AT+LDDSALARM : Get or Set alarm of distance 918 918 919 919 920 920 (% style="color:#037691" %)**COAP Management** 921 921 922 -AT+URI : 933 +AT+URI : Resource parameters 923 923 924 924 925 925 (% style="color:#037691" %)**UDP Management** 926 926 927 -AT+CFM : 938 +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 943 +AT+CLIENT : Get or Set MQTT client 933 933 934 -AT+UNAME :Get or Set MQTT Username945 +AT+UNAME : Get or Set MQTT Username 935 935 936 -AT+PWD 947 +AT+PWD : Get or Set MQTT password 937 937 938 -AT+PUBTOPIC :Get or Set MQTT publish topic949 +AT+PUBTOPIC : Get or Set MQTT publish topic 939 939 940 -AT+SUBTOPIC :Get or Set MQTT subscription topic951 +AT+SUBTOPIC : Get or Set MQTT subscription topic 941 941 942 942 943 943 (% style="color:#037691" %)**Information** 944 944 945 -AT+FDR : 956 +AT+FDR : Factory Data Reset 946 946 947 -AT+PWORD : 958 +AT+PWORD : Serial Access Password 948 948 949 949 950 950