Last modified by Hera Guo on 2025/06/10 15:14

Show last authors
1 {{toc/}}
2
3 = **1. Introduction** =
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. You only need an **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 displays and combined overlays from multiple gateways.
10
11 For **indoor signal measurement solution **, due to the complex layout and numerous obstacles, the solution adopts manual coordinate marking instead of relying on unstable mobile device positioning.
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.2 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.3 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:~~~~:>>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 * [[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]])
71 * **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:>>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]]
72 * [[~~~~: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]]
73
74 ----
75
76 == **2.4 Register Devices on LNS** ==
77
78 **1.Have a check of package box to get DEVEUI/ APPEUI/ APPKEY(OTTAKEY)**
79
80 [[image:1747970430695-168.jpg||height="510" width="852"]]
81
82
83 **2.Register on LNS and replace decoding**
84
85 * **Decoding for ChirpStack:**
86
87 {{code language="none"}}
88 function decodeUplink(input) {
89 return {
90 data: Decode(input.fPort, input.bytes, input.variables)
91 };
92 }
93
94 function bytesToString(bytes) {
95 return decodeURIComponent(bytes.map(b => '%' + b.toString(16).padStart(2, '0')).join(''));
96 }
97
98 function Decode(fPort, bytes, variables) {
99 var data = {};
100 if (bytes.length >= 9) {
101 data.flag = bytes[0];
102 data.Node_type = "Dragino_Mapper";
103 data.latitude = parseFloat(((bytes[1] << 24 >>> 0 | bytes[2] << 16 | bytes[3] << 8 | bytes[4]) / 1e6).toFixed(6));
104 data.longitude = parseFloat(((bytes[5] << 24 >>> 0 | bytes[6] << 16 | bytes[7] << 8 | bytes[8]) / 1e6).toFixed(6));
105
106 // 剩余字节为 title(如果存在)
107 if (bytes.length > 9) {
108 const titleBytes = bytes.slice(9);
109 data.title = bytesToString(titleBytes);
110 }
111 }
112 return data;
113 }
114 {{/code}}
115
116
117
118 * **Decoding for TTN:**
119
120 {{code language="none"}}
121 function add0(m){return m<10?'0'+m:m }
122 function format(shijianchuo){
123 //shijianchuo是整数,否则要parseInt转换
124 var time = new Date(shijianchuo);
125 var y = time.getFullYear();
126 var m = time.getMonth()+1;
127 var d = time.getDate();
128 var h = time.getHours();
129 var mm = time.getMinutes();
130 var s = time.getSeconds();
131 return y+'-'+add0(m)+'-'+add0(d)+' '+add0(h)+':'+add0(mm)+':'+add0(s);
132 }
133
134 function Decoder(bytes) {
135 var data={};
136 var doorflg
137 if (bytes[0]===1){
138 doorflg = "indoor"
139 }
140 else{
141 doorflg = "outdoor"
142 }
143 if (bytes.length==13){
144 data.doorflg = doorflg
145 data.latitude=parseFloat(((bytes[1]<<24|bytes[2]<<16|bytes[3]<<8|bytes[4])/1000000).toFixed(6));
146 data.longitude=parseFloat(((bytes[5]<<24|bytes[6]<<16|bytes[7]<<8|bytes[8])/1000000).toFixed(6));
147 timestamp1=bytes[9]<<24|bytes[10]<<16|bytes[11]<<8|bytes[12];
148 data.timestamp=timestamp1;
149 data.beijintime=format((timestamp1+28800)*1000);
150 return data;
151 }
152 else if(bytes.length==9){
153 data.doorflg = doorflg
154 data.Node_type = "Dragino_Mapper"
155 data.latitude=parseFloat(((bytes[1]<<24|bytes[2]<<16|bytes[3]<<8|bytes[4])/1000000).toFixed(6));
156 data.longitude=parseFloat(((bytes[5]<<24|bytes[6]<<16|bytes[7]<<8|bytes[8])/1000000).toFixed(6));
157 return data;
158 }
159 }
160 {{/code}}
161
162 * 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]])
163
164 ----
165
166 == **2.5  LNS Connection Method** ==
167
168 **Choose LNS: **After log in Dragino platform, click the button "Import-Dragino-map"and choose the LNS you using.
169
170 [[image:1747971716633-666.png||height="658" width="883"]]
171
172
173 ----
174
175 (((
176 **Example of TTN**~/~/已增添详细文字说明
177
178 [[image:1748250400868-786.png]]
179
180 **Account & Passwork:** Imput your TTN account and password to use API port.
181
182 **MQTT Address: **Imput public address** (Don't imput Port)**
183
184
185 )))
186
187 ----
188
189 **Example of ChirpStack**~/~/已增添详细文字说明
190
191 [[image:1749375906728-208.png]]
192
193 **MQTT Address: **The MQTT server address or the cloud server address which you using.
194
195 **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)
196
197 **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: [[Demo.pem>>attach:demo.pem]])
198
199
200 ----
201
202 **Check:**Whether the device is connected to the platform through LNS
203
204 [[image:1748602571865-850.png]]
205
206
207 Whether the device profile is Dragino_Mapper? Modifyit if not.
208
209 [[image:1748416951693-709.png]]
210
211 👇
212
213 [[image:1749376046690-863.png]]
214
215 ----
216
217
218 = **3. How To Use?~/~/图片显示问题已修复,硬件使用方法已放到小节头(即插即用,自动判断室内外)** =
219
220 == **3.1 Outdoor_Mapper dashboard** ==
221
222 Outdoors_signal supports viewing both the signal coverage of a single gateway and the combined coverage of all gateways.
223
224
225 === **3.1.1 Create the gateway layer.** ===
226
227 (% class="wikigeneratedid" %)
228 **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.**
229
230 (% class="wikigeneratedid" %)
231 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.(Such like :All_signal:$[customer_email])
232
233 ----
234
235 Click row of gateway layer will turn to the detail page.
236
237 [[image:1749376107488-669.png]]👉 [[image:1748603053572-488.png||height="547" width="571"]]
238
239
240 ----
241
242 Click the top-left corner to return.
243
244 [[image:1748227163443-264.png||height="250" width="911"]]
245
246
247 ----
248
249 === **3.1.2 Measuring** ===
250
251 Insert the LA66 USB LoRaWAN Adapter into phone or tablet. Data will be uploaded every 7 seconds based on the tablet's location. Simply move the tablet to measure signal strength from different places.
252
253 [[image:569a0a131a83c658f2ce70fe349f72f.jpg||height="497" width="917"]]
254
255
256 ----
257
258 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.
259
260 The measured data will be displayed in translucent dots of different colors, green represents a good signal, and red represents a poor signal.
261
262 [[image:1748601795657-856.png||height="878" width="921"]]
263
264
265 ----
266
267 You can click here to edit the device remarks.
268
269 [[image:1748227380372-654.png||height="713" width="923"]]
270
271
272 ----
273
274 All data collected by the gateways will also be displayed in the layer which named customer's E-mail simultaneously.
275
276 [[image:1749376404143-588.png||height="686" width="924"]]
277
278 ----
279
280 === **3.1.3 End measurement** ===
281
282 Don’t forget to unplug LA66 USB LoRaWAN Adapter after finishing the measurement.
283
284
285 ----
286
287 == **3.2 Indoors_Mapper dashboard** ==
288
289 Indoors_signal supports measuring and marking the signal strength of all locations on the indoor floor plan.
290
291
292 === **3.2.1 Import the map** ===
293
294 Drag the map image here and click √ to import.**(Only supports SVG format)**
295
296 [[image:1749376507835-691.png||height="513" width="917"]]
297
298
299 ----
300
301 === **3.2.2 Measuring** ===
302
303 1.Mark on map where you want to measuring than click Yes.
304
305 [[image:1748241711617-627.png||height="1103" width="920"]]
306
307
308 ----
309
310 2.Move to the measurement point, insert the LA66 USB LoRaWAN Adapter , then you can see the new data renewing.
311
312 [[image:ecb9c251e932018692e490e26e50763.jpg||height="516" width="923"]]
313
314
315 ----
316
317 3.Mark the next place which to be measured than move to the measurement point.Repeat the above steps to measure.
318
319 {{warning}}
320 **Remeber: Mark point before move.**
321 {{/warning}}
322
323 (LA66 will continuously upload the signal of the current position to cover the last point. If it is marked while moving, it is easy to pollute the data of the previous point)[[image:1748229639368-109.png||height="749" width="1015"]]
324
325
326 ----
327
328 === **3.2.3 Delete point** ===
329
330 Click the marking points, then click yes.
331
332 [[image:1749376586844-796.png||height="654" width="911"]]
333
334
335 ----
336
337 === **3.2.4 End measurement** ===
338
339 Don’t forget to unplug LA66 USB LoRaWAN Adapter after finishing the measurement.
340
341
342 ----
343
344 == **4. Use of Tablet** ==
345
346 For added convenience, you can use a tablet to access the platform.
347
348 * **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]]