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 (3 modified, 0 added, 0 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -NDDS75 --NB-IoT Distance Detect Sensor User Manual1 +NDDS75 NB-IoT Distance Detect Sensor User Manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. ting1 +XWiki.Xiaoling - Content
-
... ... @@ -1,5 +3,3 @@ 1 - 2 - 3 3 (% style="text-align:center" %) 4 4 [[image:image-20220709085040-1.png||height="542" width="524"]] 5 5 ... ... @@ -71,6 +71,8 @@ 71 71 * Micro SIM card slot for NB-IoT SIM 72 72 * 8500mAh Battery for long term use 73 73 72 + 73 + 74 74 == 1.3 Specification == 75 75 76 76 ... ... @@ -101,6 +101,8 @@ 101 101 * STOP Mode: 10uA @ 3.3v 102 102 * Max transmit power: 350mA@3.3v 103 103 104 + 105 + 104 104 == 1.4 Applications == 105 105 106 106 ... ... @@ -177,6 +177,7 @@ 177 177 User need to take out the NB-IoT module and insert the SIM card like below: 178 178 ))) 179 179 182 + 180 180 [[image:1657328884227-504.png]] 181 181 182 182 ... ... @@ -240,6 +240,7 @@ 240 240 * ((( 241 241 (% style="color:blue" %)**AT+URI=5,11,"mqtt",11,"coap",12,"0",15,"c=text1",23,"0" ** (%%) ~/~/ Set COAP resource path 242 242 246 + 243 243 244 244 ))) 245 245 ... ... @@ -252,8 +252,11 @@ 252 252 [[image:1657330452568-615.png]] 253 253 254 254 259 + 255 255 ((( 256 256 After configure the server address and (% style="color:green" %)**reset the device**(%%) (via AT+ATZ ), NDDS75 will start to uplink sensor values to CoAP server. 262 + 263 + 257 257 ))) 258 258 259 259 [[image:1657330472797-498.png]] ... ... @@ -264,6 +264,7 @@ 264 264 265 265 * (% style="color:blue" %)**AT+PRO=2 ** (%%) ~/~/ Set to use UDP protocol to uplink 266 266 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 274 +* (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/ If the server does not respond, this command is unnecessary 267 267 268 268 [[image:1657330501006-241.png]] 269 269 ... ... @@ -315,6 +315,7 @@ 315 315 ((( 316 316 317 317 326 + 318 318 (% style="color:red" %)**NOTE:** 319 319 320 320 (% style="color:red" %)**1. By default, the device will send an uplink message every 1 hour.** ... ... @@ -332,11 +332,11 @@ 332 332 333 333 In this mode, uplink payload includes in total 14 bytes 334 334 335 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:440px" %)336 -|=(% style="width: 6 1px;background-color:#4F81BD;color:white" %)(((344 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:440px" %) 345 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 337 337 **Size(bytes)** 338 -)))|=(% style="width: 6 1px;background-color:#4F81BD;color:white" %)**6**|=(% style="width: 37px;background-color:#4F81BD;color:white" %)2|=(% style="width: 37px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 82px;background-color:#4F81BD;color:white" %)**1**|=(% style="width: 102px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 60px;background-color:#4F81BD;color:white" %)**1**339 -|(% 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"]] 347 +)))|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**6**|=(% style="width: 35px;background-color:#D9E2F3;color:#0070C0" %)2|=(% style="width: 35px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 80px;background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 100px;background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**1** 348 +|(% 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"]] 340 340 341 341 ((( 342 342 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDDS75 uplink data. ... ... @@ -364,6 +364,8 @@ 364 364 365 365 * (% style="color:#037691" %)**Interrupt:**(%%) 0x00 = 0 366 366 376 + 377 + 367 367 === 2.3.2 Since firmware v1.3.2 === 368 368 369 369 ... ... @@ -371,9 +371,9 @@ 371 371 372 372 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. 373 373 374 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:490px" %)375 -|(% style="background-color:# 4f81bd;white; width:60px" %)**Size(bytes)**|(% style="background-color:#4f81bd; color:white; width:40px" %)**8**|(% style="background-color:#4f81bd; color:white; width:25px" %)**2**|(% style="background-color:#4f81bd; color:white; width:25px" %)**2**|(% style="background-color:#4f81bd; color:white; width:60px" %)**1**|(% style="background-color:#4f81bd; color:white; width:25px" %)**1**|(% style="background-color:#4f81bd; color:white; width:40px" %)**1**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:70px" %)**4**|(% style="background-color:#4f81bd; color:white; width:40px" %)**2**|(% style="background-color:#4f81bd; color:white; width:65px" %)**4**376 -|(% 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....... 385 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:490px" %) 386 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)**Size(bytes)**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**8**|(% style="background-color:#d9e2f3; color:#0070c0; width:25px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:25px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:25px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**1**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:70px" %)**4**|(% style="background-color:#d9e2f3; color:#0070c0; width:40px" %)**2**|(% style="background-color:#d9e2f3; color:#0070c0; width:60px" %)**4** 387 +|=(% 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....... 377 377 378 378 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NDDS75 uplink data. 379 379 ... ... @@ -406,6 +406,8 @@ 406 406 407 407 * (% style="color:#037691" %)**8 sets of recorded data: Distance,Time stamp :**(%%) //**00396319ba3c**//,....... 408 408 420 + 421 + 409 409 == 2.4 Payload Explanation and Sensor Interface == 410 410 411 411 === 2.4.1 Device ID === ... ... @@ -508,10 +508,16 @@ 508 508 Get the distance. Flat object range 280mm - 7500mm. 509 509 510 510 ((( 511 -For example, if the data you get from the register is **__0x0B 0x05__**, the distance between the sensor and the measured object is (% style="color:blue" %)** 0B05(H) = 2821(D) = 2821mm.**524 +For example, if the data you get from the register is **__0x0B 0x05__**, the distance between the sensor and the measured object is 512 512 ))) 513 513 514 514 ((( 528 +((( 529 +(% style="color:blue" %)** 0B05(H) = 2821(D) = 2821mm.** 530 +))) 531 +))) 532 + 533 +((( 515 515 516 516 ))) 517 517 ... ... @@ -535,8 +535,9 @@ 535 535 The lower four bits of this data field shows if this packet is generated by interrupt or not. Click here for the hardware and software set up. 536 536 ))) 537 537 557 + 538 538 ((( 539 - **Example:**559 +Example: 540 540 ))) 541 541 542 542 ((( ... ... @@ -555,12 +555,17 @@ 555 555 NDDS75 will enable +5V output before all sampling and disable the +5v after all sampling. 556 556 ))) 557 557 578 + 558 558 ((( 559 559 The 5V output time can be controlled by AT Command. 581 + 582 + 560 560 ))) 561 561 562 562 ((( 563 563 (% style="color:blue" %)**AT+5VT=1000** 587 + 588 + 564 564 ))) 565 565 566 566 ((( ... ... @@ -573,12 +573,13 @@ 573 573 574 574 By default, NDDS75 prints the downlink payload to console port. 575 575 576 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:515px" %)577 -|(% style="background-color:# 4f81bd; color:white; width:208px" %)**Downlink Control Type**|(% style="background-color:#4f81bd; color:white; width:56px" %)**FPort**|(% style="background-color:#4f81bd; color:white; width:100px" %)**Type Code**|(% style="background-color:#4f81bd; color:white; width:151px" %)**Downlink payload size(bytes)**601 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:520px" %) 602 +|(% style="background-color:#d9e2f3; color:#0070c0; width:208px" %)**Downlink Control Type**|(% style="background-color:#d9e2f3; color:#0070c0; width:56px" %)**FPort**|(% style="background-color:#d9e2f3; color:#0070c0; width:100px" %)**Type Code**|(% style="background-color:#d9e2f3; color:#0070c0; width:154px" %)**Downlink payload size(bytes)** 578 578 |(% style="width:208px" %)TDC (Transmit Time Interval)|(% style="width:56px" %)Any|(% style="width:100px" %)01|(% style="width:154px" %)4 579 579 |(% style="width:208px" %)RESET|(% style="width:56px" %)Any|(% style="width:100px" %)04|(% style="width:154px" %)2 580 580 |(% style="width:208px" %)INTMOD|(% style="width:56px" %)Any|(% style="width:100px" %)06|(% style="width:154px" %)4 581 581 607 + 582 582 ((( 583 583 (% style="color:blue" %)**Examples:** 584 584 ))) ... ... @@ -787,7 +787,11 @@ 787 787 AT+URI : Resource parameters 788 788 789 789 816 +(% style="color:#037691" %)**UDP Management** 790 790 818 +AT+CFM : Upload confirmation mode (only valid for UDP) 819 + 820 + 791 791 (% style="color:#037691" %)**MQTT Management** 792 792 793 793 AT+CLIENT : Get or Set MQTT client