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.2
edited by Xiaoling
on 2022/06/23 09:57
Change comment: There is no comment for this version

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,973 +349,207 @@
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  
1058 1058  
524 += 3.  Battery & How to replace =
1059 1059  
1060 -= 3.  Configure LDDS04 via AT Command or LoRaWAN Downlink =
526 +== 3.1  Battery Type ==
1061 1061  
1062 1062  (((
1063 -(((
1064 -Use can configure LDDS04 via AT Command or LoRaWAN Downlink.
529 +LSN50V2-D2X is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter.
1065 1065  )))
1066 -)))
1067 1067  
1068 -* (((
1069 1069  (((
1070 -AT Command Connection: See [[FAQ>>||anchor="H6.A0FAQ"]].
533 +The discharge curve is not linear so can't simply use percentage to show the battery level. Below is the battery performance.
1071 1071  )))
1072 -)))
1073 -* (((
1074 -(((
1075 -LoRaWAN Downlink instruction for different platforms: [[IoT LoRaWAN Server>>doc:Main.WebHome]]
1076 -)))
1077 -)))
1078 1078  
1079 -(((
1080 -(((
1081 -
1082 -)))
1083 -
1084 -(((
1085 -There are two kinds of commands to configure LDDS04, they are:
1086 -)))
1087 -)))
1088 -
1089 -* (((
1090 -(((
1091 -(% style="color:#4f81bd" %)** General Commands**.
1092 -)))
1093 -)))
1094 -
1095 -(((
1096 -(((
1097 -These commands are to configure:
1098 -)))
1099 -)))
1100 -
1101 -* (((
1102 -(((
1103 -General system settings like: uplink interval.
1104 -)))
1105 -)))
1106 -* (((
1107 -(((
1108 -LoRaWAN protocol & radio related command.
1109 -)))
1110 -)))
1111 -
1112 -(((
1113 -(((
1114 -They are same for all Dragino Device which support DLWS-005 LoRaWAN Stack. These commands can be found on the wiki: [[End Device AT Commands and Downlink Command>>doc:Main.End Device AT Commands and Downlink Command.WebHome]]
1115 -)))
1116 -)))
1117 -
1118 -(((
1119 -(((
1120 -
1121 -)))
1122 -)))
1123 -
1124 -* (((
1125 -(((
1126 -(% style="color:#4f81bd" %)** Commands special design for LDDS04**
1127 -)))
1128 -)))
1129 -
1130 -(((
1131 -(((
1132 -These commands only valid for LDDS04, as below:(% title="Click and drag to resize" %)​
1133 -)))
1134 -)))
1135 -
1136 -(% 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" %)​
1137 -
1138 -
1139 -
1140 -
1141 -== 3.1  Set Transmit Interval Time ==
1142 -
1143 -Feature: Change LoRaWAN End Node Transmit Interval.
1144 -
1145 -(% style="color:#037691" %)**AT Command: AT+TDC**
1146 -
1147 -(% aria-label="image-20220610173409-7.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220610173409-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" %)​​(% 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" %)​(%%)​
1148 -
1149 -
1150 -(((
1151 -(% style="color:#037691" %)**Downlink Command: 0x01**
1152 -)))
1153 -
1154 -(((
1155 -(((
1156 -Format: Command Code (0x01) followed by 3 bytes time value.
1157 -
1158 -(((
1159 -If the downlink payload=0100003C, it means set the END Node's Transmit Interval to 0x00003C=60(S), while type code is 01.
1160 -)))
1161 -
1162 -* Example 1: Downlink Payload: 0100001E ~/~/ Set Transmit Interval (TDC) = 30 seconds
1163 -* Example 2: Downlink Payload: 0100003C ~/~/ Set Transmit Interval (TDC) = 60 seconds
1164 -)))
1165 -)))
1166 -
1167 -
1168 -
1169 -== 3.2  Set Interrupt Mode ==
1170 -
1171 -(((
1172 -Feature, Set Interrupt mode for GPIO_EXIT.
1173 -)))
1174 -
1175 -(((
1176 -(% style="color:#037691" %)**Downlink Command: AT+INTMOD**
1177 -)))
1178 -
1179 -(% aria-label="image-20220610174917-9.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220610174917-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" %)​​(% 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" %)​(%%)​
1180 -
1181 -
1182 -(((
1183 -(% style="color:#037691" %)**Downlink Command: 0x06**
1184 -)))
1185 -
1186 -(((
1187 -Format: Command Code (0x06) followed by 3 bytes.
1188 -)))
1189 -
1190 -(((
1191 -(((
1192 -This means that the interrupt mode of the end node is set to 0x000003=3 (rising edge trigger), and the type code is 06.
1193 -)))
1194 -)))
1195 -
1196 -* (((
1197 -Example 1: Downlink Payload: 06000000 ~/~/ Turn off interrupt mode
1198 -)))
1199 -* (((
1200 -Example 2: Downlink Payload: 06000003 ~/~/ Set the interrupt mode to rising edge trigger
1201 -)))
1202 -
1203 -(((
1204 -
1205 -)))
1206 -
1207 -(((
1208 -
1209 -)))
1210 -
1211 -== 3.3  Get Firmware Version Info ==
1212 -
1213 -Feature: use downlink to get firmware version.
1214 -
1215 -(% style="color:#037691" %)**Downlink Command: 0x26**
1216 -
1217 -(% aria-label="image-20220607171917-10.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220607171917-10.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" %)​
1218 -
1219 -* Reply to the confirmation package: 26 01
1220 -* Reply to non-confirmed packet: 26 00
1221 -
1222 -Device will send an uplink after got this downlink command. With below payload:
1223 -
1224 -Configures info payload:
1225 -
1226 -(% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:510px" %)
1227 -|=(((
1228 -**Size(bytes)**
1229 -)))|=**1**|=**1**|=**1**|=**2**|=**1**|=**4**|=**1**
1230 -|**Value**|Software Type|(((
1231 -Frequency
1232 -
1233 -Band
1234 -)))|Sub-band|(((
1235 -Firmware
1236 -
1237 -Version
1238 -)))|Sensor Type|Reserve|(((
1239 -[[Message Type>>||anchor="H2.4.4A0MessageType"]]
1240 -Always 0x02
1241 -)))
1242 -
1243 -(% aria-label="1654939064380-661.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654939064380-661.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" %)​
1244 -
1245 -
1246 -**Software Type**: Always 0x03 for LDDS04
1247 -
1248 -
1249 -**Frequency Band**:
1250 -
1251 -*0x01: EU868
1252 -
1253 -*0x02: US915
1254 -
1255 -*0x03: IN865
1256 -
1257 -*0x04: AU915
1258 -
1259 -*0x05: KZ865
1260 -
1261 -*0x06: RU864
1262 -
1263 -*0x07: AS923
1264 -
1265 -*0x08: AS923-1
1266 -
1267 -*0x09: AS923-2
1268 -
1269 -*0xa0: AS923-3
1270 -
1271 -
1272 -**Sub-Band**: value 0x00 ~~ 0x08
1273 -
1274 -
1275 -**Firmware Version**: 0x0100, Means: v1.0.0 version
1276 -
1277 -
1278 -**Sensor Type**:
1279 -
1280 -0x01: LSE01
1281 -
1282 -0x02: LDDS75
1283 -
1284 -0x03: LDDS20
1285 -
1286 -0x04: LLMS01
1287 -
1288 -0x05: LSPH01
1289 -
1290 -0x06: LSNPK01
1291 -
1292 -0x07: LLDS12
1293 -
1294 -
1295 -
1296 -= 4. Battery & How to replace =
1297 -
1298 -== 4.1 Battery Type ==
1299 -
1300 -(((
1301 -LDDS04 is equipped with a [[8500mAH ER26500 Li-SOCI2 battery>>url:https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/ER26500/]]. The battery is un-rechargeable battery with low discharge rate targeting for 8~~10 years use. This type of battery is commonly used in IoT target for long-term running, such as water meter.
1302 -)))
1303 -
1304 -(((
1305 -The discharge curve is not linear so can’t simply use percentage to show the battery level. Below is the battery performance.
1306 -)))
1307 -
1308 1308  (% aria-label="1654593587246-335.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654593587246-335.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; left:0px; top:-15px" 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:url(~"http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" tabindex="-1" %)​(%%)​
1309 1309  
538 +Minimum Working Voltage for the LSN50V2-D2X:
1310 1310  
1311 -Minimum Working Voltage for the LDDS04:
540 +LSN50V2-D2X:  2.45v ~~ 3.6v
1312 1312  
1313 -LDDS04:  2.45v ~~ 3.6v
1314 1314  
1315 1315  
544 +== 4.2  Replace Battery ==
1316 1316  
1317 -== 4.2 Replace Battery ==
1318 -
1319 1319  (((
1320 1320  Any battery with range 2.45 ~~ 3.6v can be a replacement. We recommend to use Li-SOCl2 Battery.
1321 1321  )))
... ... @@ -1326,7 +1326,7 @@
1326 1326  
1327 1327  
1328 1328  
1329 -== 4.3 Power Consumption Analyze ==
556 +== 4.3  Power Consumption Analyze ==
1330 1330  
1331 1331  (((
1332 1332  Dragino Battery powered product are all runs in Low Power mode. We have an update battery calculator which base on the measurement of the real device. User can use this calculator to check the battery life and calculate the battery life if want to use different transmit interval.
... ... @@ -1339,7 +1339,7 @@
1339 1339  
1340 1340  **Step 1 :**  Downlink the up-to-date DRAGINO_Battery_Life_Prediction_Table.xlsx from:
1341 1341  
1342 -[[https:~~/~~/www.dragino.com/downloads/index.pHp?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]]
569 +[[https:~~/~~/www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/Battery_Analyze/]]
1343 1343  
1344 1344  
1345 1345  **Step 2 :**  Open it and choose
... ... @@ -1350,19 +1350,21 @@
1350 1350  
1351 1351  And the Life expectation in difference case will be shown on the right.
1352 1352  
1353 -(% aria-label="1654593605679-189.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654593605679-189.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"]][[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:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left:0px; top:-15px" 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; left:0px; top:-15px" 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:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left:0px; top:-15px" 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; left:0px; top:-15px" 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:url(~"http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" tabindex="-1" %)​(%%)​
580 +[[image:image-20220623094856-3.jpeg||height="393" width="1214"]]
1354 1354  
1355 1355  
583 +(% 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"]](% 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"]](% 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; left:0px; top:-15px" 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:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png) rgba(220, 220, 220, 0.5); left:0px; top:-15px" 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; left:0px; top:-15px" 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:url(~"http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" tabindex="-1" %)​(%%)​
584 +
1356 1356  The battery related documents as below:
1357 1357  
1358 1358  * (((
1359 -[[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]],
588 +[[Battery Dimension>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]],
1360 1360  )))
1361 1361  * (((
1362 -[[Lithium-Thionyl Chloride Battery  datasheet>>url:https://www.dragino.com/downloads/downloads/datasheet/Battery/ER26500/ER26500_Datasheet-EN.pdf]],
591 +[[Lithium-Thionyl Chloride Battery  datasheet>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]],
1363 1363  )))
1364 1364  * (((
1365 -[[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]]
594 +[[Lithium-ion Battery-Capacitor datasheet>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]], [[Tech Spec>>https://www.dragino.com/downloads/index.php?dir=datasheet/Battery/]]
1366 1366  )))
1367 1367  
1368 1368  (% aria-label="image-20220607172042-11.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220607172042-11.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"]][[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; left:0px; top:-15px" 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:url(~"http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png~") rgba(220, 220, 220, 0.5); left:0px; top:-15px" tabindex="-1" %)​(%%)​
... ... @@ -1369,26 +1369,32 @@
1369 1369  
1370 1370  
1371 1371  
1372 -=== 4.3.1 ​Battery Note ===
601 +=== 4.3.1  ​Battery Note ===
1373 1373  
1374 1374  (((
604 +(((
1375 1375  The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased.
1376 1376  )))
607 +)))
1377 1377  
1378 1378  
1379 1379  
1380 -=== ​4.3.2 Replace the battery ===
611 +=== ​4.3.2  Replace the battery ===
1381 1381  
1382 1382  (((
1383 -You can change the battery in the LSPH01.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won’t be voltage drop between battery and main board.
614 +(((
615 +You can change the battery in the LSN50V2-D2X.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won’t be voltage drop between battery and main board.
1384 1384  )))
1385 1385  
1386 1386  
1387 1387  (((
1388 -The default battery pack of LSPH01 includes a ER26500 plus super capacitor. If user cant find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes).
620 +The default battery pack of LSN50V2-D2X includes a ER26500 plus super capacitor. If user can't find this pack locally, they can find ER26500 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes)
1389 1389  )))
1390 1390  
623 +
624 +)))
1391 1391  
626 +
1392 1392  = 5.  Use AT Command =
1393 1393  
1394 1394  == 5.1  Access AT Commands ==
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