Version 15.1 by Hera Guo on 2025/05/29 09:06

Show last authors
1 {{toc/}}
2
3 = **1. Introduction~/~/名字已修改,以下内容中“LA66”全部替换成“LA66USB LoRaWAN Adapter”** =
4
5 == **1.1 What is Outdoor & Indoor signal measuring Solution?** ==
6
7 To help customers identify optimal sensor placement locations, we have designed a one-click signal strength measurement solution. All you need is one **LA66 USB LoRaWAN Adapter **and a **Dragino account**.
8
9 The **outdoor signal measurement solution** supports simultaneous testing with multiple gateways. It allows for both individual gateway signal map display and combined signal overlay from multiple gateways.
10
11 For **indoor signal measurement**, due to the complex layout and numerous obstacles, the user needs to walk to a suitable location before starting the measurement. Measurement points can then be marked on an indoor map, with flexible options to add or remove markers.
12
13 Both dashboards support **data export**.
14
15
16 ----
17
18
19 == **1.2 Features ** ==
20
21 * **Extensive support**
22 ** Only a LA66 USB LoRaWAN Adapter** **and one Dragino account are needed, the gateway and LNS can be freely matched.**~/~/格式已修正**
23 ** High-accuracy sensors
24 ** Reliable data readings
25 * **Real-Time measuring**
26 ** Button to switch receiving data or stop
27 ** Continuous measuring
28 * **User-Friendly Interface**
29 ** Intuitive dashboard design
30
31 ----
32
33 == **1.3 Specifications ** ==
34
35 * **Mobile Support:** [[Dedicated mobile app for on-the-go monitoring>>https://www.dropbox.com/scl/fo/qdiwkpcxc03qu2r2w0g46/AKqR2FByUdkoWZPZh-diYfQ?rlkey=t1a1kwlvr93c1459mz9jifers&e=1&st=kji4rdg0&dl=0]]
36 * **Device Manual:** [[LA66 USB LoRaWAN Adapter User Manual>>https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/]]
37 * **Dragino APP: **[[https:~~/~~/www.dropbox.com/scl/fo/qdiwkpcxc03qu2r2w0g46/AKqR2FByUdkoWZPZh-diYfQ?rlkey=t1a1kwlvr93c1459mz9jifers&st=kji4rdg0&dl=0>>https://www.dropbox.com/scl/fo/qdiwkpcxc03qu2r2w0g46/AKqR2FByUdkoWZPZh-diYfQ?rlkey=t1a1kwlvr93c1459mz9jifers&st=kji4rdg0&dl=0]]
38
39 ----
40
41
42 = **2. How to Build?** =
43
44 == **2.1 Network Structure~/~/图片已替换** ==
45
46 [[image:结构.png]]
47
48 The network structure consists of end nodes and gateways, which work together to measuring signal strength. You can replace gateway and Network Server with which you using.(It should be supported LoRaWAN)
49
50
51 ----
52
53 == **2.1 Get Account** ==
54
55 To begin, contact your local representative to obtain a customer account or send mail to [[support@dragino.cc>>mailto:support@dragino.cc]]
56
57
58 ----
59
60 == **2.2 Get Device And Configuration~/~/新增烧录固件详细说明(一般情况下用出厂自带的默认固件即可)** ==
61
62 1.Reach out to your local representative to acquire the necessary devices for your signal measuring solution. These devices include:
63
64 * **End Nodes:** LA66 USB LoRaWAN Adapter
65 * **Gateway(If you want):**For data transmission.
66
67 2.Burn bootloader & firmware for LA66 USB LoRaWAN Adapter
68
69 * **Bootloader: **We ship the LA66 USB LoRaWAN Adapter with a boot loader by default( More detail: [[https:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10A0UpgradeFirmwareofLA66USBLoRaWANAdapter:~~~~:text=is%20as%20below%3A-,1.10%C2%A0%20Upgrade%20Firmware%20of%20LA66%20USB%20LoRaWAN%20Adapter,-1.10.1%20Update%20method>>https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10A0UpgradeFirmwareofLA66USBLoRaWANAdapter:~~:text=is%20as%20below%3A-,1.10%C2%A0%20Upgrade%20Firmware%20of%20LA66%20USB%20LoRaWAN%20Adapter,-1.10.1%20Update%20method]])
70 * **Firmware:** If your device didn't have bootloader or firmware, please burn the latest bootloader & firmware for it in the following way: [[https:~~/~~/wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10A0UpgradeFirmwareofLA66USBLoRaWANAdapter:~~~~:text=20model/%23H3.2.1UpdateafirmwareviaDraginoSensorManagerUtility.exe-,1.10.2%20Update%20method%3A%C2%A0For%20LA66%20without%20bootloader,-Explanation%3A>>https://wiki.dragino.com/xwiki/bin/view/Main/User%20Manual%20for%20LoRaWAN%20End%20Nodes/LA66%20USB%20LoRaWAN%20Adapter%20User%20Manual/#H1.10A0UpgradeFirmwareofLA66USBLoRaWANAdapter:~~:text=20model/%23H3.2.1UpdateafirmwareviaDraginoSensorManagerUtility.exe-,1.10.2%20Update%20method%3A%C2%A0For%20LA66%20without%20bootloader,-Explanation%3A]]
71
72 **--Ensure that all devices are pre-registered on Dragino before use~/~/移至章末另起一节--**
73
74
75 ----
76
77 == **2.3 Register Devices & Gateways on LNS** ==
78
79 === **2.3.1 Register Device** ===
80
81 **1.Have a check of package box to get DEVEUI/ APPEUI/ APPKEY(OTTAKEY)**
82
83 [[image:1747970430695-168.jpg||height="510" width="852"]]
84
85
86 **2.Register on LNS and replace decoding**
87
88 * **Decoding for ChirpStack:**
89
90 {{code language="none"}}
91 function decodeUplink(input) {
92 return {
93 data: Decode(input.fPort, input.bytes, input.variables)
94 };
95 }
96
97 function bytesToString(bytes) {
98 return decodeURIComponent(bytes.map(b => '%' + b.toString(16).padStart(2, '0')).join(''));
99 }
100
101 function Decode(fPort, bytes, variables) {
102 var data = {};
103 if (bytes.length >= 9) {
104 data.flag = bytes[0];
105 data.Node_type = "Caculate AVG";
106 data.latitude = parseFloat(((bytes[1] << 24 >>> 0 | bytes[2] << 16 | bytes[3] << 8 | bytes[4]) / 1e6).toFixed(6));
107 data.longitude = parseFloat(((bytes[5] << 24 >>> 0 | bytes[6] << 16 | bytes[7] << 8 | bytes[8]) / 1e6).toFixed(6));
108
109 // 剩余字节为 title(如果存在)
110 if (bytes.length > 9) {
111 const titleBytes = bytes.slice(9);
112 data.title = bytesToString(titleBytes);
113 }
114 }
115 return data;
116 }
117 {{/code}}
118
119
120
121 * **Decoding for TTN:**
122
123 {{code language="none"}}
124 function add0(m){return m<10?'0'+m:m }
125 function format(shijianchuo){
126 //shijianchuo是整数,否则要parseInt转换
127 var time = new Date(shijianchuo);
128 var y = time.getFullYear();
129 var m = time.getMonth()+1;
130 var d = time.getDate();
131 var h = time.getHours();
132 var mm = time.getMinutes();
133 var s = time.getSeconds();
134 return y+'-'+add0(m)+'-'+add0(d)+' '+add0(h)+':'+add0(mm)+':'+add0(s);
135 }
136
137 function Decoder(bytes) {
138 var data={};
139 var doorflg
140 if (bytes[0]===1){
141 doorflg = "indoor"
142 }
143 else{
144 doorflg = "outdoor"
145 }
146 if (bytes.length==13){
147 data.doorflg = doorflg
148 data.latitude=parseFloat(((bytes[1]<<24|bytes[2]<<16|bytes[3]<<8|bytes[4])/1000000).toFixed(6));
149 data.longitude=parseFloat(((bytes[5]<<24|bytes[6]<<16|bytes[7]<<8|bytes[8])/1000000).toFixed(6));
150 timestamp1=bytes[9]<<24|bytes[10]<<16|bytes[11]<<8|bytes[12];
151 data.timestamp=timestamp1;
152 data.beijintime=format((timestamp1+28800)*1000);
153 return data;
154 }
155 else if(bytes.length==9){
156 data.doorflg = doorflg
157 data.Node_type = "Caculate AVG"
158 data.latitude=parseFloat(((bytes[1]<<24|bytes[2]<<16|bytes[3]<<8|bytes[4])/1000000).toFixed(6));
159 data.longitude=parseFloat(((bytes[5]<<24|bytes[6]<<16|bytes[7]<<8|bytes[8])/1000000).toFixed(6));
160 return data;
161 }
162 }
163 {{/code}}
164
165 * If you using other LNS, you can code yourself(The first nine bits of the uploaded data are the flag bit + position, and the rest are the title) or  send mail to [[support@dragino.cc>>mailto:support@dragino.cc]])
166
167 === --**2.2.2 Register Gateway(If you use Dragino's gateway)~/~/删除网关配置介绍**-- ===
168
169
170
171 ----
172
173 == **2.4  LNS Connection Method~/~/已更新标题** ==
174
175 **Choose LNS: **After log in Dragino platform, click the button "Import-Dragino-map"and choose the LNS you using.
176
177 [[image:1747971716633-666.png||height="487" width="654"]]
178
179
180 ----
181
182 (((
183 **Example of TTN**~/~/已增添详细文字说明
184
185 [[image:1748250400868-786.png]]
186
187 **Account & Passwork:** Imput your TTN account and password to use API port.
188
189 **MQTT Address: **Imput public address** (Don't imput Port)**
190
191
192 )))
193
194 ----
195
196 **Example of ChirpStack**~/~/已增添详细文字说明[[image:1747972538335-599.png]]
197
198 **MQTT Address: **Your MQTT server address or the cloud server address you use
199
200 **Subscribe Topic: **The default for Topic is:  application/**chirpstack application id**/device/+/event/up(Replace"**chirpstack application id**" with the one which is actually used)
201
202 **SSL Certificates: ** Copy the contents of the certificates and paste them into the linked file below, a total of three certificates are required(Integrated Certificate File demo Download Address: [[https:~~/~~/github.com/ThingsEye-io/te-platform/tree/main/chirpstack>>url:https://github.com/ThingsEye-io/te-platform/tree/main/chirpstack]])
203
204
205 ----
206
207 **Check:**Whether the device is connected to the platform through LNS
208
209 [[image:1748417055367-336.png]]
210
211
212 ----
213
214 **Check:** Whether the device profile is Caculate AVG. Change it if it not.
215
216 [[image:1748416951693-709.png]]
217
218 [[image:1748417025235-726.png]]
219
220
221 ----
222
223
224 = **3. How To Use?~/~/图片显示问题已修复,硬件使用方法已放到小节头(即插即用,自动判断室内外)** =
225
226 == **3.1 Outdoor_signal dashboard** ==
227
228 Outdoors_signal supports viewing both the signal coverage of a single gateway and the combined coverage of all gateways.
229
230
231 === **3.1.1 Create the gateway layer.** ===
232
233 (% class="wikigeneratedid" %)
234 **This solution is pre-configured. Under normal circumstances, when the device successfully uploads information through gateways, it will automatically generate the corresponding assets and put them in the Layer.**
235
236 (% class="wikigeneratedid" %)
237 The layer will be named after the gateway's IMEI, and you can set a label. At the same time, there will be a dashboard that collects all gateway signals and displays them in an overlay named after the user's registered email address.
238
239
240 (% class="wikigeneratedid" %)
241 **The following are special cases:**
242
243 (% class="wikigeneratedid" id="HClickthecenterbuttonontherighttoaddagatewaylayer.28PleasecreatealldevicesthatcanacceptthecurrentLA66frequencyband3Botherwise2Cthereceiveddatawillnotbedisplayed.29" %)
244 **1.Can't see new gateway layers:**
245
246 (% class="wikigeneratedid" %)
247 Click the center button on the right to add a gateway layer. (Please create all devices that can accept the current LA66 USB LoRaWAN Adapter frequency band; otherwise, the received data will not be displayed.)
248
249 For example, here we created a gateway with the ID a84041fdfe27e8fa
250
251 You can click here to modify the gateway layer ID (it must correspond one-to-one with the gateway ID that will receive the data).
252
253 [[image:1748226933887-176.png||height="279" width="232"]]👉[[image:1748226941899-789.png||height="308" width="896"]]
254
255
256 ----
257
258 **2.Can't see new gateway layers, and displayed "Asset with such name already exists!":**
259
260 **Turn to Assets to have a check weather it profiles is "**Outdoors_signal**" or "**AL_Zone**" .**
261
262 [[image:1748418008638-728.png]]
263
264
265 ----
266
267 If not, have a set.
268
269 [[image:1748418120064-329.png]]
270
271 [[image:1748418142794-272.png]]
272
273
274 ----
275
276 (% id="cke_bm_85127S" style="display:none" %) (%%)By the way, you can click here to delete the gateway layer.
277
278 [[image:1748226990199-388.png]]
279
280
281 ----
282
283 Click row of gateway layer will turn to the detail page, this page will be blank before gateway upload data.
284
285 [[image:1748227035403-882.png||height="487" width="196"]]👉 [[image:1748227056061-411.png||height="655" width="891"]]
286
287
288 ----
289
290 Click the top-left corner to return.
291
292 [[image:1748227163443-264.png]]
293
294
295 ----
296
297 === **3.1.2 Measuring** ===
298
299 Insert the LA66 USB LoRaWAN Adapter into phone or tablet, press the button to switch to ON and start detection. Click the button in the top-right corner of the main page to start receiving data. Data will be uploaded every 7 seconds based on the tablet's location. Simply move the tablet to measure signal strength from different places.
300
301 [[image:1748243979452-223.jpg||height="495" width="661"]]
302
303 [[image:1748227286978-688.png||height="149" width="660"]]
304
305 👇
306
307 [[image:1748227303533-598.png||height="151" width="661"]]
308
309
310 ----
311
312 When the gateway received the first set of data, the current gateway will appear in the left-side list of the gateway interface. When received the second set of data, the current signal strength will be displayed on the right-side map.
313
314 The measured data will be displayed in translucent dots of different colors, green represents a good signal, and red represents a poor signal.
315
316 [[image:1748227348704-578.png||height="360" width="663"]]
317
318
319 ----
320
321 You can click here to edit the device remarks.
322
323 [[image:1748227380372-654.png||height="509" width="659"]]
324
325
326 ----
327
328 You can click here to delete the device (deletion is irreversible, please proceed with caution).
329
330 [[image:1748227409566-450.png||height="443" width="659"]]
331
332
333 ----
334
335 All data collected by the gateways will also be displayed in All_signal simultaneously.
336
337 [[image:1748227432762-994.png||height="478" width="660"]]
338
339
340 ----
341
342 === **3.1.3 Turn OFF to stop measuring** ===
343
344 Once the current location's detection is complete, press the button again to switch to OFF and pause detection.
345
346 [[image:1748227523105-709.png||height="150" width="649"]]
347
348 👇
349
350 [[image:1748227534764-184.png||height="147" width="649"]]
351
352
353 ----
354
355
356 == **3.2 Indoors_signal dashboard** ==
357
358 Indoors_signal supports measuring and marking the signal strength of all locations on the indoor floor plan.
359
360
361 === **3.2.1 Import the map** ===
362
363 Drag the map image here and click √ to import.
364
365 [[image:1748241600796-653.png||height="481" width="652"]]
366
367
368 ----
369
370 === **3.2.2 Measuring** ===
371
372 1.Mark on map where you want to measuring than click Yes.
373
374 [[image:1748241711617-627.png]]
375
376
377 ----
378
379 2.Move to the measurement point, insert the LA66 USB LoRaWAN Adapter , and press the button to switch to ON, then you can see the new data renewing.
380
381 [[image:1748229559964-501.png||height="401" width="733"]]
382
383
384 ----
385
386 3.Mark the next place which to be measured than move to the measurement point.Repeat the above steps to measure(**Remeber: Mark point before move.**)
387
388 [[image:1748229639368-109.png||height="605" width="820"]]
389
390
391 ----
392
393 4.Click button to Off to stop measuring.
394
395 [[image:1748229757097-872.png||height="232" width="736"]]
396
397
398 ----
399
400 === **3.2.3 Delete point** ===
401
402 Click the marking points, then click yes.
403
404 [[image:1748229833594-993.png||height="320" width="735"]]
405
406
407 ----
408
409
410 == **4. Use of Tablet** ==
411
412 For added convenience, you can use a tablet to access the platform.
413
414 * **Download APP: **[[https:~~/~~/www.dropbox.com/scl/fo/qdiwkpcxc03qu2r2w0g46/AKqR2FByUdkoWZPZh-diYfQ?rlkey=t1a1kwlvr93c1459mz9jifers&st=kji4rdg0&dl=0>>https://www.dropbox.com/scl/fo/qdiwkpcxc03qu2r2w0g46/AKqR2FByUdkoWZPZh-diYfQ?rlkey=t1a1kwlvr93c1459mz9jifers&st=kji4rdg0&dl=0]]