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

From version 256.1
edited by Xiaoling
on 2022/06/23 09:04
Change comment: Uploaded new attachment "image-20220623090437-2.png", version {1}
To version 257.2
edited by Xiaoling
on 2022/06/23 09:37
Change comment: There is no comment for this version

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