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, 13 removed)
- image-20240104165223-7.png
- image-20240104165302-8.png
- image-20240104165338-9.png
- image-20250328173145-1.jpeg
- image-20250328173203-2.jpeg
- image-20250328173224-3.jpeg
- image-20250328173243-4.jpeg
- image-20250328173339-5.jpeg
- image-20250328173355-6.jpeg
- image-20250409174350-1.jpeg
- image-20250409174410-2.jpeg
- image-20250409175256-3.png
- image-20250416143859-1.jpeg
Details
- Page properties
-
- Content
-
... ... @@ -9,7 +9,7 @@ 9 9 10 10 11 11 12 -**Table of Contents :**12 +**Table of Contents:** 13 13 14 14 {{toc/}} 15 15 ... ... @@ -33,7 +33,7 @@ 33 33 34 34 S31x-LB/LS (% style="color:blue" %)**supports BLE configure**(%%) and (% style="color:blue" %)**wireless OTA update**(%%) which make user easy to use. 35 35 36 -S31x-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%) or (% style="color:blue" %)**solar powered + Li-ion battery**(%%) it is designed for long term use up to 5 years.36 +S31x-LB/LS is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%) or (% style="color:blue" %)**solar powered + li-on battery**(%%) it is designed for long term use up to 5 years. 37 37 38 38 Each S31x-LB/LS 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. 39 39 ... ... @@ -51,8 +51,7 @@ 51 51 * Support wireless OTA update firmware 52 52 * Uplink on periodically 53 53 * Downlink to change configure 54 -* 8500mAh Li/SOCl2 Battery (S31/S31B-LB) 55 -* Solar panel + 3000mAh Li-ion battery (S31/S31B-LS) 54 +* 8500mAh Battery for long term use 56 56 57 57 == 1.3 Specification == 58 58 ... ... @@ -59,7 +59,7 @@ 59 59 60 60 (% style="color:#037691" %)**Common DC Characteristics:** 61 61 62 -* Supply Voltage: Built-inBattery , 2.5v ~~ 3.6v61 +* Supply Voltage: built in 8500mAh Li-SOCI2 battery , 2.5v ~~ 3.6v 63 63 * Operating Temperature: -40 ~~ 85°C 64 64 65 65 (% style="color:#037691" %)**Temperature Sensor:** ... ... @@ -107,10 +107,11 @@ 107 107 == 1.5 Button & LEDs == 108 108 109 109 110 -[[image:i mage-20250416143859-1.jpeg]]109 +[[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675071855856-879.png]] 111 111 112 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 113 -|=(% style="width: 167px;background-color:#4F81BD;color:white" %)**Behavior on ACT**|=(% style="width: 117px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 226px;background-color:#4F81BD;color:white" %)**Action** 111 + 112 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 113 +|=(% 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** 114 114 |(% style="width:167px" %)Pressing ACT between 1s < time < 3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)((( 115 115 If sensor is already Joined to LoRaWAN network, sensor will send an uplink packet, (% style="color:blue" %)**blue led** (%%)will blink once. 116 116 Meanwhile, BLE module will be active and user can connect via BLE to configure device. ... ... @@ -125,7 +125,7 @@ 125 125 == 1.6 BLE connection == 126 126 127 127 128 -S31x-LB /LSsupport BLE remote configure.128 +S31x-LB support BLE remote configure. 129 129 130 130 131 131 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: ... ... @@ -139,22 +139,17 @@ 139 139 140 140 == 1.7 Pin Definitions == 141 141 142 +[[image:http://8.211.40.43/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SN50v3-LB/WebHome/image-20230610163213-1.png?width=699&height=404&rev=1.1||alt="image-20230610163213-1.png"]] 142 142 143 143 144 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual/WebHome/image-20240926134323-1.png?rev=1.1||alt="image-20240926134323-1.png"]] 145 - 146 - 147 147 == 1.8 Hardware Variant == 148 148 149 149 150 -(% border="1" cellspacing=" 3" style="width:460px" %)151 -|=(% style="width: 102px;background-color:# 4F81BD;color:white" %)Model|=(% style="width: 182px; background-color:#4F81BD;color:white" %)Photo|=(% style="width: 176px; background-color:#4F81BD;color:white" %)Probe Info148 +(% border="1" cellspacing="5" style="width:461.818px" %) 149 +|=(% style="width: 102px;background-color:#D9E2F3;color:#0070C0" %)Model|=(% style="width: 182px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)Photo|=(% style="width: 176px; background-color: rgb(217, 226, 243); color: rgb(0, 112, 192);" %)Probe Info 152 152 |(% style="width:102px" %)((( 153 -S31-LB/LS 154 -)))|(% style="width:182px" %)((( 155 -(% style="text-align:center" %) 156 -[[image:image-20240104165223-7.png]] 157 -)))|(% style="width:176px" %)((( 151 +S31-LB 152 +)))|(% style="width:182px" %)[[image:image-20230527093214-2.jpeg]]|(% style="width:176px" %)((( 158 158 1 x SHT31 Probe 159 159 160 160 Cable Length : 2 meters ... ... @@ -162,11 +162,8 @@ 162 162 163 163 ))) 164 164 |(% style="width:102px" %)((( 165 -S31B-LB/LS 166 -)))|(% style="width:182px" %)((( 167 -(% style="text-align:center" %) 168 -[[image:image-20240104165338-9.png]] 169 -)))|(% style="width:176px" %)((( 160 +S31B-LB 161 +)))|(% style="width:182px" %)[[image:image-20230527093155-1.jpeg]]|(% style="width:176px" %)((( 170 170 1 x SHT31 Probe 171 171 172 172 Installed in device. ... ... @@ -178,25 +178,22 @@ 178 178 179 179 == 1.9 Mechanical == 180 180 181 -=== 1.9.1 for LB version === 182 182 183 -[[image:i mage-20250409174350-1.jpeg]]174 +[[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143884058-338.png]] 184 184 185 185 177 +[[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143899218-599.png]] 186 186 187 187 188 - === 1.9.2for LSversion===180 +[[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143909447-639.png]] 189 189 190 190 191 - [[image:image-20250409174410-2.jpeg]]183 += 2. Configure S31x-LB to connect to LoRaWAN network = 192 192 193 - 194 -= 2. Configure S31x-LB/LS to connect to LoRaWAN network = 195 - 196 196 == 2.1 How it works == 197 197 198 198 199 -The S31x-LB /LSis configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the S31x-LB/LS. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes.188 +The S31x-LB is configured as (% style="color:#037691" %)**LoRaWAN OTAA Class A**(%%) mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you need to input the OTAA keys in the LoRaWAN IoT server and press the button to activate the S31x-LB. It will automatically join the network via OTAA and start to send the sensor value. The default uplink interval is 20 minutes. 200 200 201 201 202 202 == 2.2 Quick guide to connect to LoRaWAN server (OTAA) == ... ... @@ -206,11 +206,10 @@ 206 206 207 207 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. 208 208 209 -[[image:image-20250409175256-3.png]] 210 210 211 -(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from S31x-LB /LS.199 +(% style="color:blue" %)**Step 1:**(%%) Create a device in TTN with the OTAA keys from S31x-LB. 212 212 213 -Each S31x-LB /LSis shipped with a sticker with the default device EUI as below:201 +Each S31x-LB is shipped with a sticker with the default device EUI as below: 214 214 215 215 [[image:image-20230426084152-1.png||alt="图片-20230426084152-1.png" height="233" width="502"]] 216 216 ... ... @@ -217,49 +217,33 @@ 217 217 218 218 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot: 219 219 220 -**Create the application.** 221 221 222 - [[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/SAC01L_LoRaWAN_Temperature%26Humidity_Sensor_User_Manual/WebHome/image-20250423093843-1.png?width=756&height=264&rev=1.1||alt="image-20250423093843-1.png"]]209 +(% style="color:blue" %)**Register the device** 223 223 224 -[[image:http s://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111305-2.png?width=1000&height=572&rev=1.1||alt="image-20240907111305-2.png"]]211 +[[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"]] 225 225 226 226 227 - **Adddeviceso theated Application.**214 +(% style="color:blue" %)**Add APP EUI and DEV EUI** 228 228 229 -[[image:http s://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111659-3.png?width=977&height=185&rev=1.1||alt="image-20240907111659-3.png"]]216 +[[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="图片-20220611161308-4.png"]] 230 230 231 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907111820-5.png?width=975&height=377&rev=1.1||alt="image-20240907111820-5.png"]] 232 232 219 +(% style="color:blue" %)**Add APP EUI in the application** 233 233 234 -**Enter end device specifics manually.** 235 235 236 -[[image:http s://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112136-6.png?width=697&height=687&rev=1.1||alt="image-20240907112136-6.png"]]222 +[[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="图片-20220611161308-5.png"]] 237 237 238 238 239 -**Add DevEUI andAppKey.**225 +(% style="color:blue" %)**Add APP KEY** 240 240 241 - **Customizeplatform ID forhevice.**227 +[[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="图片-20220611161308-6.png"]] 242 242 243 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LTC2-LB--LoRaWAN_Temperature_Transmitter_User_Manual/WebHome/image-20240907112427-7.png?rev=1.1||alt="image-20240907112427-7.png"]] 244 244 230 +(% style="color:blue" %)**Step 2:**(%%) Activate on S31x-LB 245 245 246 -(% style="color:blue" %)**Step 2:**(%%) Add decoder. 247 247 248 - In TTN, usercan add a custompayloadsoitshowsfriendlyreading.233 +Press the button for 5 seconds to activate the S31x-LB. 249 249 250 -Click this link to get the decoder: [[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/>>url:https://github.com/dragino/dragino-end-node-decoder/tree/main/]] 251 - 252 -Below is TTN screen shot: 253 - 254 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140556-1.png?width=1184&height=488&rev=1.1||alt="image-20241009140556-1.png" height="488" width="1184"]] 255 - 256 -[[image:https://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LDS25-LBLDS25-LS--LoRaWAN_LiDAR_Distance_Auto-Clean_Sensor_User_Manual/WebHome/image-20241009140603-2.png?width=1168&height=562&rev=1.1||alt="image-20241009140603-2.png" height="562" width="1168"]] 257 - 258 - 259 -(% style="color:blue" %)**Step 3:**(%%) Activate on S31x-LB/LS 260 - 261 -Press the button for 5 seconds to activate the S31x-LB/LS. 262 - 263 263 (% style="color:green" %)**Green led**(%%) will fast blink 5 times, device will enter (% style="color:blue" %)**OTA mode**(%%) for 3 seconds. And then start to JOIN LoRaWAN network. (% style="color:green" %)**Green led**(%%) will solidly turn on for 5 seconds after joined in network. 264 264 265 265 After join success, it will start to upload messages to TTN and you can see the messages in the panel. ... ... @@ -270,14 +270,15 @@ 270 270 === 2.3.1 Device Status, FPORT~=5 === 271 271 272 272 273 -Users can use the downlink command(**0x26 01**) to ask S31x-LB /LSto send device configure detail, include device configure status. S31x-LB/LSwill uplink a payload via FPort=5 to server.245 +Users can use the downlink command(**0x26 01**) to ask S31x-LB to send device configure detail, include device configure status. S31x-LB will uplink a payload via FPort=5 to server. 274 274 275 275 The Payload format is as below. 276 276 277 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 278 -|(% colspan="6" style="background-color:#4f81bd; color:white" %)**Device Status (FPORT=5)** 249 + 250 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 251 +|(% colspan="6" style="background-color:#d9e2f3; color:#0070c0" %)**Device Status (FPORT=5)** 279 279 |(% style="width:103px" %)**Size (bytes)**|(% style="width:72px" %)**1**|**2**|(% style="width:91px" %)**1**|(% style="width:86px" %)**1**|(% style="width:44px" %)**2** 280 -|(% 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 253 +|(% 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 281 281 282 282 Example parse in TTNv3 283 283 ... ... @@ -284,7 +284,7 @@ 284 284 [[image:image-20230524144422-1.png||height="174" width="1080"]] 285 285 286 286 287 -(% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB /LS, this value is 0x0A260 +(% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB, this value is 0x0A 288 288 289 289 (% style="color:#037691" %)**Firmware Version**(%%): 0x0100, Means: v1.0.0 version 290 290 ... ... @@ -342,10 +342,10 @@ 342 342 343 343 Sensor Data is uplink via FPORT=2 344 344 345 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:500px" %)346 -|=(% style="width: 60px;background-color:# 4F81BD;color:white" %)(((318 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 319 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 347 347 **Size(bytes)** 348 -)))|=(% style="width: 40px;background-color:# 4F81BD;color:white" %)2|=(% style="width: 90px;background-color:#4F81BD;color:white" %)4|=(% style="width: 150px; background-color: #4F81BD;color:white" %)1|=(% style="width: 80px; background-color: #4F81BD;color:white" %)**2**|=(% style="width: 80px; background-color: #4F81BD;color:white" %)2321 +)))|=(% style="width: 40px;background-color:#D9E2F3;color:#0070C0" %)2|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)4|=(% style="width: 150px; background-color: #D9E2F3;color:#0070C0" %)1|=(% style="width: 80px; background-color: #D9E2F3;color:#0070C0" %)**2**|=(% style="width: 80px; background-color: #D9E2F3;color:#0070C0" %)2 349 349 |(% style="width:99px" %)Value|(% style="width:69px" %)((( 350 350 Battery 351 351 )))|(% style="width:130px" %)((( ... ... @@ -378,16 +378,18 @@ 378 378 379 379 If payload is: FF3FH : (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees. 380 380 381 -(FF3F & 8000 :Judge whether the highest bit is 1, when the highest bit is 1, it is negative)354 +(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 382 382 383 383 384 384 ==== (% style="color:#4472c4" %)**Humidity**(%%) ==== 385 385 359 + 386 386 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 387 387 388 388 389 389 ==== (% style="color:#4472c4" %)**Alarm Flag & MOD & Level of PA8**(%%) ==== 390 390 365 + 391 391 **Example:** 392 392 393 393 If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message.It means that the temperature and humidity exceed the alarm value or trigger an interrupt. ... ... @@ -416,33 +416,38 @@ 416 416 == 2.5 Datalog Feature == 417 417 418 418 419 -Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, S31x-LB /LSwill store the reading for future retrieving purposes.394 +Datalog Feature is to ensure IoT Server can get all sampling data from Sensor even if the LoRaWAN network is down. For each sampling, S31x-LB will store the reading for future retrieving purposes. 420 420 421 421 422 422 === 2.5.1 Ways to get datalog via LoRaWAN === 423 423 424 424 425 -Set PNACKMD=1, S31x-LB /LSwill wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB/LSwill mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery.400 +Set [[PNACKMD=1>>||anchor="H2.5.4DatalogUplinkpayload28FPORT3D329"]], S31x-LB will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB will mark these records with non-ack messages and store the sensor data, and it will send all messages (10s interval) after the network recovery. 426 426 427 427 * ((( 428 -a) S31x-LB /LSwill do an ACK check for data records sending to make sure every data arrive server.403 +a) S31x-LB will do an ACK check for data records sending to make sure every data arrive server. 429 429 ))) 430 430 * ((( 431 -b) S31x-LB /LSwill send data in **CONFIRMED Mode** when PNACKMD=1, but S31x-LB/LSwon't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if S31x-LB/LSgets a ACK, S31x-LB/LSwill consider there is a network connection and resend all NONE-ACK messages.406 +b) S31x-LB will send data in **CONFIRMED Mode** when PNACKMD=1, but S31x-LB won't re-transmit the packet if it doesn't get ACK, it will just mark it as a NONE-ACK message. In a future uplink if S31x-LB gets a ACK, S31x-LB will consider there is a network connection and resend all NONE-ACK messages. 432 432 ))) 433 433 409 +Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 410 + 411 +[[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-20220703111700-2.png?width=1119&height=381&rev=1.1||alt="图片-20220703111700-2.png" height="381" width="1119"]] 412 + 413 + 434 434 === 2.5.2 Unix TimeStamp === 435 435 436 436 437 -S31x-LB /LSuses Unix TimeStamp format based on417 +S31x-LB uses Unix TimeStamp format based on 438 438 439 -[[image:image-202 50328173339-5.jpeg]]419 +[[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-11.png?width=627&height=97&rev=1.1||alt="图片-20220523001219-11.png" height="97" width="627"]] 440 440 441 441 User can get this time from link: [[https:~~/~~/www.epochconverter.com/>>url:https://www.epochconverter.com/]] : 442 442 443 443 Below is the converter example 444 444 445 -[[image:image-202 50328173355-6.jpeg]]425 +[[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-12.png?width=720&height=298&rev=1.1||alt="图片-20220523001219-12.png" height="298" width="720"]] 446 446 447 447 448 448 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 ... ... @@ -453,7 +453,7 @@ 453 453 454 454 User need to set (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via MAC command. 455 455 456 -Once S31x-LB /LSJoined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to S31x-LB/LS. If S31x-LB/LSfails to get the time from the server, S31x-LB/LSwill use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days).436 +Once S31x-LB Joined LoRaWAN network, it will send the MAC command (DeviceTimeReq) and the server will reply with (DeviceTimeAns) to send the current time to S31x-LB. If S31x-LB fails to get the time from the server, S31x-LB will use the internal time and wait for next time request (AT+SYNCTDC to set the time request period, default is 10 days). 457 457 458 458 (% style="color:red" %)**Note: LoRaWAN Server need to support LoRaWAN v1.0.3(MAC v1.0.3) or higher to support this MAC command feature, Chirpstack,TTN V3 v3 and loriot support but TTN V3 v2 doesn't support. If server doesn't support this command, it will through away uplink packet with this command, so user will lose the packet with time request for TTN V3 v2 if SYNCMOD=1.** 459 459 ... ... @@ -465,10 +465,10 @@ 465 465 466 466 **Retrieval data payload:** 467 467 468 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:500px" %)469 -|=(% style="width: 60px;background-color:# 4F81BD;color:white" %)(((448 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 449 +|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)((( 470 470 **Size(bytes)** 471 -)))|=(% style="width: 40px; background-color:# 4F81BD;color:white" %)**2**|=(% style="width: 55px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 65px; background-color:#4F81BD;color:white" %)**2**|=(% style="width: 180px; background-color:#4F81BD;color:white" %)**1**|=(% style="width: 100px; background-color:#4F81BD;color:white" %)**4**451 +)))|=(% style="width: 40px; background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 55px; background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 65px; background-color:#D9E2F3;color:#0070C0" %)**2**|=(% style="width: 180px; background-color:#D9E2F3;color:#0070C0" %)**1**|=(% style="width: 100px; background-color:#D9E2F3;color:#0070C0" %)**4** 472 472 |(% style="width:103px" %)Value|(% style="width:68px" %)((( 473 473 ignore 474 474 )))|(% style="width:104px" %)((( ... ... @@ -475,6 +475,10 @@ 475 475 ((( 476 476 Humidity 477 477 ))) 458 + 459 +((( 460 + 461 +))) 478 478 )))|(% style="width:87px" %)((( 479 479 Temperature 480 480 )))|(% style="width:178px" %)((( ... ... @@ -508,7 +508,7 @@ 508 508 509 509 **Example:** 510 510 511 -If S31x-LB /LShas below data inside Flash:495 +If S31x-LB has below data inside Flash: 512 512 513 513 [[image:image-20230524114654-2.png]] 514 514 ... ... @@ -520,7 +520,7 @@ 520 520 Stop time: 646D856C= time 23/5/24 03:33:00 521 521 522 522 523 -**S31x-LB /LSwill uplink this payload.**507 +**S31x-LB will uplink this payload.** 524 524 525 525 [[image:image-20230524114826-3.png||height="448" width="1244"]] 526 526 ... ... @@ -558,7 +558,7 @@ 558 558 == 2.6 Temperature Alarm Feature == 559 559 560 560 561 -S31x-LB /LSwork flow with Alarm feature.545 +S31x-LB work flow with Alarm feature. 562 562 563 563 564 564 [[image:image-20230524110125-3.png||height="768" width="1115"]] ... ... @@ -568,7 +568,7 @@ 568 568 == 2.7 Frequency Plans == 569 569 570 570 571 -The S31x-LB /LSuses OTAA mode and below frequency plans by default.Eachfrequencybanduse different firmware,userupdatethefirmwareto the corresponding bandfor theircountry.555 +The S31x-LB uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets. 572 572 573 573 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20Frequency%20Band/]] 574 574 ... ... @@ -579,12 +579,12 @@ 579 579 **Firmware download link: **[[https:~~/~~/www.dropbox.com/sh/fis3g6nmhv0eokg/AAC6BcCZaX4BdqZkduUvZ3jIa?dl=0>>https://www.dropbox.com/sh/fis3g6nmhv0eokg/AAC6BcCZaX4BdqZkduUvZ3jIa?dl=0]] 580 580 581 581 582 -= 3. Configure S31x-LB /LS=566 += 3. Configure S31x-LB = 583 583 584 584 == 3.1 Configure Methods == 585 585 586 586 587 -S31x-LB /LSsupports below configure method:571 +S31x-LB supports below configure method: 588 588 589 589 * AT Command via Bluetooth Connection (**Recommended**): [[BLE Configure Instruction>>http://wiki.dragino.com/xwiki/bin/view/Main/BLE%20Bluetooth%20Remote%20Configure/]]. 590 590 * 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]]. ... ... @@ -603,10 +603,10 @@ 603 603 [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/>>http://wiki.dragino.com/xwiki/bin/view/Main/End%20Device%20AT%20Commands%20and%20Downlink%20Command/]] 604 604 605 605 606 -== 3.3 Commands special design for S31x-LB /LS==590 +== 3.3 Commands special design for S31x-LB == 607 607 608 608 609 -These commands only valid for S31x-LB /LS, as below:593 +These commands only valid for S31x-LB, as below: 610 610 611 611 612 612 === 3.3.1 Set Transmit Interval Time === ... ... @@ -616,8 +616,8 @@ 616 616 617 617 (% style="color:blue" %)**AT Command: AT+TDC** 618 618 619 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)620 -|=(% style="width: 156px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 137px;background-color:#4F81BD;color:white" %)**Function**|=(% style="background-color:#4F81BD;color:white" %)**Response**603 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 604 +|=(% style="width: 156px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 137px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="background-color:#D9E2F3;color:#0070C0" %)**Response** 621 621 |(% style="width:156px" %)AT+TDC=?|(% style="width:137px" %)Show current transmit Interval|((( 622 622 30000 623 623 OK ... ... @@ -729,19 +729,20 @@ 729 729 730 730 (% style="color:blue" %)**AT Command: AT+INTMOD** 731 731 732 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)733 -|=(% style="width: 155px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 192px;rgb(79, 129, 189);white;" %)**Function**|=(% style="width: 161px;rgb(79, 129, 189);white;" %)**Response**734 -|(% style="width:154px" %)AT+INTMOD=?|(% style="width:19 2px" %)Show current interrupt mode|(% style="width:161px" %)(((716 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 717 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response** 718 +|(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 735 735 0 736 736 OK 737 737 the mode is 0 =Disable Interrupt 738 738 ))) 739 -|(% style="width:154px" %)AT+INTMOD=2|(% style="width:192px" %)((( 740 -0: Disable Interrupt 741 -1: Trigger by rising and falling edge 742 -2: Trigger by falling edge 743 -3: Trigger by rising edge 744 -)))|(% style="width:161px" %)OK 723 +|(% style="width:154px" %)AT+INTMOD=2|(% style="width:196px" %)((( 724 +Set Transmit Interval 725 +0. (Disable Interrupt), 726 +~1. (Trigger by rising and falling edge) 727 +2. (Trigger by falling edge) 728 +3. (Trigger by rising edge) 729 +)))|(% style="width:157px" %)OK 745 745 746 746 (% style="color:blue" %)**Downlink Command: 0x06** 747 747 ... ... @@ -765,8 +765,8 @@ 765 765 766 766 (% style="color:blue" %)**AT Command: AT+5VT** 767 767 768 -(% border="1" cellspacing=" 3" style="background-color:#f2f2f2; width:510px" %)769 -|=(% style="width: 155px;background-color:# 4F81BD;color:white" %)**Command Example**|=(% style="width: 197px;background-color:#4F81BD;color:white" %)**Function**|=(% style="width: 158px;background-color:#4F81BD;color:white" %)**Response**753 +(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 754 +|=(% style="width: 155px;background-color:#D9E2F3;color:#0070C0" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3;color:#0070C0" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3;color:#0070C0" %)**Response** 770 770 |(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)0 (default) 771 771 OK 772 772 |(% style="width:154px" %)AT+5VT=1000|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:157px" %)OK ... ... @@ -780,95 +780,10 @@ 780 780 * Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 781 781 * Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 782 782 783 -=== 3.3.9 Print data entries base on page === 784 - 785 - 786 -Feature: Print the sector data from start page to stop page (max is 416 pages). 787 - 788 -(% style="color:#4f81bd" %)**AT Command: AT+PDTA** 789 - 790 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 791 -|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 792 -|(% style="width:156px" %)((( 793 -AT+PDTA=1,3 794 -Print page 1 to 3 795 -)))|(% style="width:311px" %)((( 796 -8019500 19/6/26 16:48 1 2992 sht temp=28.21 sht hum=71.5 ds temp=27.31 797 -8019510 19/6/26 16:53 1 2994 sht temp=27.64 sht hum=69.3 ds temp=26.93 798 -8019520 19/6/26 16:58 1 2996 sht temp=28.39 sht hum=72.0 ds temp=27.06 799 -8019530 19/6/26 17:03 1 2996 sht temp=27.97 sht hum=70.4 ds temp=27.12 800 -8019540 19/6/26 17:08 1 2996 sht temp=27.80 sht hum=72.9 ds temp=27.06 801 -8019550 19/6/26 17:13 1 2998 sht temp=27.30 sht hum=72.4 ds temp=26.68 802 -8019560 19/6/26 17:22 1 2992 sht temp=26.27 sht hum=62.3 ds temp=26.56 803 -8019570 804 -8019580 805 -8019590 806 -80195A0 807 -80195B0 808 -80195C0 809 -80195D0 810 -80195E0 811 -80195F0 812 - 813 -OK 814 -))) 815 - 816 -(% style="color:#4f81bd" %)**Downlink Command:** 817 - 818 -No downlink commands for feature 819 - 820 - 821 -=== 3.3.10 Print last few data entries === 822 - 823 - 824 -Feature: Print the last few data entries 825 - 826 -(% style="color:#4f81bd" %)**AT Command: AT+PLDTA** 827 - 828 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 829 -|(% style="background-color:#4f81bd; color:white; width:158px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:352px" %)**Function** 830 -|(% style="width:156px" %)((( 831 -AT+PLDTA=5 832 -Print last 5 entries 833 -)))|(% style="width:311px" %)((( 834 -Stop Tx and RTP events when read sensor data 835 -1 19/6/26 13:59 1 3005 sht temp=27.09 sht hum=79.5 ds temp=26.75 836 -2 19/6/26 14:04 1 3007 sht temp=26.65 sht hum=74.8 ds temp=26.43 837 -3 19/6/26 14:09 1 3007 sht temp=26.91 sht hum=77.9 ds temp=26.56 838 -4 19/6/26 14:15 1 3007 sht temp=26.93 sht hum=76.7 ds temp=26.75 839 -5 19/6/26 14:20 1 3007 sht temp=26.78 sht hum=76.6 ds temp=26.43 840 -Start Tx and RTP events 841 -OK 842 -))) 843 - 844 -(% style="color:#4f81bd" %)**Downlink Command:** 845 - 846 -No downlink commands for feature 847 - 848 - 849 -=== 3.3.11 Clear Flash Record === 850 - 851 - 852 -Feature: Clear flash storage for data log feature. 853 - 854 -(% style="color:#4f81bd" %)**AT Command: AT+CLRDTA** 855 - 856 -(% border="1" cellspacing="3" style="background-color:#f2f2f2; width:503px" %) 857 -|(% style="background-color:#4f81bd; color:white; width:157px" %)**Command Example**|(% style="background-color:#4f81bd; color:white; width:137px" %)**Function**|(% style="background-color:#4f81bd; color:white; width:209px" %)**Response** 858 -|(% style="width:155px" %)AT+CLRDTA |(% style="width:134px" %)Clear date record|(% style="width:209px" %)((( 859 -Clear all stored sensor data… 860 - 861 -OK 862 -))) 863 - 864 -(% style="color:#4f81bd" %)**Downlink Command: 0xA3** 865 - 866 -* Example: 0xA301 ~/~/ Same as AT+CLRDTA 867 - 868 868 = 4. Battery & Power Consumption = 869 869 870 870 871 -S31x-LB use ER26500 + SPC1520 battery pack and S31x-LS use 3000mAh Recharable Battery with Solar Panel. See below link for detail information about the battery info and how to replace.771 +S31x-LB use ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace. 872 872 873 873 [[**Battery Info & Power Consumption Analyze**>>http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] . 874 874 ... ... @@ -877,7 +877,7 @@ 877 877 878 878 879 879 (% class="wikigeneratedid" %) 880 -User can change firmware S31x-LB /LSto:780 +User can change firmware S31x-LB to: 881 881 882 882 * Change Frequency band/ region. 883 883 * Update with new features. ... ... @@ -898,7 +898,7 @@ 898 898 = 7. Order Info = 899 899 900 900 901 -Part Number: (% style="color:blue" %)**S31-LB-XX / S31B-LB-XX** (%%)** or (% style="color:blue" %)S31-LS-XX / S31B-LS-XX(%%)**801 +Part Number: (% style="color:blue" %)**S31-LB-XX / S31B-LB-XX** 902 902 903 903 (% style="color:red" %)**XX**(%%): The default frequency band 904 904 ... ... @@ -923,7 +923,7 @@ 923 923 924 924 (% style="color:#037691" %)**Package Includes**: 925 925 926 -* S31x-LB or S31x-LS LoRaWAN Temperature & Humidity Sensor826 +* S31x-LB LoRaWAN Temperature & Humidity Sensor 927 927 928 928 (% style="color:#037691" %)**Dimension and weight**: 929 929
- image-20240104165223-7.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -30.6 KB - Content
- image-20240104165302-8.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.5 KB - Content
- image-20240104165338-9.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -15.7 KB - Content
- image-20250328173145-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -59.6 KB - Content
- image-20250328173203-2.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -40.6 KB - Content
- image-20250328173224-3.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -55.2 KB - Content
- image-20250328173243-4.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -43.4 KB - Content
- image-20250328173339-5.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -18.9 KB - Content
- image-20250328173355-6.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -67.4 KB - Content
- image-20250409174350-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -44.9 KB - Content
- image-20250409174410-2.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -31.1 KB - Content
- image-20250409175256-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -68.6 KB - Content
- image-20250416143859-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -47.6 KB - Content