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

From version 257.1
edited by Xiaoling
on 2022/06/23 09:36
Change comment: Uploaded new attachment "1655948182791-225.png", version {1}
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,8 +84,6 @@
84 84  * Sleeping Mode: 20uA
85 85  * LoRaWAN Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm
86 86  
87 -
88 -
89 89  == ​1.3  Features ==
90 90  
91 91  * LoRaWAN v1.0.3 Class A
... ... @@ -144,8 +144,6 @@
144 144  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]]
145 145  )))
146 146  
147 -
148 -
149 149  == 1.6  Pin Definitions and Switch ==
150 150  
151 151  (% class="wikigeneratedid" %)
... ... @@ -181,7 +181,6 @@
181 181  1. When boot the device in flash mode
182 182  1. Send an uplink packet
183 183  
184 -
185 185  == 1.7  Hardware Change log ==
186 186  
187 187  LSN50v2-D20 v1.0:  Release.
... ... @@ -364,7 +364,7 @@
364 364  
365 365  === 2.3.2  Decode payload in The Things Network ===
366 366  
367 -In TTN, use can add a custom payload so it shows friendly.
362 +In TTN, use can add a custom payload so it shows friendly. 
368 368  
369 369  In the page Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder to add the decoder from:
370 370  
... ... @@ -373,7 +373,7 @@
373 373  
374 374  (% 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" %)​
375 375  
376 -== 2.5  Temperature Alarm Feature ==
371 +== 2.4  Temperature Alarm Feature ==
377 377  
378 378  LSN50V2-D20 work flow with Alarm feature.
379 379  
... ... @@ -380,7 +380,9 @@
380 380  [[image:image-20220623090437-1.png||height="747" width="1067"]]
381 381  
382 382  
383 -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.
378 +(((
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.
380 +)))
384 384  
385 385  
386 386  Below is an example of the Alarm Packet.
... ... @@ -389,527 +389,137 @@
389 389  
390 390  
391 391  
392 -== 2.6  ​Show Data in DataCake IoT Server ==
389 +== 2.5  ​Configure LSN50v2-D20 ==
393 393  
394 -(((
395 -[[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:
396 -)))
391 +LSN50V2-D20 supports configuration via LoRaWAN downlink command or AT Commands.
397 397  
398 -(((
399 -
400 -)))
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]]
401 401  
402 -(((
403 -(% style="color:blue" %)**Step 1**(%%)**: Be sure that your device is programmed and properly connected to the network at this time.**
404 -)))
396 +There are two parts of commands: General one and Special for this model.
405 405  
406 -(((
407 -(% 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:**
408 -)))
409 409  
410 410  
411 -(% 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" %)​(%%)​
400 +=== 2.5.1 General Configure Commands ===
412 412  
402 +These commands are to configure:
413 413  
414 -(% 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" %)​(%%)​
404 +* General system settings like: uplink interval.
405 +* LoRaWAN protocol & radio related command.
415 415  
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]]
416 416  
417 -(% style="color:blue" %)**Step 3**(%%)**: Create an account or log in Datacake.**
418 418  
419 -(% style="color:blue" %)**Step 4**(%%)**: Create LDDS04 product. **
420 420  
411 +=== 2.5.2 Sensor related commands ===
421 421  
413 +(% class="wikigeneratedid" %)
414 +==== ====
422 422  
423 -(% 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" %)
416 +==== (% style="color:red" %)**Set Alarm Threshold:**(%%) ====
424 424  
418 +(% style="color:#4472c4" %)**1.  Set All Probes:**
425 425  
420 +(% style="color:#037691" %)**AT+18ALARM=min,max**
426 426  
427 -(% 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" %)​
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
428 428  
429 429  
430 -(% 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" %)​
427 +**Example:**
431 431  
429 + AT+18ALARM=-10,30  ~/~/ Alarm when < -10 or higher than 30.
432 432  
433 -(% style="color:blue" %)**Step 5**(%%)**: ** **add payload decode**
434 434  
432 +* (% style="color:#037691" %)**Downlink Payload:**
435 435  
436 -(% 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" %)​
434 +0x(0B F6 1E)   ~/~/ Same as AT+18ALARM=-10,30
437 437  
436 +(note: 0x1E= 30, 0xF6 means: 0xF6-0x100 = -10)
438 438  
439 -(% 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" %)​
440 440  
439 +(% style="color:#4472c4" %)**2.  Set Separate Probe:**
441 441  
442 -(% 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" %)​
441 +(% style="color:#037691" %)**AT+18ALARM=min,max,index**
443 443  
443 +Index:
444 444  
445 -After added, the sensor data arrive TTN, it will also arrive and show in Datacake.
445 +* 1: Temperature_Red
446 +* 2: Temperature_White
447 +* 3: Temperature_Black
446 446  
447 -(% 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" %)​
448 448  
450 +**Example:**
449 449  
450 -(% 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" %)​
452 + AT+18ALARM=-10,30,1   ~/~/ Alarm when temperature_red < -10 or higher than 30.
451 451  
452 452  
453 -(% 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" %)​
455 +* (% style="color:#037691" %)**Downlink Payload:**
454 454  
457 +0x(0B F6 1E 01)   ~/~/ Same as AT+18ALARM=-10,30,1
455 455  
456 -(% 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" %)
459 +(note: 0x1E= 30, 0xF6 means: 0xF6-0x100 = -10)
457 457  
458 458  
459 459  
460 -== 2.7  Frequency Plans ==
463 +==== (% style="color:red" %)**Set Alarm Interval:**(%%) ====
461 461  
462 -(((
463 -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.
464 -)))
465 +The shortest time of two Alarm packet. (unit: min)
465 465  
467 +* (% style="color:#037691" %)**AT Command:**
466 466  
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.
467 467  
468 -=== 2.7.1  EU863-870 (EU868) ===
469 469  
470 -(((
471 -(% style="color:blue" %)**Uplink:**
472 -)))
472 +* (% style="color:#037691" %)**Downlink Payload:**
473 473  
474 -(((
475 -868.1 - SF7BW125 to SF12BW125
476 -)))
474 +0x(0D 00 1E)     **~-~-->** Set AT+ATDC=0x 00 1E = 30 minutes
477 477  
478 -(((
479 -868.3 - SF7BW125 to SF12BW125 and SF7BW250
480 -)))
481 481  
482 -(((
483 -868.5 - SF7BW125 to SF12BW125
484 -)))
485 485  
486 -(((
487 -867.1 - SF7BW125 to SF12BW125
488 -)))
478 +==== (% style="color:red" %)**Poll the Alarm settings:**(%%) ====
489 489  
490 -(((
491 -867.3 - SF7BW125 to SF12BW125
492 -)))
480 +Send a LoRaWAN downlink to ask device send Alarm settings.
493 493  
494 -(((
495 -867.5 - SF7BW125 to SF12BW125
496 -)))
482 +* (% style="color:#037691" %)**Downlink Payload:**
497 497  
498 -(((
499 -867.7 - SF7BW125 to SF12BW125
500 -)))
484 +0x0E 01
501 501  
502 -(((
503 -867.9 - SF7BW125 to SF12BW125
504 -)))
505 505  
506 -(((
507 -868.8 - FSK
508 -)))
487 +**Example:**
509 509  
510 -(((
511 -
512 -)))
489 +[[image:1655948182791-225.png]]
513 513  
514 -(((
515 -(% style="color:blue" %)**Downlink:**
516 -)))
491 +**Explain:**
517 517  
518 -(((
519 -Uplink channels 1-9 (RX1)
520 -)))
493 +* Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message.
521 521  
522 -(((
523 -869.525 - SF9BW125 (RX2 downlink only)
524 -)))
525 525  
526 526  
497 +== 2.6  LED Status ==
527 527  
528 -=== 2.7.2  US902-928(US915) ===
499 +LSN50-v2-D20 has an internal LED, it will active in below situation:
529 529  
530 -(((
531 -
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.
532 532  
533 -(((
534 -Used in USA, Canada, and South America. Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
535 -)))
536 536  
537 -(((
538 -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.
539 -)))
540 540  
541 -(((
542 -
543 -)))
544 544  
545 -(((
546 -After Join success, the end node will switch to the correct sub band by:
547 -)))
508 +== 2.7  Button Function ==
548 548  
549 -* (((
550 -Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
551 -)))
552 -* (((
553 -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)
554 -)))
510 +**Internal RESET button:**
555 555  
556 -
557 -)))
512 +Press this button will reboot the device. Device will process OTAA Join to network again.
558 558  
559 559  
515 +(% style="color:inherit; font-family:inherit; font-size:26px" %)2.8  ​Firmware Change Log
560 560  
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/]]
561 561  
562 562  
563 -=== 2.7.3  CN470-510 (CN470) ===
564 -
565 -(((
566 -Used in China, Default use CHE=1
567 -)))
568 -
569 -(((
570 -(% style="color:blue" %)**Uplink:**
571 -)))
572 -
573 -(((
574 -486.3 - SF7BW125 to SF12BW125
575 -)))
576 -
577 -(((
578 -486.5 - SF7BW125 to SF12BW125
579 -)))
580 -
581 -(((
582 -486.7 - SF7BW125 to SF12BW125
583 -)))
584 -
585 -(((
586 -486.9 - SF7BW125 to SF12BW125
587 -)))
588 -
589 -(((
590 -487.1 - SF7BW125 to SF12BW125
591 -)))
592 -
593 -(((
594 -487.3 - SF7BW125 to SF12BW125
595 -)))
596 -
597 -(((
598 -487.5 - SF7BW125 to SF12BW125
599 -)))
600 -
601 -(((
602 -487.7 - SF7BW125 to SF12BW125
603 -)))
604 -
605 -(((
606 -
607 -)))
608 -
609 -(((
610 -(% style="color:blue" %)**Downlink:**
611 -)))
612 -
613 -(((
614 -506.7 - SF7BW125 to SF12BW125
615 -)))
616 -
617 -(((
618 -506.9 - SF7BW125 to SF12BW125
619 -)))
620 -
621 -(((
622 -507.1 - SF7BW125 to SF12BW125
623 -)))
624 -
625 -(((
626 -507.3 - SF7BW125 to SF12BW125
627 -)))
628 -
629 -(((
630 -507.5 - SF7BW125 to SF12BW125
631 -)))
632 -
633 -(((
634 -507.7 - SF7BW125 to SF12BW125
635 -)))
636 -
637 -(((
638 -507.9 - SF7BW125 to SF12BW125
639 -)))
640 -
641 -(((
642 -508.1 - SF7BW125 to SF12BW125
643 -)))
644 -
645 -(((
646 -505.3 - SF12BW125 (RX2 downlink only)
647 -)))
648 -
649 -
650 -
651 -=== 2.7.4  AU915-928(AU915) ===
652 -
653 -(((
654 -
655 -
656 -(((
657 -Frequency band as per definition in LoRaWAN 1.0.3 Regional document.
658 -)))
659 -
660 -(((
661 -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.
662 -)))
663 -
664 -(((
665 -
666 -)))
667 -
668 -(((
669 -After Join success, the end node will switch to the correct sub band by:
670 -)))
671 -
672 -* (((
673 -Check what sub-band the LoRaWAN server ask from the OTAA Join Accept message and switch to that sub-band
674 -)))
675 -* (((
676 -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)
677 -)))
678 -
679 -
680 -)))
681 -
682 -=== 2.7.5  AS920-923 & AS923-925 (AS923) ===
683 -
684 -(((
685 -(% style="color:blue" %)**Default Uplink channel:**
686 -)))
687 -
688 -(((
689 -923.2 - SF7BW125 to SF10BW125
690 -)))
691 -
692 -(((
693 -923.4 - SF7BW125 to SF10BW125
694 -)))
695 -
696 -(((
697 -
698 -)))
699 -
700 -(((
701 -(% style="color:blue" %)**Additional Uplink Channel**:
702 -)))
703 -
704 -(((
705 -(OTAA mode, channel added by JoinAccept message)
706 -)))
707 -
708 -(((
709 -
710 -)))
711 -
712 -(((
713 -(% style="color:blue" %)**AS920~~AS923 for Japan, Malaysia, Singapore**:
714 -)))
715 -
716 -(((
717 -922.2 - SF7BW125 to SF10BW125
718 -)))
719 -
720 -(((
721 -922.4 - SF7BW125 to SF10BW125
722 -)))
723 -
724 -(((
725 -922.6 - SF7BW125 to SF10BW125
726 -)))
727 -
728 -(((
729 -922.8 - SF7BW125 to SF10BW125
730 -)))
731 -
732 -(((
733 -923.0 - SF7BW125 to SF10BW125
734 -)))
735 -
736 -(((
737 -922.0 - SF7BW125 to SF10BW125
738 -)))
739 -
740 -(((
741 -
742 -)))
743 -
744 -(((
745 -(% style="color:blue" %)**AS923 ~~ AS925 for Brunei, Cambodia, Hong Kong, Indonesia, Laos, Taiwan, Thailand, Vietnam**:
746 -)))
747 -
748 -(((
749 -923.6 - SF7BW125 to SF10BW125
750 -)))
751 -
752 -(((
753 -923.8 - SF7BW125 to SF10BW125
754 -)))
755 -
756 -(((
757 -924.0 - SF7BW125 to SF10BW125
758 -)))
759 -
760 -(((
761 -924.2 - SF7BW125 to SF10BW125
762 -)))
763 -
764 -(((
765 -924.4 - SF7BW125 to SF10BW125
766 -)))
767 -
768 -(((
769 -924.6 - SF7BW125 to SF10BW125
770 -)))
771 -
772 -(((
773 -
774 -)))
775 -
776 -(((
777 -(% style="color:blue" %)**Downlink:**
778 -)))
779 -
780 -(((
781 -Uplink channels 1-8 (RX1)
782 -)))
783 -
784 -(((
785 -923.2 - SF10BW125 (RX2)
786 -)))
787 -
788 -
789 -
790 -=== 2.7.6  KR920-923 (KR920) ===
791 -
792 -(((
793 -(% style="color:blue" %)**Default channel:**
794 -)))
795 -
796 -(((
797 -922.1 - SF7BW125 to SF12BW125
798 -)))
799 -
800 -(((
801 -922.3 - SF7BW125 to SF12BW125
802 -)))
803 -
804 -(((
805 -922.5 - SF7BW125 to SF12BW125
806 -)))
807 -
808 -(((
809 -
810 -)))
811 -
812 -(((
813 -(% style="color:blue" %)**Uplink: (OTAA mode, channel added by JoinAccept message)**
814 -)))
815 -
816 -(((
817 -922.1 - SF7BW125 to SF12BW125
818 -)))
819 -
820 -(((
821 -922.3 - SF7BW125 to SF12BW125
822 -)))
823 -
824 -(((
825 -922.5 - SF7BW125 to SF12BW125
826 -)))
827 -
828 -(((
829 -922.7 - SF7BW125 to SF12BW125
830 -)))
831 -
832 -(((
833 -922.9 - SF7BW125 to SF12BW125
834 -)))
835 -
836 -(((
837 -923.1 - SF7BW125 to SF12BW125
838 -)))
839 -
840 -(((
841 -923.3 - SF7BW125 to SF12BW125
842 -)))
843 -
844 -(((
845 -
846 -)))
847 -
848 -(((
849 -(% style="color:blue" %)**Downlink:**
850 -)))
851 -
852 -(((
853 -Uplink channels 1-7(RX1)
854 -)))
855 -
856 -(((
857 -921.9 - SF12BW125 (RX2 downlink only; SF12BW125 might be changed to SF9BW125)
858 -)))
859 -
860 -
861 -
862 -=== 2.7.7  IN865-867 (IN865) ===
863 -
864 -(((
865 -(% style="color:blue" %)**Uplink:**
866 -)))
867 -
868 -(((
869 -865.0625 - SF7BW125 to SF12BW125
870 -)))
871 -
872 -(((
873 -865.4025 - SF7BW125 to SF12BW125
874 -)))
875 -
876 -(((
877 -865.9850 - SF7BW125 to SF12BW125
878 -)))
879 -
880 -(((
881 -
882 -)))
883 -
884 -(((
885 -(% style="color:blue" %)**Downlink:**
886 -)))
887 -
888 -(((
889 -Uplink channels 1-3 (RX1)
890 -)))
891 -
892 -(((
893 -866.550 - SF10BW125 (RX2)
894 -)))
895 -
896 -
897 -
898 -== 2.8  LED Indicator ==
899 -
900 -The LDDS04 has an internal LED which is used to show the status of different state.
901 -
902 -
903 -* After LDDS04 is turned on, if the 4 channels converter is detected, the LED will (% style="color:green" %)**flash 4 times quickly**(%%).  
904 -* (% style="color:green" %)**Blink once**(%%) when device transmit a packet.
905 -* Solid ON for (% style="color:green" %)**Five Seconds**(%%) when OTAA Join Successfully.
906 -
907 -== 2.9  ​Firmware Change Log ==
908 -
909 -
910 -**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/]]
911 -
912 -
913 913  **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
914 914  
915 915  
1655948911890-793.png
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +138.2 KB
Content
image-20220623094856-3.jpeg
Author
... ... @@ -1,0 +1,1 @@
1 +XWiki.Xiaoling
Size
... ... @@ -1,0 +1,1 @@
1 +102.7 KB
Content