SlideShare a Scribd company logo
LoRa(Wan)
what you need to know
Technology overview and a practical use case:
Creation of a LoraWan sensor
30/10/2017 - Paul Coomans
01.
The Big Picture
Internet of Things
It’s all about connectivity
Types of (Wireless) Networks
• PAN or Personal Area Network
• Short range
• Residential connection
• Example technologies:
• NFC
• Bluetooth
• Zigbee
Types of (Wireless) Networks
• PAN
• LAN or Local Area Network
• Short range
• Residential connection
• Example technologies:
• Wifi
Types of (Wireless) Networks
• PAN
• LAN
• WAN or Wide Area Network
• Occupies large area
• Example technologies
• Ethernet (Internet)
• Cellular networks
• LoraWAN
• Sigfox
• ...
LPWAN
Where does LPWAN fit
Personal & Local
Area Network
In buildings
Mobile devices
Short range
Battery life
Depending on
local connection
Cellular Network
Coverage
High data rate
Long range
Battery life
Cost
LPWAN
Low power consumption
low cost
Long range
Data rate
In summary
• LoraWan network is a LPWAN
• Low–Power, Wide-Area Networks
• Designed to offer optimised
• Battery lifetime
• Range
• Cost
• Tradeoff
• Low data rate
02.
What exactly is …
Lora ?
LoraWAN ?
What is LoRa®
- LoRa = ‘Long Range’
- Physical layer to create long range communication link
- Based on ‘Chirp spread spectrum modulation’
Chirp spread spectrum modulation
- Known in military and space equipment
- High immunity to noise or interfering signals
- Long communication distances
What is LoRaWAN ™ ?
• Built on top of the LoRa® physical layer
• Communication protocols and system architecture
What is LoRaWAN ™ ?
Network Architecture
• Long range star network
Network Architecture
03.
LoraWAN in Belgium
https://www.proximus.be
https://www.thethingsnetwork.org/
http://wirelessthings.be/
04.
Some technical details
LoRa protocol stack
Application layer
MAC layer
PHY layer
RF layer
Layers RF PHY MAC APP
• Chirp spread spectrum modulation
• Frequency chirp
• Upchirp & downchirps
Source: http://www.sghoslya.com/p/lora-is-chirp-spread-spectrum.html
Layers RF PHY MAC APP
• Spectrogram of the Lora physical layer
• 8 preamble symbols,
2 synchronisation symbols,
physical payload
CRC
Source: http://www.sghoslya.com/p/lora-is-chirp-spread-spectrum.html
Layers RF PHY MAC APP
Layers RF PHY MAC APP
maximum size between
51 Bytes and 222 Bytes,
depending on the SF
typical 8 symbols
raw data rate ranges between
22 bps (BW = 7.8 kHz and SF = 12) to
27 kbps (BW = 500 kHz and SF = 7)
• 3 classes
• A
• B
• C
Layers RF PHY MAC APP
Layers
• Bidirectional communiations
• End device initiates communciation (UPLINK)
• Server communicates (DOWNLINK) during predetermined response
windows
• Battery powered devices
RF PHY MAC APP
Class A
• Bidirectional communiations with scheduled receive slots
• Periodic beacon from gateway
• Server can initiate transmission
• Battery powered devices
Layers RF PHY MAC APP
Class B
• Bidirectional communiations
• Server can initiate transmission at any time
• End device is constantly receiving
Layers RF PHY MAC APP
Class C
05.
Activating a node
Security Device Address
(DevAddr)
Security
• Device Address DevAddr
• Unique within the network
• Shared between End-device, Network Server, and Application Server
Security
• Application Session key AppSKey
• Used to encrypt the payload
• Network does not need to know the payload
• Application server can decrypt the information
• Network Session key NwkSKey
• Used to encrypt the whole frame (MAC command)
• Allows network server to verify the sender
Security
Joining the network
• Required information
• Device Address (DevAddr)
• Network Session Key (NwkSKey)
• Application Session Key (AppSKey)
• Activation By Personalisation (ABP)
• Over The Air Activation (OTAA)
Activation By Personalisation (ABP)
• Supplier of the device
• Chooses fixed network provider
• Registers the device  receives an DevAddr
• Supplier programs these into the device:
• DevAddr
• NwkSKey
• AppSKey
• Device can immediately start communicating
Over The Air Activation (OTAA)
• More complicated
• Not fixed to specific network operator
• An globally unique AppKey is programmed into the device
• The joining process will result in obtaining
• DevAddr
• NwkSKey
• AppSKey
• Keys are never sent over the air
Over The Air Activation (OTAA) continued
• LoRa sends JOIN_REQUEST
• contains : AppEUI, DevEUI
• signed with AppKey
• Network Server receives the JOIN_REQUEST
• calculates AppSKey and NwkSKey.
• Network Server generates JOIN_ACCEPT
• includes DevAddr
• LoRa Device receives JOIN_ACCEPT
• encrypted with AppKey
• contains DevAddr
• LoRa Device can equally calculate the NwkSkey and AppSKey
06.
Building a node
BOM
• LoRa modem
• Microcontroller
• Antenna
• Battery/power supply
• Subscription LoRaWAN provider
• Application on webserver
• Way to manage the device (application)
Building a node
Teensey 3.12 RN2483
Arduino campatible Microchip – Class A

More Related Content

What's hot

LoRa Alliance
LoRa AllianceLoRa Alliance
LoRa Alliance
Sohan Bappy
 
LPWA network
LPWA networkLPWA network
lora.ppt
lora.pptlora.ppt
lora.ppt
ssuserb8d622
 
WiFi - IEEE 802.11
WiFi - IEEE 802.11WiFi - IEEE 802.11
WiFi - IEEE 802.11
Damien Magoni
 
LPWAN technology overview
LPWAN technology overviewLPWAN technology overview
LPWAN technology overview
Jisc
 
5G Network Architecture and Design
5G Network Architecture and Design5G Network Architecture and Design
5G Network Architecture and Design
3G4G
 
Zigbee
ZigbeeZigbee
Zigbee
Kannan Rajan
 
802 15-4 tutorial
802 15-4 tutorial802 15-4 tutorial
802 15-4 tutorial
SHUBHAM MORGAONKAR
 
LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M ScenariosLPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
Peter R. Egli
 
IoT Connectivity with LoRa
IoT Connectivity with LoRaIoT Connectivity with LoRa
IoT Connectivity with LoRa
Andri Yadi
 
Understand LPWA tetchnologies (Sigfox and LoRa)
Understand LPWA tetchnologies (Sigfox and LoRa)Understand LPWA tetchnologies (Sigfox and LoRa)
Understand LPWA tetchnologies (Sigfox and LoRa)
Robert Vivanco Salcedo
 
Architecture of 5G
Architecture of 5GArchitecture of 5G
Architecture of 5G
Udara Sandaruwan
 
LoRaWAN vs Haystack
LoRaWAN vs HaystackLoRaWAN vs Haystack
LoRaWAN vs Haystack
Haystack Technologies
 
LoRa and NB-IoT
LoRa and NB-IoT LoRa and NB-IoT
LoRa and NB-IoT
Darshan Patil
 
6LoWPAN: An open IoT Networking Protocol
6LoWPAN: An open IoT Networking Protocol6LoWPAN: An open IoT Networking Protocol
6LoWPAN: An open IoT Networking Protocol
Samsung Open Source Group
 
LoRaWAN for IoT
LoRaWAN for IoTLoRaWAN for IoT
LoRaWAN for IoT
Stavros Kalapothas
 
LPWAN for IoT
LPWAN for IoTLPWAN for IoT
LPWAN for IoT
Infiswift Solutions
 
Introduction to LTE-M
Introduction to LTE-MIntroduction to LTE-M
Introduction to LTE-M
Nicolas Damour
 
Beginners: An Quick Introduction to 3GPP
Beginners: An Quick Introduction to 3GPPBeginners: An Quick Introduction to 3GPP
Beginners: An Quick Introduction to 3GPP
3G4G
 
LTE - Long Term Evolution
LTE - Long Term EvolutionLTE - Long Term Evolution
LTE - Long Term Evolution
Arief Gunawan
 

What's hot (20)

LoRa Alliance
LoRa AllianceLoRa Alliance
LoRa Alliance
 
LPWA network
LPWA networkLPWA network
LPWA network
 
lora.ppt
lora.pptlora.ppt
lora.ppt
 
WiFi - IEEE 802.11
WiFi - IEEE 802.11WiFi - IEEE 802.11
WiFi - IEEE 802.11
 
LPWAN technology overview
LPWAN technology overviewLPWAN technology overview
LPWAN technology overview
 
5G Network Architecture and Design
5G Network Architecture and Design5G Network Architecture and Design
5G Network Architecture and Design
 
Zigbee
ZigbeeZigbee
Zigbee
 
802 15-4 tutorial
802 15-4 tutorial802 15-4 tutorial
802 15-4 tutorial
 
LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M ScenariosLPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
LPWAN Technologies for Internet of Things (IoT) and M2M Scenarios
 
IoT Connectivity with LoRa
IoT Connectivity with LoRaIoT Connectivity with LoRa
IoT Connectivity with LoRa
 
Understand LPWA tetchnologies (Sigfox and LoRa)
Understand LPWA tetchnologies (Sigfox and LoRa)Understand LPWA tetchnologies (Sigfox and LoRa)
Understand LPWA tetchnologies (Sigfox and LoRa)
 
Architecture of 5G
Architecture of 5GArchitecture of 5G
Architecture of 5G
 
LoRaWAN vs Haystack
LoRaWAN vs HaystackLoRaWAN vs Haystack
LoRaWAN vs Haystack
 
LoRa and NB-IoT
LoRa and NB-IoT LoRa and NB-IoT
LoRa and NB-IoT
 
6LoWPAN: An open IoT Networking Protocol
6LoWPAN: An open IoT Networking Protocol6LoWPAN: An open IoT Networking Protocol
6LoWPAN: An open IoT Networking Protocol
 
LoRaWAN for IoT
LoRaWAN for IoTLoRaWAN for IoT
LoRaWAN for IoT
 
LPWAN for IoT
LPWAN for IoTLPWAN for IoT
LPWAN for IoT
 
Introduction to LTE-M
Introduction to LTE-MIntroduction to LTE-M
Introduction to LTE-M
 
Beginners: An Quick Introduction to 3GPP
Beginners: An Quick Introduction to 3GPPBeginners: An Quick Introduction to 3GPP
Beginners: An Quick Introduction to 3GPP
 
LTE - Long Term Evolution
LTE - Long Term EvolutionLTE - Long Term Evolution
LTE - Long Term Evolution
 

Similar to Lorawan: What you need to know

2nd lec wireless terminologies
2nd lec   wireless terminologies2nd lec   wireless terminologies
2nd lec wireless terminologies
Inocentshuja Ahmad
 
Introduction to LoRa for developers
Introduction to LoRa for developersIntroduction to LoRa for developers
Introduction to LoRa for developers
Robin Harris
 
Wireless networks
Wireless networksWireless networks
Wireless networks
Derick Ochia
 
Wireless Networks.ppt
Wireless Networks.pptWireless Networks.ppt
Wireless Networks.ppt
xdarlord
 
Wireless networks
Wireless networksWireless networks
Wireless networks
Joland Reambillo
 
Ntc 362 forecasting and strategic planning -uopstudy.com
Ntc 362 forecasting and strategic planning -uopstudy.comNtc 362 forecasting and strategic planning -uopstudy.com
Ntc 362 forecasting and strategic planning -uopstudy.com
ULLPTT
 
Ntc 362 effective communication uopstudy.com
Ntc 362 effective communication   uopstudy.comNtc 362 effective communication   uopstudy.com
Ntc 362 effective communication uopstudy.com
ULLPTT
 
LoRa online training for utility guys
LoRa online training for utility guysLoRa online training for utility guys
LoRa online training for utility guys
Nikolay Milovanov
 
FIWARE Global Summit - Connecting to LoRa networks: Practical Demo
FIWARE Global Summit - Connecting to LoRa networks: Practical DemoFIWARE Global Summit - Connecting to LoRa networks: Practical Demo
FIWARE Global Summit - Connecting to LoRa networks: Practical Demo
FIWARE
 
Ch7 ccna exploration 3 lan switching and wireless
Ch7 ccna exploration 3 lan switching and wirelessCh7 ccna exploration 3 lan switching and wireless
Ch7 ccna exploration 3 lan switching and wireless
kratos2424
 
WPAN According To ZIGBEE
WPAN According To ZIGBEEWPAN According To ZIGBEE
WPAN According To ZIGBEE
Afaq Siddiqui
 
Wireless networks
Wireless networksWireless networks
Wireless networks
SYEDJAMAESHA
 
Wireless Networks 120719.ppt
Wireless Networks 120719.pptWireless Networks 120719.ppt
Wireless Networks 120719.ppt
AbyThomas54
 
what is lorapan ,explanation of iot module with
what is lorapan ,explanation of iot module withwhat is lorapan ,explanation of iot module with
what is lorapan ,explanation of iot module with
neelamsanjeevkumar
 
Link Labs LPWA Webinar
Link Labs LPWA WebinarLink Labs LPWA Webinar
Link Labs LPWA Webinar
Brian Ray
 
Computer Networking 101
Computer Networking 101Computer Networking 101
Computer Networking 101
Sameer Mahajan
 
Living on the iot edge
Living on the iot edgeLiving on the iot edge
Living on the iot edge
Steve Mylroie
 
Wireless lan electronics and communication engineering
Wireless lan electronics and communication engineeringWireless lan electronics and communication engineering
Wireless lan electronics and communication engineering
eceb9198
 
IoTMeetupGuildford#14: Mark Hill - http://thethingsnetwork.org - OpenTRV
IoTMeetupGuildford#14: Mark Hill - http://thethingsnetwork.org - OpenTRVIoTMeetupGuildford#14: Mark Hill - http://thethingsnetwork.org - OpenTRV
IoTMeetupGuildford#14: Mark Hill - http://thethingsnetwork.org - OpenTRV
MicheleNati
 
City scale and nationwide LoRa network: deployment challenges, best operating...
City scale and nationwide LoRa network: deployment challenges, best operating...City scale and nationwide LoRa network: deployment challenges, best operating...
City scale and nationwide LoRa network: deployment challenges, best operating...
Alexander Trubitsin
 

Similar to Lorawan: What you need to know (20)

2nd lec wireless terminologies
2nd lec   wireless terminologies2nd lec   wireless terminologies
2nd lec wireless terminologies
 
Introduction to LoRa for developers
Introduction to LoRa for developersIntroduction to LoRa for developers
Introduction to LoRa for developers
 
Wireless networks
Wireless networksWireless networks
Wireless networks
 
Wireless Networks.ppt
Wireless Networks.pptWireless Networks.ppt
Wireless Networks.ppt
 
Wireless networks
Wireless networksWireless networks
Wireless networks
 
Ntc 362 forecasting and strategic planning -uopstudy.com
Ntc 362 forecasting and strategic planning -uopstudy.comNtc 362 forecasting and strategic planning -uopstudy.com
Ntc 362 forecasting and strategic planning -uopstudy.com
 
Ntc 362 effective communication uopstudy.com
Ntc 362 effective communication   uopstudy.comNtc 362 effective communication   uopstudy.com
Ntc 362 effective communication uopstudy.com
 
LoRa online training for utility guys
LoRa online training for utility guysLoRa online training for utility guys
LoRa online training for utility guys
 
FIWARE Global Summit - Connecting to LoRa networks: Practical Demo
FIWARE Global Summit - Connecting to LoRa networks: Practical DemoFIWARE Global Summit - Connecting to LoRa networks: Practical Demo
FIWARE Global Summit - Connecting to LoRa networks: Practical Demo
 
Ch7 ccna exploration 3 lan switching and wireless
Ch7 ccna exploration 3 lan switching and wirelessCh7 ccna exploration 3 lan switching and wireless
Ch7 ccna exploration 3 lan switching and wireless
 
WPAN According To ZIGBEE
WPAN According To ZIGBEEWPAN According To ZIGBEE
WPAN According To ZIGBEE
 
Wireless networks
Wireless networksWireless networks
Wireless networks
 
Wireless Networks 120719.ppt
Wireless Networks 120719.pptWireless Networks 120719.ppt
Wireless Networks 120719.ppt
 
what is lorapan ,explanation of iot module with
what is lorapan ,explanation of iot module withwhat is lorapan ,explanation of iot module with
what is lorapan ,explanation of iot module with
 
Link Labs LPWA Webinar
Link Labs LPWA WebinarLink Labs LPWA Webinar
Link Labs LPWA Webinar
 
Computer Networking 101
Computer Networking 101Computer Networking 101
Computer Networking 101
 
Living on the iot edge
Living on the iot edgeLiving on the iot edge
Living on the iot edge
 
Wireless lan electronics and communication engineering
Wireless lan electronics and communication engineeringWireless lan electronics and communication engineering
Wireless lan electronics and communication engineering
 
IoTMeetupGuildford#14: Mark Hill - http://thethingsnetwork.org - OpenTRV
IoTMeetupGuildford#14: Mark Hill - http://thethingsnetwork.org - OpenTRVIoTMeetupGuildford#14: Mark Hill - http://thethingsnetwork.org - OpenTRV
IoTMeetupGuildford#14: Mark Hill - http://thethingsnetwork.org - OpenTRV
 
City scale and nationwide LoRa network: deployment challenges, best operating...
City scale and nationwide LoRa network: deployment challenges, best operating...City scale and nationwide LoRa network: deployment challenges, best operating...
City scale and nationwide LoRa network: deployment challenges, best operating...
 

Recently uploaded

WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
Postman
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
flufftailshop
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
Pixlogix Infotech
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
Chart Kalyan
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
LucaBarbaro3
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
alexjohnson7307
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
Pravash Chandra Das
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
innovationoecd
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Jeffrey Haguewood
 
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Jeffrey Haguewood
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
DanBrown980551
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
SitimaJohn
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
Jakub Marek
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
tolgahangng
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
Zilliz
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
fredae14
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Malak Abu Hammad
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
Hiike
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Wask
 

Recently uploaded (20)

WeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation TechniquesWeTestAthens: Postman's AI & Automation Techniques
WeTestAthens: Postman's AI & Automation Techniques
 
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdfNunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
Nunit vs XUnit vs MSTest Differences Between These Unit Testing Frameworks.pdf
 
Best 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERPBest 20 SEO Techniques To Improve Website Visibility In SERP
Best 20 SEO Techniques To Improve Website Visibility In SERP
 
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdfHow to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
How to Interpret Trends in the Kalyan Rajdhani Mix Chart.pdf
 
Trusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process MiningTrusted Execution Environment for Decentralized Process Mining
Trusted Execution Environment for Decentralized Process Mining
 
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
leewayhertz.com-AI in predictive maintenance Use cases technologies benefits ...
 
Operating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptxOperating System Used by Users in day-to-day life.pptx
Operating System Used by Users in day-to-day life.pptx
 
Presentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of GermanyPresentation of the OECD Artificial Intelligence Review of Germany
Presentation of the OECD Artificial Intelligence Review of Germany
 
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
Salesforce Integration for Bonterra Impact Management (fka Social Solutions A...
 
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
Letter and Document Automation for Bonterra Impact Management (fka Social Sol...
 
5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides5th LF Energy Power Grid Model Meet-up Slides
5th LF Energy Power Grid Model Meet-up Slides
 
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptxOcean lotus Threat actors project by John Sitima 2024 (1).pptx
Ocean lotus Threat actors project by John Sitima 2024 (1).pptx
 
Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)Main news related to the CCS TSI 2023 (2023/1695)
Main news related to the CCS TSI 2023 (2023/1695)
 
TrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy SurveyTrustArc Webinar - 2024 Global Privacy Survey
TrustArc Webinar - 2024 Global Privacy Survey
 
Serial Arm Control in Real Time Presentation
Serial Arm Control in Real Time PresentationSerial Arm Control in Real Time Presentation
Serial Arm Control in Real Time Presentation
 
Generating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and MilvusGenerating privacy-protected synthetic data using Secludy and Milvus
Generating privacy-protected synthetic data using Secludy and Milvus
 
Recommendation System using RAG Architecture
Recommendation System using RAG ArchitectureRecommendation System using RAG Architecture
Recommendation System using RAG Architecture
 
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdfUnlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
Unlock the Future of Search with MongoDB Atlas_ Vector Search Unleashed.pdf
 
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - HiikeSystem Design Case Study: Building a Scalable E-Commerce Platform - Hiike
System Design Case Study: Building a Scalable E-Commerce Platform - Hiike
 
Digital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying AheadDigital Marketing Trends in 2024 | Guide for Staying Ahead
Digital Marketing Trends in 2024 | Guide for Staying Ahead
 

Lorawan: What you need to know

  • 1. LoRa(Wan) what you need to know Technology overview and a practical use case: Creation of a LoraWan sensor 30/10/2017 - Paul Coomans
  • 3. Internet of Things It’s all about connectivity
  • 4. Types of (Wireless) Networks • PAN or Personal Area Network • Short range • Residential connection • Example technologies: • NFC • Bluetooth • Zigbee
  • 5. Types of (Wireless) Networks • PAN • LAN or Local Area Network • Short range • Residential connection • Example technologies: • Wifi
  • 6. Types of (Wireless) Networks • PAN • LAN • WAN or Wide Area Network • Occupies large area • Example technologies • Ethernet (Internet) • Cellular networks • LoraWAN • Sigfox • ... LPWAN
  • 7. Where does LPWAN fit Personal & Local Area Network In buildings Mobile devices Short range Battery life Depending on local connection Cellular Network Coverage High data rate Long range Battery life Cost LPWAN Low power consumption low cost Long range Data rate
  • 8. In summary • LoraWan network is a LPWAN • Low–Power, Wide-Area Networks • Designed to offer optimised • Battery lifetime • Range • Cost • Tradeoff • Low data rate
  • 9. 02. What exactly is … Lora ? LoraWAN ?
  • 10. What is LoRa® - LoRa = ‘Long Range’ - Physical layer to create long range communication link - Based on ‘Chirp spread spectrum modulation’
  • 11. Chirp spread spectrum modulation - Known in military and space equipment - High immunity to noise or interfering signals - Long communication distances
  • 12. What is LoRaWAN ™ ? • Built on top of the LoRa® physical layer • Communication protocols and system architecture
  • 14. Network Architecture • Long range star network
  • 21. LoRa protocol stack Application layer MAC layer PHY layer RF layer
  • 22. Layers RF PHY MAC APP
  • 23. • Chirp spread spectrum modulation • Frequency chirp • Upchirp & downchirps Source: http://www.sghoslya.com/p/lora-is-chirp-spread-spectrum.html Layers RF PHY MAC APP
  • 24. • Spectrogram of the Lora physical layer • 8 preamble symbols, 2 synchronisation symbols, physical payload CRC Source: http://www.sghoslya.com/p/lora-is-chirp-spread-spectrum.html Layers RF PHY MAC APP
  • 25. Layers RF PHY MAC APP maximum size between 51 Bytes and 222 Bytes, depending on the SF typical 8 symbols raw data rate ranges between 22 bps (BW = 7.8 kHz and SF = 12) to 27 kbps (BW = 500 kHz and SF = 7)
  • 26. • 3 classes • A • B • C Layers RF PHY MAC APP
  • 27. Layers • Bidirectional communiations • End device initiates communciation (UPLINK) • Server communicates (DOWNLINK) during predetermined response windows • Battery powered devices RF PHY MAC APP Class A
  • 28. • Bidirectional communiations with scheduled receive slots • Periodic beacon from gateway • Server can initiate transmission • Battery powered devices Layers RF PHY MAC APP Class B
  • 29. • Bidirectional communiations • Server can initiate transmission at any time • End device is constantly receiving Layers RF PHY MAC APP Class C
  • 32. Security • Device Address DevAddr • Unique within the network • Shared between End-device, Network Server, and Application Server
  • 33. Security • Application Session key AppSKey • Used to encrypt the payload • Network does not need to know the payload • Application server can decrypt the information
  • 34. • Network Session key NwkSKey • Used to encrypt the whole frame (MAC command) • Allows network server to verify the sender Security
  • 35. Joining the network • Required information • Device Address (DevAddr) • Network Session Key (NwkSKey) • Application Session Key (AppSKey) • Activation By Personalisation (ABP) • Over The Air Activation (OTAA)
  • 36. Activation By Personalisation (ABP) • Supplier of the device • Chooses fixed network provider • Registers the device  receives an DevAddr • Supplier programs these into the device: • DevAddr • NwkSKey • AppSKey • Device can immediately start communicating
  • 37. Over The Air Activation (OTAA) • More complicated • Not fixed to specific network operator • An globally unique AppKey is programmed into the device • The joining process will result in obtaining • DevAddr • NwkSKey • AppSKey • Keys are never sent over the air
  • 38. Over The Air Activation (OTAA) continued • LoRa sends JOIN_REQUEST • contains : AppEUI, DevEUI • signed with AppKey • Network Server receives the JOIN_REQUEST • calculates AppSKey and NwkSKey. • Network Server generates JOIN_ACCEPT • includes DevAddr • LoRa Device receives JOIN_ACCEPT • encrypted with AppKey • contains DevAddr • LoRa Device can equally calculate the NwkSkey and AppSKey
  • 40. BOM • LoRa modem • Microcontroller • Antenna • Battery/power supply • Subscription LoRaWAN provider • Application on webserver • Way to manage the device (application)
  • 41. Building a node Teensey 3.12 RN2483 Arduino campatible Microchip – Class A

Editor's Notes

  1. The purpose of this session is to introduce LoRa® and LoRaWAN™, and give a technical overview of what it is and what it can do. As kind of introduction, before diving into details, … Let’s start with an overview
  2. Overiew:
  3. The internet of things (IoT) is a computing concept that describes a scenario where everyday physical objects are connected to the internet What kinds of technologuies are used in IOT? Where does LorWan fit in ?
  4. Pan is about devices close to my personal environment Devices connected to - Laptop / cell phone /payment terminal / .. Not always best option for IOT - network has to be present - local administration: connect device
  5. LAN is about devices in a company / house Not always best option for IOT - network has to be present - administration to get connected
  6. On the left hand: PAN + LAN On the middle and right : WAN There are several types of IoT applications with their specific requirements. One technology cannot serve all these purposes. Wifi / Bluetooth LE  widely adopted  personal devices Cellular technology  high data througput  power source available LPWAN  multi-year battery lifetime  small amounts of data  long distance
  7. Before divig into LoraWan, let’s take one step back and start with LPWAN. LPWAN stands for Low–Power, Wide-Area Network Are expected to support a large portion of the Internet of Things devices (IoT). LoRaWAN™ is designed to optimize LPWANs for battery lifetime, capacity, range, and cost. Tradeoff: low data rate according to James Brehm & Associates, 86% of all IoT devices use less than 3 MB of data per month, 3GPP estimates that 99.9% of LPWAN devices will use less than 150 KB of data per month.
  8. Open source movement Started in Amsterdam Gateways mostly in cities, overall coverage is not yet good enough Good website  lots of info
  9. Started more than 10 years ago as Wireless Belgium Non profit organisation National WIFI network with more than 600 access points FREE accessible
  10. The industrial, scientific and medical (ISM) radio bands are radio bands reserved internationally In belgium only 868 band is supported by loara operators
  11. chirp spread spectrum modulation - uses frequency chirps with a linear variation of frequency over time
  12. MIC = Message Integrity Check
  13. - The same scheme as in class A - Additional receive slots are created: Beacon signal from gateway = synchonisation signal = sent every 128 seconds All LoRaWAN base stations transmit beacon messages at the exact same time, as they are slave to one pulse-per-second (1PPS). This means that every GPS satellite in orbit transmits a message at the beginning of every second, allowing time to be synchronized around the world. All Class B nodes are assigned a time slot within the 128 second cycle and are told when to listen. You can, for instance, tell a node to listen every tenth time slot, and when this comes up, it allows for a downlink message to be transmitted (see above diagram).
  14. Before we are able to let our Lora device join the network We have to know something about the organisation of the Lora network, especially the security that is built in. What does a device need?  Device Address (DevAddr)  Network Session Key (NwkSKey)  Application Session Key (AppSKey)
  15. Register a device at provider DevAddr NwkSKey AppSKey  can be choosen or will be provided