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

Summary

Details

Page properties
Content
... ... @@ -115,6 +115,7 @@
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 +
118 118  == 1.6 BLE connection ==
119 119  
120 120  
... ... @@ -302,25 +302,52 @@
302 302  === 2.3.2  Sensor Data. FPORT~=2 ===
303 303  
304 304  
305 -Sensor Data is uplink via FPORT=2
306 +D2x-LB will uplink below payload via FPORT=2 after Joined LoRaWAN Network.
306 306  
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:]]
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 +
320 320  )))
321 321  
328 +**Payload per each model.**
322 322  
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"]]
323 323  
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 +
324 324  ==== (% style="color:#4472c4" %)**Battery:**(%%) ====
325 325  
326 326  Sensor Battery Level.
... ... @@ -331,8 +331,10 @@
331 331  
332 332  
333 333  
334 -==== (% style="color:#4472c4" %)**Temperature:**(%%) ====
362 +==== (% style="color:#4472c4" %)**Temperature RED or Temperature White :**(%%) ====
335 335  
364 +**This point to the Red probe in D20-LB or the probe of D22-LB/D23-LB White**
365 +
336 336  **Example**:
337 337  
338 338  If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
... ... @@ -342,12 +342,39 @@
342 342  (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
343 343  
344 344  
345 -==== (% style="color:#4472c4" %)**Humidity:**(%%) ====
346 346  
376 +==== (% style="color:#4472c4" %)**Temperature White:**(%%) ====
347 347  
348 -Read:0x(0197)=412    Value:  412 / 10=41.2, So 41.2%
349 349  
379 +**This point to the Red probe in D22-LB/D23-LB**
350 350  
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 +
351 351  ==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ====
352 352  
353 353  
... ... @@ -357,16 +357,21 @@
357 357  
358 358  If payload & 0x01 = 0x00  **~-~->** This is a normal uplink message, no alarm
359 359  
360 -If payload >> 2 = 0x00  **~-~->**  means MOD=1, This is a sampling uplink message
361 361  
362 -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. 
363 363  
419 +==== ====
364 364  
421 +
365 365  == 2.4 Payload Decoder file ==
366 366  
424 +
425 +(((
367 367  In TTN, use can add a custom payload so it shows friendly. 
427 +)))
368 368  
369 -In the page **Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** to add the decoder from: [[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]]
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 370  
371 371  
372 372  == 2.5 Datalog Feature ==
... ... @@ -726,7 +726,7 @@
726 726  = 7. Order Info =
727 727  
728 728  
729 -Part Number: (% style="color:blue" %)**S31-LB-XX  / S31x-LB-XX**
791 +Part Number: (% style="color:blue" %)**D20-LB-XX  / D22-LB-XX / D23-LB-XX**
730 730  
731 731  (% style="color:red" %)**XX**(%%): The default frequency band
732 732  
... ... @@ -751,7 +751,7 @@
751 751  
752 752  (% style="color:#037691" %)**Package Includes**:
753 753  
754 -* S31x-LB LoRaWAN Temperature & Humidity Sensor
816 +* D2x-LB LoRaWAN Temperature Sensor
755 755  
756 756  (% style="color:#037691" %)**Dimension and weight**:
757 757  
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0