Last modified by Xiaoling on 2024/01/17 16:19

Show last authors
1 (% style="text-align:center" %)
2 [[image:image-20220623141920-10.png]]
3
4
5
6 (% style="display:none" %) (%%) ​​​​​​
7
8
9
10
11 **Table of Contents:**
12
13 {{toc/}}
14
15 (% aria-label="macro:toc widget" contenteditable="false" role="region" tabindex="-1" %)
16 (((
17 (% 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==||height="15" role="presentation" title="Click and drag to move" width="15"]]
18 )))
19
20
21
22
23
24
25
26
27
28 = 1.  Introduction =
29
30 == 1.1 ​ What is LSN50V2-D2x LoRaWAN Temperature Sensor ==
31
32
33 (((
34 The Dragino LSN50v2-D2x is a (% style="color:#4472c4" %)**LoRaWAN Temperature Sensor**(%%) for Internet of Things solution. It can be used to measure the (% style="color:#4472c4" %)**temperature of air, liquid or object**(%%), and then upload to IoT server via LoRaWAN wireless protocol.
35 )))
36
37 (((
38 The temperature sensor used in LSN50v2-D2x can (% style="color:#4472c4" %)**measure -55°C ~~ 125°C with accuracy ±0.5°C (max ±2.0 °C)**.
39 )))
40
41 (((
42 LSN50v2-D2x supports (% style="color:#4472c4" %)**temperature alarm feature,**(%%) user can set temperature alarm for instant notice.
43 )))
44
45 (((
46 LSN50v2-D2x has max 3 probes which measure maximum 3 temperature points.
47 )))
48
49 (((
50 LSN50v2-D2x is powered by (% style="color:#4472c4" %)**8500mAh Li-SOCI2 battery**(%%), it is designed for long term use up to 10 years. (Actually Battery life depends on the use environment, update period. Please check related Power Analyze report).
51 )))
52
53 (((
54 Each LSN50v2-D2x is pre-load with a set of unique keys for LoRaWAN registration, register these keys to local LoRaWAN server and it will auto connect after power on.
55 )))
56
57
58 [[image:1655889313568-879.png]]
59
60
61 == 1.2  Specifications ==
62
63
64 (% style="color:#037691" %)**Common DC Characteristics:**
65
66 * Supply Voltage: built in 8500mAh Li-SOCI2 battery
67 * Operating Temperature: -40 ~~ 85°C
68
69 (% style="color:#037691" %)**Temperature Sensor:**
70
71 * Range: -55 to + 125°C
72 * Accuracy ±0.5°C (max ±2.0 °C).
73
74 (% style="color:#037691" %)**LoRa Spec:**
75
76 * Frequency Range,
77 ** Band 1 (HF): 862 ~~ 1020 Mhz
78 * 168 dB maximum link budget.
79 * High sensitivity: down to -148 dBm.
80 * Bullet-proof front end: IIP3 = -12.5 dBm.
81 * Excellent blocking immunity.
82 * Built-in bit synchronizer for clock recovery.
83 * Preamble detection.
84 * 127 dB Dynamic Range RSSI.
85 * Automatic RF Sense and CAD with ultra-fast AFC.
86 * LoRaWAN 1.0.3 Specification
87
88 (% style="color:#037691" %)**Power Consumption**
89
90 * Sleeping Mode: 20uA
91 * LoRaWAN Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm
92
93 (% style="display:none" %)
94
95
96 == ​1.3  Features ==
97
98
99 * LoRaWAN v1.0.3 Class A
100 * Ultra-low power consumption
101 * 1 ~~ 3 External Temperature Probes
102 * Measure range -55°C ~~ 125°C
103 * Temperature alarm
104 * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
105 * AT Commands to change parameters
106 * Uplink on periodically or Interrupt
107 * Downlink to change configure
108 * 8500mAh Battery for long term use
109
110 (% style="display:none" %)
111
112
113 == 1.4 ​ Applications ==
114
115
116 * Wireless Alarm and Security Systems
117 * Home and Building Automation
118 * Automated Meter Reading
119 * Industrial Monitoring and Control
120 * Long range Irrigation Systems,etc.
121
122 (% style="display:none" %)
123
124
125 == 1.5  Hardware Variant ==
126
127
128 (% border="1" cellspacing="5" style="background-color:#f7faff; width:500px" %)
129 |=(% style="width: 108px;background-color:#4F81BD;color:white" %)Model|=(% style="width: 158px;background-color:#4F81BD;color:white" %)Photo|=(% style="width: 234px;background-color:#4F81BD;color:white" %)Probe Info
130 |(% style="width:108px" %)LSN50v2 D20|(% style="width:138px" %)[[image:1655890296240-127.png]]|(% style="width:203px" %)(((
131 1 x DS28B20 Probe
132
133 Cable Length : 2 meters
134
135 sensor cable is made by Silica Gel for higher temperature tolerance.
136 )))
137 |(% style="width:108px" %)LSN50v2 D22|(% style="width:138px" %)[[image:1655890630424-253.png]]|(% style="width:203px" %)(((
138 2 x DS28B20 Probes
139
140 Cable lengths total 1.5meters per probe
141
142 Cable Drawing: [[See This Link>>url:https://www.dragino.com/downloads/index.php?dir=LoRa_End_Node/LSN50v2-D20/Cable_Drawing/&file=CAB0-35IC-K21G-210811.pdf]]
143 )))
144 |(% style="width:108px" %)(((
145 LSN50v2 D23
146 )))|(% style="width:138px" %)[[image:1655890438492-321.png]]|(% style="width:203px" %)(((
147 3 x DS28B20 Probes
148
149 Cable lengths total 1.5meters per probe
150
151 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]]
152 )))
153
154 (% style="display:none" %)
155
156
157 == 1.6  Pin Definitions and Switch ==
158
159
160 **Base on LSN50v2 v2.3.a**
161
162 (% class="wikigeneratedid" %)
163 [[image:1655890786311-614.png||height="392" width="762"]]
164
165
166 === 1.6.1 Pin Definition ===
167
168
169 The device is pre-configured to connect to temperature sensor. The other pins are not used. If user want to know more about other pins, please refer the user manual of LSn50v2 at: [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/]]
170
171
172 === 1.6.2 Jumper JP2 ===
173
174
175 Power on Device when put this jumper.
176
177
178 === 1.6.3 BOOT MODE / SW1 ===
179
180
181 ~1. ISP:  upgrade mode, device won't have any signal in this mode. but ready for upgrade firmware. LED won't work. Firmware won't run.
182
183 2. Flash:  work mode, device starts to work and send out console output for further debug
184
185
186 === 1.6.4 Reset Button ===
187
188
189 Press to reboot the device.
190
191
192 === 1.6.5 LED ===
193
194
195 It will flash:
196
197 1.  When boot the device in flash mode
198
199 2.  Send an uplink packet
200
201
202 == 1.7  Hardware Change log ==
203
204
205 LSN50v2-D20 v1.0:  Release.
206
207
208 = 2.  How to use LSN50v2-D2x? =
209
210 == 2.1  How it works ==
211
212
213 (((
214 (((
215 The LSN50v2-D2x is working as LoRaWAN OTAA Class A end node. Each LSN50v2-D2x is shipped with a worldwide unique set of OTAA and ABP keys. User needs to input the OTAA or ABP keys in the LoRaWAN network server to register. Open the enclosure and power on the LSN50v2-D2x, it will join the LoRaWAN network and start to transmit data. The default period for each uplink is 20 minutes.
216 )))
217 )))
218
219
220 == 2.2  ​Quick guide to connect to LoRaWAN server (OTAA) ==
221
222
223 (((
224 Here is an example for how to join the [[TTN LoRaWAN >>url:http://www.thethingsnetwork.org/]]Server. Below is the network structure, in this demo we use [[DLOS8>>url:http://www.dragino.com/products/lora-lorawan-gateway/item/160-dlos8.html]] as LoRaWAN gateway.
225
226 (% 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"]][[image:1655891470063-521.png]](% title="Click and drag to resize" %)​[[image:1655952600869-544.png]]
227 )))
228
229 (% 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" %)​(%%)​
230
231 (((
232 The DLOS8 is already set to connect to [[TTN >>url:https://www.thethingsnetwork.org/]]. What the rest we need to is register the LSN50V2-D20 to TTN:
233
234
235 (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LSN50V2-D20.
236
237 Each LSN50V2-D20 is shipped with a sticker with the default device EUI as below:
238 )))
239
240
241 (% 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"]][[image:image-20230426083947-2.png]](% 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" %)​(%%)​
242
243
244 (((
245 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
246
247 **Register the device:**
248 )))
249
250 (% 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="1654935135620-998.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:1654935135620-998.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"]](%%)​(% 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" %)​​
251
252 (% 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" %)​
253
254
255 **Add APP EUI and DEV EUI:**
256
257
258 (% aria-label="image-20220611161308-4.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611161308-4.png||data-widget="image" height="551" width="753"]](% 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" %)​
259
260
261
262 **Add APP EUI in the application:**
263
264
265 (% aria-label="image-20220611161308-5.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611161308-5.png||data-widget="image" height="601" width="742"]](% 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" %)​
266
267
268 **Add APP KEY**
269
270 (% aria-label="image-20220611161308-6.png image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220611161308-6.png||data-widget="image" height="485" width="744"]](% 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" %)​
271
272 (% 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" %)​
273
274 (% 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" %)​(%%)​
275
276 (% style="color:blue" %)**Step 2**(%%): Power on LSN50v2-D20
277
278
279 [[image:1655891678689-137.png]]
280
281 (% 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" %)​(% 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" %)​(%%)​
282
283 (((
284 (% style="color:blue" %)**Step 3**(%%)**:**  LSN50V2-D20 will auto join to TTN network via the LoRaWAN coverage by DLOS8. After join success, LSN50V2-D20 will start to uplink temperature value to server.
285 )))
286
287 (% 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" %)​(% 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"]](% 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" %)​​
288
289 == 2.3  ​Uplink Payload ==
290
291 === 2.3.1  Payload Analyze ===
292
293
294 (((
295 Normal Upload Payload:
296 )))
297
298 (((
299 LSN50v2-D2x use the same payload as LSn50v2 mod1, as below.
300 )))
301
302 (% border="1" cellspacing="3" style="background-color:#f2f2f2; width:510px" %)
303 |=(% style="width: 74.5px;background-color:#4F81BD;color:white" %)(((
304 **Size(bytes)**
305 )))|=(% style="width: 60px;background-color:#4F81BD;color:white" %)2|=(% style="width: 120px;background-color:#4F81BD;color:white" %)2|=(% style="width: 60px;background-color:#4F81BD;color:white" %)2|=(% style="width: 65px;background-color:#4F81BD;color:white" %)1|=(% style="width: 65px;background-color:#4F81BD;color:white" %)**2**|=(% style="width: 65px;background-color:#4F81BD;color:white" %)2
306 |(% style="width:65px" %)Value|(((
307 [[Battery>>||anchor="HBattery:"]]
308 )))|(% style="width:91px" %)(((
309 [[Temp_ Red or Temp _White>>||anchor="HTemperatureREDorTemperatureWhite:"]]
310 )))|(% style="width:61px" %)(((
311 ignore
312 )))|(% style="width:91px" %)(((
313 [[Alarm Flag>>||anchor="HAlarmFlag26MOD:"]]
314 )))|(% style="width:99px" %)(((
315 [[Temp_White>>||anchor="HTemperatureWhite:"]]
316 )))|(% style="width:97px" %)(((
317 [[Temp_Black>>||anchor="HTemperatureBlack:"]]
318 )))
319
320 [[image:image-20220622180351-1.png||height="589" width="1096"]]
321
322
323 ==== (% style="color:#4472c4" %)**Battery:**(%%) ====
324
325
326 Check the battery voltage.
327
328 Ex1: 0x0B45 = 2885mV
329
330 Ex2: 0x0B49 = 2889mV
331
332
333
334 ==== (% style="color:#4472c4" %)**Temperature RED or Temperature White :**(%%) ====
335
336
337 **This point to the Red probe in LSN50 v2-D20 or the probe of LSN50v2- D22/D23 White**
338
339 [[image:image-20220916152530-2.png]]
340
341
342 **Example**:
343
344 If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
345
346 If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
347
348 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
349
350
351
352 ==== (% style="color:#4472c4" %)**Temperature White:**(%%) ====
353
354
355 **This point to the Red probe in LSN50 v2-D22/D23**
356
357
358 **Example**:
359
360 If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
361
362 If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
363
364 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
365
366
367
368 ==== (% style="color:#4472c4" %)**Temperature Black:**(%%) ====
369
370
371 **This point to the BLACK probe in LSN50 v2-D23**
372
373
374 **Example**:
375
376 If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
377
378 If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
379
380 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
381
382
383
384 ==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ====
385
386
387 **Example:**
388
389 If payload & 0x01 = 0x01  **~-~->** This is an Alarm Message
390
391 If payload & 0x01 = 0x00  **~-~->** This is a normal uplink message, no alarm
392
393 If payload >> 2 = 0x00  **~-~->**  means MOD=1, This is a sampling uplink message
394
395 If payload >> 2 = 0x31  **~-~->**  means MOD=31, this message is a reply message for polling, this message contains the alarm settings. see [[this link>>||anchor="HPolltheAlarmsettings:"]] for detail.
396
397
398
399 ==== (% style="color:#4472c4" %)**Decode corresponding probe color:**(%%) ====
400
401
402 **D20:**
403
404 Red <~-~-> C1
405
406 **D22:**
407
408 White <~-~-> C1 Red <~-~-> C2
409
410 **D23:**
411
412 White <~-~->C1 Red <~-~-> C2 Black <~-~-> C3
413
414
415 == 2.3.2  Payload Decoder file ==
416
417
418 (((
419 In TTN, use can add a custom payload so it shows friendly. 
420 )))
421
422 (((
423 In the page **Applications ~-~-> Payload Formats ~-~-> Custom ~-~-> decoder** to add the decoder from:  [[https:~~/~~/github.com/dragino/dragino-end-node-decoder>>https://github.com/dragino/dragino-end-node-decoder]]
424 )))
425
426
427 (% 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" %)​
428
429 == 2.4  Temperature Alarm Feature ==
430
431
432 LSN50V2-D20 work flow with Alarm feature.
433
434
435 [[image:image-20220623090437-1.png||height="747" width="1067"]]
436
437
438 (((
439 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.
440 )))
441
442
443 Below is an example of the Alarm Packet.
444
445 [[image:image-20220623090437-2.png||height="618" width="1246"]]
446
447
448 == 2.5  ​Configure LSN50v2-D20 ==
449
450
451 LSN50V2-D20 supports configuration via LoRaWAN downlink command or AT Commands.
452
453 * Downlink command instructions for different platform: [[Use Note for Server>>doc:Main.WebHome]](IoT LoRaWAN Server)
454 * AT Command Access Instructions: [[LINK>>||anchor="H4.A0UseATCommand"]]
455
456 There are two parts of commands: General one and Special for this model.
457
458
459 === 2.5.1 General Configure Commands ===
460
461
462 These commands are to configure:
463
464 * General system settings like: uplink interval.
465 * LoRaWAN protocol & radio related command.
466
467 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]]
468
469
470 === 2.5.2 Sensor related commands ===
471
472
473 ==== (% style="color:red" %)**Set Alarm Threshold:**(%%) ====
474
475
476 (% style="color:#4472c4" %)**1.  Set All Probes:**
477
478 (% style="color:#037691" %)**AT+18ALARM=min,max**
479
480 * When min=0, and max≠0, Alarm trigger when higher than max
481 * When min≠0, and max=0, Alarm trigger when lower than min
482 * When min≠0 and max≠0, Alarm trigger when higher than max or lower than min
483
484 **Example:**
485
486 AT+18ALARM=-10,30  ~/~/ Alarm when < -10 or higher than 30.
487
488
489 * (% style="color:#037691" %)**Downlink Payload:**
490
491 0x(0B F6 1E)   ~/~/ Same as AT+18ALARM=-10,30
492
493 (note: 0x1E= 30, 0xF6 means: 0xF6-0x100 = -10)
494
495
496 (% style="color:#4472c4" %)**2.  Set Separate Probe:**
497
498 (% style="color:#037691" %)**AT+18ALARM=min,max,index**
499
500 Index:
501
502 * 1: Temperature_Red
503 * 2: Temperature_White
504 * 3: Temperature_Black
505
506 **Example:**
507
508 AT+18ALARM=-10,30,1   ~/~/ Alarm when temperature_red < -10 or higher than 30.
509
510
511 * (% style="color:#037691" %)**Downlink Payload:**
512
513 0x(0B F6 1E 01)   ~/~/ Same as AT+18ALARM=-10,30,1
514
515 (note: 0x1E= 30, 0xF6 means: 0xF6-0x100 = -10)
516
517
518 ==== (% style="color:red" %)**Set Alarm Interval:**(%%) ====
519
520
521 The shortest time of two Alarm packet. (unit: min)
522
523 * (% style="color:#037691" %)**AT Command:**
524
525 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.
526
527
528 * (% style="color:#037691" %)**Downlink Payload:**
529
530 0x(0D 00 1E)     **~-~-->** Set AT+ATDC=0x 00 1E = 30 minutes
531
532
533 ==== (% style="color:red" %)**Poll the Alarm settings:**(%%) ====
534
535
536 Send a LoRaWAN downlink to ask device send Alarm settings.
537
538 * (% style="color:#037691" %)**Downlink Payload:**
539
540 0x0E 01
541
542
543 **Example:**
544
545 [[image:1655948182791-225.png]]
546
547
548 **Explain:**
549
550 * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message.
551
552 (% style="display:none" %)
553
554
555 == 2.6  LED Status ==
556
557
558 LSN50-v2-D20 has an internal LED, it will active in below situation:
559
560 * LED will fast blink 5 times when boot, this means the temperature sensor is detected.
561 * After the fast blinks on boot, the LED will flash once which means device is trying to send Join Packet to the network.
562 * If device successful join LoRaWAN network, the LED will be solid on for 5 seconds.
563
564 (% style="display:none" %)
565
566
567 == 2.7  Button Function ==
568
569
570 (((
571 **Internal RESET button:**
572 )))
573
574 (((
575 Press this button will reboot the device. Device will process OTAA Join to network again.
576 )))
577
578
579 == (% style="color:inherit; font-family:inherit; font-size:26px" %)2.8  ​Firmware Change Log(%%) ==
580
581
582 (((
583 **Firmware download link:  **[[https:~~/~~/www.dropbox.com/sh/bu7piiuwios42as/AACvP3nLaC7_oDpjnYJNBOr7a?dl=0>>https://www.dropbox.com/sh/bu7piiuwios42as/AACvP3nLaC7_oDpjnYJNBOr7a?dl=0]]
584 )))
585
586 (((
587 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
588
589
590 )))
591
592 = 3. Battery & Power Consumption =
593
594
595 LSN50v2-D2x uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
596
597 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
598
599
600 = 4.  Use AT Command =
601
602 == 4.1  Access AT Commands ==
603
604
605 User can use a USB to TTL adapter to connect to LSN50V2-D20 to use AT command to configure the device. Example is as below:
606
607 [[image:image-20220623095817-4.png||height="665" width="1032"]]
608
609 (% style="display:none" %) (%%)
610
611 [[image:image-20220623100044-7.png]]
612
613
614 = 5.  FAQ =
615
616 == 5.1 What is the frequency range of LSN50v2-D20? ==
617
618
619 Different LSN50V2-D20 version supports different frequency range, below is the table for the working frequency and recommend bands for each model:
620
621 (% border="1" cellspacing="3" style="width:510px" %)
622 |(% style="background-color:#4f81bd; color:white; width:70px" %)**Version**|(% style="background-color:#4f81bd; color:white; width:70px" %)**LoRa IC**|(% style="background-color:#4f81bd; color:white; width:124px" %)**Working Frequency**|(% style="background-color:#4f81bd; color:white; width:123px" %)**Best Tune Frequency**|(% style="background-color:#4f81bd; color:white; width:123px" %)**Recommend Bands**
623 |(% style="width:70px" %)433|(% style="width:72px" %)SX1278|(% style="width:153px" %)Band2(LF): 410 ~~525 Mhz|(% style="width:163px" %)433Mhz|(% style="width:152px" %)CN470/EU433
624 |(% style="width:70px" %)868|(% style="width:72px" %)SX1276|(% style="width:153px" %)Band1(HF):862~~1020 Mhz|(% style="width:163px" %)868Mhz|(% style="width:152px" %)EU868/IN865/RU864
625 |(% style="width:70px" %)915|(% style="width:72px" %)SX1276|(% style="width:153px" %)Band1(HF):862 ~~1020 Mhz|(% style="width:163px" %)915Mhz|(% style="width:152px" %)(((
626 AS923/AU915/
627 KR920/US915
628 )))
629
630 == 5.2 What is the Frequency Plan? ==
631
632
633 Please refer Dragino End Node Frequency Plan:  [[End Device Frequency Band>>doc:Main.End Device Frequency Band.WebHome]]
634
635
636 == 5.3 How to update the firmware? ==
637
638
639 (((
640 User can upgrade the firmware for:
641 )))
642
643 * (((
644 (((
645 Support new features
646 )))
647 )))
648 * (((
649 (((
650 For bug fix
651 )))
652 )))
653 * (((
654 (((
655 Change LoRaWAN bands.
656 )))
657 )))
658
659 (((
660 Please see this link for how to upgrade: ** **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
661 )))
662
663
664 = 6.  Trouble Shooting =
665
666 == 6.1  AT Command input doesn't work ==
667
668
669 In the case if user can see the console output but can't type input to the device. Please check if you already include the (% style="color:green" %)**ENTER**(%%) while sending out the command. Some serial tool doesn't send (% style="color:green" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string.
670
671
672 == 6.2  Abnormal temperature ==
673
674
675 When the temperature is displayed as - 0.1, it means that the sensor is not connected.
676
677 Please check whether the wiring is loose/Blocked by the insulation layer of the wire/pin damaged
678
679
680 = 7.  Order Info =
681
682
683 **Part Number:** (% style="color:blue" %)**LSN50V2-D20-XXX (Signal Probe)**
684
685 **~ Or (% style="color:blue" %)LSN50V2-D22-XXX (Dual Probe)(%%)**
686
687 **~ Or (% style="color:blue" %)LSN50V2-D23-XXX (Triple Probe)(%%)**
688
689
690 (% style="color:blue" %)**XXX**(%%)**: **The default frequency band
691
692 * (% style="color:red" %)**AS923 **(%%)**:** LoRaWAN AS923 band
693 * (% style="color:red" %)**AU915 **(%%)**:** LoRaWAN AU915 band
694 * (% style="color:red" %)**EU433 **(%%)**:** LoRaWAN EU433 band
695 * (% style="color:red" %)**EU868 **(%%)**:** LoRaWAN EU868 band
696 * (% style="color:red" %)**KR920 **(%%)**:** LoRaWAN KR920 band
697 * (% style="color:red" %)**US915 **(%%)**:** LoRaWAN US915 band
698 * (% style="color:red" %)**IN865 **(%%)**:**  LoRaWAN IN865 band
699 * (% style="color:red" %)**CN470 **(%%)**:** LoRaWAN CN470 band
700
701 (% style="display:none" %)
702
703
704 = 8. ​ Packing Info =
705
706
707 (((
708 **Package Includes**:
709 )))
710
711 * (((
712 LSN50v2-D2x LoRaWAN Temperature Sensor x 1
713 )))
714
715 (((
716 **Dimension and weight**:
717 )))
718
719 * Device Size: cm
720 * Device Weight: g
721 * Package Size / pcs : cm
722 * Weight / pcs : g
723
724 (% style="display:none" %)
725
726
727 = 9.  ​Support =
728
729
730 * Support is provided Monday to Friday, from 09:00 to 18:00 GMT+8. Due to different timezones we cannot offer live support. However, your questions will be answered as soon as possible in the before-mentioned schedule.
731
732 * Provide as much information as possible regarding your enquiry (product models, accurately describe your problem and steps to replicate it etc) and send a mail to [[support@dragino.com>>url:http://../../../../../../D:%5C%E5%B8%82%E5%9C%BA%E8%B5%84%E6%96%99%5C%E8%AF%B4%E6%98%8E%E4%B9%A6%5CLoRa%5CLT%E7%B3%BB%E5%88%97%5Csupport@dragino.com]].
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0