Last modified by Xiaoling on 2025/04/09 17:53
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
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,28 +302,52 @@ 302 302 === 2.3.2 Sensor Data. FPORT~=2 === 303 303 304 304 305 - SensorDataisuplink via FPORT=2306 +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:]] 320 -))) 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:"]] 321 321 322 322 326 +))) 323 323 324 - 328 +**Payload per each model.** 325 325 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"]] 326 326 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 + 327 327 ==== (% style="color:#4472c4" %)**Battery:**(%%) ==== 328 328 329 329 Sensor Battery Level. ... ... @@ -334,8 +334,10 @@ 334 334 335 335 336 336 337 -==== (% style="color:#4472c4" %)**Temperature:**(%%) ==== 362 +==== (% style="color:#4472c4" %)**Temperature RED or Temperature White :**(%%) ==== 338 338 364 +**This point to the Red probe in D20-LB or the probe of D22-LB/D23-LB White** 365 + 339 339 **Example**: 340 340 341 341 If payload is: 0105H: (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree ... ... @@ -345,15 +345,42 @@ 345 345 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative) 346 346 347 347 348 -==== **Humidity:** ==== 349 349 376 +==== (% style="color:#4472c4" %)**Temperature White:**(%%) ==== 350 350 351 -Read:0x(0197)=412 Value: 412 / 10=41.2, So 41.2% 352 352 379 +**This point to the Red probe in D22-LB/D23-LB** 353 353 354 -==== **Alarm Flag& MOD:** ==== 355 355 382 +**Example**: 356 356 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 +==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ==== 409 + 410 + 357 357 **Example:** 358 358 359 359 If payload & 0x01 = 0x01 **~-~->** This is an Alarm Message ... ... @@ -360,11 +360,11 @@ 360 360 361 361 If payload & 0x01 = 0x00 **~-~->** This is a normal uplink message, no alarm 362 362 363 -If payload >> 2 = 0x00 **~-~->** means MOD=1, This is a sampling uplink message 364 364 365 -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. 366 366 419 +==== ==== 367 367 421 + 368 368 == 2.4 Payload Decoder file == 369 369 370 370 ... ... @@ -373,7 +373,7 @@ 373 373 ))) 374 374 375 375 ((( 376 -In the page **Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** to add the decoder from: /tree/main/LSN50v2-S31%26S31B>>https://github.com/dragino/dragino-end-node-decoder/tree/main/LSN50v2-S31%26S31B]]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]] 377 377 ))) 378 378 379 379