Last modified by Mengting Qiu on 2025/07/01 15:58
From version 60.18
edited by Xiaoling
on 2023/05/27 11:17
on 2023/05/27 11:17
Change comment:
There is no comment for this version
To version 38.1
edited by Ellie Zhang
on 2023/05/06 16:20
on 2023/05/06 16:20
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
-
Attachments (0 modified, 0 added, 12 removed)
- image-20230523174230-1.png
- image-20230524105433-1.png
- image-20230524105747-2.png
- image-20230524110125-3.png
- image-20230524110211-4.png
- image-20230524114302-1.png
- image-20230524114654-2.png
- image-20230524114826-3.png
- image-20230524144422-1.png
- image-20230524144456-2.png
- image-20230527093155-1.jpeg
- image-20230527093214-2.jpeg
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Xiaoling1 +XWiki.Ellie - Content
-
... ... @@ -17,7 +17,6 @@ 17 17 18 18 == 1.1 What is S31x-LB LoRaWAN Temperature & Humidity Sensor == 19 19 20 - 21 21 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. 22 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. ... ... @@ -26,6 +26,8 @@ 26 26 27 27 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. 28 28 28 +S31x-LB has max 3 probes which measure maximum 3 temperature points. 29 + 29 29 S31x-LB (% style="color:blue" %)**supports BLE configure**(%%) and (% style="color:blue" %)**wireless OTA update**(%%) which make user easy to use. 30 30 31 31 S31x-LB is powered by (% style="color:blue" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 5 years. ... ... @@ -35,7 +35,6 @@ 35 35 36 36 == 1.2 Features == 37 37 38 - 39 39 * LoRaWAN 1.0.3 Class A 40 40 * Ultra-low power consumption 41 41 * External 3 meters SHT31 probe (For S31-LB) ... ... @@ -48,8 +48,6 @@ 48 48 * Downlink to change configure 49 49 * 8500mAh Battery for long term use 50 50 51 - 52 - 53 53 == 1.3 Specification == 54 54 55 55 ... ... @@ -92,8 +92,6 @@ 92 92 * Sleep Mode: 5uA @ 3.3v 93 93 * LoRa Transmit Mode: 125mA @ 20dBm, 82mA @ 14dBm 94 94 95 - 96 - 97 97 == 1.4 Sleep mode and working mode == 98 98 99 99 ... ... @@ -122,7 +122,6 @@ 122 122 |(% 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. 123 123 124 124 125 - 126 126 == 1.6 BLE connection == 127 127 128 128 ... ... @@ -138,19 +138,12 @@ 138 138 If there is no activity connection on BLE in 60 seconds, sensor will shut down BLE module to enter low power mode. 139 139 140 140 141 -== 1.7 Pin Definitions==136 +== 1.7 Hardware Variant == 142 142 143 -[[image:image-20230523174230-1.png]] 144 144 145 - 146 -== 1.8 Hardware Variant == 147 - 148 - 149 -(% border="1" cellspacing="5" style="width:472px" %) 150 -|=(% style="width: 102px;background-color:#D9E2F3;color:#0070C0" %)Model|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)Photo|=(% style="width: 187px; background-color:#D9E2F3;color:#0070C0" %)Probe Info 151 -|(% style="width:102px" %)((( 152 -S31-LB 153 -)))|(% style="width:190px" %)[[image:image-20230527093214-2.jpeg]]|(% style="width:187px" %)((( 139 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 140 +|=(% style="width: 102px;background-color:#D9E2F3;color:#0070C0" %)Model|=(% style="width: 190px;background-color:#D9E2F3;color:#0070C0" %)Photo|=(% style="width: 218px;background-color:#D9E2F3;color:#0070C0" %)Probe Info 141 +|(% style="width:102px" %)S31-LB|(% style="width:190px" %)[[image:S31.jpg]]|(% style="width:297px" %)((( 154 154 1 x SHT31 Probe 155 155 156 156 Cable Length : 2 meters ... ... @@ -157,9 +157,7 @@ 157 157 158 158 159 159 ))) 160 -|(% style="width:102px" %)((( 161 -S31B-LB 162 -)))|(% style="width:190px" %)[[image:image-20230527093155-1.jpeg]]|(% style="width:187px" %)((( 148 +|(% style="width:102px" %)S31B-LB|(% style="width:190px" %)[[image:S31B.jpg]]|(% style="width:297px" %)((( 163 163 1 x SHT31 Probe 164 164 165 165 Installed in device. ... ... @@ -169,7 +169,7 @@ 169 169 170 170 171 171 172 -== 1. 9Mechanical ==158 +== 1.8 Mechanical == 173 173 174 174 175 175 [[image:Main.User Manual for LoRaWAN End Nodes.D20-LBD22-LBD23-LB_LoRaWAN_Temperature_Sensor_User_Manual.WebHome@1675143884058-338.png]] ... ... @@ -255,7 +255,7 @@ 255 255 256 256 Example parse in TTNv3 257 257 258 -[[image:image-20230 524144422-1.png||height="174" width="1080"]]244 +[[image:image-20230421171614-1.png||alt="图片-20230421171614-1.png"]] 259 259 260 260 261 261 (% style="color:#037691" %)**Sensor Model**(%%): For S31x-LB, this value is 0x0A ... ... @@ -317,24 +317,21 @@ 317 317 Sensor Data is uplink via FPORT=2 318 318 319 319 (% border="1" cellspacing="5" style="background-color:#f2f2f2; width:500px" %) 320 -|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((306 +|=(% style="width: 90px;background-color:#D9E2F3" %)((( 321 321 **Size(bytes)** 322 -)))|=(% style="width: 40px;background-color:#D9E2F3;color:#0070C0" %)2|=(% style="width: 90px;background-color:#D9E2F3;color:#0070C0" %)4|=(% style="width:150px;;color:#0070C0" %)1|=(% style="width: 80px;;color:#0070C0" %)**2**|=(% style="width: 80px;;color:#0070C0" %)2323 -|(% style="width:99px" %)Value|(% style="width:69px" %)((( 324 -Battery 308 +)))|=(% 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" %)2 309 +|(% style="width:99px" %)**Value**|(% style="width:69px" %)((( 310 +[[Battery>>||anchor="HBattery:"]] 325 325 )))|(% style="width:130px" %)((( 326 -Unix TimeStamp 327 -)))|(% style="width: 194px" %)(((328 -Alarm Flag &MOD& Level of PA8329 -)))|(% style="width:10 6px" %)(((330 -Temperature 331 -)))|(% style="width: 97px" %)(((332 -Humidity 312 +[[Unix TimeStamp>>||anchor="H2.5.2UnixTimeStamp"]] 313 +)))|(% style="width:91px" %)((( 314 +[[Alarm Flag>>||anchor="HAlarmFlag26MOD:"]] 315 +)))|(% style="width:103px" %)((( 316 +[[Temperature>>||anchor="HTemperature:"]] 317 +)))|(% style="width:80px" %)((( 318 +[[Humidity>>||anchor="HHumidity:"]] 333 333 ))) 334 334 335 -[[image:image-20230524144456-2.png||height="180" width="1142"]] 336 - 337 - 338 338 ==== (% style="color:#4472c4" %)**Battery**(%%) ==== 339 339 340 340 Sensor Battery Level. ... ... @@ -362,21 +362,17 @@ 362 362 Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 363 363 364 364 365 -==== (% style="color:#4472c4" %)**Alarm Flag & Level of PA8**(%%) ====348 +==== (% style="color:#4472c4" %)**Alarm Flag& MOD**(%%) ==== 366 366 367 367 368 368 **Example:** 369 369 370 -If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message .It means that the temperature and humidity exceed the alarm value or trigger an interrupt.353 +If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message 371 371 372 -If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm .355 +If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm 373 373 374 -If payload & 0x80>>7= 0x01**~-~->**ThePA8is lowlevel.357 +If payload >> 2 = 0x00 **~-~->** means MOD=1, This is a sampling uplink message 375 375 376 -If payload & 0x80>>7 =0x00 **~-~->** The PA8 is high level. 377 - 378 -If payload >> 2 = 0x00 **~-~->** means MOD=1, This is a sampling uplink message. 379 - 380 380 If payload >> 2 = 0x31 **~-~->** means MOD=31, this message is a reply message for polling, this message contains the alarm settings. see [[this link>>path:#HPolltheAlarmsettings:]] for detail. 381 381 382 382 ... ... @@ -387,7 +387,7 @@ 387 387 388 388 In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**(%%) to add the decoder from: 389 389 390 -[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/S31 -LB%26S31B-LB>>https://github.com/dragino/dragino-end-node-decoder/tree/main/S31-LB%26S31B-LB]]369 +[[https:~~/~~/github.com/dragino/dragino-end-node-decoder/tree/main/LSN50v2-S31%26S31B >>https://github.com/dragino/dragino-end-node-decoder/tree/main/LSN50v2-S31%26S31B]] 391 391 392 392 393 393 == 2.5 Datalog Feature == ... ... @@ -399,20 +399,15 @@ 399 399 === 2.5.1 Ways to get datalog via LoRaWAN === 400 400 401 401 402 -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. 381 +Set [[PNACKMD=1>>||anchor="H2.5.4DatalogUplinkpayloadA028FPORT3D329"]], 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. 403 403 404 -* ((( 405 -a) S31x-LB will do an ACK check for data records sending to make sure every data arrive server. 406 -))) 407 -* ((( 408 -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. 409 -))) 383 +* a) S31x-LB will do an ACK check for data records sending to make sure every data arrive server. 384 +* 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. 410 410 411 411 Below is the typical case for the auto-update datalog feature (Set PNACKMD=1) 412 412 413 413 [[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"]] 414 414 415 - 416 416 === 2.5.2 Unix TimeStamp === 417 417 418 418 ... ... @@ -426,7 +426,6 @@ 426 426 427 427 [[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"]] 428 428 429 - 430 430 So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 431 431 432 432 ... ... @@ -447,31 +447,18 @@ 447 447 448 448 **Retrieval data payload:** 449 449 450 -(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:50 0px" %)451 -|=(% style="width: 60px;background-color:#D9E2F3;color:#0070C0" %)(((423 +(% border="1" cellspacing="5" style="background-color:#f2f2f2; width:510px" %) 424 +|=(% style="width: 80px;background-color:#D9E2F3" %)((( 452 452 **Size(bytes)** 453 -)))|=(% 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** 454 -|(% style="width:103px" %)Value|(% style="width:68px" %)((( 455 -ignore 456 -)))|(% style="width:104px" %)((( 457 -((( 458 -Humidity 459 -))) 426 +)))|=(% 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:103px" %)**Value**|(% style="width:54px" %)((( 428 +[[Temp_Black>>||anchor="HTemperatureBlack:"]] 429 +)))|(% 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"]] 460 460 461 -((( 462 - 463 -))) 464 -)))|(% style="width:87px" %)((( 465 -Temperature 466 -)))|(% style="width:178px" %)((( 467 -Poll message flag & Alarm Flag& Level of PA8 468 -)))|(% style="width:137px" %)Unix Time Stamp 431 +**Poll message flag & Ext:** 469 469 470 - **Pollmessageflag &AlarmFlagLevelofPA8:**433 +[[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-20221006192726-1.png?width=754&height=112&rev=1.1||alt="图片-20221006192726-1.png" height="112" width="754"]] 471 471 472 -[[image:image-20230524114302-1.png||height="115" width="736"]] 473 - 474 - 475 475 **No ACK Message**: 1: This message means this payload is fromn Uplink Message which doesn't get ACK from the server before ( for **PNACKMD=1** feature) 476 476 477 477 **Poll Message Flag**: 1: This message is a poll message reply. ... ... @@ -492,26 +492,26 @@ 492 492 493 493 If devise doesn't have any data in the polling time. Device will uplink 11 bytes of 0 494 494 455 + 495 495 **Example:** 496 496 497 497 If S31x-LB has below data inside Flash: 498 498 499 -[[image: image-20230524114654-2.png]]460 +[[image:1682646494051-944.png]] 500 500 462 +If user sends below downlink command: 3160065F9760066DA705 501 501 502 - If usersendsbelowdownlinkcommand:31646D84E1646D856C05464 +Where : Start time: 60065F97 = time 21/1/19 04:27:03 503 503 504 - Where:Starttime: 646D84E1= time 23/5/2403:30:41466 + Stop time: 60066DA7= time 21/1/19 05:27:03 505 505 506 - Stop time: 646D856C= time 23/5/24 03:33:00 507 507 508 - 509 509 **S31x-LB will uplink this payload.** 510 510 511 -[[image:image-202 30524114826-3.png||height="448" width="1244"]]471 +[[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="图片-20220523001219-13.png" height="421" width="727"]] 512 512 513 513 ((( 514 -00 00 02 36 011040646D 84 E100 02 37 0110064 6D 84 F80002 3701 0F4064 6D852 3A 010F4046D8580000 02 3C 010F4064 6D85 360 00 02 3D 010E4046D853F0 00 02 3F 010E4046D856000 00 0240 01E 4046D 85 6A474 +__**7FFF089801464160065F97**__ **__7FFF__ __088E__ __014B__ __41__ __60066009__** 7FFF0885014E41600660667FFF0875015141600662BE7FFF086B015541600665167FFF08660155416006676E7FFF085F015A41600669C67FFF0857015D4160066C1E 515 515 ))) 516 516 517 517 ((( ... ... @@ -519,26 +519,30 @@ 519 519 ))) 520 520 521 521 ((( 522 -00 00 02 36 011040646D 84 E1482 +7FFF089801464160065F97 523 523 ))) 524 524 525 525 ((( 526 -** Hum**=0x0236/10=56.6486 +**Ext sensor data**=0x7FFF/100=327.67 527 527 ))) 528 528 529 529 ((( 530 -**Temp**=0x0 110/10=27.2490 +**Temp**=0x088E/100=22.00 531 531 ))) 532 532 533 533 ((( 534 -** pollmessage flag & Alarm Flag & Level of PA8**=0x40,means reply data,sampling uplink message,the PA8 is low level.494 +**Hum**=0x014B/10=32.6 535 535 ))) 536 536 537 537 ((( 538 -** Unixtime** is0x646D84E1=1684899041s=23/5/2403:30:41498 +**poll message flag & Ext**=0x41,means reply data,Ext=1 539 539 ))) 540 540 501 +((( 502 +**Unix time** is 0x60066009=1611030423s=21/1/19 04:27:03 503 +))) 541 541 505 + 542 542 (% aria-label="数据 URI 图像图像小部件" 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==||alt="数据 URI 图片" data-widget="image" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" 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==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" 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="单击并拖动以调整大小" %)的(% aria-label="数据 URI 图像图像小部件" 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==||alt="数据 URI 图片" data-widget="image" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" 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==||alt="数据 URI 图片" draggable="true" height="15" role="presentation" title="单击并拖动以移动" width="15"]](% aria-label="数据 URI 图像图像小部件" 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="单击并拖动以调整大小" %)的 543 543 544 544 == 2.6 Temperature Alarm Feature == ... ... @@ -547,10 +547,9 @@ 547 547 S31x-LB work flow with Alarm feature. 548 548 549 549 550 -[[image:i mage-20230524110125-3.png||height="768" width="1115"]]514 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-D20-D22-D23%20LoRaWAN%20Temperature%20Sensor%20User%20Manual/WebHome/image-20220623090437-1.png?rev=1.1||alt="图片-20220623090437-1.png"]] 551 551 552 552 553 - 554 554 == 2.7 Frequency Plans == 555 555 556 556 ... ... @@ -570,8 +570,6 @@ 570 570 * 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]]. 571 571 * LoRaWAN Downlink. Instruction for different platforms: See [[IoT LoRaWAN Server>>http://wiki.dragino.com/xwiki/bin/view/Main/]] section. 572 572 573 - 574 - 575 575 == 3.2 General Commands == 576 576 577 577 ... ... @@ -619,8 +619,6 @@ 619 619 * Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds 620 620 * Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds 621 621 622 - 623 - 624 624 === 3.3.2 Get Device Status === 625 625 626 626 ... ... @@ -633,7 +633,6 @@ 633 633 634 634 === 3.3.3 Set Temperature Alarm Threshold === 635 635 636 - 637 637 * (% style="color:blue" %)**AT Command:** 638 638 639 639 (% style="color:#037691" %)**AT+SHTEMP=min,max** ... ... @@ -655,7 +655,6 @@ 655 655 656 656 === 3.3.4 Set Humidity Alarm Threshold === 657 657 658 - 659 659 * (% style="color:blue" %)**AT Command:** 660 660 661 661 (% style="color:#037691" %)**AT+SHHUM=min,max** ... ... @@ -677,7 +677,6 @@ 677 677 678 678 === 3.3.5 Set Alarm Interval === 679 679 680 - 681 681 The shortest time of two Alarm packet. (unit: min) 682 682 683 683 * (% style="color:blue" %)**AT Command:** ... ... @@ -698,25 +698,22 @@ 698 698 699 699 **Example:** 700 700 701 -[[image:i mage-20230524110211-4.png]]657 +[[image:http://wiki.dragino.com/xwiki/bin/download/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LSN50v2-D20-D22-D23%20LoRaWAN%20Temperature%20Sensor%20User%20Manual/WebHome/1655948182791-225.png?rev=1.1||alt="1655948182791-225.png"]] 702 702 659 + 703 703 **Explain:** 704 704 705 705 * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message. 706 706 707 - 708 - 709 709 === 3.3.7 Set Interrupt Mode === 710 710 711 711 712 -Feature, Set Interrupt mode for P A8 of pin.667 +Feature, Set Interrupt mode for GPIO_EXIT. 713 713 714 -When AT+INTMOD=0 is set, PA8 is used as a digital input port. 715 - 716 716 (% style="color:blue" %)**AT Command: AT+INTMOD** 717 717 718 718 (% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 719 -|=(% style="width: 15 5px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3" %)**Response**672 +|=(% style="width: 154px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 196px;background-color:#D9E2F3" %)**Function**|=(% style="width: 157px;background-color:#D9E2F3" %)**Response** 720 720 |(% style="width:154px" %)AT+INTMOD=?|(% style="width:196px" %)Show current interrupt mode|(% style="width:157px" %)((( 721 721 0 722 722 OK ... ... @@ -739,38 +739,6 @@ 739 739 * Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode 740 740 * Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger 741 741 742 - 743 - 744 -=== 3.3.8 Set Power Output Duration === 745 - 746 - 747 -Control the output duration 5V . Before each sampling, device will 748 - 749 -~1. first enable the power output to external sensor, 750 - 751 -2. keep it on as per duration, read sensor value and construct uplink payload 752 - 753 -3. final, close the power output. 754 - 755 -(% style="color:blue" %)**AT Command: AT+5VT** 756 - 757 -(% border="1" cellspacing="4" style="background-color:#f2f2f2; width:510px" %) 758 -|=(% style="width: 155px;background-color:#D9E2F3" %)**Command Example**|=(% style="width: 197px;background-color:#D9E2F3" %)**Function**|=(% style="width: 158px;background-color:#D9E2F3" %)**Response** 759 -|(% style="width:154px" %)AT+5VT=?|(% style="width:196px" %)Show 5V open time.|(% style="width:157px" %)0 (default) 760 -OK 761 -|(% style="width:154px" %)AT+5VT=500|(% style="width:196px" %)Close after a delay of 1000 milliseconds.|(% style="width:157px" %)OK 762 - 763 -(% style="color:blue" %)**Downlink Command: 0x07** 764 - 765 -Format: Command Code (0x07) followed by 2 bytes. 766 - 767 -The first and second bytes are the time to turn on. 768 - 769 -* Example 1: Downlink Payload: 070000 **~-~-->** AT+5VT=0 770 -* Example 2: Downlink Payload: 0701F4 **~-~-->** AT+5VT=500 771 - 772 - 773 - 774 774 = 4. Battery & Power Consumption = 775 775 776 776 ... ... @@ -795,10 +795,8 @@ 795 795 Methods to Update Firmware: 796 796 797 797 * (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/]] 798 -* Update through UART TTL interface. 719 +* Update through UART TTL interface.**[[Instruction>>url:http://wiki.dragino.com/xwiki/bin/view/Main/UART%20Access%20for%20LoRa%20ST%20v4%20base%20model/#H1.LoRaSTv4baseHardware]]**. 799 799 800 - 801 - 802 802 = 6. FAQ = 803 803 804 804 ... ... @@ -806,7 +806,7 @@ 806 806 = 7. Order Info = 807 807 808 808 809 -Part Number: (% style="color:blue" %)**S31-LB-XX / S31B-LB-XX** 728 +Part Number: (% style="color:blue" %)**S31-LB-XX / S31B-LB-XX**(%%) 810 810 811 811 (% style="color:red" %)**XX**(%%): The default frequency band 812 812 ... ... @@ -826,16 +826,15 @@ 826 826 827 827 * (% style="color:red" %)**CN470**(%%): LoRaWAN CN470 band 828 828 748 += = 829 829 830 - 831 831 = 8. Packing Info = 832 832 752 +**Package Includes**: 833 833 834 -(% style="color:#037691" %)**Package Includes**: 835 - 836 836 * S31x-LB LoRaWAN Temperature & Humidity Sensor 837 837 838 - (% style="color:#037691" %)**Dimension and weight**:756 +**Dimension and weight**: 839 839 840 840 * Device Size: cm 841 841 ... ... @@ -845,11 +845,8 @@ 845 845 846 846 * Weight / pcs : g 847 847 848 - 849 - 850 850 = 9. Support = 851 851 852 852 853 853 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule. 854 - 855 -* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[Support@dragino.cc>>mailto:Support@dragino.cc]]. 770 +* Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]]
- image-20230523174230-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -605.9 KB - Content
- image-20230524105433-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -121.4 KB - Content
- image-20230524105747-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -223.2 KB - Content
- image-20230524110125-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -194.1 KB - Content
- image-20230524110211-4.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -110.1 KB - Content
- image-20230524114302-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -12.0 KB - Content
- image-20230524114654-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -17.8 KB - Content
- image-20230524114826-3.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -82.3 KB - Content
- image-20230524144422-1.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -34.9 KB - Content
- image-20230524144456-2.png
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Saxer - Size
-
... ... @@ -1,1 +1,0 @@ 1 -33.9 KB - Content
- image-20230527093155-1.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -9.3 KB - Content
- image-20230527093214-2.jpeg
-
- Author
-
... ... @@ -1,1 +1,0 @@ 1 -XWiki.Xiaoling - Size
-
... ... @@ -1,1 +1,0 @@ 1 -14.7 KB - Content