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, 0 added, 3 removed)
Details
- Page properties
-
- Content
-
... ... @@ -55,6 +55,7 @@ 55 55 * Micro SIM card slot for NB-IoT SIM 56 56 * 8500mAh Battery for long term use 57 57 58 + 58 58 == 1.3 Specification == 59 59 60 60 ... ... @@ -86,6 +86,7 @@ 86 86 * Max transmit power: 350mA@3.3v 87 87 88 88 90 + 89 89 == 1.4 Applications == 90 90 91 91 * Smart Buildings & Home Automation ... ... @@ -236,6 +236,7 @@ 236 236 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5601 ** (%%) ~/~/ to set UDP server address and port 237 237 * (% style="color:blue" %)**AT+CFM=1 ** (%%) ~/~/If the server does not respond, this command is unnecessary 238 238 241 + 239 239 [[image:1657330501006-241.png]] 240 240 241 241 ... ... @@ -245,19 +245,21 @@ 245 245 246 246 === 2.2.6 Use MQTT protocol to uplink data === 247 247 251 +This feature is supported since firmware version v110 248 248 253 + 249 249 * (% style="color:blue" %)**AT+PRO=3 ** (%%) ~/~/Set to use MQTT protocol to uplink 250 250 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,1883 ** (%%) ~/~/Set MQTT server address and port 251 251 * (% style="color:blue" %)**AT+CLIENT=CLIENT ** (%%)~/~/Set up the CLIENT of MQTT 252 252 * (% style="color:blue" %)**AT+UNAME=UNAME **(%%)~/~/Set the username of MQTT 253 253 * (% style="color:blue" %)**AT+PWD=PWD **(%%)~/~/Set the password of MQTT 254 -* (% style="color:blue" %)**AT+PUBTOPIC=N DDS75_PUB **(%%)~/~/Set the sending topic of MQTT255 -* (% style="color:blue" %)**AT+SUBTOPIC=N DDS75_SUB **(%%) ~/~/Set the subscription topic of MQTT259 +* (% style="color:blue" %)**AT+PUBTOPIC=NSE01_PUB **(%%)~/~/Set the sending topic of MQTT 260 +* (% style="color:blue" %)**AT+SUBTOPIC=NSE01_SUB **(%%) ~/~/Set the subscription topic of MQTT 256 256 257 257 [[image:1657249978444-674.png]] 258 258 259 259 260 -[[image:1657 330723006-866.png]]265 +[[image:1657249990869-686.png]] 261 261 262 262 263 263 ((( ... ... @@ -268,14 +268,16 @@ 268 268 269 269 === 2.2.7 Use TCP protocol to uplink data === 270 270 276 +This feature is supported since firmware version v110 271 271 278 + 272 272 * (% style="color:blue" %)**AT+PRO=4 ** (%%) ~/~/ Set to use TCP protocol to uplink 273 273 * (% style="color:blue" %)**AT+SERVADDR=120.24.4.116,5600 **(%%) ~/~/ to set TCP server address and port 274 274 275 -[[image: image-20220709093918-1.png]]282 +[[image:1657250217799-140.png]] 276 276 277 277 278 -[[image: image-20220709093918-2.png]]285 +[[image:1657250255956-604.png]] 279 279 280 280 281 281 ... ... @@ -297,53 +297,36 @@ 297 297 298 298 == 2.3 Uplink Payload == 299 299 300 -In this mode, uplink payload includes in total 1 4bytes307 +In this mode, uplink payload includes in total 18 bytes 301 301 302 - 303 303 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %) 304 304 |=(% style="width: 60px;" %)((( 305 305 **Size(bytes)** 306 -)))|=(% style="width: 50px;" %)**6**|=(% style="width: 25px;" %)2|=(% style="width: 25px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 60px;" %)**2**|=(% style="width: 50px;" %)**1** 307 -|(% 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:108px" %)[[ Distanceunit: mm)>>||anchor="H2.4.5A0SoilMoisture"]]|(% style="width:80px" %)[[Interrupt>>||anchor="H2.4.8A0DigitalInterrupt"]]312 +)))|=(% style="width: 50px;" %)**6**|=(% style="width: 25px;" %)2|=(% style="width: 25px;" %)**2**|=(% style="width: 70px;" %)**1**|=(% style="width: 60px;" %)**2**|=(% style="width: 80px;" %)**2**|=(% style="width: 90px;" %)**2**|=(% style="width: 50px;" %)**1** 313 +|(% 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:108px" %)[[Soil Moisture>>||anchor="H2.4.5A0SoilMoisture"]]|(% style="width:133px" %)[[Soil Temperature>>||anchor="H2.4.6A0SoilTemperature"]]|(% style="width:159px" %)[[Soil Conductivity(EC)>>||anchor="H2.4.7A0SoilConductivity28EC29"]]|(% style="width:80px" %)[[Interrupt>>||anchor="H2.4.8A0DigitalInterrupt"]] 308 308 309 309 ((( 310 -If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the N DDS751 uplink data.316 +If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NSE01 uplink data. 311 311 ))) 312 312 313 313 314 -[[image: 1657331036973-987.png]]320 +[[image:image-20220708111918-4.png]] 315 315 316 - (((322 + 317 317 The payload is ASCII string, representative same HEX: 318 -))) 319 319 320 -((( 321 -0x72403155615900640c6c19029200 where: 322 -))) 325 +0x72403155615900640c7817075e0a8c02f900 where: 323 323 324 -* ((( 325 -Device ID: 0x724031556159 = 724031556159 326 -))) 327 -* ((( 328 -Version: 0x0064=100=1.0.0 329 -))) 327 +* Device ID: 0x 724031556159 = 724031556159 328 +* Version: 0x0064=100=1.0.0 330 330 331 -* ((( 332 -BAT: 0x0c6c = 3180 mV = 3.180V 333 -))) 334 -* ((( 335 -Signal: 0x19 = 25 336 -))) 337 -* ((( 338 -Distance: 0x0292= 658 mm 339 -))) 340 -* ((( 341 -Interrupt: 0x00 = 0 342 -))) 330 +* BAT: 0x0c78 = 3192 mV = 3.192V 331 +* Singal: 0x17 = 23 332 +* Soil Moisture: 0x075e= 1886 = 18.86 % 333 +* Soil Temperature:0x0a8c =2700=27 °C 334 +* Soil Conductivity(EC) = 0x02f9 =761 uS /cm 335 +* Interrupt: 0x00 = 0 343 343 344 - 345 - 346 - 347 347 == 2.4 Payload Explanation and Sensor Interface == 348 348 349 349 ... ... @@ -366,7 +366,7 @@ 366 366 ))) 367 367 368 368 ((( 369 -The Device ID is stored in a none-erase area, Upgrade the firmware or run **AT+FDR**won't erase Device ID.359 +The Device ID is stored in a none-erase area, Upgrade the firmware or run AT+FDR won't erase Device ID. 370 370 ))) 371 371 372 372 ... ... @@ -378,7 +378,7 @@ 378 378 ))) 379 379 380 380 ((( 381 -For example: 0x00 64 : this device is N DDS75with firmware version 1.0.0.371 +For example: 0x00 64 : this device is NSE01 with firmware version 1.0.0. 382 382 ))) 383 383 384 384 ... ... @@ -433,17 +433,63 @@ 433 433 434 434 === 2.4.5 Soil Moisture === 435 435 436 -Get the distance. Flat object range 280mm - 7500mm. 426 +((( 427 +((( 428 +Get the moisture content of the soil. The value range of the register is 0-10000(Decimal), divide this value by 100 to get the percentage of moisture in the soil. 429 +))) 430 +))) 437 437 438 -For example, if the data you get from the register is **__0x0B 0x05__**, the distance between the sensor and the measured object is 432 +((( 433 +((( 434 +For example, if the data you get from the register is **__0x05 0xDC__**, the moisture content in the soil is 435 +))) 436 +))) 439 439 440 440 ((( 439 + 440 +))) 441 + 441 441 ((( 442 -(% style="color:#4f81bd" %)** B05(H) =2821(D) =2821mm.**443 +(% style="color:#4f81bd" %)**05DC(H) = 1500(D) /100 = 15%.** 443 443 ))) 445 + 446 + 447 + 448 +=== 2.4.6 Soil Temperature === 449 + 450 +((( 451 +Get the temperature in the soil. The value range of the register is -4000 - +800(Decimal), divide this value by 100 to get the temperature in the soil. For example, if the data you get from the register is __**0x09 0xEC**__, the temperature content in the soil is 444 444 ))) 445 445 446 446 ((( 455 +**Example**: 456 +))) 457 + 458 +((( 459 +If payload is 0105H: ((0x0105 & 0x8000)>>15 === 0),temp = 0105(H)/100 = 2.61 °C 460 +))) 461 + 462 +((( 463 +If payload is FF7EH: ((FF7E & 0x8000)>>15 ===1),temp = (FF7E(H)-FFFF(H))/100 = -1.29 °C 464 +))) 465 + 466 + 467 + 468 +=== 2.4.7 Soil Conductivity (EC) === 469 + 470 +((( 471 +Obtain (% style="color:#4f81bd" %)**__soluble salt concentration__**(%%) in soil or (% style="color:#4f81bd" %)**__soluble ion concentration in liquid fertilizer__**(%%) or (% style="color:#4f81bd" %)**__planting medium__**(%%). The value range of the register is 0 - 20000(Decimal)( Can be greater than 20000). 472 +))) 473 + 474 +((( 475 +For example, if the data you get from the register is __**0x00 0xC8**__, the soil conductivity is 00C8(H) = 200(D) = 200 uS/cm. 476 +))) 477 + 478 +((( 479 +Generally, the EC value of irrigation water is less than 800uS / cm. 480 +))) 481 + 482 +((( 447 447 448 448 ))) 449 449 ... ... @@ -451,10 +451,10 @@ 451 451 452 452 ))) 453 453 454 -=== 2.4. 6Digital Interrupt ===490 +=== 2.4.8 Digital Interrupt === 455 455 456 456 ((( 457 -Digital Interrupt refers to pin (% style="color:blue" %)**GPIO_EXTI**(%%), and there are different trigger methods. When there is a trigger, the N DDS75will send a packet to the server.493 +Digital Interrupt refers to pin (% style="color:blue" %)**GPIO_EXTI**(%%), and there are different trigger methods. When there is a trigger, the NSE01 will send a packet to the server. 458 458 ))) 459 459 460 460 ((( ... ... @@ -485,10 +485,10 @@ 485 485 486 486 487 487 488 -=== 2.4. 7+5V Output ===524 +=== 2.4.9 +5V Output === 489 489 490 490 ((( 491 -N DDS75will enable +5V output before all sampling and disable the +5v after all sampling.527 +NSE01 will enable +5V output before all sampling and disable the +5v after all sampling. 492 492 ))) 493 493 494 494
- 1657331036973-987.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -83.8 KB - Content
- image-20220709093918-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -42.2 KB - Content
- image-20220709093918-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -61.9 KB - Content