Show last authors
1 (% style="display:none" %) (%%) ​​​(% style="display:none" %)
2
3 (% style="text-align:center" %)
4 [[image:image-20220627094803-5.png||height="366" width="804"]]
5
6
7 (% style="display:none" %) (%%)
8
9
10
11
12
13
14
15 **Table of Contents:**
16
17 (% aria-label="macro:toc widget" contenteditable="false" role="region" tabindex="-1" %)
18 (((
19 (% style="background-image:url(http://wiki1.dragino.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"]]
20 )))
21
22
23
24
25
26
27
28
29
30
31
32
33 = 1.  Introduction =
34
35 == 1.1 ​ What is LSN50 LoRa Sensor Node ==
36
37
38 (((
39 (((
40 LSN50 is a Long Range LoRaWAN Sensor Node. It is designed for (% style="color:#4472c4" %)**outdoor data logging **(%%)and powered by (% style="color:#4472c4" %)**Li/SOCl2 battery**(%%) for long term use and secure data transmission. It is designed to facilitate developers to quickly deploy industrial level LoRa and IoT solutions. It helps users to turn the idea into a practical application and make the Internet of Things a reality. It is easy to program, create and connect your things everywhere.
41 )))
42
43 (((
44 It is based on SX1276/SX1278 allows the user to send data and reach extremely long ranges at low data-rates. It provides ultra-long range spread spectrum communication and high interference immunity whilst minimizing current consumption. It targets professional wireless sensor network applications such as irrigation systems, smart metering, smart cities, smartphone detection, building automation, and so on.
45 )))
46
47 (((
48 (% style="color:#4472c4" %)**LSN50**(%%) uses STM32l0x chip from ST, STML0x is the (% style="color:#4472c4" %)**ultra-low-power**(%%) STM32L072xx microcontrollers incorporate the connectivity power of the universal serial bus (USB 2.0 crystal-less) with the high-performance ARM® Cortex®-M0+ 32-bit RISC core operating at a 32 MHz frequency, a memory protection unit (MPU), high-speed embedded memories (192 Kbytes of Flash program memory, 6 Kbytes of data EEPROM and 20 Kbytes of RAM) plus an extensive range of enhanced I/Os and peripherals.
49 )))
50
51 (((
52 LSN50 is an (% style="color:#4472c4" %)**open source product**(%%), it is based on the STM32Cube HAL drivers and lots of libraries can be found in ST site for rapid development.
53 )))
54 )))
55
56
57 [[image:1656294562709-486.png]]
58
59
60
61 == 1.2  Specifications ==
62
63
64 (% style="color:#037691" %)**Micro Controller:**
65
66 * STM32L072CZT6 MCU
67 * MCU: STM32L072CZT6
68 * Flash: 192KB
69 * RAM: 20KB
70 * EEPROM: 6KB
71 * Clock Speed: 32Mhz
72
73 (% style="color:#037691" %)**Common DC Characteristics:**
74
75 * Supply Voltage: 2.1v ~~ 3.6v
76 * Operating Temperature: -40 ~~ 85°C
77 * I/O pins: Refer to STM32L072 datasheet
78
79 (% style="color:#037691" %)**LoRa Spec:**
80
81
82 * Frequency Range, 
83 ** Band 1 (HF): 862 ~~ 1020 Mhz
84
85 or
86
87 *
88 ** Band 2 (LF): 410 ~~ 528 Mhz
89 * 168 dB maximum link budget.
90 * +20 dBm - 100 mW constant RF output vs.
91 * +14 dBm high efficiency PA.
92 * Programmable bit rate up to 300 kbps.
93 * High sensitivity: down to -148 dBm.
94 * Bullet-proof front end: IIP3 = -12.5 dBm.
95 * Excellent blocking immunity.
96 * Low RX current of 10.3 mA, 200 nA register retention.
97 * Fully integrated synthesizer with a resolution of 61 Hz .
98 * FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.
99 * Built-in bit synchronizer for clock recovery.
100 * Preamble detection.
101 * 127 dB Dynamic Range RSSI.
102 * Automatic RF Sense and CAD with ultra-fast AFC.
103 * Packet engine up to 256 bytes with CRC.
104 * LoRaWAN 1.0.2 Specification
105
106 (% style="color:#037691" %)**Battery:**
107
108 * Li/SOCI2 un-chargeable battery
109 * Capacity: 4000mAh
110 * Self Discharge: <1% / Year @ 25°C
111 * Max continuously current: 130mA
112 * Max boost current: 2A, 1 second
113
114 (% style="color:#037691" %)**Power Consumption**
115
116 * STOP Mode: 2.7uA @ 3.3v
117 * LoRa Transmit Mode: 125mA @ 20dBm 44mA @ 14dBm
118
119 == ​1.3  Features ==
120
121 * LoRaWAN 1.0.3 Class A, Class C
122 * STM32L072CZT6 MCU
123 * SX1276/78 Wireless Chip
124 * Pre-load bootloader on USART1/USART2
125 * MDK-ARM Version 5.24a IDE
126 * I2C, LPUSART1, USB, SPI2
127 * 3x12bit ADC, 1x12bit DAC
128 * 20xDigital I/Os
129 * LoRa™ Modem
130 * Preamble detection
131 * Baud rate configurable
132 * CN470/EU433/KR920/US915/IN865
133 * EU868/AS923/AU915
134 * Open-source hardware / software
135 * Available Band:433/868/915/920 Mhz
136 * IP66 Waterproof Enclosure
137 * Ultra-Low Power consumption
138 * AT Commands to change parameters
139 * 4000mAh or 8500mAh Battery for long term use。
140
141 == 1.4 ​ Applications ==
142
143
144 * Smart Buildings & Home Automation
145 * Logistics and Supply Chain Management
146 * Smart Metering
147 * Smart Agriculture
148 * Smart Cities
149 * Smart Factory
150
151 (% 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" %)​(%%)​
152
153
154
155 == 1.5  Pin Definitions and Switch ==
156
157 (% class="wikigeneratedid" %)
158 [[image:1656295519542-152.png||height="413" width="728"]]
159
160
161 (% class="wikigeneratedid" %)
162 [[image:1656295532863-613.png||height="371" width="721"]]
163
164
165 (% class="wikigeneratedid" %)
166 [[image:image-20220627101527-1.png]]
167
168 (% class="wikigeneratedid" style="display:none" %)
169
170
171
172 === 1.5.1 Jumper JP2 ===
173
174 Power on Device when put this jumper.
175
176
177 === 1.5.2 BOOT MODE / SW1 ===
178
179 (((
180 ~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.
181 )))
182
183 (((
184 2. Flash:  work mode, device starts to work and send out console output for further debug
185 )))
186
187
188 === 1.5.3 Reset Button ===
189
190 Press to reboot the device.
191
192
193 === 1.5.4 LED ===
194
195 It will flash:
196
197 1. When boot the device in flash mode
198 1. Send an uplink packet
199
200 === 1.6  Hardware Change log ===
201
202 Note: Hardware version is marked in the PCB.
203
204 **LSN50 v2.1:**
205
206 1. Change R14 to 1M ohm
207 1. Change R3, R4 to 4.7Kohm. So no need to modify them for 3 DS18B20 connection.
208 1. Add ESD to each I/O
209
210 **LSN50 v2.0:**
211
212 * Change to a new enclosure. Improve with external antenna, IP68, ear hook.
213
214 **LSN50 v1.3**:
215
216 * Add P-MOS to control 5V output
217
218 **LSN50 v1.2**:
219
220 * Add LED. Turn on for every LoRa transmit
221 * Add pin PA4, PB13, NRST
222 * Add 5V Output, on/off control by PB5(Low to Enable, High to Disable)
223
224 == (% id="cke_bm_478801S" style="display:none" %) (%%)1.7  Hole Option ==
225
226 The LSN50 provides different hole size options for different size sensor cable. The options provided are M12, M16 and M20. The definition is as below:
227
228 [[image:image-20220627104757-1.png]]
229
230
231 [[image:1656298089706-973.png]]
232
233
234
235 = 2.  Use LSN50 with LoRaWAN firmware =
236
237 == 2.1  How it works ==
238
239 (((
240 (((
241 The LSN50 is pre-loaded with a firmware and is configured as LoRaWAN OTAA Class A mode by default. It has OTAA keys to join LoRaWAN network. To connect a local LoRaWAN network, you just need to input the OTAA keys in the LoRaWAN IoT server and power on the LSN50. It will automatically join the network via OTAA.
242 )))
243
244 (((
245
246 )))
247
248 (((
249 The diagram below shows the working flow in default firmware (ver 1.7.0): 
250 )))
251
252
253 [[image:image-20220627104855-2.png]]
254
255
256 In case you can't set the OTAA keys in the LoRaWAN OTAA server, and you have to use the keys from the server, you can [[use AT Commands>>doc:Main.End Device AT Commands and Downlink Command.WebHome]] to set the keys in the LSN50.
257 )))
258
259
260 == 2.2  ​Quick guide to connect to LoRaWAN server (OTAA) ==
261
262 (((
263 Following is an example for how to join the [[TTN V3 LoRaWAN Network>>url:http://www.thethingsnetwork.org/]]. Below is the network structure; we use the [[LG308>>url:http://www.dragino.com/products/lora/item/140-lg308.html]] as a LoRaWAN gateway in this example. 
264
265 (% style="background-image:url(http://wiki1.dragino.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:1656298385089-555.png]]
266
267
268 )))
269
270 (% title="Click and drag to resize" %)​(%%)The LG308 is already set to connected to [[TTN V3 network >>url:https://www.thethingsnetwork.org/]], so what we need to now is configure the TTN V3 server.(% 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" %)​(%%)​
271
272 (((
273
274
275 (% style="color:blue" %)**Step 1**(%%): Create a device in TTN with the OTAA keys from LSN50.
276
277 Each LSN50is shipped with a sticker with the default device EUI as below:
278 )))
279
280 (((
281
282 )))
283
284 (% 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" %)​(%%)​
285
286
287 (((
288 You can enter this key in the LoRaWAN Server portal. Below is TTN screen shot:
289
290 **Register the device:**
291 )))
292
293 (% 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" %)​​
294
295 (% 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" %)​
296
297
298 **Add APP EUI and DEV EUI:**
299
300
301 (% 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" %)​
302
303
304
305 **Add APP EUI in the application:**
306
307
308 (% 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" %)​
309
310
311 **Add APP KEY**
312
313 (% 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" %)​
314
315 (% 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" %)​
316
317 (% 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" %)​(%%)​
318
319 (% style="color:blue" %)**Step 2**(%%): Power on LSN50
320
321 Put a Jumper on JP2 to power on the device.(% style="display:none" %)
322
323 [[image:image-20220627145643-5.png]](% style="display:none" %)
324
325 (% style="display:none" %)
326
327
328 (% style="display:none" %) (%%)
329
330 **For LSn50v2:**
331
332 [[image:1656313034748-905.png]](% style="display:none" %)
333
334
335 (% 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" %)​(%%)​
336
337 (((
338 (((
339 (% style="color:blue" %)**Step 3**(%%)**:**  The LSN50 will auto join to the TTN V3 network. After join success, it will start to upload messages to TTN V3 and you can see the messages in the panel.
340 )))
341 )))
342
343 (% 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" %)​[[image:1656312908855-552.png]](% style="background-image:url(http://wiki1.dragino.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"]]
344
345 ​(% 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" %)​​
346
347
348 == 2.3  ​Working Mode & Uplink Payload ==
349
350 LSN50 has different working mode for the connections of different type of sensors. This section describes these modes. Use can use the AT Command AT+MOD to set LSN50 to different working modes.
351
352 For example:
353
354 (% style="color:red" %)**AT+MOD=2**(%%) ~/~/ will set the LSN50 to work in MOD=2 distance mode which target to measure distance via Ultrasonic Sensor.
355
356
357 (% style="color:red" %)**NOTE:**
358
359 (% style="color:red" %)1. Some working modes has payload more than 12 bytes, The US915/AU915/AS923 frequency bands’ definition has maximum 11 bytes in **DR0**. Server sides will see NULL payload while LSn50 transmit in DR0 with 12 bytes payload.
360 2. All modes share the same Payload Explanation from HERE.
361 3. By default, the device will send an uplink message every 5 minutes.
362
363 (% border="1" cellspacing="10" style="background-color:#ffffcc; color:green; width:400px" %)
364 |=(% style="width: 62.5px;" %)(((
365 **Size (bytes)**
366 )))|=(% style="width: 60px;" %)2|=(% style="width: 60px;" %)4|=(% style="width: 65px;" %)1|=(% style="width: 65px;" %)**2**|=(% style="width: 65px;" %)2
367 |(% style="width:65px" %)**Value**|(((
368 [[Battery>>||anchor="HBattery:"]]
369 )))|(% style="width:61px" %)(((
370 ignore
371 )))|(% style="width:91px" %)(((
372 [[Alarm Flag>>||anchor="HAlarmFlag26MOD:"]]
373 )))|(% style="width:99px" %)(((
374 [[Temperature>>||anchor="HTemperature:"]]
375 )))|(% style="width:97px" %)(((
376 [[Humidity>>||anchor="HHumidity:"]]
377 )))
378
379 === 2.3.1  MOD~=1 (Default Mode) ===
380
381 (((
382 In this mode, uplink payload includes in total 11 bytes. Uplink packets use FPORT=2.
383 [[image:image-20220627171207-27.png]]
384
385 [[image:image-20220627150949-6.png]]
386
387
388 )))
389
390
391 1.
392 11.
393 111. MOD=2 (Distance Mode)
394
395 This mode is target to measure the distance. The payload of this mode is totally 11 bytes. The 8^^th^^ and 9^^th^^ bytes is for the distance.
396
397
398
399 |**Size(bytes)**|**2**|**2**|**2**|**1**|**2**|**2**
400 |**Value**|BAT|(((
401 Temperature
402
403 (DS18B20)
404 )))|ADC|Digital in & Digital Interrupt|(((
405 Distance measure by:
406
407 1) LIDAR-Lite V3HP
408
409 Or
410
411 2) Ultrasonic Sensor
412 )))|Reserved
413
414
415
416 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image001.png]]
417
418
419
420 Connection of LIDAR-Lite V3HP:
421
422 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.png]]
423
424
425 Connection to Ultrasonic Sensor:
426
427 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
428
429
430
431
432
433 For the connection to TF-Mini or TF-Luna , MOD2 payload is as below:
434
435
436 |**Size(bytes)**|**2**|**2**|**1**|**2**|**2**|**2**
437 |**Value**|BAT|(((
438 Temperature
439
440 (DS18B20)
441 )))|Digital in & Digital Interrupt|ADC|(((
442 Distance measure by:
443
444 1)TF-Mini plus LiDAR
445
446 Or
447
448 2) TF-Luna LiDAR
449 )))|Distance signal  strength
450
451
452
453 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image004.png]]
454
455
456 Connection to [[TF-Mini plus>>url:http://en.benewake.com/product/detail/5c345cd0e5b3a844c472329b.html]] LiDAR(UART version):
457
458 Need to remove R3 and R4 resistors to get low power. Since firmware v1.7.0[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image005.png]]
459
460
461
462 Connection to [[TF-Luna>>url:http://en.benewake.com/product/detail/5e1c1fd04d839408076b6255.html]] LiDAR (UART version):
463
464 Need to remove R3 and R4 resistors to get low power. Since firmware v1.7.0
465
466
467 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image006.png]]
468
469
470 Please use firmware version > 1.6.5 when use MOD=2, in this firmware version, user can use LSn50 v1 to power the ultrasonic sensor directly and with low power consumption.
471
472
473
474
475
476 1.
477 11.
478 111. MOD=3 (3 ADC + I2C)
479
480
481 This mode has total 12 bytes. Include 3 x ADC + 1x I2C
482
483
484 |**Size(bytes)**|**2**|**2**|**2**|**1**|**2**|**2**|**1**
485 |**Value**|(((
486 ADC1
487
488 (Pin PA0)
489 )))|(((
490 ADC2
491
492 (PA1)
493 )))|(((
494 ADC3
495
496 (PA4)
497 )))|Digital in & Digital Interrupt|(((
498 Temperature
499
500 (SHT20 or SHT31)
501 )))|(((
502 Humidity
503
504 (SHT20 or SHT31)
505 )))|BAT
506
507
508
509 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image007.png]]
510
511
512 1.
513 11.
514 111. MOD=4 (3 x DS18B20)
515
516
517 This mode is supported in firmware version since v1.6.1. Software set to AT+MOD=4
518
519 Hardware connection is as below,
520
521 (Note:
522
523 * In hardware version v1.x and v2.0 , R3 & R4 should change from 10k to 4.7k ohm to support the other 2 x DS18B20 probes.
524 * In hardware version v2.1 no need to change R3 , R4, by default, they are 4.7k ohm already.
525
526 See [[here>>path:#hardware_changelog]] for hardware changelog.
527
528 )
529
530 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image008.png]]
531
532
533 This mode has total 11 bytes. As shown below:
534
535 |**Size(bytes)**|**2**|**2**|**2**|**1**|**2**|**2**
536 |**Value**|BAT|(((
537 Temperature1
538
539 (DS18B20)
540
541 (PB3)
542 )))|(((
543 ADC
544
545
546 )))|Digital in & Digital Interrupt|(((
547 Temperature2
548
549 (DS18B20)
550
551 (PA9)
552 )))|(((
553 Temperature3
554
555 (DS18B20)
556
557 (PA10)
558 )))
559
560
561 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image009.png]]
562
563
564 1.
565 11.
566 111. MOD=5(Weight Measurement by HX711)
567
568
569 This mode is supported in firmware version since v1.6.2. Please use v1.6.5 firmware version so user no need to use extra LDO for connection.
570
571 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image010.png]]
572
573
574 Each HX711 need to be calibrated before used. User need to do below two steps:
575
576 1. Zero calibration. Don’t put anything on load cell and run **AT+WEIGRE** to calibrate to Zero gram.
577 1. Adjust calibration factor (default value 400): Put a known weight thing on load cell and run **AT+WEIGAP** to adjust the Calibration Factor.
578
579 For example:
580
581
582 **AT+WEIGAP =403.0**
583
584 Response:  Weight is 401 g
585
586
587 Check the response of this command and adjust the value to match the real value for thing.
588
589
590
591 |**Size(bytes)**|**2**|**2**|**2**|**1**|**2**|**2**
592 |**Value**|[[BAT>>path:#BAT]]|(((
593 [[Temperature>>path:#DS18B20]]
594
595 [[(DS18B20)>>path:#DS18B20]]
596 )))|[[ADC>>path:#ADC]]|[[Digital in & Digital Interrupt>>path:#Digtial_input]]|Weight|Reserved
597
598
599 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image011.png]]
600
601
602
603
604
605 1.
606 11.
607 111. MOD=6(Counting Mode, Since firmware v1.6.5)
608
609
610 In this mode, the device will work in counting mode. It counts the interrupt on the interrupt pins and sends the count on TDC time.
611
612
613 Connection is as below. The PIR sensor is a count sensor, it will generate interrupt when people come close or go away. User can replace the PIR sensor with other counting sensors.
614
615
616 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image012.png]]
617
618 Note: LoRaWAN wireless transmission will infect the PIR sensor. Which cause the counting value increase +1 for every uplink. User can change PIR sensor or put sensor away of the LSN50 to avoid this happen.
619
620
621 |**Size(bytes)**|**2**|**2**|**2**|**1**|**4**
622 |**Value**|[[BAT>>path:#BAT]]|(((
623 [[Temperature>>path:#DS18B20]]
624
625 [[(DS18B20)>>path:#DS18B20]]
626 )))|[[ADC>>path:#ADC]]|[[Digital in>>path:#Digtial_input]]|Count
627
628
629
630 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image013.png]]
631
632
633
634
635
636
637 1.
638 11.
639 111. ​Decode payload in The Things Network
640
641 While using TTN V3 network, you can add the payload format to decode the payload.
642
643
644 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image014.png]]
645
646
647 The payload decoder function for TTN V3 are here:
648
649 LSN50 TTN V3 Payload Decoder: [[http:~~/~~/www.dragino.com/downloads/downloads/LSN50-LoRaST/Payload_decoder/>>url:http://www.dragino.com/downloads/downloads/LSN50-LoRaST/Payload_decoder/]]
650
651
652
653
654
655
656
657 1.
658 11. ​Payload Explanation and Sensor Interface
659 111. ​Battery Info
660
661 Check the battery voltage for LSN50.
662
663 Ex1: 0x0B45 = 2885mV
664
665 Ex2: 0x0B49 = 2889mV
666
667
668 1.
669 11.
670 111. ​Temperature (DS18B20)
671
672 If there is a DS18B20 connected to PB3 pin. The temperature will be uploaded in the payload.
673
674
675 More DS18B20 can check the [[3 DS18B20 mode>>path:#ds18b20_3]]
676
677
678 **Connection**
679
680 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image015.png]]
681
682
683 **Example**:
684
685 If payload is: 0105H:  (0105 & FC00 == 0), temp = 0105H /10 = 26.1 degree
686
687 If payload is: FF3FH :  (FF3F & FC00 == 1) , temp = (FF3FH - 65536)/10 = -19.3 degrees.
688
689
690 1.
691 11.
692 111. ​Digital Input
693
694 The digital input for pin PA12,
695
696 * When PA12 is high, the bit 1 of payload byte 6 is 1.
697 * When PA12 is low, the bit 1 of payload byte 6 is 0.
698
699
700
701
702
703 1.
704 11.
705 111. ​Analogue Digital Converter (ADC)
706
707
708 The ADC pins in LSN50 can measure range from 0~~3.3v, it use reference voltage from STM32. If user need to measure a voltage >3.3v, please use resistors to divide this voltage to lower than 3.3v, otherwise, it may destroy the ADC pin.
709
710
711 The ADC monitors the voltage on the PA0 line, in mV.
712
713 Ex: 0x021F = 543mv,
714
715
716 **Example1:**  Reading an Oil Sensor (Read a resistance value):
717
718
719 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image016.png]]
720
721 |(((
722 10 ~~ 70cm
723 )))
724
725 |(((
726 ~* 在顶部,油传感器起到10K电阻的作用。
727
728 *底部是一个0欧姆的电阻
729
730
731 为了得到液体的深度,我们可以测量油传感器的输出电阻,并计算出油束的位置,从而计算出油的高度。
732 )))
733
734
735
736 In the LSN50, we can use PB4 and PA0 pin to calculate the resistance for the oil sensor.
737
738
739 Steps:
740
741 1. Solder a 10K resistor between PA0 and VCC.
742 1. Screw oil sensor’s two pins to PA0 and PB4.
743
744
745 The equipment circuit is as below:
746
747 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image017.png]]
748
749 |(((
750 **在PA0和VCC之间焊接一个10K电阻**
751
752
753 **将机油传感器连接到PA0和PB4上**
754 )))
755
756 |(((
757 **每次采样时,PB4将设置为低(0v)**
758 )))
759
760 |(((
761 **ADC引脚**
762 )))
763
764
765
766
767 According to above diagram:
768
769 (//VCC-VPA010k=VPA0Roilsensor//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image018.png]]
770
771
772 So
773
774 //Roilsensor=VPA0×10KVCC-VPA0//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image019.png]]
775
776 //VPA0//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image020.png]] is the reading of ADC. So if ADC=0x05DC=0.9 v and VCC (BAT) is 2.9v
777
778
779 The //Roilsensor=0.9×10K2.9-0.9=//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image021.png]] 4.5K ohm
780
781 Since the Bouy is linear resistance from 10 ~~ 70cm.
782
783
784 The position of Bouy is //4.5K10K×70cm-10cm+10cm=37cm//[[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image022.png]] , from the bottom of Bouy
785
786
787 1.
788 11.
789 111. ​​Digital Interrupt
790
791 Digital Interrupt refers to pin PB14, and there are different trigger methods. When there is a trigger, the LSN50 will send a packet to the server.
792
793
794 Interrupt connection method:
795
796 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image023.png]]
797
798
799 **Example to use with door sensor **
800 (Requires firmware > 1.5.1)
801
802
803 The door sensor is shown at right. It is a two wire magnetic contact switch used for detecting the open/close status of doors or windows. [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image024.png]]
804
805
806 When the two pieces are close to each other, the 2 wire output will be short or open (depending on the type), while if the two pieces are away from each other, the 2 wire output will be the opposite status. So we can use LSN50 interrupt interface to detect the status for the door or window.
807
808
809 Below is the installation example:
810
811 Fix one piece of the magnetic sensor to the door and connect the two pins to LSN50 as follows:
812
813 * One pin to LSN50’s PB14 pin
814 * The other pin to LSN50’s VCC pin
815
816
817 Install the other piece to the door. Find a place where the two pieces will be close to each other when the door is closed. For this particular magnetic sensor, when the door is closed, the output will be short, and PB14 will be at the VCC voltage.
818
819
820 Door sensors have two types:  NC (Normal close) and NO (normal open). The connection for both type sensors are the same. But the decoding for payload are reverse, user need to modify this in the IoT Server decoder.
821
822
823 When door sensor is shorted, there will extra power consumption in the circuit, the extra current is 3v3/R14 = 3v2/1Mohm = 0.3uA which can be ignored.
824
825
826
827
828 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image025.png]]
829
830
831 The above photos shows the two parts of the magnetic switch fitted to a door.
832
833
834 The software by default uses the falling edge on the signal line as an interrupt. We need to modify it to accept both the rising edge (0v ~-~-> VCC , door close) and the falling edge (VCC ~-~-> 0v , door open) as the interrupt.
835
836
837 The command is:
838
839 **AT+INTMOD=1    ~/~/(more info about INMOD please refer **[[**AT Command Manual**>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/&file=DRAGINO_LSN50_AT_Commands_v1.5.1.pdf]]**. )**
840
841
842 Below shows some screen captures in TTN V3:
843
844
845 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image026.png]]
846
847
848 In MOD=1, user can use byte 6 to see the status for door open or close. TTN V3 decoder is as below:
849
850
851 door= (bytes[6] & 0x80)? "CLOSE":"OPEN";
852
853
854
855 **Notice for hardware version LSN50 v1 < v1.3** (produced before 2018-Nov).
856
857 In this hardware version, there is no R14 resistance solder. When use the latest firmware, it should set AT+INTMOD=0 to close the interrupt. If user need to use Interrupt in this hardware version, user need to solder R14 with 10M resistor and C1 (0.1uF) on board.
858
859 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image027.png]]
860
861
862
863
864
865 1.
866 11.
867 111. ​I2C Interface (SHT20)
868
869 The PB6(SDA) and PB7(SCK) are I2C interface lines. You can use these to connect to an I2C device and get the sensor data.
870
871
872 We have made an example to show how to use the I2C interface to connect to the SHT20 Temperature and Humidity Sensor. This is supported in the stock firmware since v1.5 with **AT+MOD=1 (default value).**
873
874
875 Below is the connection to SHT20.
876
877
878 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image028.png]]
879
880
881 The device will be able to get the I2C sensor data now and upload to IoT Server.
882
883
884 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image029.png]]
885
886 Convert the read byte to decimal and divide it by ten.
887
888
889 **Example:**
890
891 Temperature:  Read:0116(H) = 278(D)  Value:  278 /10=27.8℃;
892
893 Humidity:    Read:0248(H)=584(D)    Value:  584 / 10=58.4, So 58.4%
894
895
896 If you want to use other I2C device, please refer the SHT20 part source code as reference.
897
898
899 1.
900 11.
901 111. ​Distance Reading
902
903 Refer [[Ultrasonic Sensor section>>path:#Ultrasonic_Sensor]].
904
905
906 1.
907 11.
908 111. Ultrasonic Sensor
909
910 The LSN50 v1.5 firmware supports ultrasonic sensor (with AT+MOD=2) such as SEN0208 from DF-Robot. This Fundamental Principles of this sensor can be found at this link: [[https:~~/~~/wiki.dfrobot.com/Weather_-_proof_Ultrasonic_Sensor_with_Separate_Probe_SKU~~_~~__SEN0208>>url:https://wiki.dfrobot.com/Weather_-_proof_Ultrasonic_Sensor_with_Separate_Probe_SKU___SEN0208]]
911
912
913 The LSN50 detects the pulse width of the sensor and converts it to mm output. The accuracy will be within 1 centimeter. The usable range (the distance between the ultrasonic probe and the measured object) is between 24cm and 600cm.
914
915
916 The picture below shows the connection:
917
918 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image003.png]]
919
920
921
922 Connect to the LSN50 and run **AT+MOD=2** to switch to ultrasonic mode (ULT).
923
924 The ultrasonic sensor uses the 8^^th^^ and 9^^th^^ byte for the measurement value.
925
926
927 **Example:**
928
929 Distance:  Read:0C2D(Hex) = 3117(D)  Value:  3117 mm=311.7 cm
930
931
932 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
933
934
935 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]]
936
937
938
939 You can see the serial output in ULT mode as below:
940
941
942 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image032.png]]
943
944
945 In TTN V3 server:
946
947
948 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image030.png]]
949
950
951 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image031.png]]
952
953
954 1.
955 11.
956 111. ​+5V Output
957
958 Since v1.2 hardware version, a +5v output is added in the hardware. The +5V output will be valid for every sampling.  LSN50 will enable +5V output before all sampling and disable the +5v after all sampling.
959
960
961 Since firmware **v1.6.3**, The 5V output time can be controlled by AT Command.
962
963 **AT+5VT=1000**
964
965 Means set 5V valid time to have 1000ms. So the real 5V output will actually have 1000ms + sampling time for other sensors.
966
967
968 By default the AT+5VT=500. If the external sensor which require 5v and require more time to get stable state, user can use this command to increase the power ON duration for this sensor.
969
970
971
972
973 1.
974 11.
975 111. Weigh Sensor HX711
976
977 Since v1.6.2 firmware, LSN50 support Weigh Sensor HX711.
978
979
980 1.
981 11.
982 111. BH1750 Illumination Sensor
983
984 Since v1.7.0 firmware, MOD=1 support this sensor. The sensor value is in the 8^^th^^ and 9^^th^^ bytes.
985
986 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image033.jpg]]
987
988
989 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image034.png]]
990
991
992
993 1.
994 11.
995 111. Working MOD
996
997 The working MOD info is contained in the Digital in & Digital Interrupt byte (7^^th^^ Byte).
998
999
1000 User can use the 3^^rd^^ ~~ 7^^th^^  bit of this byte to see the working mod:
1001
1002
1003 Case 7^^th^^ Byte >> 2 & 0x1f:
1004
1005 * 0: MOD1
1006 * 1: MOD2
1007 * 2: MOD3
1008 * 3: MOD4
1009 * 4:MOD5
1010 * 5:MOD6
1011
1012
1013
1014
1015 1.
1016 11. ​Configure LSN50 via AT or Downlink
1017
1018 User can configure LSN50 via [[AT Commands >>path:#_​Using_the_AT]]or LoRaWAN Downlink Commands
1019
1020 There are two kinds of Commands:
1021
1022 * **Common Commands**: They should be available for each sensor, such as: change uplink interval, reset device. For firmware v1.7.0, user can find what common commands it supports: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands
1023
1024 * **Sensor Related Commands**: These commands are special designed for LSN50.  User can see these commands below:
1025
1026
1027 1.
1028 11.
1029 111. Common Commands:
1030
1031
1032 They should be available for each of Dragino Sensors, such as: change uplink interval, reset device. For firmware v1.7.0, user can find what common commands it supports: http:~/~/wiki.dragino.com/index.php?title=End_Device_AT_Commands_and_Downlink_Commands
1033
1034
1035 1.
1036 11.
1037 111. Sensor related commands:
1038
1039
1040 **Set work mode:**
1041
1042 * AT Command:
1043
1044 AT+MOD=2  ~/~/ Set work MOD =2. (1:IIC mode,2:Distance mode,3:3ADC mode, 4:3DS18B20 mode,5:weight mode)
1045
1046 AT+MOD=?      ~/~/  Get current work MOD
1047
1048
1049 * Downlink Payload:
1050
1051 0x0A aa ~/~/ Same as AT+MOD=aa
1052
1053
1054
1055 **Set the trigger interrupt mode:**
1056
1057 * AT Command:
1058
1059 AT+INTMOD=2  ~/~/ Set INTMOD =2. (0:Disable,1:falling or rising,2:falling,3:rising)
1060
1061 AT+INTMOD=?      ~/~/  Get current INTMOD
1062
1063
1064 * Downlink Payload:
1065
1066 0x06 000003     ~/~/ Set AT+INTMOD=3
1067
1068
1069 **Set the 5V power open time during sampling:**
1070
1071
1072 * AT Command:
1073
1074 AT+5VT=1000  ~/~/ Set 5v open time to 1000ms
1075
1076 AT+5VT=?      ~/~/  Check current 5v open duration
1077
1078
1079 * Downlink Payload:
1080
1081 0x07 aa bb     ~/~/ Equal AT+5VT=0x(aa bb)
1082
1083
1084
1085
1086 **Set the weight to 0g (Zero Calibration)**
1087
1088 * AT Command:
1089
1090 AT+WEIGRE  ~/~/ Set the weight to 0g
1091
1092
1093 * Downlink Payload:
1094
1095 0x08 01     ~/~/ Set the weight to 0g
1096
1097
1098
1099 **Get or Set the GAP Value (calibrate factor) of measurement**
1100
1101 * AT Command:
1102
1103 AT+WEIGAP=403.0  ~/~/ Set GAP Value =403.0 (response: Weight: xx g)
1104
1105 AT+WEIGAP=?      ~/~/  Get current GAP Value
1106
1107
1108 * Downlink Payload:
1109
1110 0x08 02 aa bb     ~/~/ Equal to AT+WEIGAP=0x(aa bb)/10
1111
1112
1113
1114
1115
1116
1117
1118 1.
1119 11. ​Show Data in Datacake IoT Server
1120
1121 Datacake provides a human friendly interface to show the sensor data, once we have data in TTN V3, we can use Datacake to connect to TTN V3 and see the data in Datacake. Below are the steps:
1122
1123
1124 Step 1: Be sure that your device is programmed and properly connected to the network at this time.
1125
1126 Step 2: To configure the Application to forward data to Datacake you will need to add integration. To add the Datacake integration, perform the following steps:
1127
1128
1129 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image035.png]]
1130
1131
1132 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image036.png]]
1133
1134
1135 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image037.png]]
1136
1137
1138
1139 Step 3: Create an account or log in Datacake.
1140
1141 Step 4: Search the LSN50 and add DevEUI.
1142
1143 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image038.png]]
1144
1145
1146
1147 1.
1148 11. ​Firmware Change Log
1149
1150 ~* [[**Firmware download link**>>url:https://github.com/dragino/LoRa_STM32/tree/master/LSN50.hex]]
1151
1152 [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Firmware/LSN50.hex/>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Firmware/LSN50.hex/]]
1153
1154
1155 **~* Firmware Change Log:**
1156
1157 [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Firmware/LSN50.hex/>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Firmware/LSN50.hex/]]
1158
1159
1160
1161
1162 1.
1163 11. Use VDD or +5V to Power External Sensor
1164
1165 User can use VDD or +5V to power external sensor. Note:
1166
1167
1168 1. VDD is 2.5~~3.3v from the battery + diode, the VDD is always on, so when use VDD to power external sensor, make sure the sensor has a low power consumption in sleep mode ( less 50 uA) to get a long battery life.
1169 1. +5V output is only ON when sampling. And MCU will turn off it after sampling. So if sensor can support 5v, +5V out is the best choice. [[See here for more info>>path:#output_5v]].
1170
1171
1172 Note: Always test the actually current pass by the JP2 jumper when connect to a new type of sensor.
1173
1174
1175
1176
1177
1178
1179
1180 == 2.9  Battery Analysis ==
1181
1182 === 2.9.1  Battery Type ===
1183
1184 The LSN50 battery is a combination of a 4000mAh or 8500mAh Li/SOCI2 Battery and a Super Capacitor. The battery is non-rechargeable battery type with a low discharge rate (<2% per year). This type of battery is commonly used in IoT devices such as water meter.
1185
1186
1187 The battery is designed to last for more than 5 years for the LSN50.
1188
1189
1190 The battery related documents as below:
1191
1192 * [[Battery Dimension>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/Battery/&file=LSN50-Battery-Dimension.pdf]],
1193 * [[Lithium-Thionyl Chloride Battery>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/ER18505_datasheet-EN.pdf]] datasheet, [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/ER18505_datasheet_PM-ER18505-S-02-LF_EN.pdf]]
1194 * [[Lithium-ion Battery-Capacitor datasheet>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC_1520_datasheet.jpg]], [[Tech Spec>>url:http://www.dragino.com/downloads/downloads/datasheet/Battery/SPC1520%20Technical%20Specification20171123.pdf]]
1195
1196
1197
1198 |(((
1199 JST-XH-2P connector
1200 )))
1201
1202 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image039.png]] [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image040.png]]
1203
1204
1205
1206
1207 1.
1208 11.
1209 111. ​Power consumption Analyze
1210
1211 When connect to different sensors, it is good to test the power consumption with the sensor working. User can remove the [[ON/OFF Jumper>>path:#power_on]] of LSN50, and connect a multimeter between the two pins of this header and measure the current to know the whole system power consumption. Because the sleep mode will have as low as 10uA, at least 4.5 digit multimeter is required to measure this level of current.
1212
1213 A victor VC86E is recommended.
1214
1215 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image041.png]]
1216
1217
1218 In a minimum system with DS18B20 and Oil Sensor and default firmware, the power consumption includes:
1219
1220
1221 1. Deep Sleep (Stop mode) for STM32. ~~ 5uA
1222 1. Sampling current while reading DS18B20 and Oil Sensor
1223
1224 * Oil Sensor sampling time: 200us, current: 0.3mA
1225 * DS18B20 sampling time: 750ms, current: 0.64mA
1226 * Above power should add 8mA CPU power in working mode.
1227
1228 1. LoRaWAN transmit and receive time consumption. The LoRa TX / RX time and power can be found in the [[LoRa calculator tool>>url:https://www.semtech.com/uploads/documents/SX1272LoRaCalculatorSetup1_1.zip]].
1229
1230
1231 In a typical LoRaWAN data transmit. The energy profile is as below:
1232
1233
1234 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image042.png]]
1235
1236 In the LoRaWAN protocol, the device will transfer in different LoRa Radio, and have different energy profile in LoRa part. We can calculate the battery life in two cases:
1237
1238 1. Lower power LoRa radio. Device has a good signal to gateway
1239 1. Higher power LoRa radio. Device has a poor signal to gateway
1240
1241
1242
1243 **Low Power Case**:
1244
1245 * Radio Parameter: SF7, 125kHz, 20dbm
1246 * Transmit interval: 15 minutes.
1247 * Payload: 8 Bytes.
1248
1249
1250 **High Power Case**:
1251
1252 * Radio Parameter: SF10, 125kHz, 20dbm
1253 * Transmit interval: 15 minutes.
1254 * Payload: 8 Bytes.
1255
1256
1257 To simplify the calculation, we can:
1258
1259 * Combine oil sensor and DS18B20 sampling energy together to **751ms@8.64ma**
1260
1261 * Combine the two RX windows together.
1262
1263
1264 There is a [[power consumption tool>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/&file=Battery_Calculator_v1.0.xlsx]] for easy analysis. Below is the analysis result.
1265
1266
1267 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image043.png]]
1268
1269 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image044.png]]
1270
1271 Note: Ignore the 18 year result, because the battery has a max 2% discharge per year.
1272
1273
1274 1.
1275 11.
1276 111. ​Battery Note
1277
1278 The Li-SICO battery is designed for small current / long period application. It is not good to use a high current, short period transmit method. The recommended minimum period for use of this battery is 5 minutes. If you use a shorter period time to transmit LoRa, then the battery life may be decreased.
1279
1280
1281 1.
1282 11.
1283 111. ​Replace the battery
1284
1285 You can change the battery in the LSN50.The type of battery is not limited as long as the output is between 3v to 3.6v. On the main board, there is a diode (D1) between the battery and the main circuit. If you need to use a battery with less than 3.3v, please remove the D1 and shortcut the two pads of it so there won’t be voltage drop between battery and main board.
1286
1287
1288 The default battery pack of LSN50 includes a ER18505 plus super capacitor. If user can’t find this pack locally, they can find ER18505 or equivalence, which will also work in most case. The SPC can enlarge the battery life for high frequency use (update period below 5 minutes)
1289
1290
1291
1292
1293 ==== ====
1294
1295
1296
1297
1298
1299 === ===
1300
1301
1302
1303
1304
1305 (((
1306
1307 )))
1308
1309 = 3.  Using the AT Commands =
1310
1311 == 3.1  Access AT Commands ==
1312
1313 LSN50 supports AT Command set in the stock firmware. You can use a USB to TTL adapter to connect to LSN50 for using AT command, as below.
1314
1315
1316 (% style="color:#4472c4" %)**LSN50 v1 UART connection photo**
1317
1318 [[image:image-20220627165424-24.png||height="495" width="486"]]
1319
1320
1321 (% style="color:#4472c4" %)**LSN50 v2 UART connection photo**
1322
1323 [[image:image-20220627165424-25.png||height="483" width="988"]]
1324
1325
1326 (((
1327 In the PC, you need to set the serial baud rate to (% style="color:green" %)**9600**(%%) to access the serial console for LSN50. LSN50 will output system info once power on as below:
1328 )))
1329
1330 [[image:image-20220627165531-26.png]]
1331
1332
1333
1334 == 3.2  Common AT Command Sequence ==
1335
1336
1337 === 3.2.1  Multi-channel ABP mode (Use with SX1301/LG308) ===
1338
1339 (% style="color:#037691" %)**If device has not joined network via OTAA:**
1340
1341 (% style="background-color:#dcdcdc" %)AT+FDR
1342
1343 (% style="background-color:#dcdcdc" %)AT+NJM=0
1344
1345 (% style="background-color:#dcdcdc" %)ATZ
1346
1347
1348 (% style="color:#037691" %)**If device already joined network:**
1349
1350 (% style="background-color:#dcdcdc" %)AT+NJM=0
1351
1352 (% style="background-color:#dcdcdc" %)ATZ
1353
1354
1355 === 3.2.2  Single-channel ABP mode (Use with LG01/LG02) ===
1356
1357 See [[Sect 6.7>>path:#single_channel_mode]]
1358
1359
1360
1361 = 4.  Upload Firmware =
1362
1363 (% style="color:red" %)**Notes**:
1364
1365 * Since image v1.3, the firmware will show version info during boot. If your device doesn't show version info, you may have a very old image version.
1366 * Always run AT+FDR to reset parameters to factory default after an update image.
1367 If the update is from image >= v1.3 to another image version >=v1.3, then the keys will be kept after running AT+FDR.
1368 Otherwise (e.g. from v1.2 to v1.3), AT+FDR may erase the keys.
1369
1370
1371 == 4.1  Upload Firmware via Serial Port ==
1372
1373 The LSN50's AT Command port can be used for firmware upgrade. The hardware connection for upgrade firmware is as below:
1374
1375
1376 [[image:image-20220627163506-18.png||height="426" width="418"]]
1377
1378
1379 (% style="color:blue" %)**Step1**(%%)**:** Download [[flash loader>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/flasher-stm32.html]].
1380
1381
1382 (% style="color:blue" %)**Step2**(%%)**:** Download the [[LSN50 Image files>>url:https://github.com/dragino/LoRa_STM32/tree/master/LSN50.hex]].
1383
1384
1385 (% style="color:blue" %)**Step3**(%%)**: **Open flashloader; choose the correct COM port to update
1386
1387 [[image:image-20220627163821-19.png]]
1388
1389
1390 [[image:image-20220627163930-20.png||height="450" width="751"]]
1391
1392
1393 [[image:image-20220627164030-21.png||height="459" width="750"]]
1394
1395 (% style="color:blue" %)**Step4**(%%)**: **Switch SW1 back to flash state and push the RESET button.
1396
1397 The LSN50 will then run the new firmware.
1398
1399
1400 == 4.2  Upload Firmware via ST-Link V2 ==
1401
1402 You can use ST-LINK to upgrade firmware into LSN50. The hardware connection for upgrade firmware is as below:
1403
1404 [[image:1656319349131-664.png]]
1405
1406 Connection:
1407
1408 * ST-LINK v2 GND <~-~-> LSN50 GND
1409 * ST-LINK v2 SWCLK <~-~-> LSN50 PA14
1410 * ST-LINK v2 SWDIO <~-~-> LSN50 PA13
1411 * ST-LINK v2 RST <~-~->LSN50 NRST.
1412
1413 (% style="color:blue" %)**Step1:**(%%) Install [[ST-LINK driver>>url:https://www.stmicroelectronics.com.cn/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-utilities/stsw-link009.html]] first and then install [[ST-LINK Utility>>url:https://www.st.com/content/st_com/en/products/development-tools/software-development-tools/stm32-software-development-tools/stm32-programmers/stsw-link004.html]]
1414
1415
1416 (% style="color:blue" %)**Step2**(%%): Download the [[LSN50 Image files>>url:https://github.com/dragino/LoRa_STM32/tree/master/LSN50.hex]].
1417
1418
1419 (% style="color:blue" %)**Step3:**(%%)** **Open ST-LINK utility, (% style="color:blue" %)**file ~-~-> open file**(%%) to select the image to be upgraded.
1420
1421
1422 (% style="color:blue" %)**Step4:**(%%)** **Click the “(% style="color:blue" %)**Program Verify**”(%%) button on ST-LINK.
1423
1424
1425 [[image:image-20220627164303-22.png]]
1426
1427
1428 (% style="color:blue" %)**Step5:**(%%)** **The led on the ST-LINK adapter will now blinking, and the ST-Link utility will pop up a download window. Click the start button to download the image to LSN50.
1429
1430
1431 (% style="color:red" %)NOTE: If this step fails, ST-LINK can't establish connection to LSN50, please try to swap SWDIO & SWCLK pin. Some ST-LINK v2 devices are incorrectly marked.
1432
1433
1434 [[image:image-20220627164303-23.png]]
1435
1436
1437
1438 = 5.  Developer Guide =
1439
1440 (% style="display:none" %)
1441
1442 * Software Source Code Download : [[https:~~/~~/github.com/dragino/LoRa_STM32/tree/master/STM32CubeExpansion_LRWAN>>https://github.com/dragino/LoRa_STM32/tree/master/STM32CubeExpansion_LRWAN]]
1443 * Hardware Source Code Download: [[https:~~/~~/github.com/dragino/Lora/tree/master/LSN50>>https://github.com/dragino/Lora/tree/master/LSN50]]
1444
1445 LSN50 is an open source project, developer can use compile their firmware for customized applications. User can get the source code from:
1446
1447 * Software Source Code: [[https:~~/~~/github.com/dragino/LoRa_STM32/tree/master/STM32CubeExpansion_LRWAN>>url:https://github.com/dragino/LoRa_STM32/tree/master/STM32CubeExpansion_LRWAN]]
1448 * Hardware Design files:  [[https:~~/~~/github.com/dragino/Lora/tree/master/LSN50>>url:https://github.com/dragino/Lora/tree/master/LSN50]]
1449 * Compile instruction:  [[http:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Compile%20Instruction%20~~-~~-%20STM32/>>http://wiki.dragino.com/xwiki/bin/view/Main/Firmware%20Compile%20Instruction%20--%20STM32/]]
1450
1451 Use Keil to open project file:
1452
1453 STM32CubeExpansion_LRWAN/Projects/Multi/Applications/LoRa/DRAGINO-LRWAN(AT)/MDK-ARM/STM32L072CZ-Nucleo/Lora.uvprojx
1454
1455
1456 In Keil, you can see what frequency band the code support.
1457
1458 [[image:image-20220627162417-15.png]]
1459
1460
1461 ~1. If you want to change frequency, modify the Preprocessor Symbols.
1462 For example, change EU868 to US915
1463
1464 [[image:1656318662202-530.png]]
1465
1466 [[image:file:///C:/Users/93456/AppData/Local/Temp/msohtmlclip1/01/clip_image002.emz]]
1467
1468 2. Compile and build
1469
1470 [[image:image-20220627163212-17.png]]
1471
1472
1473
1474 = 6.  FAQ =
1475
1476 == 6.1  Why there is 433/868/915 version? ==
1477
1478 (((
1479 Different countries have different rules for the ISM band for LoRa. Although the LoRa chip can support a wide range of Frequencies, we provide different versions of the hardware for best tune of the LoRa hardware part.
1480 )))
1481
1482
1483 == 6.2 What is the frequency range of LT LoRa part? ? ==
1484
1485 Different LT version supports different frequency range, below is the table for the working frequency and recommend bands for each model:
1486
1487 [[image:image-20220627155456-9.png]]
1488
1489
1490
1491 == 6.3  How to change the LoRa Frequency Bands/Region? ==
1492
1493 You can follow the instructions for [[how to upgrade image>>path:#3ygebqi]].
1494 When downloading the images, choose the required image file for download.
1495
1496
1497 == 6.4  Can I use Private LoRa protocol? ==
1498
1499 (((
1500 (((
1501 The stock firmware is based on LoRaWAN protocol. You can use a private LoRa protocol in LSN50. This section describes an example for base LoRa transfer. It is a reference/demo and we do not provide further software development support on this topic.
1502 )))
1503
1504 (((
1505 In this demo, we will show the communication between LoRa Shield and LSN50, both of them using the basic LoRa library. LSN50 will send a message to a LoRa Shield and the LoRa Shield will print it to the console.
1506 )))
1507
1508
1509 )))
1510
1511 (% style="color:#4472c4" %)**LoRa Shield + UNO**:
1512
1513 Use the [[LoRa Library>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/LoRa_Raw_Example/Arduino/&file=LoRa.zip]] and upload the [[LoRa Receive>>http://www.dragino.com/downloads/downloads/LSN50-LoRaST/LoRa_Raw_Example/Arduino/LoRaReceiver.ino]] Sketch to Arduino.
1514
1515
1516 Refs:
1517
1518 [[http:~~/~~/www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/LoRa_Raw_Example/Arduino/&file=LoRa.zip>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/LoRa_Raw_Example/Arduino/&file=LoRa.zip]]
1519
1520 [[http:~~/~~/www.dragino.com/downloads/downloads/LSN50-LoRaST/LoRa_Raw_Example/Arduino/LoRaReceiver.ino>>url:http://www.dragino.com/downloads/downloads/LSN50-LoRaST/LoRa_Raw_Example/Arduino/LoRaReceiver.ino]]
1521
1522
1523 Open the serial monitor to Arduino. The device acts as a LoRa Receiver and listen on the frequency 868.3Mhz by default.
1524
1525
1526 (% style="color:#4472c4" %)**LSN50**:
1527
1528 Use the <[[LoRa RAW code>>url:http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/LoRa_Raw_Example/LSN50/&file=lora_send.zip]]> . The project file is in: MDK-ARM\STM32L072CZ-Nucleo\ Lora.uvprojx
1529
1530 [[Compile>>path:#19c6y18]] it and [[Upload>>path:#3ygebqi]] it to LSN50, the LSN50 will transfer on the frequency 868.3Mhz.
1531
1532 In the Arduino Console, it will see the received packets as below.
1533
1534
1535 [[image:image-20220627160116-10.png]]
1536
1537
1538 == 6.5  How to set up LSN50 to work in 8 channel mode ==
1539
1540 By default, the frequency bands US915, AU915, CN470 work in 72 frequencies. Many gateways are 8 channel gateways, and in this case, the OTAA join time and uplink schedule is long and unpredictable while the end node is hopping in 72 frequencies.
1541
1542 You can configure the end node to work in 8 channel mode by using the AT+CHE command. The 500kHz channels are always included for OTAA.
1543
1544
1545 For example, in (% style="color:blue" %)**US915**(%%) band, the frequency table is as below. By default, the end node will use all channels (0~~71) for OTAA Join process. After the OTAA Join, the end node will use these all channels (0~~71) to send uplink packets.
1546
1547 [[image:image-20220627160940-13.png]]
1548
1549
1550 When you use the TTN V3 network, the US915 frequency bands use are:
1551
1552 * 903.9 - SF7BW125 to SF10BW125
1553 * 904.1 - SF7BW125 to SF10BW125
1554 * 904.3 - SF7BW125 to SF10BW125
1555 * 904.5 - SF7BW125 to SF10BW125
1556 * 904.7 - SF7BW125 to SF10BW125
1557 * 904.9 - SF7BW125 to SF10BW125
1558 * 905.1 - SF7BW125 to SF10BW125
1559 * 905.3 - SF7BW125 to SF10BW125
1560 * 904.6 - SF8BW500
1561
1562 Because the end node is now hopping in 72 frequency, it makes it difficult for the devices to Join the TTN V3 network and uplink data. To solve this issue, you can access the device via the AT commands and run:
1563
1564 (% style="color:blue" %)**AT+CHE=2**
1565
1566 (% style="color:blue" %)**ATZ**
1567
1568
1569 to set the end node to work in 8 channel mode. The device will work in Channel 8-15 & 64-71 for OTAA, and channel 8-15 for Uplink.
1570
1571 The (% style="color:blue" %)**AU915**(%%) band is similar. Below are the AU915 Uplink Channels.
1572
1573 [[image:image-20220627161124-14.png]]
1574
1575
1576 == 6.6  How to set up LSN50 to work with Single Channel Gateway such as LG01/LG02? ==
1577
1578 In this case, users need to set LSN50 to work in ABP mode and transmit in only one frequency.
1579
1580 Assume we have a LG02 working in the frequency 868400000 now, below is the steps.
1581
1582
1583 (% style="color:blue" %)**Step1: **(%%)Log in TTN V3, Create an ABP device in the application and input the network session key (NETSKEY), app session key (APPSKEY) from the device.
1584
1585
1586 [[image:image-20220627160542-11.png]]
1587
1588
1589 (% style="color:red" %)Note: You need to make sure the above three keys match in the device and in TTN V3. You can change them either in TTN V3 or in the Device to make them match. In TTN V3, NETSKEY and APPSKEY can be configured in the setting page, but the Device Addr is generated by TTN V3.
1590 You can also change the Device ADDR in TTN V3 by using the [[The Things Network CLI>>url:https://www.thethingsnetwork.org/docs/network/cli/quick-start.html]].
1591
1592
1593 (% style="color:blue" %)**Step2:  **(%%)Run AT commands to make the LSN50 work in Single frequency and ABP mode. Below are the AT commands:
1594
1595
1596 (% style="background-color:#dcdcdc" %)AT+FDR(%%)  Reset Parameters to Factory Default, Keys Reserve
1597
1598 (% style="background-color:#dcdcdc" %)AT+NJM=0(%%)  Set to ABP mode
1599
1600 (% style="background-color:#dcdcdc" %)AT+ADR=0(%%)  Set the Adaptive Data Rate Off
1601
1602 (% style="background-color:#dcdcdc" %)AT+DR=5(%%)  Set Data Rate (Set AT+DR=3 for 915 band)
1603
1604 (% style="background-color:#dcdcdc" %)AT+TDC=300000(%%)  Set transmit interval to 5 minutes
1605
1606 (% style="background-color:#dcdcdc" %)AT+CHS=868400000(%%)  Set transmit frequency to 868.4Mhz
1607
1608 (% style="background-color:#dcdcdc" %)AT+DADDR=26 01 1A F1(%%)  Set Device Address to 26 01 1A F1
1609
1610 (% style="background-color:#dcdcdc" %)ATZ(%%)  Reset MCU
1611
1612
1613 As shown  below:
1614
1615 [[image:image-20220627160542-12.png]]
1616
1617
1618 == 6.7  How to configure the EUI keys in LSN50? ==
1619
1620 The early version of LSN50 firmware doesn't have pre-configured keys.
1621 It is recommended that you update the image to the latest version before configure the keys. Refer [[upgrade_image>>path:#3ygebqi]] to update the firmware to the latest version.
1622
1623 Run AT commands to set the keys to desired keys; refer [[AT Command manual>>path:#23ckvvd]].
1624
1625
1626 = 7.  Trouble Shooting =
1627
1628 == 7.1  Connection problem when uploading firmware. ==
1629
1630 (% style="color:red" %)**Issue**(%%): While using USB to TTL to upload firmware via UART interface. It works for several times but most of times it fails.
1631
1632
1633 (% style="color:green" %)**Checklist**:
1634
1635 ~1. Double check if follow up exactly the steps as manual.
1636
1637 2. Check if hardware works fine: a) check if AT command works, b) check if ISP / flash switch works: PA12 will have different output level while set the ISP/Flash Switch in different position. c) check if reset button works.
1638
1639 3. If you use Windows10 system. Please change the flash loader to run in Windows7 compatibility mode.
1640
1641
1642 [[image:image-20220627153421-8.png]]
1643
1644 4. We have seen cases where the FT232 USB TTL adapter has a reliability issue with the PC USB chipset (Intel). In this case, even though points 1 and 2 above work, it still has a reliability issue for uploading. If this happens, change to a different PC or change the USB to TTL adapter to solve the issue.
1645
1646
1647 == 7.2  Why I can't join TTN V3 in US915 / AU915 bands? ==
1648
1649 It is due to channel mapping. Please see the [[Eight Channel Mode>>path:#206ipza]] section above for details.
1650
1651
1652 7.3  AT Command input doesn't work
1653
1654 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:red" %)**ENTER**(%%) while sending out the command. Some serial tool doesn't send (% style="color:red" %)**ENTER**(%%) while press the send key, user need to add ENTER in their string.
1655
1656
1657
1658 = 8.  Order Info =
1659
1660 Part Number: (% style="color:blue" %)**LSN50-XX-YY  **(%%)**or  (% style="color:blue" %)LSN50-XX-YY-ZZ(%%)**
1661
1662
1663 (% style="color:blue" %)**XX**(%%): The default frequency band
1664
1665 * (% style="color:red" %)**AS923 **(%%)**:** LoRaWAN AS923 band
1666 * (% style="color:red" %)**AU915 **(%%)**:** LoRaWAN AU915 band
1667 * (% style="color:red" %)**EU433 **(%%)**:** LoRaWAN EU433 band
1668 * (% style="color:red" %)**EU868 **(%%)**:** LoRaWAN EU868 band
1669 * (% style="color:red" %)**KR920 **(%%)**:** LoRaWAN KR920 band
1670 * (% style="color:red" %)**US915 **(%%)**:** LoRaWAN US915 band
1671 * (% style="color:red" %)**IN865 **(%%)**:**  LoRaWAN IN865 band
1672 * (% style="color:red" %)**CN470 **(%%)**:** LoRaWAN CN470 band
1673
1674 (% style="color:blue" %)**YY**(%%)**: **Hole Option
1675
1676 * (% style="color:red" %)**12**(%%): With M12 waterproof cable hole
1677 * (% style="color:red" %)**16**(%%): With M16 waterproof cable hole
1678 * (% style="color:red" %)**20**(%%): With M20 waterproof cable hole (LSN50 v2 doesn’t have this version)
1679 * (% style="color:red" %)**NH**(%%): No Hole
1680
1681 (% style="color:blue" %)**ZZ**(%%)**: **Battery Option ( Only valid for v2 model)
1682
1683 * (% style="color:red" %)**4**(%%): with 4000mAh battery
1684 * (% style="color:red" %)**8**(%%): with 8500mAg battery
1685
1686 = 9. ​ Packing Info =
1687
1688
1689 (% style="color:blue" %)**For LSN50**(%%)**:**
1690
1691 **Package Includes**:
1692
1693 * LSN50 LoRa Sensor Node x 1
1694
1695 **Dimension and weight**:
1696
1697 * Device Size: 8 x 6.5 x 5 cm
1698 * Device Weight: 137g
1699 * Package Size / pcs : 9 x 7 x 6cm
1700 * Weight / pcs : 160g
1701
1702 (% style="color:blue" %)**For LSN50 v2**(%%)**:**
1703
1704 **Package Includes**:
1705
1706 * LSN50 v2 LoRa Sensor Node x 1
1707 * External antenna x 1
1708 * Spring Antenna (evaluate purpose)
1709
1710 **Dimension and weight**:
1711
1712 * Device Size: 9.7 x 6.5 x 4.7 cm
1713 * Device Weight: 150g
1714 * Package Size / pcs : 14.0 x 8x 5 cm
1715 * Weight / pcs : 180g
1716
1717 (((
1718
1719
1720
1721
1722
1723 )))
1724
1725 = 10.  ​Support =
1726
1727 * 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.
1728 * 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]].
1729
1730 = 11.  References =
1731
1732 * [[Product Page>>url:http://www.dragino.com/products/lora/item/128-lsn50.html]]
1733 * [[Data Sheet>>url:http://www.dragino.com/downloads/index.php?dir=datasheet/EN/&file=Datasheet_LoRaSensorNode.pdf]]
1734 * [[Image Download>>url:https://github.com/dragino/LoRa_STM32/tree/master/LSN50.hex]]
1735 * [[Mechanical Drawing>>http://www.dragino.com/downloads/index.php?dir=LSN50-LoRaST/Mechanical_Drawing/]]
1736
1737
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0