Last modified by Xiaoling on 2025/04/24 17:52
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 1 removed)
Details
- Page properties
-
- Content
-
... ... @@ -15,37 +15,21 @@ 15 15 == 1.1 What is S31x-LB LoRaWAN Temperature & Humidity Sensor == 16 16 17 17 18 -((( 19 19 The Dragino S31x-LB is a (% style="color:blue" %)**LoRaWAN Temperature and Humidity Sensor**(%%) for Internet of Things solution. It is used to measure the (% style="color:blue" %)**surrounding environment temperature and relative air humidity precisely**(%%), and then upload to IoT server via LoRaWAN wireless protocol. 20 -))) 21 21 22 -((( 23 23 The temperature & humidity sensor used in S31x-LB is SHT31, which is fully calibrated, linearized, and temperature compensated digital output from Sensirion, it provides a strong reliability and long-term stability. The SHT31 is fixed in a (% style="color:blue" %)**waterproof anti-condensation casing**(%%) for long term use. 24 -))) 25 25 26 -((( 27 27 The LoRa wireless technology used in S31x-LB allows device to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. 28 -))) 29 29 30 -((( 31 31 S31x-LB supports (% style="color:blue" %)**Temperature & Humdity alarm feature,**(%%) user can set temperature alarm for instant notice. S31x-LB supports Datalog feature, it can save the data when there is no LoRaWAN network and uplink when network recover. 32 -))) 33 33 34 -((( 35 35 S31x-LB has max 3 probes which measure maximum 3 temperature points. 36 -))) 37 37 38 -((( 39 39 S31x-LB (% style="color:blue" %)**supports BLE configure**(%%) and (% style="color:blue" %)**wireless OTA update**(%%) which make user easy to use. 40 -))) 41 41 42 -((( 43 43 S31x-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years. 44 -))) 45 45 46 -((( 47 47 Each S31x-LB is pre-load with a set of unique keys for LoRaWAN registrations, register these keys to local LoRaWAN server and it will auto connect after power on. 48 -))) 49 49 50 50 51 51 == 1.2 Features == ... ... @@ -62,7 +62,6 @@ 62 62 * Downlink to change configure 63 63 * 8500mAh Battery for long term use 64 64 65 - 66 66 == 1.3 Specification == 67 67 68 68 ... ... @@ -105,7 +105,6 @@ 105 105 * Sleep Mode: 5uA @ 3.3v 106 106 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 107 107 108 - 109 109 == 1.4 Sleep mode and working mode == 110 110 111 111 ... ... @@ -133,7 +133,6 @@ 133 133 ))) 134 134 |(% style="width:167px" %)Fast press ACT 5 times.|(% style="width:117px" %)Deactivate Device|(% style="width:225px" %)(% style="color:red" %)**Red led**(%%) will solid on for 5 seconds. Means device is in Deep Sleep Mode. 135 135 136 - 137 137 == 1.6 BLE connection == 138 138 139 139 ... ... @@ -153,7 +153,7 @@ 153 153 154 154 155 155 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 156 -|=(% style="width: 102px;background-color:#D9E2F3;color:#0070C0" %)Model|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)Photo|=(% style="width: 2 18px;background-color:#D9E2F3;color:#0070C0" %)Probe Info137 +|=(% style="width: 102px;background-color:#D9E2F3;color:#0070C0" %)Model|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)Photo|=(% style="width: 297px;background-color:#D9E2F3;color:#0070C0" %)Probe Info 157 157 |(% style="width:102px" %)S31-LB|(% style="width:190px" %) |(% style="width:297px" %)((( 158 158 1 x SHT31 Probe 159 159 ... ... @@ -197,6 +197,8 @@ 197 197 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. 198 198 199 199 181 + 182 + 200 200 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. 201 201 202 202 ... ... @@ -259,7 +259,7 @@ 259 259 260 260 Example parse in TTNv3 261 261 262 -[[image:image-202304211 62630-1.png]]245 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/image-20230415153147-2.png?width=1120&height=220&rev=1.1||alt="image-20230415153147-2.png"]] 263 263 264 264 265 265 (% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB, this value is 0x0A ... ... @@ -320,10 +320,10 @@ 320 320 321 321 Sensor Data is uplink via FPORT=2 322 322 323 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:50 0px" %)324 -|=(% style="width: 9 0px;background-color:#D9E2F3" %)(((306 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 307 +|=(% style="width: 99px;background-color:#D9E2F3" %)((( 325 325 **Size(bytes)** 326 -)))|=(% style="width: 80px;background-color:#D9E2F3" %)2|=(% style="width:90px;background-color:#D9E2F3" %)4|=(% style="width:80px;background-color:#D9E2F3" %)1|=(% style="width:80px;background-color:#D9E2F3" %)**2**|=(% style="width: 80px;background-color:#D9E2F3" %)2309 +)))|=(% style="width: 69px;background-color:#D9E2F3" %)2|=(% style="width: 130px;background-color:#D9E2F3" %)4|=(% style="width: 91px;background-color:#D9E2F3" %)1|=(% style="width: 103px;background-color:#D9E2F3" %)**2**|=(% style="width: 80px;background-color:#D9E2F3" %)2 327 327 |(% style="width:99px" %)**Value**|(% style="width:69px" %)((( 328 328 [[Battery>>||anchor="HBattery:"]] 329 329 )))|(% style="width:130px" %)((( ... ... @@ -439,9 +439,9 @@ 439 439 **Retrieval data payload:** 440 440 441 441 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 442 -|=(% style="width: 80px;background-color:#D9E2F3" %)(((425 +|=(% style="width: 103px;background-color:#D9E2F3" %)((( 443 443 **Size(bytes)** 444 -)))|=(% style="width: 60px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width:60px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width:120px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 103px; background-color: rgb(217, 226, 243);" %)**1**|=(% style="width:85px; background-color: rgb(217, 226, 243);" %)**4**427 +)))|=(% style="width: 54px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 51px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 89px; background-color: rgb(217, 226, 243);" %)**2**|=(% style="width: 103px; background-color: rgb(217, 226, 243);" %)**1**|=(% style="width: 54px; background-color: rgb(217, 226, 243);" %)**4** 445 445 |(% style="width:103px" %)**Value**|(% style="width:54px" %)((( 446 446 [[Temp_Black>>||anchor="HTemperatureBlack:"]] 447 447 )))|(% style="width:51px" %)[[Temp_White>>||anchor="HTemperatureWhite:"]]|(% style="width:89px" %)[[Temp_ Red or Temp _White>>||anchor="HTemperatureREDorTemperatureWhite:"]]|(% style="width:103px" %)Poll message flag & Ext|(% style="width:54px" %)[[Unix Time Stamp>>||anchor="H2.5.2UnixTimeStamp"]] ... ... @@ -488,37 +488,21 @@ 488 488 489 489 [[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-20220523001219-13.png?width=727&height=421&rev=1.1||alt="image-20220523001219-13.png" height="421" width="727"]] 490 490 491 -((( 492 492 __**7FFF089801464160065F97**__ **__7FFF__ __088E__ __014B__ __41__ __60066009__** 7FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E 493 -))) 494 494 495 -((( 496 496 Where the first 11 bytes is for the first entry: 497 -))) 498 498 499 -((( 500 500 7FFF089801464160065F97 501 -))) 502 502 503 -((( 504 504 **Ext sensor data**=0x7FFF/100=327.67 505 -))) 506 506 507 -((( 508 508 **Temp**=0x088E/100=22.00 509 -))) 510 510 511 -((( 512 512 **Hum**=0x014B/10=32.6 513 -))) 514 514 515 -((( 516 516 **poll message flag & Ext**=0x41,means reply data,Ext=1 517 -))) 518 518 519 -((( 520 520 **Unix time** is 0x60066009=1611030423s=21/1/19 04:27:03 521 -))) 522 522 523 523 524 524 (% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %) ... ... @@ -551,7 +551,6 @@ 551 551 * AT Command via UART Connection : See [[UART Connection>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]]. 552 552 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 553 553 554 - 555 555 == 3.2 General Commands == 556 556 557 557 ... ... @@ -578,7 +578,7 @@ 578 578 579 579 (% style="color:blue" %)**AT Command: AT+TDC** 580 580 581 -(% border="1" cellspacing="4" style="background-color:# f2f2f2; width:510px" %)547 +(% border="1" cellspacing="4" style="background-color:#F2F2F2; width:510px" %) 582 582 |=(% style="width: 156px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 137px;background-color:#D9E2F3" %)**Function**|=(% style="background-color:#D9E2F3" %)**Response** 583 583 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 584 584 30000 ... ... @@ -599,13 +599,12 @@ 599 599 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 600 600 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 601 601 602 - 603 603 === 3.3.2 Get Device Status === 604 604 605 605 606 606 Send a LoRaWAN downlink to ask device send Alarm settings. 607 607 608 -(% style="color:blue" %)**Downlink Payload: **(%%)0x26 01 573 +(% style="color:blue" %)***Downlink Payload: **(%%)0x26 01 609 609 610 610 Sensor will upload Device Status via FPORT=5. See payload section for detail. 611 611 ... ... @@ -612,9 +612,9 @@ 612 612 613 613 === 3.3.3 Set Temperature Alarm Threshold: === 614 614 615 -* (% style="color:blue" %) **AT Command:**580 +* **(% style="color:blue" %)AT Command:** 616 616 617 -(% style="color:#037691" %) **AT+SHTEMP=min,max**582 +**(% style="color:#037691" %)AT+SHTEMP=min,max** 618 618 619 619 * When min=0, and max≠0, Alarm higher than max 620 620 * When min≠0, and max=0, Alarm lower than min ... ... @@ -624,18 +624,18 @@ 624 624 625 625 AT+SHTEMP=0,30 ~/~/ Alarm when temperature higher than 30. 626 626 627 -* (% style="color:blue" %) **Downlink Payload:**592 +* **(% style="color:blue" %)Downlink Payload:** 628 628 629 -(% style="color:#037691" %) **0x(0C 01 00 1E)** (%%)594 +**(% style="color:#037691" %)0x(0C 01 00 1E)** (%%) ~/~/Set AT+SHTEMP=0,30 630 630 631 -(% style="color:red" %) **(note: 3^^rd^^ byte= 0x00 for low limit(not set), 4^^th^^ byte = 0x1E for high limit: 30)**596 +**(% style="color:red" %)(note: 3^^rd^^ byte= 0x00 for low limit(not set), 4^^th^^ byte = 0x1E for high limit: 30)** 632 632 633 633 634 634 === 3.3.4 Set Humidity Alarm Threshold: === 635 635 636 -* (% style="color:blue" %) **AT Command:**601 +* **(% style="color:blue" %)AT Command:** 637 637 638 -(% style="color:#037691" %) **AT+SHHUM=min,max**603 +**(% style="color:#037691" %)AT+SHHUM=min,max** 639 639 640 640 * When min=0, and max≠0, Alarm higher than max 641 641 * When min≠0, and max=0, Alarm lower than min ... ... @@ -643,13 +643,13 @@ 643 643 644 644 Example: 645 645 646 - AT+SHHUM=70,0 611 + AT+SHHUM=70,0 ~/~/ Alarm when humidity lower than 70%. 647 647 648 -* (% style="color:blue" %) **Downlink Payload:**613 +* **(% style="color:blue" %)Downlink Payload:** 649 649 650 -(% style="color:#037691" %) **0x(0C 02 46 00)**(%%)615 +**(% style="color:#037691" %)0x(0C 02 46 00)**(%%) ~/~/Set AT+SHTHUM=70,0 651 651 652 -(% style="color:red" %) **(note: 3^^rd^^ byte= 0x46 for low limit (70%), 4^^th^^ byte = 0x00 for high limit (not set))**617 +**(% style="color:red" %)(note: 3^^rd^^ byte= 0x46 for low limit (70%), 4^^th^^ byte = 0x00 for high limit (not set))** 653 653 654 654 655 655 === 3.3.5 Set Alarm Interval: === ... ... @@ -656,13 +656,13 @@ 656 656 657 657 The shortest time of two Alarm packet. (unit: min) 658 658 659 -* (% style="color:blue" %) **AT Command:**624 +* **(% style="color:blue" %)AT Command:** 660 660 661 -(% style="color:#037691" %) **AT+ATDC=30**626 +**(% style="color:#037691" %)AT+ATDC=30** (%%) ~/~/ The shortest interval of two Alarm packets is 30 minutes, Means is there is an alarm packet uplink, there won't be another one in the next 30 minutes. 662 662 663 -* (% style="color:blue" %) **Downlink Payload:**628 +* **(% style="color:blue" %)Downlink Payload:** 664 664 665 -(% style="color:#037691" %) **0x(0D 00 1E)**(%%) **~-~--> ** Set AT+ATDC=0x 00 1E = 30 minutes630 +**(% style="color:#037691" %)0x(0D 00 1E)**(%%) **~-~--> ** Set AT+ATDC=0x 00 1E = 30 minutes 666 666 667 667 668 668 === 3.3.6 Get Alarm settings (什么FPORT?) === ... ... @@ -681,7 +681,6 @@ 681 681 682 682 * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message. 683 683 684 - 685 685 === 3.3.7 Set Interrupt Mode === 686 686 687 687 ... ... @@ -689,8 +689,8 @@ 689 689 690 690 (% style="color:blue" %)**AT Command: AT+INTMOD** 691 691 692 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)693 -|=(% style="width: 154px; background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response**656 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 657 +|=(% style="width: 154px;" %)**Command Example**|=(% style="width: 196px;" %)**Function**|=(% style="width: 157px;" %)**Response** 694 694 |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 695 695 0 696 696 OK ... ... @@ -713,7 +713,6 @@ 713 713 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 714 714 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 715 715 716 - 717 717 = 4. Battery & Power Consumption = 718 718 719 719 ... ... @@ -740,7 +740,6 @@ 740 740 * (Recommanded way) OTA firmware update via wireless: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/>>url:http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20OTA%20Update%20for%20Sensors/]] 741 741 * Update through UART TTL interface. **[[Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 742 742 743 - 744 744 = 6. FAQ = 745 745 746 746 ... ... @@ -768,7 +768,6 @@ 768 768 769 769 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 770 770 771 - 772 772 = 8. Packing Info = 773 773 774 774 ... ... @@ -786,7 +786,6 @@ 786 786 787 787 * Weight / pcs : g 788 788 789 - 790 790 = 9. Support = 791 791 792 792
- image-20230421162630-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -23.5 KB - Content