Last modified by Mengting Qiu on 2025/06/04 10:46

From version 254.8
edited by Xiaoling
on 2022/06/23 08:50
Change comment: There is no comment for this version
To version 259.1
edited by Xiaoling
on 2022/06/23 09:48
Change comment: Uploaded new attachment "image-20220623094856-3.jpeg", version {1}

Summary

Details

Page properties
Content
... ... @@ -84,10 +84,6 @@
84 84  * Sleeping Mode: 20uA
85 85  * LoRaWAN Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm
86 86  
87 -
88 -
89 -
90 -
91 91  == ​1.3  Features ==
92 92  
93 93  * LoRaWAN v1.0.3 Class A
... ... @@ -146,10 +146,6 @@
146 146  Cable Drawing: [[See This Link>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSN50v2-D20/Cable_Drawing/&file=CAB0-35IC-K31G-210811.pdf]]
147 147  )))
148 148  
149 -
150 -
151 -
152 -
153 153  == 1.6  Pin Definitions and Switch ==
154 154  
155 155  (% class="wikigeneratedid" %)
... ... @@ -185,9 +185,6 @@
185 185  1. When boot the device in flash mode
186 186  1. Send an uplink packet
187 187  
188 -
189 -
190 -
191 191  == 1.7  Hardware Change log ==
192 192  
193 193  LSN50v2-D20 v1.0:  Release.
... ... @@ -230,7 +230,6 @@
230 230  (% aria-label="image-20220607170145-1.jpeg image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220607170145-1.jpeg||data-widget="image"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​(% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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" %)​(%%)​
231 231  
232 232  
233 -
234 234  (((
235 235  You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
236 236  
... ... @@ -279,9 +279,13 @@
279 279  
280 280  == 2.3  ​Uplink Payload ==
281 281  
270 +(((
282 282  Normal Upload Payload:
272 +)))
283 283  
274 +(((
284 284  LSN50v2-D2x use the same payload as LSn50v2 mod1, as below.
276 +)))
285 285  
286 286  
287 287  (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:709px" %)
... ... @@ -305,7 +305,7 @@
305 305  [[image:image-20220622180351-1.png||height="589" width="1096"]]
306 306  
307 307  
308 -=== **(% style="color:#4472C4" %)Battery:** ===
300 +=== (% style="color:#4472c4" %)**Battery:**(%%) ===
309 309  
310 310  Check the battery voltage.
311 311  
... ... @@ -314,7 +314,7 @@
314 314  Ex2: 0x0B49 = 2889mV
315 315  
316 316  
317 -=== **(% style="color:#4472C4" %)Temperature RED or Temperature White :** ===
309 +=== (% style="color:#4472c4" %)**Temperature RED or Temperature White :**(%%) ===
318 318  
319 319  **This point to the Red probe in LSN50 v2-D20 or the probe of LSN50v2- D22/D23 White**
320 320  
... ... @@ -326,7 +326,7 @@
326 326  If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
327 327  
328 328  
329 -=== **(% style="color:#4472C4" %)Temperature White:** ===
321 +=== (% style="color:#4472c4" %)**Temperature White:**(%%) ===
330 330  
331 331  **This point to the Red probe in LSN50 v2-D22/D23**
332 332  
... ... @@ -338,10 +338,11 @@
338 338  If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
339 339  
340 340  
341 -=== **Temperature Black:** ===
333 +=== (% style="color:#4472c4" %)**Temperature Black:**(%%) ===
342 342  
343 343  **This point to the BLACK probe in LSN50 v2-D23**
344 344  
337 +
345 345  **Example**:
346 346  
347 347  If payload is: 0105H:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
... ... @@ -349,709 +349,181 @@
349 349  If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
350 350  
351 351  
345 +=== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ===
352 352  
353 -
354 -=== **(% style="color:#4472C4" %)Alarm Flag& MOD:** ===
355 -
356 -Example:
357 -
358 -If payload & 0x01 = 0x01  à This is an Alarm Message
359 -
360 -If payload & 0x01 = 0x00  à This is a normal uplink message, no alarm
361 -
362 -If payload >> 2 = 0x00 à means MOD=1, This is a sampling uplink message
363 -
364 -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:#Poll_Alarm]] for detail.
365 -
366 -(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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" %)​(%%)​
367 -
368 -
369 -
370 -=== 2.4.1  Battery Info ===
371 -
372 -
373 -Check the battery voltage for LDDS45.
374 -
375 -Ex1: 0x0B45 = 2885mV
376 -
377 -Ex2: 0x0B49 = 2889mV
378 -
379 -
380 -
381 -=== 2.4.2  Interrupt Pin ===
382 -
383 -(((
384 -This data field shows if this packet is generated by interrupt or not. [[Click here>>||anchor="H3.2A0SetInterruptMode"]] for the hardware and software set up.
385 -)))
386 -
387 -(((
388 -**Note: **The Internet Pin is a separate pin in the screw terminal. See [[pin mapping>>||anchor="H1.4A0Pinmappingandpoweron"]].
389 -)))
390 -
391 -(((
392 -
393 -)))
394 -
395 -(((
396 396  **Example:**
397 -)))
398 398  
399 -(((
400 -(0x0D4A & 0x8000) >>15 = 0: Normal uplink packet.
401 -)))
349 +If payload & 0x01 = 0x01  **~-~->** This is an Alarm Message
402 402  
403 -(((
404 -(0x8D41 & 0x8000) >>15 = 1: Interrupt Uplink Packet.
405 -)))
351 +If payload & 0x01 = 0x00  **~-~->** This is a normal uplink message, no alarm
406 406  
353 +If payload >> 2 = 0x00  **~-~->**  means MOD=1, This is a sampling uplink message
407 407  
355 +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:#Poll_Alarm]] for detail.
408 408  
409 -=== 2.4.3  Distance ===
357 +(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
410 410  
411 -(((
412 -(((
413 -The measuring distance of the four distance measuring modules, the default unit is cm.
414 -)))
415 415  
416 -(((
417 -
418 -)))
360 +=== 2.3.2  Decode payload in The Things Network ===
419 419  
420 -(((
421 -**Example**:
422 -)))
362 +In TTN, use can add a custom payload so it shows friendly. 
423 423  
424 -(((
425 -Uplink Payload: 0D 4A 03 16 03 18 03 1A 03 15 01
426 -)))
364 +In the page Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder to add the decoder from:
427 427  
428 -(((
429 -
430 -)))
366 +[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSN50v2-D20/Decoder/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSN50v2-D20/Decoder/]]
431 431  
432 -(((
433 -Data analysis:
434 -)))
435 435  
436 -(((
437 -Distance of UT sensor1 : 0316(H) = 790 (D)/10 = 79cm.
438 -)))
369 +(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​
439 439  
440 -(((
441 -Distance of UT sensor2 : 0318(H) = 792 (D)/10 = 79.2cm.
442 -)))
371 +== 2.4  Temperature Alarm Feature ==
443 443  
444 -(((
445 -Distance of UT sensor3 : 031A(H) = 794 (D)/10 = 79.4cm.
446 -)))
373 +LSN50V2-D20 work flow with Alarm feature.
447 447  
448 -(((
449 -Distance of UT sensor4 : 0315(H) = 789 (D)/10 = 78.9cm.
450 -)))
375 +[[image:image-20220623090437-1.png||height="747" width="1067"]]
451 451  
452 -
453 -)))
454 454  
455 -
456 -=== 2.4.4  Message Type ===
457 -
458 458  (((
459 -For a normal uplink payload, the message type is always 0x01.
379 +User can use (% style="color:#4472c4" %)**AT+18ALARM **(%%)command to set the alarm low limit or high limit. Device will check the temperature every minute, if the temperature lower than low limit or greater than high limit. LSN50v2-D20 will send an (% style="color:#4472c4" %)**Alarm packet base on Confirmed Uplink Mode**(%%) to server.
460 460  )))
461 461  
462 -(((
463 -Valid Message Type:
464 -)))
465 465  
383 +Below is an example of the Alarm Packet.
466 466  
467 -(% border="1" cellspacing="10" style="background-color:#ffffcc; width:499px" %)
468 -|=(% style="width: 160px;" %)**Message Type Code**|=(% style="width: 163px;" %)**Description**|=(% style="width: 173px;" %)**Payload**
469 -|(% style="width:160px" %)0x01|(% style="width:163px" %)Normal Uplink|(% style="width:173px" %)[[Normal Uplink Payload>>||anchor="H2.4A0200BUplinkPayload"]]
470 -|(% style="width:160px" %)0x02|(% style="width:163px" %)Reply configures info|(% style="width:173px" %)[[Configure Info Payload>>||anchor="H3.3A0GetFirmwareVersionInfo"]]
385 +[[image:image-20220623090437-2.png||height="618" width="1246"]]
471 471  
472 -(% aria-label="1654936589640-122.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654936589640-122.png||data-widget="image" height="248" width="806"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
473 473  
474 474  
389 +== 2.5  ​Configure LSN50v2-D20 ==
475 475  
476 -=== 2.4.5  Decode payload in The Things Network ===
391 +LSN50V2-D20 supports configuration via LoRaWAN downlink command or AT Commands.
477 477  
478 -While using TTN network, you can add the payload format to decode the payload.
393 +* Downlink command instructions for different platform: [[Use Note for Server>>doc:Main.WebHome]](IoT LoRaWAN Server)
394 +* AT Command Access Instructions: [[LINK>>path:#AT_Command]]
479 479  
480 -(% aria-label="1654936675588-151.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654936675588-151.png||data-widget="image" height="379" width="762"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
396 +There are two parts of commands: General one and Special for this model.
481 481  
482 -(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​(% title="Click and drag to resize" %)​
483 483  
484 -The payload decoder function for TTN is here:
485 485  
486 -LDDS04 TTN Payload Decoder: [[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDDS04/Decoder/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LLDS12/Decoder/]]
400 +=== 2.5.1 General Configure Commands ===
487 487  
402 +These commands are to configure:
488 488  
489 -**//function Decoder(bytes, port) {//**
404 +* General system settings like: uplink interval.
405 +* LoRaWAN protocol & radio related command.
490 490  
491 -**// var decode = {};//**
407 +These commands can be found on the wiki:  [[End Device AT Commands and Downlink Commands>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
492 492  
493 -**// var value=(bytes[0]<<8 | bytes[1]) & 0x3FFF;//**
494 494  
495 -**// decode.BatV= value/1000;//**
496 496  
497 -**// decode.EXTI_Trigger=(bytes[0] & 0x80)? "TRUE":"FALSE";//**
411 +=== 2.5.2 Sensor related commands ===
498 498  
499 -**// decode.distance1_cm=(bytes[2]<<8 | bytes[3])/10;//**
413 +(% class="wikigeneratedid" %)
414 +==== ====
500 500  
501 -**// decode.distance2_cm=(bytes[4]<<8 | bytes[5])/10;//**
416 +==== (% style="color:red" %)**Set Alarm Threshold:**(%%) ====
502 502  
503 -**// decode.distance3_cm=(bytes[6]<<8 | bytes[7])/10//**
418 +(% style="color:#4472c4" %)**1.  Set All Probes:**
504 504  
505 -**// decode.distance4_cm=(bytes[8]<<8 | bytes[9])/10;//**
420 +(% style="color:#037691" %)**AT+18ALARM=min,max**
506 506  
507 -**// decode.mes_type= bytes[10];//**
422 +* When min=0, and max≠0, Alarm trigger when higher than max
423 +* When min≠0, and max=0, Alarm trigger when lower than min
424 +* When min≠0 and max≠0, Alarm trigger when higher than max or lower than min
508 508  
509 509  
510 -**// if(!((bytes[0]==0x03)&&(bytes[10]==0x02~)~)~)//**
427 +**Example:**
511 511  
512 -**// {//**
429 + AT+18ALARM=-10,30  ~/~/ Alarm when < -10 or higher than 30.
513 513  
514 -**// return decode;//**
515 515  
516 -**// }//**
432 +* (% style="color:#037691" %)**Downlink Payload:**
517 517  
518 -**//}//**
434 +0x(0B F6 1E)   ~/~/ Same as AT+18ALARM=-10,30
519 519  
520 -(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​(% title="Click and drag to resize" %)​​
436 +(note: 0x1E= 30, 0xF6 means: 0xF6-0x100 = -10)
521 521  
522 -(((
523 -
524 -)))
525 525  
439 +(% style="color:#4472c4" %)**2.  Set Separate Probe:**
526 526  
441 +(% style="color:#037691" %)**AT+18ALARM=min,max,index**
527 527  
528 -== 2.5  Uplink Interval ==
443 +Index:
529 529  
530 -The LDDS04 by default uplink the sensor data every 20 minutes. User can change this interval by AT Command or LoRaWAN Downlink Command. See this link: [[Change Uplink Interval>>doc:Main.End Device AT Commands and Downlink Command.WebHome||anchor="H4.1ChangeUplinkInterval"]]
445 +* 1: Temperature_Red
446 +* 2: Temperature_White
447 +* 3: Temperature_Black
531 531  
532 532  
450 +**Example:**
533 533  
534 -== 2.6  ​Show Data in DataCake IoT Server ==
452 + AT+18ALARM=-10,30,1   ~/~/ Alarm when temperature_red < -10 or higher than 30.
535 535  
536 -(((
537 -[[DATACAKE>>url:https://datacake.co/]] provides a human friendly interface to show the sensor data, once we have data in TTN, we can use [[DATACAKE>>url:https://datacake.co/]] to connect to TTN and see the data in DATACAKE. Below are the steps:
538 -)))
539 539  
540 -(((
541 -
542 -)))
455 +* (% style="color:#037691" %)**Downlink Payload:**
543 543  
544 -(((
545 -(% style="color:blue" %)**Step 1**(%%)**: Be sure that your device is programmed and properly connected to the network at this time.**
546 -)))
457 +0x(0B F6 1E 01)   ~/~/ Same as AT+18ALARM=-10,30,1
547 547  
548 -(((
549 -(% style="color:blue" %)**Step 2**(%%)**: To configure the Application to forward data to DATACAKE you will need to add integration. To add the DATACAKE integration, perform the following steps:**
550 -)))
459 +(note: 0x1E= 30, 0xF6 means: 0xF6-0x100 = -10)
551 551  
552 552  
553 -(% aria-label="1654592790040-760.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654592790040-760.png||data-widget="image"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​(% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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" %)​(%%)​
554 554  
463 +==== (% style="color:red" %)**Set Alarm Interval:**(%%) ====
555 555  
556 -(% aria-label="1654592800389-571.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654592800389-571.png||data-widget="image"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​(% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" 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="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" 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" %)​(%%)​
465 +The shortest time of two Alarm packet. (unit: min)
557 557  
467 +* (% style="color:#037691" %)**AT Command:**
558 558  
559 -(% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.**
469 +AT+ATDC=30  ~/~/ The shortest interval of two Alarm packets is 30 minutes, Means is there is an alarm packet uplink, there won't be another one in the next 30 minutes.
560 560  
561 -(% style="color:blue" %)**Step 4**(%%)**: Create LDDS04 product. **
562 562  
472 +* (% style="color:#037691" %)**Downlink Payload:**
563 563  
474 +0x(0D 00 1E)     **~-~-->** Set AT+ATDC=0x 00 1E = 30 minutes
564 564  
565 -(% aria-label="image-20220611164604-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-7.png||data-widget="image"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
566 566  
567 567  
478 +==== (% style="color:red" %)**Poll the Alarm settings:**(%%) ====
568 568  
569 -(% aria-label="image-20220611164604-8.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-8.png||data-widget="image"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
480 +Send a LoRaWAN downlink to ask device send Alarm settings.
570 570  
482 +* (% style="color:#037691" %)**Downlink Payload:**
571 571  
572 -(% aria-label="image-20220611164604-9.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-9.png||data-widget="image"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
484 +0x0E 01
573 573  
574 574  
575 -(% style="color:blue" %)**Step 5**(%%)**: ** **add payload decode**
487 +**Example:**
576 576  
489 +[[image:1655948182791-225.png]]
577 577  
578 -(% aria-label="image-20220611164604-10.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-10.png||data-widget="image" height="394" width="923"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
491 +**Explain:**
579 579  
493 +* Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message.
580 580  
581 -(% aria-label="image-20220611164604-11.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-11.png||data-widget="image" height="303" width="931"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
582 582  
583 583  
584 -(% aria-label="image-20220611164604-12.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-12.png||data-widget="image" height="331" width="897"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
497 +== 2.6  LED Status ==
585 585  
499 +LSN50-v2-D20 has an internal LED, it will active in below situation:
586 586  
587 -After added, the sensor data arrive TTN, it will also arrive and show in Datacake.
501 +* LED will fast blink 5 times when boot, this means the temperature sensor is detected.
502 +* After the fast blinks on boot, the LED will flash once which means device is trying to send Join Packet to the network.
503 +* If device successful join LoRaWAN network, the LED will be solid on for 5 seconds.
588 588  
589 -(% aria-label="image-20220611164604-13.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-13.png||data-widget="image" height="215" width="899"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
590 590  
591 591  
592 -(% aria-label="image-20220611164604-14.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-14.png||data-widget="image" height="632" width="824"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
593 593  
508 +== 2.7  Button Function ==
594 594  
595 -(% aria-label="image-20220611164604-15.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-15.png||data-widget="image"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
510 +**Internal RESET button:**
596 596  
512 +Press this button will reboot the device. Device will process OTAA Join to network again.
597 597  
598 -(% aria-label="image-20220611164604-16.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611164604-16.png||data-widget="image" height="409" width="833"]](% 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" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​
599 599  
515 +(% style="color:inherit; font-family:inherit; font-size:26px" %)2.8  ​Firmware Change Log
600 600  
517 +**Firmware download link: **[[https:~~/~~/www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Firmware/LSN50.hex/>>url:https://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Firmware/LSN50.hex/]]
601 601  
602 -== 2.7  Frequency Plans ==
603 603  
604 -(((
605 -The LDDS45 uses OTAA mode and below frequency plans by default. If user want to use it with different frequency plan, please refer the AT command sets.
606 -)))
607 -
608 -
609 -
610 -=== 2.7.1  EU863-870 (EU868) ===
611 -
612 -(((
613 -(% style="color:blue" %)**Uplink:**
614 -)))
615 -
616 -(((
617 -868.1 - SF7BW125 to SF12BW125
618 -)))
619 -
620 -(((
621 -868.3 - SF7BW125 to SF12BW125 and SF7BW250
622 -)))
623 -
624 -(((
625 -868.5 - SF7BW125 to SF12BW125
626 -)))
627 -
628 -(((
629 -867.1 - SF7BW125 to SF12BW125
630 -)))
631 -
632 -(((
633 -867.3 - SF7BW125 to SF12BW125
634 -)))
635 -
636 -(((
637 -867.5 - SF7BW125 to SF12BW125
638 -)))
639 -
640 -(((
641 -867.7 - SF7BW125 to SF12BW125
642 -)))
643 -
644 -(((
645 -867.9 - SF7BW125 to SF12BW125
646 -)))
647 -
648 -(((
649 -868.8 - FSK
650 -)))
651 -
652 -(((
653 -
654 -)))
655 -
656 -(((
657 -(% style="color:blue" %)**Downlink:**
658 -)))
659 -
660 -(((
661 -Uplink channels 1-9 (RX1)
662 -)))
663 -
664 -(((
665 -869.525 - SF9BW125 (RX2 downlink only)
666 -)))
667 -
668 -
669 -
670 -=== 2.7.2  US902-928(US915) ===
671 -
672 -(((
673 -
674 -
675 -(((
676 -Used in USA, Canada, and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
677 -)))
678 -
679 -(((
680 -To make sure the end node supports all sub band by default. In the OTAA Join process, the end node will use frequency 1 from sub-band1, then frequency 1 from sub-band2, then frequency 1 from sub-band3, etc to process the OTAA join.
681 -)))
682 -
683 -(((
684 -
685 -)))
686 -
687 -(((
688 -After Join success, the end node will switch to the correct sub band by:
689 -)))
690 -
691 -* (((
692 -Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
693 -)))
694 -* (((
695 -Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include)
696 -)))
697 -
698 -
699 -)))
700 -
701 -
702 -
703 -
704 -
705 -=== 2.7.3  CN470-510 (CN470) ===
706 -
707 -(((
708 -Used in China, Default use CHE=1
709 -)))
710 -
711 -(((
712 -(% style="color:blue" %)**Uplink:**
713 -)))
714 -
715 -(((
716 -486.3 - SF7BW125 to SF12BW125
717 -)))
718 -
719 -(((
720 -486.5 - SF7BW125 to SF12BW125
721 -)))
722 -
723 -(((
724 -486.7 - SF7BW125 to SF12BW125
725 -)))
726 -
727 -(((
728 -486.9 - SF7BW125 to SF12BW125
729 -)))
730 -
731 -(((
732 -487.1 - SF7BW125 to SF12BW125
733 -)))
734 -
735 -(((
736 -487.3 - SF7BW125 to SF12BW125
737 -)))
738 -
739 -(((
740 -487.5 - SF7BW125 to SF12BW125
741 -)))
742 -
743 -(((
744 -487.7 - SF7BW125 to SF12BW125
745 -)))
746 -
747 -(((
748 -
749 -)))
750 -
751 -(((
752 -(% style="color:blue" %)**Downlink:**
753 -)))
754 -
755 -(((
756 -506.7 - SF7BW125 to SF12BW125
757 -)))
758 -
759 -(((
760 -506.9 - SF7BW125 to SF12BW125
761 -)))
762 -
763 -(((
764 -507.1 - SF7BW125 to SF12BW125
765 -)))
766 -
767 -(((
768 -507.3 - SF7BW125 to SF12BW125
769 -)))
770 -
771 -(((
772 -507.5 - SF7BW125 to SF12BW125
773 -)))
774 -
775 -(((
776 -507.7 - SF7BW125 to SF12BW125
777 -)))
778 -
779 -(((
780 -507.9 - SF7BW125 to SF12BW125
781 -)))
782 -
783 -(((
784 -508.1 - SF7BW125 to SF12BW125
785 -)))
786 -
787 -(((
788 -505.3 - SF12BW125 (RX2 downlink only)
789 -)))
790 -
791 -
792 -
793 -=== 2.7.4  AU915-928(AU915) ===
794 -
795 -(((
796 -
797 -
798 -(((
799 -Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
800 -)))
801 -
802 -(((
803 -To make sure the end node supports all sub band by default. In the OTAA Join process, the end node will use frequency 1 from sub-band1, then frequency 1 from sub-band2, then frequency 1 from sub-band3, etc to process the OTAA join.
804 -)))
805 -
806 -(((
807 -
808 -)))
809 -
810 -(((
811 -After Join success, the end node will switch to the correct sub band by:
812 -)))
813 -
814 -* (((
815 -Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
816 -)))
817 -* (((
818 -Use the Join successful sub-band if the server doesn’t include sub-band info in the OTAA Join Accept message ( TTN v2 doesn't include)
819 -)))
820 -
821 -
822 -)))
823 -
824 -=== 2.7.5  AS920-923 & AS923-925 (AS923) ===
825 -
826 -(((
827 -(% style="color:blue" %)**Default Uplink channel:**
828 -)))
829 -
830 -(((
831 -923.2 - SF7BW125 to SF10BW125
832 -)))
833 -
834 -(((
835 -923.4 - SF7BW125 to SF10BW125
836 -)))
837 -
838 -(((
839 -
840 -)))
841 -
842 -(((
843 -(% style="color:blue" %)**Additional Uplink Channel**:
844 -)))
845 -
846 -(((
847 -(OTAA mode, channel added by JoinAccept message)
848 -)))
849 -
850 -(((
851 -
852 -)))
853 -
854 -(((
855 -(% style="color:blue" %)**AS920~~AS923 for Japan, Malaysia, Singapore**:
856 -)))
857 -
858 -(((
859 -922.2 - SF7BW125 to SF10BW125
860 -)))
861 -
862 -(((
863 -922.4 - SF7BW125 to SF10BW125
864 -)))
865 -
866 -(((
867 -922.6 - SF7BW125 to SF10BW125
868 -)))
869 -
870 -(((
871 -922.8 - SF7BW125 to SF10BW125
872 -)))
873 -
874 -(((
875 -923.0 - SF7BW125 to SF10BW125
876 -)))
877 -
878 -(((
879 -922.0 - SF7BW125 to SF10BW125
880 -)))
881 -
882 -(((
883 -
884 -)))
885 -
886 -(((
887 -(% style="color:blue" %)**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**:
888 -)))
889 -
890 -(((
891 -923.6 - SF7BW125 to SF10BW125
892 -)))
893 -
894 -(((
895 -923.8 - SF7BW125 to SF10BW125
896 -)))
897 -
898 -(((
899 -924.0 - SF7BW125 to SF10BW125
900 -)))
901 -
902 -(((
903 -924.2 - SF7BW125 to SF10BW125
904 -)))
905 -
906 -(((
907 -924.4 - SF7BW125 to SF10BW125
908 -)))
909 -
910 -(((
911 -924.6 - SF7BW125 to SF10BW125
912 -)))
913 -
914 -(((
915 -
916 -)))
917 -
918 -(((
919 -(% style="color:blue" %)**Downlink:**
920 -)))
921 -
922 -(((
923 -Uplink channels 1-8 (RX1)
924 -)))
925 -
926 -(((
927 -923.2 - SF10BW125 (RX2)
928 -)))
929 -
930 -
931 -
932 -=== 2.7.6  KR920-923 (KR920) ===
933 -
934 -(((
935 -(% style="color:blue" %)**Default channel:**
936 -)))
937 -
938 -(((
939 -922.1 - SF7BW125 to SF12BW125
940 -)))
941 -
942 -(((
943 -922.3 - SF7BW125 to SF12BW125
944 -)))
945 -
946 -(((
947 -922.5 - SF7BW125 to SF12BW125
948 -)))
949 -
950 -(((
951 -
952 -)))
953 -
954 -(((
955 -(% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)**
956 -)))
957 -
958 -(((
959 -922.1 - SF7BW125 to SF12BW125
960 -)))
961 -
962 -(((
963 -922.3 - SF7BW125 to SF12BW125
964 -)))
965 -
966 -(((
967 -922.5 - SF7BW125 to SF12BW125
968 -)))
969 -
970 -(((
971 -922.7 - SF7BW125 to SF12BW125
972 -)))
973 -
974 -(((
975 -922.9 - SF7BW125 to SF12BW125
976 -)))
977 -
978 -(((
979 -923.1 - SF7BW125 to SF12BW125
980 -)))
981 -
982 -(((
983 -923.3 - SF7BW125 to SF12BW125
984 -)))
985 -
986 -(((
987 -
988 -)))
989 -
990 -(((
991 -(% style="color:blue" %)**Downlink:**
992 -)))
993 -
994 -(((
995 -Uplink channels 1-7(RX1)
996 -)))
997 -
998 -(((
999 -921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125)
1000 -)))
1001 -
1002 -
1003 -
1004 -=== 2.7.7  IN865-867 (IN865) ===
1005 -
1006 -(((
1007 -(% style="color:blue" %)**Uplink:**
1008 -)))
1009 -
1010 -(((
1011 -865.0625 - SF7BW125 to SF12BW125
1012 -)))
1013 -
1014 -(((
1015 -865.4025 - SF7BW125 to SF12BW125
1016 -)))
1017 -
1018 -(((
1019 -865.9850 - SF7BW125 to SF12BW125
1020 -)))
1021 -
1022 -(((
1023 -
1024 -)))
1025 -
1026 -(((
1027 -(% style="color:blue" %)**Downlink:**
1028 -)))
1029 -
1030 -(((
1031 -Uplink channels 1-3 (RX1)
1032 -)))
1033 -
1034 -(((
1035 -866.550 - SF10BW125 (RX2)
1036 -)))
1037 -
1038 -
1039 -
1040 -== 2.8  LED Indicator ==
1041 -
1042 -The LDDS04 has an internal LED which is used to show the status of different state.
1043 -
1044 -
1045 -* After LDDS04 is turned on, if the 4 channels converter is detected, the LED will (% style="color:green" %)**flash 4 times quickly**(%%).  
1046 -* (% style="color:green" %)**Blink once**(%%) when device transmit a packet.
1047 -* Solid ON for (% style="color:green" %)**Five Seconds**(%%) when OTAA Join Successfully.
1048 -
1049 -== 2.9  ​Firmware Change Log ==
1050 -
1051 -
1052 -**Firmware download link: **[[http:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LDDS04/Firmware/>>url:http://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LLDS12/Firmware/]]
1053 -
1054 -
1055 1055  **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
1056 1056  
1057 1057  
1655948182791-225.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +95.1 KB
Content
1655948911890-793.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +138.2 KB
Content
image-20220623090437-1.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +117.2 KB
Content
image-20220623090437-2.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +120.4 KB
Content
image-20220623094856-3.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +102.7 KB
Content