Last modified by Mengting Qiu on 2025/07/01 15:58
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 2 removed)
Details
- Page properties
-
- Content
-
... ... @@ -140,7 +140,7 @@ 140 140 == 1.6 BLE connection == 141 141 142 142 143 - S31x-LB support BLE remote configure.143 +D2x-LB support BLE remote configure. 144 144 145 145 146 146 BLE can be used to configure the parameter of sensor or see the console output from sensor. BLE will be only activate on below case: ... ... @@ -199,6 +199,7 @@ 199 199 200 200 Following is an example for how to join the [[TTN v3 LoRaWAN Network>>url:https://console.cloud.thethings.network/]]. Below is the network structure; we use the [[LPS8v2>>url:https://www.dragino.com/products/lora-lorawan-gateway/item/228-lps8v2.html]] as a LoRaWAN gateway in this example. 201 201 202 + 202 202 The LPS8V2 is already set to connected to [[TTN network >>url:https://console.cloud.thethings.network/]], so what we need to now is configure the TTN server. 203 203 204 204 ... ... @@ -206,9 +206,10 @@ 206 206 207 207 Each S31x-LB is shipped with a sticker with the default device EUI as below: 208 208 209 -[[image:i mage-20230426084152-1.png||height="233" width="502"]]210 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-S31-S31B%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20User%20Manual/WebHome/image-20220607170145-1.jpeg?rev=1.1||alt="image-20220607170145-1.jpeg"]] 210 210 211 211 213 + 212 212 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 213 213 214 214 ... ... @@ -260,7 +260,7 @@ 260 260 261 261 Example parse in TTNv3 262 262 263 -[[image:image-202304211 71614-1.png]]265 +[[image:image-20230421162630-1.png]] 264 264 265 265 266 266 (% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB, this value is 0x0A ... ... @@ -337,7 +337,7 @@ 337 337 [[Humidity>>||anchor="HHumidity:"]] 338 338 ))) 339 339 340 -==== (% style="color:#4472c4" %)**Battery**(%%) ==== 342 +==== (% style="color:#4472c4" %)**Battery:**(%%) ==== 341 341 342 342 Sensor Battery Level. 343 343 ... ... @@ -347,7 +347,7 @@ 347 347 348 348 349 349 350 -==== (% style="color:#4472c4" %)**Temperature**(%%) ==== 352 +==== (% style="color:#4472c4" %)**Temperature:**(%%) ==== 351 351 352 352 **Example**: 353 353 ... ... @@ -358,13 +358,13 @@ 358 358 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 359 359 360 360 361 -==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 363 +==== (% style="color:#4472c4" %)**Humidity:**(%%) ==== 362 362 363 363 364 364 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 365 365 366 366 367 -==== (% style="color:#4472c4" %)**Alarm Flag& MOD**(%%) ==== 369 +==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ==== 368 368 369 369 370 370 **Example:** ... ... @@ -474,9 +474,9 @@ 474 474 475 475 **Example:** 476 476 477 -If S31x-LB has below data inside Flash:479 +If D2x-LB has below data inside Flash: 478 478 479 -[[image: 1682646494051-944.png]]481 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LHT65N%20LoRaWAN%20Temperature%20%26%20Humidity%20Sensor%20Manual/WebHome/image-20220523144455-1.png?width=735&height=335&rev=1.1||alt="image-20220523144455-1.png" height="335" width="735"]] 480 480 481 481 If user sends below downlink command: 3160065F9760066DA705 482 482 ... ... @@ -543,7 +543,7 @@ 543 543 544 544 = 3. Configure S31x-LB = 545 545 546 -== 3.1 Configure Methods == 548 +== 3.1 Configure Methods: == 547 547 548 548 549 549 S31x-LB supports below configure method: ... ... @@ -601,6 +601,8 @@ 601 601 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 602 602 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 603 603 606 + 607 + 604 604 === 3.3.2 Get Device Status === 605 605 606 606 ... ... @@ -611,7 +611,7 @@ 611 611 Sensor will upload Device Status via FPORT=5. See payload section for detail. 612 612 613 613 614 -=== 3.3.3 Set Temperature Alarm Threshold === 618 +=== 3.3.3 Set Temperature Alarm Threshold: === 615 615 616 616 * (% style="color:blue" %)**AT Command:** 617 617 ... ... @@ -632,7 +632,7 @@ 632 632 (% style="color:red" %)**(note: 3^^rd^^ byte= 0x00 for low limit(not set), 4^^th^^ byte = 0x1E for high limit: 30)** 633 633 634 634 635 -=== 3.3.4 Set Humidity Alarm Threshold === 639 +=== 3.3.4 Set Humidity Alarm Threshold: === 636 636 637 637 * (% style="color:blue" %)**AT Command:** 638 638 ... ... @@ -653,7 +653,7 @@ 653 653 (% style="color:red" %)**(note: 3^^rd^^ byte= 0x46 for low limit (70%), 4^^th^^ byte = 0x00 for high limit (not set))** 654 654 655 655 656 -=== 3.3.5 Set Alarm Interval === 660 +=== 3.3.5 Set Alarm Interval: === 657 657 658 658 The shortest time of two Alarm packet. (unit: min) 659 659 ... ... @@ -666,7 +666,7 @@ 666 666 (% style="color:#037691" %)**0x(0D 00 1E)**(%%) **~-~--> ** Set AT+ATDC=0x 00 1E = 30 minutes 667 667 668 668 669 -=== 3.3.6 Get Alarm settings === 673 +=== 3.3.6 Get Alarm settings (什么FPORT?) === 670 670 671 671 672 672 Send a LoRaWAN downlink to ask device send Alarm settings.
- 1682646494051-944.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -206.9 KB - Content
- image-20230426084152-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -190.0 KB - Content