Last modified by Mengting Qiu on 2025/07/01 15:58
From version 104.5
edited by Edwin Chen
on 2025/06/27 11:04
on 2025/06/27 11:04
Change comment:
There is no comment for this version
To version 103.1
edited by Mengting Qiu
on 2025/06/13 09:59
on 2025/06/13 09:59
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. Edwin1 +XWiki.ting - Content
-
... ... @@ -108,7 +108,6 @@ 108 108 109 109 [[image:image-20250416143859-1.jpeg]] 110 110 111 - 112 112 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %) 113 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** 114 114 |[[image:1749523489553-702.png]] 1~~3s|(% style="width:117px" %)Send an uplink|(% style="width:225px" %)((( ... ... @@ -122,13 +122,12 @@ 122 122 ))) 123 123 |[[image:1749523524280-815.png]] x5|(% 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. 124 124 125 - 126 - 127 127 == 1.6 BLE connection == 128 128 129 129 130 130 S31x-LB/LS support BLE remote configure. 131 131 129 + 132 132 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: 133 133 134 134 * Press button to send an uplink ... ... @@ -141,6 +141,7 @@ 141 141 == 1.7 Pin Definitions == 142 142 143 143 142 + 144 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 145 146 146 == 1.8 Wiring of DS18B20 temperature sensor == ... ... @@ -179,6 +179,7 @@ 179 179 (% style="display:none" %) 180 180 181 181 181 + 182 182 == 1.10 Mechanical == 183 183 184 184 === 1.10.1 for LB version === ... ... @@ -185,6 +185,9 @@ 185 185 186 186 [[image:image-20250409174350-1.jpeg]] 187 187 188 + 189 + 190 + 188 188 === 1.10.2 for LS version === 189 189 190 190 ... ... @@ -419,33 +419,21 @@ 419 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/LS will store the reading for future retrieving purposes. 420 420 421 421 422 -=== 2.5.1 Howdatalogworks===425 +=== 2.5.1 Ways to get datalog via LoRaWAN === 423 423 424 424 425 -S31x-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB/LS 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. 428 +Set PNACKMD=1, S31x-LB/LS will wait for ACK for every uplink, when there is no LoRaWAN network,S31x-LB/LS 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 428 a) S31x-LB/LS will do an ACK check for data records sending to make sure every data arrive server. 429 429 ))) 430 430 * ((( 431 -b) S31x-LB/LS will send data in **CONFIRMED Mode**, but S31x-LB/LS 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/LS gets a ACK, S31x-LB/LS will consider there is a network connection and resend all NONE-ACK messages. 432 - 433 - 434 +b) S31x-LB/LS will send data in **CONFIRMED Mode** when PNACKMD=1, but S31x-LB/LS 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/LS gets a ACK, S31x-LB/LS will consider there is a network connection and resend all NONE-ACK messages. 434 434 ))) 435 435 436 -=== 2.5.2 EnableDatalog437 +=== 2.5.2 Unix TimeStamp === 437 437 438 438 439 -User need to make sure below two settings are enable to use datalog; 440 - 441 -* (% style="color:blue" %)**SYNCMOD=1**(%%) to enable sync time via LoRaWAN MAC command 442 -* 443 - 444 - 445 - 446 -=== 2.5.3 Unix TimeStamp === 447 - 448 - 449 449 S31x-LB/LS uses Unix TimeStamp format based on 450 450 451 451 [[image:image-20250328173339-5.jpeg]] ... ... @@ -457,7 +457,9 @@ 457 457 [[image:image-20250328173355-6.jpeg]] 458 458 459 459 451 +So, we can use AT+TIMESTAMP=1611889405 or downlink 3060137afd00 to set the current time 2021 – Jan ~-~- 29 Friday 03:03:25 460 460 453 + 461 461 === 2.5.3 Set Device Time === 462 462 463 463