<
From version < 6.1 >
edited by Edwin Chen
on 2023/04/16 13:24
To version < 10.1 >
edited by Edwin Chen
on 2023/04/16 17:30
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -115,7 +115,6 @@
115 115  )))
116 116  |(% 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.
117 117  
118 -
119 119  == 1.6 BLE connection ==
120 120  
121 121  
... ... @@ -303,52 +303,24 @@
303 303  === 2.3.2  Sensor Data. FPORT~=2 ===
304 304  
305 305  
306 -D2x-LB will uplink below payload via FPORT=2 after Joined LoRaWAN Network.
305 +Sensor Data is uplink via FPORT=2
307 307  
308 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:500px" %)
309 -|=(% style="width: 62.5px;" %)(((
310 -**Size (bytes)**
311 -)))|=(% style="width: 60px;" %)2|=(% style="width: 120px;" %)2|=(% style="width: 60px;" %)2|=(% style="width: 65px;" %)1|=(% style="width: 65px;" %)**2**|=(% style="width: 65px;" %)2
312 -|(% style="width:65px" %)**Value**|(((
313 -[[Battery>>||anchor="HBattery:"]]
314 -)))|(% style="width:91px" %)(((
315 -[[Temp_ Red or Temp _White>>||anchor="HTemperatureREDorTemperatureWhite:"]]
316 -)))|(% style="width:61px" %)(((
317 -ignore
318 -)))|(% style="width:91px" %)(((
319 -[[Alarm Flag>>||anchor="HAlarmFlag26MOD:"]]
320 -)))|(% style="width:99px" %)(((
321 -[[Temp_White>>||anchor="HTemperatureWhite:"]]
322 -)))|(% style="width:97px" %)(((
323 -[[Temp_Black>>||anchor="HTemperatureBlack:"]]
324 -
325 -
307 +|=(((
308 +**Size(bytes)**
309 +)))|=2|=4|=1|=**2**|=2
310 +|**Value**|(((
311 +[[Battery>>path:#HBattery:]]
312 +)))|(((
313 +[[Unix TimeStamp>>path:#H2.4.1UnixTimeStamp]]
314 +)))|(((
315 +[[Alarm Flag>>path:#HAlarmFlag26MOD:]]
316 +)))|(((
317 +[[Temperature>>path:#HTemperature:]]
318 +)))|(((
319 +[[Humidity>>path:#HHumidity:]]
326 326  )))
327 327  
328 -**Payload per each model.**
329 329  
330 -[[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-20220916152530-2.png?rev=1.1||alt="image-20220916152530-2.png" height="240" width="901"]]
331 -
332 -
333 -[[image:image-20230415154139-3.png||height="215" width="1179"]]
334 -
335 -
336 -==== (% style="color:#4472c4" %)**Decode corresponding probe color:**(%%) ====
337 -
338 -**D20:**
339 -
340 -Red <~-~-> C1
341 -
342 -**D22:**
343 -
344 -White <~-~-> C1 Red <~-~-> C2
345 -
346 -**D23:**
347 -
348 -White <~-~->C1 Red <~-~-> C2 Black <~-~-> C3
349 -
350 -
351 -
352 352  ==== (% style="color:#4472c4" %)**Battery:**(%%) ====
353 353  
354 354  Sensor Battery Level.
... ... @@ -359,10 +359,8 @@
359 359  
360 360  
361 361  
362 -==== (% style="color:#4472c4" %)**Temperature RED or Temperature White :**(%%) ====
333 +==== (% style="color:#4472c4" %)**Temperature:**(%%) ====
363 363  
364 -**This point to the Red probe in D20-LB or the probe of D22-LB/D23-LB White**
365 -
366 366  **Example**:
367 367  
368 368  If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
... ... @@ -372,39 +372,12 @@
372 372  (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
373 373  
374 374  
344 +==== (% style="color:#4472c4" %)**Humidity:**(%%) ====
375 375  
376 -==== (% style="color:#4472c4" %)**Temperature White:**(%%) ====
377 377  
347 +Read:0x(0197)=412    Value:  412 / 10=41.2, So 41.2%
378 378  
379 -**This point to the Red probe in D22-LB/D23-LB**
380 380  
381 -
382 -**Example**:
383 -
384 -If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
385 -
386 -If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
387 -
388 -(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
389 -
390 -
391 -
392 -==== (% style="color:#4472c4" %)**Temperature Black:**(%%) ====
393 -
394 -
395 -**This point to the BLACK probe in D23-LB**
396 -
397 -
398 -**Example**:
399 -
400 -If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
401 -
402 -If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
403 -
404 -(FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
405 -
406 -
407 -
408 408  ==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ====
409 409  
410 410  
... ... @@ -414,21 +414,18 @@
414 414  
415 415  If payload & 0x01 = 0x00  **~-~->** This is a normal uplink message, no alarm
416 416  
359 +If payload >> 2 = 0x00  **~-~->**  means MOD=1, This is a sampling uplink message
417 417  
361 +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. 
418 418  
419 -==== ====
420 420  
421 -
422 422  == 2.4 Payload Decoder file ==
423 423  
366 +In TTN, use can add a custom payload so it shows friendly reading
424 424  
425 -(((
426 -In TTN, use can add a custom payload so it shows friendly. 
427 -)))
368 +In the page (% style="color:#037691" %)**Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder**(%%) to add the decoder from:
428 428  
429 -(((
430 -In the page **Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** to add the decoder from:  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
431 -)))
370 +[[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]]
432 432  
433 433  
434 434  == 2.5 Datalog Feature ==
... ... @@ -788,7 +788,7 @@
788 788  = 7. Order Info =
789 789  
790 790  
791 -Part Number: (% style="color:blue" %)**D20-LB-XX  / D22-LB-XX / D23-LB-XX**
730 +Part Number: (% style="color:blue" %)**S31-LB-XX  / S31x-LB-XX**
792 792  
793 793  (% style="color:red" %)**XX**(%%): The default frequency band
794 794  
... ... @@ -813,7 +813,7 @@
813 813  
814 814  (% style="color:#037691" %)**Package Includes**:
815 815  
816 -* D2x-LB LoRaWAN Temperature Sensor
755 +* S31x-LB LoRaWAN Temperature & Humidity Sensor
817 817  
818 818  (% style="color:#037691" %)**Dimension and weight**:
819 819  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0