Table of Contents:

1.  LA66 USB LoRaWAN Adapter

1.1  Overview

image-20220715001142-3.png

LA66 USB LoRaWAN Adapter is designed to fast turn USB devices to support LoRaWAN wireless features. It combines a CP2101 USB TTL Chip and LA66 LoRaWAN module which can easy to add LoRaWAN wireless feature to PC / Mobile phone or an embedded device that has USB Interface.

LA66 is a ready-to-use module that includes the LoRaWAN v1.0.3 protocol. The LoRaWAN stack used in LA66 is used in more than 1 million LoRaWAN End Devices deployed world widely. This mature LoRaWAN stack greatly reduces the risk to make stable LoRaWAN Sensors to support different LoRaWAN servers and different countries' standards. External MCU can use AT command to call LA66 and start to transmit data via the LoRaWAN protocol.

Each LA66 module includes a world-unique OTAA key for LoRaWAN registration.

Besides the support of the LoRaWAN protocol, LA66 also supports open-source peer-to-peer LoRa Protocol for the none-LoRaWAN application. 

LA66 is equipped with TCXO crystal which ensures the module can achieve stable performance in extreme temperatures.

1.2  Features

  • LoRaWAN USB adapter base on LA66 LoRaWAN module
  • Ultra-long RF range
  • Support LoRaWAN v1.0.4 protocol
  • Support peer-to-peer protocol
  • TCXO crystal to ensure RF performance on low temperature
  • Spring RF antenna
  • Available in different frequency LoRaWAN frequency bands.
  • World-wide unique OTAA keys.
  • AT Command via UART-TTL interface
  • Firmware upgradable via UART interface
  • Open Source Mobile App for LoRaWAN signal detect and GPS tracking. 

1.3  Specification

  • CPU: 32-bit 48 MHz
  • Flash: 256KB
  • RAM: 64KB
  • Input Power Range: 5v
  • Frequency Range: 150 MHz ~ 960 MHz
  • Maximum Power +22 dBm constant RF output
  • High sensitivity: -148 dBm
  • Temperature:
    • Storage: -55 ~ +125℃
    • Operating: -40 ~ +85℃
  • Humidity:
    • Storage: 5 ~ 95% (Non-Condensing)
    • Operating: 10 ~ 95% (Non-Condensing)
  • LoRa Tx Current: <90 mA at +17 dBm, 108 mA at +22 dBm
  • LoRa Rx current: <9 mA

1.4  Pin Mapping & LED

image-20220813183239-3.png

1.5  Example: Send & Get Messages via LoRaWAN in PC

Assume user already input the LA66 USB LoRaWAN Adapter OTAA Keys in TTN and there is already TTN network coverage.

1.  Connect the LA66 USB LoRaWAN adapter to PC

image-20220723100027-1.png

Open the serial port tool

image-20220602161617-8.png

image-20220602161718-9.png

2.  Press the reset switch RST on the LA66 USB LoRaWAN Adapter to reset it.

The following picture appears to prove that the LA66 USB LoRaWAN Adapter successfully Join the LoRaWAN network

image-20220602161935-10.png

3.  See Uplink Command

Command format:  AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>

example: AT+SENDB=01,02,8,05820802581ea0a5

image-20220602162157-11.png

4.  Check to see if TTN received the message

image-20220817093644-1.png

1.6  Example: How to join helium

1.  Create a new device.

image-20220907165500-1.png

2.  Save the device after filling in the necessary information.

image-20220907165837-2.png

3.  Use AT commands.

image-20220909151441-1.jpeg

4.  Use the serial port tool

image-20220909151517-2.png

5.  Use command AT+CFG to get device configuration

image-20220907170308-3.png

6.  Network successfully.

image-20220907170436-4.png

7.  Send uplink using command

image-20220912085244-1.png

image-20220912085307-2.png

image-20220907170744-6.png

1.7  Example: Send PC's CPU/RAM usage to TTN via python

Use python as an example:https://github.com/dragino/LA66/blob/main/Send_information_to_TTN_WindosPC.py

(Raspberry Pi example: https://github.com/dragino/LA66/blob/main/Send_information_to_TTN_Raspberry%20Pi.py)

Preconditions:

1. LA66 USB LoRaWAN Adapter works fine

2. LA66 USB LoRaWAN Adapter  is registered with TTN

Steps for usage:

1. Press the reset switch RESET on the LA66 USB LoRaWAN Adapter

2. Run the python script in PC and see the TTN

image-20220602115852-3.png

1.8  Example: Send & Get Messages via LoRaWAN in RPi

Assume user already input the LA66 USB LoRaWAN Adapter OTAA Keys in TTN and there is already TTN network coverage.

1.  Connect the LA66 USB LoRaWAN Adapter to the Raspberry Pi

image-20220723100439-2.png

2.  Install Minicom in RPi.

Enter the following command in the RPi terminal

 apt update

 apt install minicom

Use minicom to connect to the RPI's terminal

image-20220602153146-3.png

3.  Press the reset switch RST on the LA66 USB LoRaWAN Adapter.

The following picture appears to prove that the LA66 USB LoRaWAN Adapter successfully entered the network.

image-20220602154928-5.png

4.  Send Uplink message

Format: AT+SENDB=<confirn_status>,<Fport>,<data_len>,<data>

example: AT+SENDB=01,02,8,05820802581ea0a5

image-20220602160339-6.png

Check to see if TTN received the message

image-20220602160627-7.png

1.9  Example: Use of LA66 USB LoRaWAN Adapter and mobile APP

1.9.1  Hardware and Software Connection

Overview:

DRAGINO-LA66-APP is an Open Source mobile APP for LA66 USB LoRaWAN Adapter. DRAGINO-LA66-APP has below features:

  • Send real-time location information of mobile phone to LoRaWAN network.
  • Check LoRaWAN network signal strengh.
  • Manually send messages to LoRaWAN network.

Hardware Connection:

A USB to Type-C adapter is needed to connect to a Mobile phone.

Note: The package of LA66 USB adapter already includes this USB Type-C adapter.

image-20220813174353-2.png

Download and Install App:

Download Link for Android apk .  (Android Version Only)

image-20220813173738-1.png

Use of APP:

Function and page introduction

image-20220723113448-7.png

Block Explain:

1.  Display LA66 USB LoRaWAN Module connection status

2.  Check and reconnect

3.  Turn send timestamps on or off

4.  Display LoRaWan connection status

5.  Check LoRaWan connection status

6.  The RSSI value of the node when the ACK is received

7.  Node's Signal Strength Icon

8.  Configure Location Uplink Interval

9.  AT command input box

10.  Send Button:  Send input box info to LA66 USB Adapter

11.  Output Log from LA66 USB adapter

12.  clear log button

13.  exit button

LA66 USB LoRaWAN Module not connected

image-20220723110520-5.png

Connect LA66 USB LoRaWAN Module

image-20220723110626-6.png

1.9.2  Send data to TTNv3 and plot location info in Node-Red

1.  Register LA66 USB LoRaWAN Module to TTNV3

image-20220723134549-8.png

2.  Open Node-RED,And import the JSON file to generate the flow

Sample JSON file please go to this link to download.

For the usage of Node-RED, please refer to: http://wiki.dragino.com/xwiki/bin/view/Main/Node-RED/

After see LoRaWAN Online, walk around and the APP will keep sending location info to LoRaWAN server and then to the Node Red.

LA66--node-red--decoder:dragino-end-node-decoder/Node-RED at main · dragino/dragino-end-node-decoder · GitHub

Example output in NodeRed is as below:

image-20220723144339-1.png

1.10  Upgrade Firmware of LA66 USB LoRaWAN Adapter

The LA66 USB LoRaWAN Adapter is the same as the LA66 LoRaWAN Shield update method.

Just use the yellow jumper cap to short the BOOT corner and the RX corner, and then press the RESET button (without the jumper cap, you can directly short the BOOT corner and the RX corner with a wire to achieve the same effect).

image-20220723150132-2.png

2.  FAQ

2.1  How to Compile Source Code for LA66?

Compile and Upload Code to ASR6601 Platform :Instruction

2.2  Where to find Peer-to-Peer firmware of LA66?

Instruction for LA66 Peer to Peer firmware : Instruction 

3.  Order Info

Part Number:  LA66-USB-LoRaWAN-Adapter-XXX

XXX: The default frequency band

  • AS923:  LoRaWAN AS923 band
  • AU915:  LoRaWAN AU915 band
  • EU433:  LoRaWAN EU433 band
  • EU868:  LoRaWAN EU868 band
  • KR920:  LoRaWAN KR920 band
  • US915:  LoRaWAN US915 band
  • IN865:  LoRaWAN IN865 band
  • CN470: LoRaWAN CN470 band
  • PP:        Peer to Peer LoRa Protocol

4.  Reference

  • Hardware Design File for  LA66 USB LoRaWAN Adapter : Download
  • Mobile Phone App Source Code: Download.

5.  FCC Statement

FCC Caution:

Any Changes or modifications not expressly approved by the party responsible for compliance could void the user's authority to operate the equipment. 

This device complies with part 15 of the FCC Rules. Operation is subject to the following two conditions: (1) This device may not cause harmful interference, and (2) this device must accept any interference received, including interference that may cause undesired operation. 

IMPORTANT NOTE: 

Note: This equipment has been tested and found to comply with the limits for a Class B digital device, pursuant to part 15 of the FCC Rules. These limits are designed to provide reasonable protection against harmful interference in a residential installation. This equipment generates, uses and can radiate radio frequency energy and, if not installed and used in accordance with the instructions, may cause harmful interference to radio communications. However, there is no guarantee that interference will not occur in a particular installation. If this equipment does cause harmful interference to radio or television reception, which can be determined by turning the equipment off and on, the user is encouraged to try to correct the interference by one or more of the following measures: 

—Reorient or relocate the receiving antenna. 

—Increase the separation between the equipment and receiver. 

—Connect the equipment into an outlet on a circuit different from that to which the receiver is connected. 

—Consult the dealer or an experienced radio/TV technician for help.

FCC Radiation Exposure Statement: 

This equipment complies with FCC radiation exposure limits set forth for an uncontrolled environment.This equipment should be installed and operated with minimum distance 20cm between the radiator& your body. 

Tags:
Created by Xiaoling on 2022/08/16 11:04
    
Copyright ©2010-2022 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0