<
From version < 78.2 >
edited by Edwin Chen
on 2022/07/10 21:55
To version < 87.1 >
edited by Edwin Chen
on 2022/07/11 09:10
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -68,22 +68,7 @@
68 68  [[image:image-20220517072821-2.png]]
69 69  
70 70  
71 -== Order Info ==
72 72  
73 -Part Number: **LA66-XXX**
74 -
75 -**XX**: The default frequency band
76 -
77 -* **AS923**: LoRaWAN AS923 band
78 -* **AU915**: LoRaWAN AU915 band
79 -* **EU433**: LoRaWAN EU433 band
80 -* **EU868**: LoRaWAN EU868 band
81 -* **KR920**: LoRaWAN KR920 band
82 -* **US915**: LoRaWAN US915 band
83 -* **IN865**: LoRaWAN IN865 band
84 -* **CN470**: LoRaWAN CN470 band
85 -* **PP**: Peer to Peer LoRa Protocol
86 -
87 87  = LA66 LoRaWAN Shield =
88 88  
89 89  == Overview ==
... ... @@ -215,27 +215,7 @@
215 215  [[image:image-20220602105251-15.png]]
216 216  
217 217  
218 -== Order Info ==
219 219  
220 -Part Number: **LA66-LoRaWAN-Shield-XXX**
221 -
222 -**XX**: The default frequency band
223 -
224 -* **AS923**: LoRaWAN AS923 band
225 -* **AU915**: LoRaWAN AU915 band
226 -* **EU433**: LoRaWAN EU433 band
227 -* **EU868**: LoRaWAN EU868 band
228 -* **KR920**: LoRaWAN KR920 band
229 -* **US915**: LoRaWAN US915 band
230 -* **IN865**: LoRaWAN IN865 band
231 -* **CN470**: LoRaWAN CN470 band
232 -* **PP**: Peer to Peer LoRa Protocol
233 -
234 -== Package Info ==
235 -
236 -* LA66 LoRaWAN Shield x 1
237 -* RF Antenna x 1
238 -
239 239  = LA66 USB LoRaWAN Adapter =
240 240  
241 241  == Overview ==
... ... @@ -313,63 +313,72 @@
313 313  
314 314  
315 315  
316 -== Example Send & Get Messages via LoRaWAN in RPi ==
281 +== Example:Send PC's CPU/RAM usage to TTN via python ==
317 317  
318 -Connect the LA66 USB LoRaWAN Adapter to the Raspberry Pi
283 +(% class="wikigeneratedid" id="HUsepythonasanexampleFF1A" %)
284 +**Use python as an example:**[[https:~~/~~/github.com/dragino/LA66/blob/main/Send_information_to_TTN_WindosPC.py>>https://github.com/dragino/LA66/blob/main/Send_information_to_TTN_WindosPC.py]]
319 319  
320 -[[image:image-20220602171233-2.png||height="538" width="800"]]
286 +(% class="wikigeneratedid" id="HPreconditions:" %)
287 +**Preconditions:**
321 321  
322 -Log in to the RPI's terminal and connect to the serial port
289 +1.LA66 USB LoRaWAN Adapter works fine
323 323  
324 -[[image:image-20220602153146-3.png]]
291 +2.LA66 USB LoRaWAN Adapter  is registered with TTN
325 325  
326 -Press the reset switch RST on the LA66 LoRa Shield.
327 -The following picture appears to prove that the LA66 LoRa Shield successfully entered the network
293 +(% class="wikigeneratedid" id="HStepsforusage" %)
294 +**Steps for usage**
328 328  
329 -[[image:image-20220602154928-5.png]]
296 +1.Press the reset switch RESET on the LA66 USB LoRaWAN Adapter
330 330  
331 -send instructions: AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>
298 +2.Run the python script in PC and see the TTN
332 332  
333 -example: AT+SENDB=01,02,8,05820802581ea0a5
300 +[[image:image-20220602115852-3.png||height="450" width="1187"]]
334 334  
335 -[[image:image-20220602160339-6.png]]
336 336  
337 -Check to see if TTN received the message
338 338  
339 -[[image:image-20220602160627-7.png||height="468" width="1013"]]
304 +== Example Send & Get Messages via LoRaWAN in RPi ==
340 340  
341 -=== Install Minicom ===
306 +Assume user already input the LA66 USB LoRaWAN Adapter OTAA Keys in TTN and there is already TTN network coverage.
342 342  
343 -Enter the following command in the RPI terminal
308 +~1. Connect the LA66 USB LoRaWAN Adapter to the Raspberry Pi
344 344  
345 -apt update
310 +[[image:image-20220602171233-2.png||height="538" width="800"]]
346 346  
347 -[[image:image-20220602143155-1.png]]
348 348  
349 -apt install minicom
313 +2. Install Minicom in RPi.
350 350  
351 -[[image:image-20220602143744-2.png]]
315 +(% id="cke_bm_509388S" style="display:none" %) (%%)Enter the following command in the RPi terminal
352 352  
353 -=== Send PC's CPU/RAM usage to TTN via script. ===
317 +(% class="mark" %)apt update
354 354  
355 -==== Take python as an example: ====
319 +(% class="mark" %)apt install minicom
356 356  
357 -===== Preconditions: =====
358 358  
359 -1.LA66 USB LoRaWAN Adapter works fine
322 +Use minicom to connect to the RPI's terminal
360 360  
361 -2.LA66 USB LoRaWAN Adapteis registered with TTN
324 +[[image:image-20220602153146-3.png||height="439" width="500"]]
362 362  
363 -===== Steps for usage =====
364 364  
365 -1.Press the reset switch RESET on the LA66 USB LoRaWAN Adapter
327 +3. Press the reset switch RST on the LA66 USB LoRaWAN Adapter.
328 +The following picture appears to prove that the LA66 USB LoRaWAN Adapter successfully entered the network
366 366  
367 -2.Run the script and see the TTN
330 +[[image:image-20220602154928-5.png||height="436" width="500"]]
368 368  
369 -[[image:image-20220602115852-3.png]]
370 370  
333 +4. Send Uplink message
371 371  
335 +Format: AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>
372 372  
337 +example: AT+SENDB=01,02,8,05820802581ea0a5
338 +
339 +[[image:image-20220602160339-6.png||height="517" width="600"]]
340 +
341 +Check to see if TTN received the message
342 +
343 +[[image:image-20220602160627-7.png||height="369" width="800"]]
344 +
345 +
346 +
373 373  == Example: LA66 USB Module got a message from LA66 LoRa Shield and send the sensor data to NodeRed. ==
374 374  
375 375  
... ... @@ -377,12 +377,14 @@
377 377  
378 378  
379 379  
380 -== Order Info ==
354 += Order Info =
381 381  
382 -Part Number: **LA66-USB-LoRaWAN-Adapter-XXX**
356 +Part Number:
383 383  
384 -**XX**: The default frequency band
358 +**LA66-XXX**, **LA66-LoRaWAN-Shield-XXX** or **LA66-USB-LoRaWAN-Adapter-XXX**
385 385  
360 +**XXX**: The default frequency band
361 +
386 386  * **AS923**: LoRaWAN AS923 band
387 387  * **AU915**: LoRaWAN AU915 band
388 388  * **EU433**: LoRaWAN EU433 band
... ... @@ -393,11 +393,9 @@
393 393  * **CN470**: LoRaWAN CN470 band
394 394  * **PP**: Peer to Peer LoRa Protocol
395 395  
396 -== Package Info ==
397 397  
398 -* LA66 USB LoRaWAN Adapter x 1
399 -
400 400  = Reference =
401 401  
402 402  * Hardware Design File for LA66 LoRaWAN Shield, LA66 USB LoRaWAN Adapter : [[Download>>https://www.dropbox.com/sh/a3wbmdcvqjxaqw5/AADZfvAiykJTK624RgMquH86a?dl=0]]
403 403  
377 +
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0