Last modified by Mengting Qiu on 2025/07/01 15:58
From version 14.15
edited by Xiaoling
on 2023/04/17 09:40
on 2023/04/17 09:40
Change comment:
There is no comment for this version
To version 11.1
edited by Edwin Chen
on 2023/04/16 17:51
on 2023/04/16 17:51
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Edwin - Content
-
... ... @@ -102,8 +102,8 @@ 102 102 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675071855856-879.png]] 103 103 104 104 105 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)106 -|=(% style="width: 167px; background-color:#D9E2F3;color:#0070C0" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 225px;background-color:#D9E2F3;color:#0070C0" %)**Action**105 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 106 +|=(% style="width: 167px;" %)**Behavior on ACT**|=(% style="width: 117px;" %)**Function**|=(% style="width: 225px;" %)**Action** 107 107 |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)((( 108 108 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 109 109 Meanwhile, BLE module will be active and user can connect via BLE to configure device. ... ... @@ -133,9 +133,9 @@ 133 133 == 1.7 Hardware Variant == 134 134 135 135 136 -(% border="1" cellspacing=" 5" style="background-color:#f2f2f2; width:510px" %)137 -|=(% 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 Info138 -|(% style="width:102px" %)S31-LB|(% style="width:190px" %) |(% style="width:297px" %)((( 136 +(% border="1" cellspacing="10" style="background-color:#f7faff; width:510px" %) 137 +|=(% style="width: 102px;" %)Model|=(% style="width: 190px;" %)Photo|=(% style="width: 297px;" %)Probe Info 138 +|(% style="width:102px" %)**S31-LB**|(% style="width:190px" %) |(% style="width:297px" %)((( 139 139 1 x SHT31 Probe 140 140 141 141 Cable Length : 2 meters ... ... @@ -142,7 +142,7 @@ 142 142 143 143 144 144 ))) 145 -|(% style="width:102px" %)S31B-LB|(% style="width:190px" %) |(% style="width:297px" %)((( 145 +|(% style="width:102px" %)**S31B-LB**|(% style="width:190px" %) |(% style="width:297px" %)((( 146 146 1 x SHT31 Probe 147 147 148 148 Installed in device. ... ... @@ -178,6 +178,7 @@ 178 178 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. 179 179 180 180 181 +[[image:1675144005218-297.png]] 181 181 182 182 183 183 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. ... ... @@ -187,7 +187,7 @@ 187 187 188 188 Each S31x-LB is shipped with a sticker with the default device EUI as below: 189 189 190 -[[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"]]191 +[[image:image-20230131134744-2.jpeg]] 191 191 192 192 193 193 ... ... @@ -196,23 +196,23 @@ 196 196 197 197 (% style="color:blue" %)**Register the device** 198 198 199 -[[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/1654935135620-998.png?rev=1.1||alt="1654935135620-998.png"]]200 +[[image:1675144099263-405.png]] 200 200 201 201 202 202 (% style="color:blue" %)**Add APP EUI and DEV EUI** 203 203 204 -[[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-20220611161308-4.png?width=753&height=551&rev=1.1||alt="image-20220611161308-4.png"]]205 +[[image:1675144117571-832.png]] 205 205 206 206 207 207 (% style="color:blue" %)**Add APP EUI in the application** 208 208 209 209 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-20220611161308-5.png?width=742&height=601&rev=1.1||alt="image-20220611161308-5.png"]]211 +[[image:1675144143021-195.png]] 211 211 212 212 213 213 (% style="color:blue" %)**Add APP KEY** 214 214 215 -[[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-20220611161308-6.png?width=744&height=485&rev=1.1||alt="image-20220611161308-6.png"]]216 +[[image:1675144157838-392.png]] 216 216 217 217 218 218 (% style="color:blue" %)**Step 2:**(%%) Activate on S31x-LB ... ... @@ -235,14 +235,14 @@ 235 235 The Payload format is as below. 236 236 237 237 238 -(% border="1" cellspacing="4" style="background-color:#f 2f2f2; width:510px" %)239 -|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0"%)**Device Status (FPORT=5)**239 +(% border="1" cellspacing="4" style="background-color:#f7faff; color:black; width:510px" %) 240 +|(% colspan="6" %)**Device Status (FPORT=5)** 240 240 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** 241 241 |(% style="width:103px" %)**Value**|(% style="width:72px" %)Sensor Model|Firmware Version|(% style="width:91px" %)Frequency Band|(% style="width:86px" %)Sub-band|(% style="width:44px" %)BAT 242 242 243 243 Example parse in TTNv3 244 244 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"]]246 +[[image:image-20230415153147-2.png||height="220" width="1120"]] 246 246 247 247 248 248 (% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB, this value is 0x0A ... ... @@ -303,19 +303,18 @@ 303 303 304 304 Sensor Data is uplink via FPORT=2 305 305 306 -(% style="width:575.222px" %) 307 -|=(% style="width: 99px;" %)((( 307 +|=((( 308 308 **Size(bytes)** 309 -)))|= (% style="width: 69px;" %)2|=(% style="width: 130px;" %)4|=(% style="width: 91px;" %)1|=(% style="width: 103px;" %)**2**|=(% style="width: 80px;" %)2310 -| (% style="width:99px" %)**Value**|(% style="width:69px" %)(((309 +)))|=2|=4|=1|=**2**|=2 310 +|**Value**|((( 311 311 [[Battery>>path:#HBattery:]] 312 -)))|( % style="width:130px" %)(((312 +)))|((( 313 313 [[Unix TimeStamp>>path:#H2.4.1UnixTimeStamp]] 314 -)))|( % style="width:91px" %)(((314 +)))|((( 315 315 [[Alarm Flag>>path:#HAlarmFlag26MOD:]] 316 -)))|( % style="width:103px" %)(((316 +)))|((( 317 317 [[Temperature>>path:#HTemperature:]] 318 -)))|( % style="width:80px" %)(((318 +)))|((( 319 319 [[Humidity>>path:#HHumidity:]] 320 320 ))) 321 321 ... ... @@ -505,6 +505,14 @@ 505 505 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 506 506 507 507 508 +== 2.8 Firmware Change Log == 509 + 510 + 511 +**Firmware download link:** 512 + 513 +[[https:~~/~~/www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0>>https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]] 514 + 515 + 508 508 = 3. Configure S31x-LB = 509 509 510 510 == 3.1 Configure Methods: == ... ... @@ -644,6 +644,8 @@ 644 644 645 645 * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message. 646 646 655 + 656 + 647 647 === 3.3.7 Set Interrupt Mode === 648 648 649 649 ... ... @@ -675,6 +675,7 @@ 675 675 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 676 676 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 677 677 688 + 678 678 = 4. Battery & Power Consumption = 679 679 680 680 ... ... @@ -683,32 +683,36 @@ 683 683 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 684 684 685 685 686 -= 5. OTA Firmware update =697 += 5. OTA firmware update = 687 687 688 688 689 -(% class="wikigeneratedid" %) 690 -User can change firmware S31x-LB to: 700 +Please see this link for how to do OTA firmware update: [[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/]] 691 691 692 -* Change Frequency band/ region. 693 -* Update with new features. 694 -* Fix bugs. 695 695 696 - Firmwareandchangelog can be downloaded from : **[[Firmware download link>>https://www.dropbox.com/sh/kwqv57tp6pejias/AAAopYMATh1GM6fZ-VRCLrpDa?dl=0]]**703 += 6. FAQ = 697 697 705 +== 6.1 How to use AT Command via UART to access device? == 698 698 699 -Methods to Update Firmware: 700 700 701 -* (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/]] 702 -* Update through UART TTL interface. **[[Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 708 +See: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard>>http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H2.3UARTConnectionforSN50v3basemotherboard]] 703 703 704 -= 6. FAQ = 705 705 711 +== 6.2 How to update firmware via UART port? == 706 706 707 707 714 +See: [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]] 715 + 716 + 717 +== 6.3 How to change the LoRa Frequency Bands/Region? == 718 + 719 + 720 +Each LoRaWAN frequency bands has different firmware. User can update the device's firmware to the corresponding frequency band to change region. 721 + 722 + 708 708 = 7. Order Info = 709 709 710 710 711 -Part Number: (% style="color:blue" %)**S31-LB-XX / S31 B-LB-XX**726 +Part Number: (% style="color:blue" %)**S31-LB-XX / S31x-LB-XX** 712 712 713 713 (% style="color:red" %)**XX**(%%): The default frequency band 714 714