Changes for page wiki_test
Last modified by Mengting Qiu on 2024/09/05 17:35
From version 100.1
edited by Xiaoling
on 2023/10/10 09:08
on 2023/10/10 09:08
Change comment:
Uploaded new attachment "image-20231010090810-1.png", version {1}
To version 90.1
edited by Mengting Qiu
on 2023/09/20 17:53
on 2023/09/20 17:53
Change comment:
There is no comment for this version
Summary
-
Page properties (3 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 4 removed)
Details
- Page properties
-
- Title
-
... ... @@ -1,1 +1,1 @@ 1 -S W3L-NB_NB-IoT_Flow_Sensor_User_Manual1 +DDS45-NB -- NB-IoT Distance Detection Sensor User Manual - Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.ting - Content
-
... ... @@ -31,7 +31,7 @@ 31 31 32 32 DDS45-NB (% style="color:blue" %)**supports BLE configure **(%%)and(% style="color:blue" %)** OTA update**(%%) which make user easy to use. 33 33 34 -DDS45-NB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long-term use up to severa lyears.34 +DDS45-NB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long-term use up to severa years. 35 35 36 36 DDS45-NB has optional built-in SIM card and default IoT server connection version. Which makes it works with simple configuration. 37 37 ... ... @@ -151,9 +151,9 @@ 151 151 == 1.7 Sleep mode and working mode == 152 152 153 153 154 -(% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any NB-IoTactivate. This mode is used for storage and shipping to save battery life.154 +(% style="color:blue" %)**Deep Sleep Mode: **(%%)Sensor doesn't have any LoRaWAN activate. This mode is used for storage and shipping to save battery life. 155 155 156 -(% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as NB-IoTSensor to JoinNB-IoTnetwork and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode.156 +(% style="color:blue" %)**Working Mode:** (%%)In this mode, Sensor will work as LoRaWAN Sensor to Join LoRaWAN network and send out sensor data to server. Between each sampling/tx/rx periodically, sensor will be in IDLE mode), in IDLE mode, sensor has the same power consumption as Deep Sleep mode. 157 157 158 158 159 159 == 1.8 Button & LEDs == ... ... @@ -314,14 +314,14 @@ 314 314 (% style="color:#4472c4" %)**{"IMEI":"866207058378443","Model":"DDS45-NB","distance":217,"battery":3.54,"signal":24,"1":{221,2023/09/20 09:47:01},"2":{0,2023/09/20 09:15:04},"3":{0,2023/09/20 09:00:04},"4":{0,2023/09/20 08:45:03},"5":{0,2023/09/20 08:30:03},"6":{0,2023/09/20 08:15:03},"7":{0,2023/09/20 08:00:04},"8":{0,2023/09/20 07:45:04}}** 315 315 316 316 317 -[[image:image-20230920175015-3.png||height="6 13" width="890"]]317 +[[image:image-20230920175015-3.png||height="627" width="911"]] 318 318 319 319 320 320 (% style="color:red" %)**Notice, from above payload:** 321 321 322 -* Distance , Battery & Signal are the value at uplink time.322 +* Temperature , Humidity , Battery & Signal are the value at uplink time. 323 323 324 -* Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+NOUD=8 ** (%%)Command. Each entry includes (from left to right): Distance, Sampling time.324 +* Json entry 1 ~~ 8 are the last 1 ~~ 8 sampling data as specify by (% style="color:#037691" %)**AT+NOUD=8 ** (%%)Command. Each entry includes (from left to right): Temperature, Humidity, Sampling time. 325 325 326 326 === 2.2.2 HEX format Payload(Type~=0) === 327 327 ... ... @@ -335,7 +335,7 @@ 335 335 336 336 If we use the MQTT client to subscribe to this MQTT topic, we can see the following information when the NB sensor uplink data. 337 337 338 -[[image:image-20230920173352-2.png||height="6 36" width="919"]]338 +[[image:image-20230920173352-2.png||height="647" width="936"]] 339 339 340 340 341 341 (% style="color:blue" %)**Version:** ... ... @@ -386,27 +386,21 @@ 386 386 387 387 Type3 payload special design for ThingsBoard, it will also configure other default server to ThingsBoard. 388 388 389 -(% style="color:#4472c4" %)** "866207058378443","Model":"DDS45-NB","distance":02,"battery":57,"signal":3}**389 +(% style="color:#4472c4" %)**{"IMEI":866207053462762,"temperature":29.2,"humidity":54.2,"battery":3.27,"signal":24}** 390 390 391 -[[image:image-20230922094043-2.png||height="558" width="851"]] 392 392 393 - 394 -=== === 395 - 396 396 === 2.2.4 ThingSpeak Payload(Type~=1) === 397 397 398 398 399 -This payload meets ThingSpeak platform requirement. It includes only four fields. Form 1~~ 3are:395 +This payload meets ThingSpeak platform requirement. It includes only four fields. Form 1~~4 are: 400 400 401 - Distance, Battery & Signal. This payload type only valid for ThingsSpeak Platform397 +Temperature, Humidity, Battery & Signal. This payload type only valid for ThingsSpeak Platform 402 402 403 403 As below: 404 404 405 -(% style="color:#4472c4" %)**field1= Distance value&field2=Battery value&field3=Singal value**401 +(% style="color:#4472c4" %)**field1=27.9&field2=49.9&field3=3.23&field4=28** 406 406 407 -[[image:image-20230921104741-1.png||height="565" width="826"]] 408 408 409 - 410 410 == 2.3 Uplink Payload == 411 411 412 412 ... ... @@ -415,28 +415,21 @@ 415 415 ))) 416 416 417 417 ((( 418 -Uplink payload includes in total 21bytes.412 +Uplink payload includes in total 8 bytes. 419 419 ))) 420 420 421 421 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 422 -|=(% style="width: 95px; background-color:#4F81BD;color:white" %)Size(bytes)|=(% style="width: 61px; background-color:#4F81BD;color:white" %)8|=(% style="width: 61px; background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1|=(% style="background-color: rgb(79, 129, 189); color: white; width: 49px;" %)1|=(% style="background-color: rgb(79, 129, 189); color: white; width: 79px;" %)1|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)4 423 -|(% style="width:95px" %)Value|(% style="width:61px" %)f+IMEI|(% style="width:61px" %)Ver|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|(% style="width:61px" %)((( 424 -Singal 416 +|=(% style="width: 95px; background-color:#4F81BD;color:white" %)Size(bytes)|=(% style="width: 61px; background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1|=(% style="background-color:#4F81BD;color:white" %)2|=(% style="background-color:#4F81BD;color:white" %)1 417 +|(% style="width:95px" %)Value|(% style="width:61px" %)[[BAT>>||anchor="H2.3.1A0BatteryInfo"]]|((( 418 +[[Distance>>||anchor="H2.3.2A0Distance"]] 419 +(unit: mm) 420 +)))|[[Digital Interrupt (Optional)>>||anchor="H2.3.3A0InterruptPin"]]|((( 421 +[[Temperature (Optional)>>||anchor="H2.3.4A0DS18B20Temperaturesensor"]] 422 +)))|[[Sensor Flag>>||anchor="H2.3.5A0SensorFlag"]] 425 425 426 -Strength 427 -)))|(% style="width:49px" %)Mod|(% style="width:79px" %)[[Digital Interrupt >>||anchor="H2.3.2A0Interrupt"]]|(% style="width:61px" %)[[Distance>>||anchor="H2.3.3A0Distance"]](unit: mm)|(% style="width:61px" %)((( 428 -Timestamp 424 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/DDS20-LB_LoRaWAN_Ultrasonic_Liquid_Level_Sensor_User_Manual/WebHome/%E5%BE%AE%E4%BF%A1%E6%88%AA%E5%9B%BE_20230702135733.png?width=964&height=215&rev=1.1||alt="微信截图_20230702135733.png"]] 429 429 430 - 431 -))) 432 432 433 -If the cache upload mechanism is turned on, you will receive the payload shown in the figure below. 434 - 435 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:512px" %) 436 -|(% style="width:115px" %)**Frame header**|(% style="width:118px" %)**Frame data(1)**|(% style="width:116px" %)**Frame data(2)**|(% style="width:39px" %)**F…**|(% style="width:117px" %)**Frame data(X)** 437 - 438 -=== === 439 - 440 440 === 2.3.1 Battery Info === 441 441 442 442 ... ... @@ -447,9 +447,26 @@ 447 447 Ex2: 0x0B49 = 2889mV 448 448 449 449 450 -=== 2.3.2 Interrupt===437 +=== 2.3.2 Distance === 451 451 452 452 440 +((( 441 +Get the distance. Flat object range 30mm - 4500mm. 442 +))) 443 + 444 +((( 445 +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:#4472c4" %)** ** 446 + 447 +(% style="color:blue" %)**0B05(H) = 2821 (D) = 2821 mm.** 448 +))) 449 + 450 +* If the sensor value is 0x0000, it means system doesn't detect ultrasonic sensor. 451 + 452 +* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00. 453 + 454 +=== 2.3.3 Interrupt Pin === 455 + 456 + 453 453 This data field shows if this packet is generated by interrupt or not. 454 454 455 455 **Example:** ... ... @@ -459,24 +459,28 @@ 459 459 0x01: Interrupt Uplink Packet. 460 460 461 461 462 -=== 2.3. 3Distance ===466 +=== 2.3.4 DS18B20 Temperature sensor === 463 463 464 464 465 -((( 466 -Get the distance. Flat object range 30mm - 4500mm. 467 -))) 469 +This is optional, user can connect external DS18B20 sensor to the +3.3v, 1-wire and GND pin . and this field will report temperature. 468 468 469 -((( 470 -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:#4472c4" %)** ** 471 +**Example**: 471 471 472 -(% style="color:blue" %)**0B05(H) = 2821 (D) = 2821 mm.** 473 -))) 473 +If payload is: 0105H: (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree 474 474 475 - *Ifthe sensor valueis 0x0000,itmeanssystemdoesn'tdetect ultrasonic sensor.475 +If payload is: FF3FH : (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 476 476 477 -* If the sensor value lower than 0x001E (30mm), the sensor value will be 0x00. 478 478 478 +=== 2.3.5 Sensor Flag === 479 + 480 + 479 479 ((( 482 +0x01: Detect Ultrasonic Sensor 483 +))) 484 + 485 +((( 486 +0x00: No Ultrasonic Sensor 487 + 480 480 481 481 ))) 482 482 ... ... @@ -495,7 +495,7 @@ 495 495 == 2.5 Multi-Samplings and One uplink == 496 496 497 497 498 -To save battery life, DDS45-NB will sample Distance data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by:506 +To save battery life, DDS45-NB will sample temperature & humidity data every 15 minutes and send one uplink every 2 hours. So each uplink it will include 8 stored data + 1 real-time data. They are defined by: 499 499 500 500 * (% style="color:#037691" %)**AT+TR=900** (%%) ~/~/ The unit is seconds, and the default is to record data once every 900 seconds (15 minutes, the minimum can be set to 180 seconds) 501 501
- image-20230921104741-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -74.2 KB - Content
- image-20230922093814-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -125.1 KB - Content
- image-20230922094043-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -104.1 KB - Content
- image-20231010090810-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -539.0 KB - Content