SlideShare a Scribd company logo
REAL-WORLD LoRaWAN
IMPLEMENTATION
EXPERIENCE
PRIYASLOKA ARYA
Typical LoRaWAN Based Network
ANTENN
A
CABLE
LoRaWA
N
Node
LoRaWA
N
Gateway
LoRaWA
N
Server
Cloud
LoRaWA
N
Server
`Which Antenna? And WHY???
SWR? What the heck?
SWR
READIN
G
% OF
LOSS ERP*
WATTS
AVAILAB
LE
1.0:1 0.0% 100.0% 4.00
1.1:1 0.2% 99.8% 3.99
1.2:1 0.8% 99.2% 3.97
1.3:1 1.7% 98.3% 3.93
1.4:1 2.8% 97.2% 3.89
1.5:1 4.0% 96.0% 3.84
1.6:1 5.3% 94.7% 3.79
1.7:1 6.7% 93.3% 3.73
1.8:1 8.2% 91.8% 3.67
2.0:1 11.1% 88.9% 3.56
2.2:1 14.1% 85.9% 3.44
2.4:1 17.0% 83.0% 3.32
2.6:1 19.8% 80.2% 3.21
3.0:1 25.0% 75.0% 3.00
4.0:1 36.0% 64.0% 2.56
5.0:1 44.4% 55.6% 2.22
6.0:1 51.0% 49.0% 1.96
7.0:1 56.3% 43.8% 1.75
8.0:1 60.5% 39.5% 1.58
9.0:1 64.0% 36.0% 1.44
10.0:1 66.9% 33.1% 1.32
SWR measurement?
OUT
DUT
Antenna
IN
NWT4000-1
Network Analyzer
RF OUT
RF IN
SWR Bridge
OUT
DUT
Antenna
IN
Noise Generator
RF OUT
RF IN
SWR Bridge
RTL Software Defined Radio
OUT
DUT
Antenna
IN
Noise Generator
RF OUT
RF IN
SWR Bridge
RTL Software Defined Radio
SWR measurement?
Which Cable and Why?
Which Frequency and Why?
Which Frequency and Why?
866
MHz
433
MHz
Which LoRa Modules(How to Choose)?
RFM95W
DRF1272
F
LORA1276-
C1 
DRF1276G
Lora1276F30 RFM95PW
Which LoRa Modules(How to Choose)?
Murata
RisingHF
Microchip
Rakwireless
Internal Circuit Murata
Module
Which LoRa Development Board?
Is LoRaWAN node dead/alive? Spectrum Analysis
SN Phase Repository Type of software Remark
1 Gateway https://github.com/Lora-net/lora_gateway Open source  
2 Gateway https://github.com/Lora-net/packet_forwarder Open source  
3 LoRa Node(Semtech) https://github.com/Lora-net/LoRaMac-node Open source
4 Arduino Node LMIC https://github.com/matthijskooijman/arduino-
lmic
Open source  
5 WiringPi git://git.drogon.net/wiringPi  
6 Raspberry Pi Node LMIC https://github.com/ernstdevreede/lmic_pi Open source  
7 I-CUBE-LRWAN(STM) https://www.st.com/en/embedded-software/i-
cube-lrwan.html
8 Physical Message to
Frame Message
decoding
https://LoRaWAN-packet-decoder-
0ta6puiniaut.runkit.sh
 
9 LoRaWAN packet
decryption
https://github.com/jieter/python-lora Open source  
10 ASCII to BASE64 https://www.branah.com/ascii-converter  
11 Signal Sniffing over Air https://github.com/rpp0/gr-lora/wiki/Capturing-
LoRa-signals-using-an-RTL-SDR-device
Open source  
12 Signal Sniffing over Air https://revspace.nl/DecodingLora Open source  
       
 
Which LoRaWAN Library to start with?
Assuming base64-encoded packet
QNIfASaABAABA/uB+N3FPLnND5ufMW6z
Message Type = Data
PHYPayload = 40D21F01268004000103FB81F8DDC53CB9CD0F9B9F316EB3
( PHYPayload = MHDR[1] | MACPayload[..] | MIC[4] )
MHDR = 40
MACPayload = D21F01268004000103FB81F8DDC53CB9CD0F9B
MIC = 9F316EB3
( MACPayload = FHDR | FPort | FRMPayload )
FHDR = D21F0126800400
FPort = 01
FRMPayload = 03FB81F8DDC53CB9CD0F9B
( FHDR = DevAddr[4] | FCtrl[1] | FCnt[2] | FOpts[0..15] )
DevAddr = 26011FD2 (Big Endian)
FCtrl = 80
FCnt = 0004 (Big Endian)
FOpts =
Message Type = Unconfirmed Data Up
Direction = up
FCnt = 4
FCtrl.ACK = false
FCtrl.ADR = true
How to decode LoRaWAN packet?
How to decode LoRaWAN packet?
The data received is
In hex =68, 65, 6C, 6F, 20, 77, 6F, 72, 6C, 64
In decimal=104, 101,108,111,32,119,114,108,100
In ascii=h,e,l,l,o, ,w,o,r,l,d
How to decode LoRaWAN packet?
1. Get a development board Arduino Uno/STM Nucleo Board/Raspberry Pi(Lowest Cost
Rs 500/-)
2. Get an SPI based Lora module (SX1276 or RFM95W) pair (Lowest Cost Rs 1500/- )
3. Breakout Board, Antenna , (Connector Lowest Cost Rs 250/-)
------------------------------------------------------------------------------------------------------------
Total Cost Rs 1750/-
How can I start my LoRaWAN journey/leraning?
LoRaWAN CLASSES
LoRaWAN SPEED
LoRaWAN  Real Life Issues
LoRaWAN Range Check
A LORAWAN network was simulated in Canara
Engineering , Mangalore
•SX1301 Based Gateway(100 mW)
•SX1276 Based Node(500 mW)
•Arduino Environment for Node
•Raspberry Pi 3 Environment for Gateway
•Frequency Range(865-867 MHz)
•Modified Semtech Packet Forwarder for Gateway
•TTN(The Things Network Server)
•Modified LMIC (LoraMAC-in-C) library
•SF 12, Data Rate 250 Kbps
LoRaWAN  Real Life Issues

More Related Content

PPT
Internet 101
PDF
SSL Web VPN
PPTX
Wireshar training
PPTX
NMAP - The Network Scanner
PDF
Eincop Netwax Lab: Site 2 Site VPN with Routing Protocols
PPT
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
PPT
flowspec @ APF 2013
PPT
OSTU - Quickstart Guide for Wireshark (by Tony Fortunato)
Internet 101
SSL Web VPN
Wireshar training
NMAP - The Network Scanner
Eincop Netwax Lab: Site 2 Site VPN with Routing Protocols
Positive Hack Days. Pavlov. Network Infrastructure Security Assessment
flowspec @ APF 2013
OSTU - Quickstart Guide for Wireshark (by Tony Fortunato)

What's hot (19)

PDF
Nmap commands
PDF
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
PDF
Eincop Netwax Lab: Redistribution
PDF
TCP Intercept
PPTX
PDF
Nxll10 v lan and trunking
PDF
How deep is your buffer – Demystifying buffers and application performance
PDF
Eincop Netwax Lab: EIGRP iii
PDF
Nxll12 zone based firewall
PDF
Télémétrie d’openstack
PPTX
Setup VoIP System and Interconnection with LTE network
PDF
Route Redistribution
PDF
Remote VPN
PPTX
Nmap(network mapping)
PDF
Nxll26 bgp ii
PDF
Setup VoIP System and Interconnection with LTE network
PDF
Nmap Basics
Nmap commands
Eincop Netwax Lab: HSRP (Hot Standby Router Protocol)
Eincop Netwax Lab: Redistribution
TCP Intercept
Nxll10 v lan and trunking
How deep is your buffer – Demystifying buffers and application performance
Eincop Netwax Lab: EIGRP iii
Nxll12 zone based firewall
Télémétrie d’openstack
Setup VoIP System and Interconnection with LTE network
Route Redistribution
Remote VPN
Nmap(network mapping)
Nxll26 bgp ii
Setup VoIP System and Interconnection with LTE network
Nmap Basics
Ad

Similar to LoRaWAN Real Life Issues (20)

PDF
IoT Connectivity with LoRa
PDF
LoRaWAN class module and subsystem
PDF
LPWAN London Meetup: Solving Urban Challenges
PDF
LoRa online training for utility guys
PPTX
LoRa и LoRaWAN. Особенности технологий и практическое использование, Богдан К...
PDF
The current state of LoRaWAN security
PDF
LoRaWAN in Depth
PDF
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
PDF
PLNOG 17 - Marcin Aronowski - Technologie dostępowe dla IoT. Jak się w tym ws...
PPTX
Lorawan: What you need to know
PDF
The iot academy_lpwan_lora
PDF
LoRaPresentation20255555555555555555555555555555555555.pdf
PDF
LoRa General Presentation LoRa General Presentation.pdf
PDF
Mbed LoRaWAN stack: a case study - LoRa Alliance AMM Tokyo
PDF
How To Choose LoRa Devices?
PDF
PDF
Systematic literature survey: applications of LoRa communication
PPTX
Brief LoRaWAN Overview
PDF
What is the difference between lora and lorawan
PPTX
LoRa General Presentation FOR MASSIVE DEPLOYMENT.pptx
IoT Connectivity with LoRa
LoRaWAN class module and subsystem
LPWAN London Meetup: Solving Urban Challenges
LoRa online training for utility guys
LoRa и LoRaWAN. Особенности технологий и практическое использование, Богдан К...
The current state of LoRaWAN security
LoRaWAN in Depth
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
PLNOG 17 - Marcin Aronowski - Technologie dostępowe dla IoT. Jak się w tym ws...
Lorawan: What you need to know
The iot academy_lpwan_lora
LoRaPresentation20255555555555555555555555555555555555.pdf
LoRa General Presentation LoRa General Presentation.pdf
Mbed LoRaWAN stack: a case study - LoRa Alliance AMM Tokyo
How To Choose LoRa Devices?
Systematic literature survey: applications of LoRa communication
Brief LoRaWAN Overview
What is the difference between lora and lorawan
LoRa General Presentation FOR MASSIVE DEPLOYMENT.pptx
Ad

More from Radiojitter Concepts Lab LLP (10)

PPTX
ES'HAIL 2/QO-100 Reception
PDF
LoRaWAN Antenna Measurement
DOCX
DTH (DVB-S2) Reception
DOCX
DVB-T2 Reception using RTL SDR
DOCX
Decoding LoRaWAN Packet
DOCX
GSM Triangulation (GPS Denied Condition)
DOCX
ADS-B Out Experiment
PPTX
Software Defined Radio Workshop
PPTX
RF Experiments in Raspberry Pi
PPTX
Hamfest,Bangalore 2018 presentation
ES'HAIL 2/QO-100 Reception
LoRaWAN Antenna Measurement
DTH (DVB-S2) Reception
DVB-T2 Reception using RTL SDR
Decoding LoRaWAN Packet
GSM Triangulation (GPS Denied Condition)
ADS-B Out Experiment
Software Defined Radio Workshop
RF Experiments in Raspberry Pi
Hamfest,Bangalore 2018 presentation

Recently uploaded (20)

PPTX
Information Storage and Retrieval Techniques Unit III
PPTX
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
PPTX
Safety Seminar civil to be ensured for safe working.
PDF
Design Guidelines and solutions for Plastics parts
PDF
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
PPT
Total quality management ppt for engineering students
PDF
Automation-in-Manufacturing-Chapter-Introduction.pdf
PDF
III.4.1.2_The_Space_Environment.p pdffdf
PDF
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
PDF
Abrasive, erosive and cavitation wear.pdf
PPTX
"Array and Linked List in Data Structures with Types, Operations, Implementat...
PPTX
introduction to high performance computing
PPTX
Nature of X-rays, X- Ray Equipment, Fluoroscopy
PDF
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
PPTX
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
PDF
Visual Aids for Exploratory Data Analysis.pdf
PDF
distributed database system" (DDBS) is often used to refer to both the distri...
PDF
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
PPT
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
PPTX
Module 8- Technological and Communication Skills.pptx
Information Storage and Retrieval Techniques Unit III
6ME3A-Unit-II-Sensors and Actuators_Handouts.pptx
Safety Seminar civil to be ensured for safe working.
Design Guidelines and solutions for Plastics parts
Artificial Superintelligence (ASI) Alliance Vision Paper.pdf
Total quality management ppt for engineering students
Automation-in-Manufacturing-Chapter-Introduction.pdf
III.4.1.2_The_Space_Environment.p pdffdf
22EC502-MICROCONTROLLER AND INTERFACING-8051 MICROCONTROLLER.pdf
Abrasive, erosive and cavitation wear.pdf
"Array and Linked List in Data Structures with Types, Operations, Implementat...
introduction to high performance computing
Nature of X-rays, X- Ray Equipment, Fluoroscopy
BIO-INSPIRED HORMONAL MODULATION AND ADAPTIVE ORCHESTRATION IN S-AI-GPT
Sorting and Hashing in Data Structures with Algorithms, Techniques, Implement...
Visual Aids for Exploratory Data Analysis.pdf
distributed database system" (DDBS) is often used to refer to both the distri...
A SYSTEMATIC REVIEW OF APPLICATIONS IN FRAUD DETECTION
INTRODUCTION -Data Warehousing and Mining-M.Tech- VTU.ppt
Module 8- Technological and Communication Skills.pptx

LoRaWAN Real Life Issues

  • 2. Typical LoRaWAN Based Network ANTENN A CABLE LoRaWA N Node LoRaWA N Gateway LoRaWA N Server Cloud LoRaWA N Server
  • 4. SWR? What the heck? SWR READIN G % OF LOSS ERP* WATTS AVAILAB LE 1.0:1 0.0% 100.0% 4.00 1.1:1 0.2% 99.8% 3.99 1.2:1 0.8% 99.2% 3.97 1.3:1 1.7% 98.3% 3.93 1.4:1 2.8% 97.2% 3.89 1.5:1 4.0% 96.0% 3.84 1.6:1 5.3% 94.7% 3.79 1.7:1 6.7% 93.3% 3.73 1.8:1 8.2% 91.8% 3.67 2.0:1 11.1% 88.9% 3.56 2.2:1 14.1% 85.9% 3.44 2.4:1 17.0% 83.0% 3.32 2.6:1 19.8% 80.2% 3.21 3.0:1 25.0% 75.0% 3.00 4.0:1 36.0% 64.0% 2.56 5.0:1 44.4% 55.6% 2.22 6.0:1 51.0% 49.0% 1.96 7.0:1 56.3% 43.8% 1.75 8.0:1 60.5% 39.5% 1.58 9.0:1 64.0% 36.0% 1.44 10.0:1 66.9% 33.1% 1.32
  • 6. OUT DUT Antenna IN NWT4000-1 Network Analyzer RF OUT RF IN SWR Bridge OUT DUT Antenna IN Noise Generator RF OUT RF IN SWR Bridge RTL Software Defined Radio OUT DUT Antenna IN Noise Generator RF OUT RF IN SWR Bridge RTL Software Defined Radio SWR measurement?
  • 9. Which Frequency and Why? 866 MHz 433 MHz
  • 10. Which LoRa Modules(How to Choose)? RFM95W DRF1272 F LORA1276- C1  DRF1276G Lora1276F30 RFM95PW
  • 11. Which LoRa Modules(How to Choose)? Murata RisingHF Microchip Rakwireless Internal Circuit Murata Module
  • 13. Is LoRaWAN node dead/alive? Spectrum Analysis
  • 14. SN Phase Repository Type of software Remark 1 Gateway https://github.com/Lora-net/lora_gateway Open source   2 Gateway https://github.com/Lora-net/packet_forwarder Open source   3 LoRa Node(Semtech) https://github.com/Lora-net/LoRaMac-node Open source 4 Arduino Node LMIC https://github.com/matthijskooijman/arduino- lmic Open source   5 WiringPi git://git.drogon.net/wiringPi   6 Raspberry Pi Node LMIC https://github.com/ernstdevreede/lmic_pi Open source   7 I-CUBE-LRWAN(STM) https://www.st.com/en/embedded-software/i- cube-lrwan.html 8 Physical Message to Frame Message decoding https://LoRaWAN-packet-decoder- 0ta6puiniaut.runkit.sh   9 LoRaWAN packet decryption https://github.com/jieter/python-lora Open source   10 ASCII to BASE64 https://www.branah.com/ascii-converter   11 Signal Sniffing over Air https://github.com/rpp0/gr-lora/wiki/Capturing- LoRa-signals-using-an-RTL-SDR-device Open source   12 Signal Sniffing over Air https://revspace.nl/DecodingLora Open source             Which LoRaWAN Library to start with?
  • 15. Assuming base64-encoded packet QNIfASaABAABA/uB+N3FPLnND5ufMW6z Message Type = Data PHYPayload = 40D21F01268004000103FB81F8DDC53CB9CD0F9B9F316EB3 ( PHYPayload = MHDR[1] | MACPayload[..] | MIC[4] ) MHDR = 40 MACPayload = D21F01268004000103FB81F8DDC53CB9CD0F9B MIC = 9F316EB3 ( MACPayload = FHDR | FPort | FRMPayload ) FHDR = D21F0126800400 FPort = 01 FRMPayload = 03FB81F8DDC53CB9CD0F9B ( FHDR = DevAddr[4] | FCtrl[1] | FCnt[2] | FOpts[0..15] ) DevAddr = 26011FD2 (Big Endian) FCtrl = 80 FCnt = 0004 (Big Endian) FOpts = Message Type = Unconfirmed Data Up Direction = up FCnt = 4 FCtrl.ACK = false FCtrl.ADR = true How to decode LoRaWAN packet?
  • 16. How to decode LoRaWAN packet?
  • 17. The data received is In hex =68, 65, 6C, 6F, 20, 77, 6F, 72, 6C, 64 In decimal=104, 101,108,111,32,119,114,108,100 In ascii=h,e,l,l,o, ,w,o,r,l,d How to decode LoRaWAN packet?
  • 18. 1. Get a development board Arduino Uno/STM Nucleo Board/Raspberry Pi(Lowest Cost Rs 500/-) 2. Get an SPI based Lora module (SX1276 or RFM95W) pair (Lowest Cost Rs 1500/- ) 3. Breakout Board, Antenna , (Connector Lowest Cost Rs 250/-) ------------------------------------------------------------------------------------------------------------ Total Cost Rs 1750/- How can I start my LoRaWAN journey/leraning?
  • 22. LoRaWAN Range Check A LORAWAN network was simulated in Canara Engineering , Mangalore •SX1301 Based Gateway(100 mW) •SX1276 Based Node(500 mW) •Arduino Environment for Node •Raspberry Pi 3 Environment for Gateway •Frequency Range(865-867 MHz) •Modified Semtech Packet Forwarder for Gateway •TTN(The Things Network Server) •Modified LMIC (LoraMAC-in-C) library •SF 12, Data Rate 250 Kbps