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
97 == ​1.3  Features ==
98
99
100 * LoRaWAN v1.0.3 Class A
101 * Ultra-low power consumption
102 * 1 ~~ 3 External Temperature Probes
103 * Measure range -55°C ~~ 125°C
104 * Temperature alarm
105 * Bands: CN470/EU433/KR920/US915/EU868/AS923/AU915/IN865
106 * AT Commands to change parameters
107 * Uplink on periodically or Interrupt
108 * Downlink to change configure
109 * 8500mAh Battery for long term use
110
111 (% style="display:none" %)
112
113
114
115 == 1.4 ​ Applications ==
116
117
118 * Wireless Alarm and Security Systems
119 * Home and Building Automation
120 * Automated Meter Reading
121 * Industrial Monitoring and Control
122 * Long range Irrigation Systems,etc.
123
124 (% style="display:none" %)
125
126
127
128 == 1.5  Hardware Variant ==
129
130
131 (% border="1" cellspacing="10" style="background-color:#f7faff; width:500px" %)
132 |=(% style="width: 108px;" %)Model|=(% style="width: 138px;" %)Photo|=(% style="width: 203px;" %)Probe Info
133 |(% style="width:108px" %)LSN50v2 D20|(% style="width:138px" %)[[image:1655890296240-127.png]]|(% style="width:203px" %)(((
134 1 x DS28B20 Probe
135
136 Cable Length : 2 meters
137
138 sensor cable is made by Silica Gel for higher temperature tolerance.
139 )))
140 |(% style="width:108px" %)LSN50v2 D22|(% style="width:138px" %)[[image:1655890630424-253.png]]|(% style="width:203px" %)(((
141 2 x DS28B20 Probes
142
143 Cable lengths total 1.5meters per probe
144
145 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]]
146 )))
147 |(% style="width:108px" %)(((
148 LSN50v2 D23
149 )))|(% style="width:138px" %)[[image:1655890438492-321.png]]|(% style="width:203px" %)(((
150 3 x DS28B20 Probes
151
152 Cable lengths total 1.5meters per probe
153
154 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]]
155 )))
156
157 (% style="display:none" %)
158
159
160
161 == 1.6  Pin Definitions and Switch ==
162
163
164 **Base on LSN50v2 v2.3.a**
165
166 (% class="wikigeneratedid" %)
167 [[image:1655890786311-614.png||height="392" width="762"]]
168
169
170 === 1.6.1 Pin Definition ===
171
172
173 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/]]
174
175
176 === 1.6.2 Jumper JP2 ===
177
178
179 Power on Device when put this jumper.
180
181
182 === 1.6.3 BOOT MODE / SW1 ===
183
184
185 ~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.
186
187 2. Flash:  work mode, device starts to work and send out console output for further debug
188
189
190 === 1.6.4 Reset Button ===
191
192
193 Press to reboot the device.
194
195
196 === 1.6.5 LED ===
197
198
199 It will flash:
200
201 1.  When boot the device in flash mode
202
203 2.  Send an uplink packet
204
205
206 == 1.7  Hardware Change log ==
207
208
209 LSN50v2-D20 v1.0:  Release.
210
211
212 = 2.  How to use LSN50v2-D2x? =
213
214 == 2.1  How it works ==
215
216
217 (((
218 (((
219 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.
220 )))
221 )))
222
223
224 == 2.2  ​Quick guide to connect to LoRaWAN server (OTAA) ==
225
226
227 (((
228 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.
229
230 (% style="background-image:url(http://wiki1.dragino.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]]
231 )))
232
233 (% 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" %)​(%%)​
234
235 (((
236 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:
237
238
239 (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LSN50V2-D20.
240
241 Each LSN50V2-D20 is shipped with a sticker with the default device EUI as below:
242 )))
243
244 (((
245
246 )))
247
248 (% aria-label="image-20220607170145-1.jpeg image widget" contenteditable="false" role="region" tabindex="-1" %)[[image:image-20220607170145-1.jpeg||data-widget="image"]](% style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220, 220, 220, 0.5); display:none" tabindex="-1" %)[[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||data-widget="image" draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]][[image:data:image/gif;base64,R0lGODlhAQABAPABAP///wAAACH5BAEKAAAALAAAAAABAAEAAAICRAEAOw==||draggable="true" height="15" role="presentation" title="Click and drag to move" width="15"]](% title="Click and drag to resize" %)​(% aria-label="Data URI image image widget" contenteditable="false" role="region" style="background-image:url(http://wiki1.dragino.com/xwiki/webjars/wiki%3Axwiki/application-ckeditor-webjar/1.61/plugins/widget/images/handle.png); background:rgba(220,220,220,0.5); display:none" tabindex="-1" %)​(%%)​
249
250
251 (((
252 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
253
254 **Register the device:**
255 )))
256
257 (% 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" %)​​
258
259 (% 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" %)​
260
261
262 **Add APP EUI and DEV EUI:**
263
264
265 (% 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" %)​
266
267
268
269 **Add APP EUI in the application:**
270
271
272 (% 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" %)​
273
274
275 **Add APP KEY**
276
277 (% 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" %)​
278
279 (% 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" %)​
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"]][[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 (% style="color:blue" %)**Step 2**(%%): Power on LSN50v2-D20
284
285
286 [[image:1655891678689-137.png]]
287
288 (% 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" %)​(%%)​
289
290 (((
291 (% 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.
292 )))
293
294 (% 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" %)​​
295
296 == 2.3  ​Uplink Payload ==
297
298 === 2.3.1  Payload Analyze ===
299
300
301 (((
302 Normal Upload Payload:
303 )))
304
305 (((
306 LSN50v2-D2x use the same payload as LSn50v2 mod1, as below.
307 )))
308
309
310 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:500px" %)
311 |=(% style="width: 62.5px;" %)(((
312 **Size (bytes)**
313 )))|=(% style="width: 60px;" %)2|=(% style="width: 120px;" %)2|=(% style="width: 60px;" %)2|=(% style="width: 65px;" %)1|=(% style="width: 65px;" %)**2**|=(% style="width: 65px;" %)2
314 |(% style="width:65px" %)**Value**|(((
315 [[Battery>>||anchor="HBattery:"]]
316 )))|(% style="width:91px" %)(((
317 [[Temp_ Red or Temp _White>>||anchor="HTemperatureREDorTemperatureWhite:"]]
318 )))|(% style="width:61px" %)(((
319 ignore
320 )))|(% style="width:91px" %)(((
321 [[Alarm Flag>>||anchor="HAlarmFlag26MOD:"]]
322 )))|(% style="width:99px" %)(((
323 [[Temp_White>>||anchor="HTemperatureWhite:"]]
324 )))|(% style="width:97px" %)(((
325 [[Temp_Black>>||anchor="HTemperatureBlack:"]]
326 )))
327
328 [[image:image-20220622180351-1.png||height="589" width="1096"]]
329
330
331 ==== (% style="color:#4472c4" %)**Battery:**(%%) ====
332
333
334 Check the battery voltage.
335
336 Ex1: 0x0B45 = 2885mV
337
338 Ex2: 0x0B49 = 2889mV
339
340
341
342 ==== (% style="color:#4472c4" %)**Temperature RED or Temperature White :**(%%) ====
343
344
345 **This point to the Red probe in LSN50 v2-D20 or the probe of LSN50v2- D22/D23 White**
346
347 [[image:image-20220916152530-2.png]]
348
349
350 **Example**:
351
352 If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
353
354 If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
355
356 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
357
358
359
360 ==== (% style="color:#4472c4" %)**Temperature White:**(%%) ====
361
362
363 **This point to the Red probe in LSN50 v2-D22/D23**
364
365
366 **Example**:
367
368 If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
369
370 If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
371
372 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
373
374
375
376 ==== (% style="color:#4472c4" %)**Temperature Black:**(%%) ====
377
378
379 **This point to the BLACK probe in LSN50 v2-D23**
380
381
382 **Example**:
383
384 If payload is: 0105H:  (0105 & 8000 == 0), temp = 0105H /10 = 26.1 degree
385
386 If payload is: FF3FH :  (FF3F & 8000 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
387
388 (FF3F & 8000:Judge whether the highest bit is 1, when the highest bit is 1, it is negative)
389
390
391
392 ==== (% style="color:#4472c4" %)**Alarm Flag& MOD:**(%%) ====
393
394
395 **Example:**
396
397 If payload & 0x01 = 0x01  **~-~->** This is an Alarm Message
398
399 If payload & 0x01 = 0x00  **~-~->** This is a normal uplink message, no alarm
400
401 If payload >> 2 = 0x00  **~-~->**  means MOD=1, This is a sampling uplink message
402
403 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.
404
405
406
407 ==== (% style="color:#4472c4" %)**Decode corresponding probe color:**(%%) ====
408
409
410 **D20:**
411
412 Red <~-~-> C1
413
414 **D22:**
415
416 White <~-~-> C1 Red <~-~-> C2
417
418 **D23:**
419
420 White <~-~->C1 Red <~-~-> C2 Black <~-~-> C3
421
422
423 == 2.3.2  Payload Decoder file ==
424
425
426 (((
427 In TTN, use can add a custom payload so it shows friendly. 
428 )))
429
430 (((
431 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]]
432 )))
433
434
435 (% 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" %)​
436
437 == 2.4  Temperature Alarm Feature ==
438
439
440 LSN50V2-D20 work flow with Alarm feature.
441
442
443 [[image:image-20220623090437-1.png||height="747" width="1067"]]
444
445
446 (((
447 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.
448 )))
449
450
451 Below is an example of the Alarm Packet.
452
453 [[image:image-20220623090437-2.png||height="618" width="1246"]]
454
455
456 == 2.5  ​Configure LSN50v2-D20 ==
457
458
459 LSN50V2-D20 supports configuration via LoRaWAN downlink command or AT Commands.
460
461 * Downlink command instructions for different platform: [[Use Note for Server>>doc:Main.WebHome]](IoT LoRaWAN Server)
462 * AT Command Access Instructions: [[LINK>>||anchor="H4.A0UseATCommand"]]
463
464 There are two parts of commands: General one and Special for this model.
465
466
467 === 2.5.1 General Configure Commands ===
468
469
470 These commands are to configure:
471
472 * General system settings like: uplink interval.
473 * LoRaWAN protocol & radio related command.
474
475 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]]
476
477
478 === 2.5.2 Sensor related commands ===
479
480
481
482 ==== (% style="color:red" %)**Set Alarm Threshold:**(%%) ====
483
484
485 (% style="color:#4472c4" %)**1.  Set All Probes:**
486
487 (% style="color:#037691" %)**AT+18ALARM=min,max**
488
489 * When min=0, and max≠0, Alarm trigger when higher than max
490 * When min≠0, and max=0, Alarm trigger when lower than min
491 * When min≠0 and max≠0, Alarm trigger when higher than max or lower than min
492
493 **Example:**
494
495 AT+18ALARM=-10,30  ~/~/ Alarm when < -10 or higher than 30.
496
497
498 * (% style="color:#037691" %)**Downlink Payload:**
499
500 0x(0B F6 1E)   ~/~/ Same as AT+18ALARM=-10,30
501
502 (note: 0x1E= 30, 0xF6 means: 0xF6-0x100 = -10)
503
504
505 (% style="color:#4472c4" %)**2.  Set Separate Probe:**
506
507 (% style="color:#037691" %)**AT+18ALARM=min,max,index**
508
509 Index:
510
511 * 1: Temperature_Red
512 * 2: Temperature_White
513 * 3: Temperature_Black
514
515 **Example:**
516
517 AT+18ALARM=-10,30,1   ~/~/ Alarm when temperature_red < -10 or higher than 30.
518
519
520 * (% style="color:#037691" %)**Downlink Payload:**
521
522 0x(0B F6 1E 01)   ~/~/ Same as AT+18ALARM=-10,30,1
523
524 (note: 0x1E= 30, 0xF6 means: 0xF6-0x100 = -10)
525
526
527
528 ==== (% style="color:red" %)**Set Alarm Interval:**(%%) ====
529
530
531 The shortest time of two Alarm packet. (unit: min)
532
533 * (% style="color:#037691" %)**AT Command:**
534
535 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.
536
537
538 * (% style="color:#037691" %)**Downlink Payload:**
539
540 0x(0D 00 1E)     **~-~-->** Set AT+ATDC=0x 00 1E = 30 minutes
541
542
543
544 ==== (% style="color:red" %)**Poll the Alarm settings:**(%%) ====
545
546
547 Send a LoRaWAN downlink to ask device send Alarm settings.
548
549 * (% style="color:#037691" %)**Downlink Payload:**
550
551 0x0E 01
552
553
554 **Example:**
555
556 [[image:1655948182791-225.png]]
557
558
559 **Explain:**
560
561 * Alarm & MOD bit is 0x7C, 0x7C >> 2 = 0x31: Means this message is the Alarm settings message.
562
563
564
565 == 2.6  LED Status ==
566
567
568 LSN50-v2-D20 has an internal LED, it will active in below situation:
569
570 * LED will fast blink 5 times when boot, this means the temperature sensor is detected.
571 * After the fast blinks on boot, the LED will flash once which means device is trying to send Join Packet to the network.
572 * If device successful join LoRaWAN network, the LED will be solid on for 5 seconds.
573
574
575
576 == 2.7  Button Function ==
577
578
579 (((
580 **Internal RESET button:**
581 )))
582
583 (((
584 Press this button will reboot the device. Device will process OTAA Join to network again.
585 )))
586
587
588 == (% style="color:inherit; font-family:inherit; font-size:26px" %)2.8  ​Firmware Change Log(%%) ==
589
590
591 (((
592 **Firmware download link:  **[[https:~~/~~/www.dropbox.com/sh/bu7piiuwios42as/AACvP3nLaC7_oDpjnYJNBOr7a?dl=0>>https://www.dropbox.com/sh/bu7piiuwios42as/AACvP3nLaC7_oDpjnYJNBOr7a?dl=0]]
593 )))
594
595 (((
596 **Firmware Upgrade Method: **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
597
598
599 )))
600
601 = 3. Battery & Power Consumption =
602
603
604 LSN50v2-D2x uses ER26500 + SPC1520 battery pack. See below link for detail information about the battery info and how to replace.
605
606 [[**Battery Info & Power Consumption Analyze**>>url:http://wiki.dragino.com/xwiki/bin/view/Main/How%20to%20calculate%20the%20battery%20life%20of%20Dragino%20sensors%3F/]] .
607
608
609 = 4.  Use AT Command =
610
611 == 4.1  Access AT Commands ==
612
613
614 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:
615
616
617 [[image:image-20220623095817-4.png||height="665" width="1032"]]
618
619 (% style="display:none" %) (%%)
620
621 [[image:image-20220623100044-7.png]]
622
623
624 = 5.  FAQ =
625
626 == 5.1 What is the frequency range of LSN50v2-D20? ==
627
628
629 Different LSN50V2-D20 version supports different frequency range, below is the table for the working frequency and recommend bands for each model:
630
631 [[image:image-20220623100350-8.png]]
632
633
634 == 5.2 What is the Frequency Plan? ==
635
636
637 Please refer Dragino End Node Frequency Plan:  [[End Device Frequency Band>>doc:Main.End Device Frequency Band.WebHome]]
638
639
640 == 5.3 How to update the firmware? ==
641
642
643 (((
644 User can upgrade the firmware for:
645 )))
646
647 * (((
648 (((
649 Support new features
650 )))
651 )))
652 * (((
653 (((
654 For bug fix
655 )))
656 )))
657 * (((
658 (((
659 Change LoRaWAN bands.
660 )))
661 )))
662
663 (((
664 Please see this link for how to upgrade: ** **[[Firmware Upgrade Instruction>>doc:Main.Firmware Upgrade Instruction for STM32 base products.WebHome]]
665 )))
666
667
668 = 6.  Trouble Shooting =
669
670 == 6.1  AT Command input doesn't work ==
671
672
673 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.
674
675
676 == 6.2  Abnormal temperature ==
677
678
679 When the temperature is displayed as - 0.1, it means that the sensor is not connected.
680
681 Please check whether the wiring is loose/Blocked by the insulation layer of the wire/pin damaged
682
683
684 = 7.  Order Info =
685
686
687 **Part Number:** (% style="color:blue" %)**LSN50V2-D20-XXX (Signal Probe)**
688
689 **~ Or (% style="color:blue" %)LSN50V2-D22-XXX (Dual Probe)(%%)**
690
691 **~ Or (% style="color:blue" %)LSN50V2-D23-XXX (Triple Probe)(%%)**
692
693
694 (% style="color:blue" %)**XXX**(%%)**: **The default frequency band
695
696 * (% style="color:red" %)**AS923 **(%%)**:** LoRaWAN AS923 band
697 * (% style="color:red" %)**AU915 **(%%)**:** LoRaWAN AU915 band
698 * (% style="color:red" %)**EU433 **(%%)**:** LoRaWAN EU433 band
699 * (% style="color:red" %)**EU868 **(%%)**:** LoRaWAN EU868 band
700 * (% style="color:red" %)**KR920 **(%%)**:** LoRaWAN KR920 band
701 * (% style="color:red" %)**US915 **(%%)**:** LoRaWAN US915 band
702 * (% style="color:red" %)**IN865 **(%%)**:**  LoRaWAN IN865 band
703 * (% style="color:red" %)**CN470 **(%%)**:** LoRaWAN CN470 band
704
705
706
707 = 8. ​ Packing Info =
708
709
710 (((
711 **Package Includes**:
712 )))
713
714 * (((
715 LSN50v2-D2x LoRaWAN Temperature Sensor x 1
716 )))
717
718 (((
719 **Dimension and weight**:
720 )))
721
722 * Device Size: cm
723 * Device Weight: g
724 * Package Size / pcs : cm
725 * Weight / pcs : g
726
727
728
729 = 9.  ​Support =
730
731
732 * 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.
733 * 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]].
734
735
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0