LoRa and LoRaWAN are designed for energy-efficient, long-range IoT communication. This page provides relevant tutorials, software, and hardware resources.

LoRa vs LoRaWAN

Sometimes people use LoRa as the physical layer modulation technique while LoRaWAN as the MAC protocol and also the network structure. In other cases, you may also see that LoRa is used as a general term to represent LoRa/LoRaWAN. A good tutorial and summary of the LoRa and LoRaWAN can be found at External resource.

Tutorial

LoRa

LoRa (Long Range) is an IoT wireless technology patented by Smetech. It defines the physical layer modulation.

Some key features of LoRa

Understand LoRa modulation

Arduino LoRa Driver

End Device

There are different options for selecting the end devices, based on your preference. Here is a (non-comprehensive) summary of the LoRa/LoRaWAN devices and their drivers.

Hardware Type Driver (LoRa) Driver (LoRaWAN) Language Supported Devices
Pycom devices LoRaMAC LoRaWAN-OTAA, LoRaWAN-ABP Micropython FiPy, LoPy
Arduino Shield Arduino RadioHead Arduino LMIC Arduino C Arduino LoRa GPS Sheild, Seeeduino LoRaWAN
Raspberry Pi Shield     C LoRa GPS HAT for Raspberry Pi
mBed-Based SX1272Lib, SX1276Lib LoRaWAN-lib C SX1272MB2xAS , SX1276MB1xAS
RN2483       Microchip RN2483

A full list of the mbed LoRa device and the mbed LoRaWAN APIs

For example, if you are using Pycom devices, you can connect the end device by using Authentication By Personalisation (ABP) or Over The Air Authentication (OTAA).

LoRaWAN® Transceivers

LoRa Implementation

SDR Implementation

MATLAB Implemetation

  • LoRaPHY is a complete MATLAB implementation of LoRa physical layer, including baseband modulation, baseband demodulation, encoding and decoding.

LoRaWAN

LoRaWAN is a media access control (MAC) protocol for wide area networks. It is defined by LoRa Alliance. The first LoRaWAN specification was published on January 2015 (Download) and the latest LoRaWAN specifications is LoRaWAN® Specification v1.0.3 (July 2018) Download.

A complete LoRaWAN application requires end devices, gateway, network server, and an application.

LoRaWAN Architecture
LoRaWAN Architecture. Source: Page 8 of the white paper A technical overview of LoRa® and LoRaWAN™"

Many LoRaWAN protocol implementations may not support the latest version. For example, pycom devices only support LoRaWAN 1.0.2. The previous versions of LoRaWAN specifications can be accessed from https://lora-alliance.org/resource-hub

Some key features of LoRaWAN

LoRaWAN is not the only MAC protocol for LoRa. Symphony Link is also available. A difference between Symphony Link and LoRaWAN can be found External resource

Gateway

You may have experience setting up a Wi-Fi router (access point) at home or office. Users will need password to access the router for internet, which can be referred as a private router. In LoRaWAN, it is a different story. You do not need a password to connect to a gateway. As long as there is a gateway nearby, your end devices will connect to the gateway and eventually to the network server. In this case, the gateway is public. A detailed introduction on the gateway can be found at The Things Network documentation, where you can find a list of recommended hardware.

If you intend to setup a gateway, you can configure it as public or private. An instruction of using RAK831 gateway can be found here The Things Network documentation

Network Server

Public Network Server

The Things Network is a free and probably the most popular LoRaWAN server. Please refer to The Things Network documentation for an instruction about creating applications in TTN.

Another tutorial from pycom can be found here.

Private Network Server

Application

Please refer to The Things Network documentation for building applications using TTN.

There is a number of data API and SDK for interaction between the applications and TTN server.

LoRaWAN Demo at University of Liverpool

A LoRaWAN demo has been created at the Advanced Networks Research Group (ANRG), University of Liverpool. The demo built a complete LoRaWAN-based IoT system, including FiPy end devices, gateway, and applications. A detailed introduction can be found at External resource.

A public LoRaWAN gateway hosted at The Things Network by ANRG The Things Network documentation. The gateway was built following the instruction The Things Network documentation

FAQ

Return to the Main Page of Wireless Communication Technologies.