Wireless Sensors
LoRa vs LoRaWAN
Outline
Low Power Wide Area Network (LPWAN)
LoRa
Devices
LoRaWAN
2
3
http://www.microchip.com/design-centers/wireless-connectivity/low-power-wide-area-networks/lora-sup-reg-sup-technology
LoRa
4
https://www.stream-technologies.com/lora/about.html
LoRa
Long Range
Wireless Communication Method
Open Frequency
◦ ISM (Industrial Scientific Medical)
Frequency Bands
5
Open Frequency
ISM
◦ Free frequency bands
Advantages
◦ No License Required
◦ Free to anyone
Disadvantages
◦ Interference
◦ Low data rate
6
ISM Bands
WiFi
◦ 2.4 GHz
◦ 5 GHz
LoRA
◦ 415 MHz
◦ 868 MHz
◦ 915 MHz
7
LoRa ISM
8
LoRa Parameters
Parameter Value Range Explenation
frequency 863 - 870 Mhz / 902 – 928 MHz … The frequency used to transmit data
tx power 2 - 14 dBm / 5 – 20 dBm Power used to transmit
bandwidth 125 / 250 / 500 KHz Data bandwidth
spreading factor 7 - 12 Frequency spreading factor
coding rate 4/5, 4/6, 4/7, 4/8 Error correction data are (how many error
correction bits)
9
Devices
LoRa Transponder
Microcontroller
ADC
GPIO
10
Terminology
NODES
Small devices
◦ Sensors
◦ Peripherals
Slave devices
GATEWAYS
Powerful devices
Router
◦ LoRa
◦ IP Network (Ethernet/WiFi etc)
11
LoRa Nodes
12
LoPy
868/915 MHz
ESP32
WiFi/BLE
4 MB Flash
Python
LORA GPS Hat
868/433/915 MHz
LoRa
GPS
SPI
Raspberry Pi 2/3
RN2483
868/433 MHz
Microchip
LoRa Nodes
13
Waspmote
Libelium
868/915 MHz
C/C++
mDot
868/433/915 MHz
Gateways
14
LoRa Gateway
IMST IC880A-SPI (Lora Lite)
LoRa -> IP
◦ Packet forwarder
8 channels at a time
Decodes multiple SF
15
LoRa Gateway
Kerlink IoT
LoRa -> IP
◦ Packet forwarder
8 channels at a time
Decodes multiple SF
16
LoRaWAN
17
http://www.atim.com/en/technologies-2/lorawan/
LoRaWAN
18
Network topology
19
LoRaWAN Network
20
https://www.linkedin.com/pulse/lorawan-10-st%C3%A5le-pettersen
LoRa WAN Classes
21
https://docs.wixstatic.com/ugd/eccc1a_acef1a0dbad649bc894a372cf8ff6beb.pd
f
Class A Device
22
https://www.thethingsnetwork.org/wiki/LoRaWAN/Home
Parameters
DevEUI
◦ Unique identifier (64 bits) for a device (similar to MAC address)
DevAddress
◦ Dynamic address (32 bits) received by device after activation (not unique)
AppEUI
◦ Unique identifier for each app (64 bits)
GatewayEUI
◦ Unique identifier (64 bits) for each gateway
23
Activating a device
OVER THE AIR ACTIVATION (OTAA)
Parameters
◦ DevEUI
◦ AppEUI
◦ AppKey
ACTIVATION BY PERSONALIZATION (ABP)
Parameters
◦ Device Address
◦ Network Shred Key
◦ App Shared Key
Less secure
24
https://www.jaguar-network.com/en/news/lorawan-in-a-nutshell-2-internet-of-things-iot/
Questions?
25

Lecture 6 - Wireless Sensors LoRa vs LoRaWAN