SlideShare a Scribd company logo
Build with Mbed –
Exploring LoRa using Mbed
Your hosts
Marko Hietala
Project Manager, Etteplan IoT
Marko.Hietala@etteplan.com
Jan Jongboom
Developer Evangelist IoT, Arm
Jan.Jongboom@arm.com
Agenda
1. Wait, what, LoRa?
2. Mbed OS LoRaWAN stack overview
3. Facts and figures
4. Demonstration
5. Q&A
The case for LoRaWAN
Powerconsumption/Bandwidth
Range
LoRa key use cases
An IoT device is more than an MCU + a radio
Bootloader
Asymmetric crypto
Storage driver
Resilient filesystem
Advanced
LoRaWAN stack
Radio drivers
FlashIAP
Update client
Arm Mbed
A free, open source Platform OS targeting IoT end node devices
Mbed
OS
Cortex-M
RTOS
kernel
Portable
drivers
Integrated
security
IoT
connectivity
Device
management
Development
tools
Developer
community
Partner
ecosystem
140 development boards
LoRa, BLE, Cellular, Wi-Fi, etc.
Investment in LoRa
- Arm invested early and has excellent support for LoRa in Mbed
- 7 LoRa hardware devices already in platform/component database
- Mbed LoRa examples imported 1000's times
- Increasing investment in LoRa with interested partners
- Aiming to be #1 LoRa development platform
- Mbed OS 5.8: LoraWAN native support, APIs, examples and
showcase demos
- 2018: Services support, widespread deployment of low cost Mbed
Enabled modules
- Low-cost modules, support for operator "starter kits", events and
demos
- Firmware updates over the air
http://mbed.com/fota-lora
http://mbed.com/fota-lora
Two approaches
Radio + MCU
Easy to integrate in own design
Pre-certified
Module Radio
SX1272 or SX1276
Cheaper material / higher design cost
Need to do own RF design
Etteplan
• For industrial design engineering services, embedded systems and IoT
services and technical documentation.
• Established in 1983.
• In 2017, Etteplan had a turnover of some EUR 215 million.
• The company employs over 2,800 experts in Finland, Sweden, the
Netherlands, Germany, Poland and China.
• Currently 600 engineers in IoT projects.
• Etteplan provides e.g.:
• Complete product design (hardware, firmware and applications, mechanics, testing).
• Software design (Firmware, protocol stacks, backend, cloud, mobile app design)
• Test services, like LoRaWAN certification, accredited EMC and RF testing, environmental testing.
More information on www.etteplaniot.com
LoRaWAN architecture
LoRa in Mbed
LoRa stack
Lora radio
LoRa in Mbed – Overall SW architecture
3rd party Application
Mbed OS
LoRaStack
• Semtech LoRaMac
implementation
RADIO API
Radio adaptation
nn
LoRa Radio nn
Application API
Radio adaptation
for SX1272
LoRa Radio 1272
LoRa in Mbed - Some examples of Application APIs
• Initialize() – Initialize LoRa stack.
• add_app_callbacks() - Add application callbacks to the stack to handle
LoRaWAN events.
• connect() – creates a LoRa connection for application
• set_datarate() - Sets up a fixed data rate for application.
• enable_adaptive_datarate() – ADR
• send() - Sends LoRa message to gateway.
• receive() – Copies received message from stack to application buffer based on
specific port.
LoRa in Mbed – Example stack events visible to application
Initialize()
Connect() Join_failure
Connected
Function call from app
Event from stack
send()
Tx_doneRx_done
Receive()
Tx_timeout
Tx_error
Tx_crypto_error
Tx_scheduling_error
LoRa in Mbed – Stack key figures
• Performance
• Data throughput: depending on used frequency band, stack restricts air traffic according to duty cycle regulations
• For example 868MHz, sub band 0, duty cycle is 1%.
• Power consumptions
• Measured on Multi-Tech mDot running Mbed OS 5.8 RC1, compiled with GCC ARM 6.
• Average power consumption in idle-state is 0,59 mA.
• Average power consumption in send-state and/or receive-state is 15,0-18,0 mA.
• Future commitments
• New radio drivers for LoRaWAN.
• Stack updates according to LoRaWAN 1.1 specification.
• Firmware updates over LoRaWAN.
LoRaWAN Stack configurations on Mbed OS 5.8 RC1
Measured on Multi-Tech xDot
Compiled with GCC ARM 6
• Default build (develop profile):
• ROM: 117K
• Static RAM: 15.4K
• Dynamic RAM: 3.3K
• Fully optimized (release profile, newlib-nano, no RTOS, custom printf):
• ROM: 72.3K
• Static RAM: 6.3K
• Dynamic RAM: 0.8K
Demo Setup
LoRaWAN Demo Setup
Temperature-
sensor
LORAWAN gateway/server
LORA dashboard
LORAWAN Node 1
Server
Demo setup
Guide videos are availabe @ youtube:
Configuring Conduit first time:
https://youtu.be/u8jZ6zVMEQ0
Lora HW setup and example application on mbed:
https://youtu.be/vA5AtjZaM3Q
HW Setup
Demo setup – Setting up Lora modules
USB cable
Antenna
mDot
Demo setup – Setting up Lora modules
+5V
GND
Dig
DS1820
Building an LoRa application
Mbed compiler environment
Offline option:
• Install offline environment according to mbed instructions
• https://os.mbed.com/docs/v5.7/tutorials/quickstart-offline.html
Online option:
• Log in to Mbed online compiler.
• Import LoRaWAN example application by typing LoRaWAN example to
search field. Temperature example app will be added after webinar.
Demo setup – LoRa Mbed example software
Core parts of application
• Define variables.
• Create and initialize radio instance with correct IO-pins.
• Create initialize LoRaWAN interface
• Create state machine and event handler function for stack events.
• Set keys and connection type.
• Initialize and connect your LoRaWAN node.
mbed_app.json
Demo setup – LoRa Mbed example software
• After doing necessary changes, build the project.
• Flash mDot by drag and drop the compiled binary from compiler to Mbed
drive and press reset button of MTUDK2-st.
• Now we should have proper application up and running in our Mbed
board.
Tips and tricks
- Device battery life can be extended by using Mbed deep sleep
functionality.
- Mbed will go to deep sleep mode, if main thread is put to wait state.
- Deep sleep is very target specific, make sure no peripheral or timer is blocking sleep.
- Datarate affects to distance/coverage.
- If device is not moving, ADR usage is recommended.
- If device is constantly moving, disable ADR and use fixed datarate.
- Remember duty cycle limitations
- Keep packet sizes small and send packets with long interval to avoid unexpected delays.
- Different bands have different duty cycle limitations
Recap
• LoRaWAN is great
• Increased complexity calls for a platform OS
• Mbed OS 5.8 is a great first step, and many more will follow
Thank you!
Questions?
Engineering with a difference

More Related Content

What's hot

ELECTRONICS & COMMUNICATION ENGINEERING ACTION PLAN
ELECTRONICS & COMMUNICATION ENGINEERING ACTION PLANELECTRONICS & COMMUNICATION ENGINEERING ACTION PLAN
ELECTRONICS & COMMUNICATION ENGINEERING ACTION PLAN
rkosta
 
Radio receiver characteristics
Radio receiver characteristicsRadio receiver characteristics
Radio receiver characteristics
abhishek reddy
 
Satellite communication
Satellite communicationSatellite communication
Satellite communication
Rashmi Deoli
 
Project Management for Technical Communication Professionals
Project Management for Technical Communication ProfessionalsProject Management for Technical Communication Professionals
Project Management for Technical Communication Professionals
stcindiana
 
4 3-3 frequency-modulation
4 3-3 frequency-modulation4 3-3 frequency-modulation
4 3-3 frequency-modulationlcborja57
 
Work breakdown structure by muhammad talha
Work breakdown structure by muhammad talhaWork breakdown structure by muhammad talha
Work breakdown structure by muhammad talha
Muhammad Talha
 
Gain and Directivity Enhancement of Rectangular Microstrip Patch Antenna usin...
Gain and Directivity Enhancement of Rectangular Microstrip Patch Antenna usin...Gain and Directivity Enhancement of Rectangular Microstrip Patch Antenna usin...
Gain and Directivity Enhancement of Rectangular Microstrip Patch Antenna usin...
Associate Professor in VSB Coimbatore
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
Mazin Alwaaly
 
Project management-Report
Project management-ReportProject management-Report
Project management-Report
SYEDA KANWAL NOREEN
 
Broadcasting Systems
Broadcasting SystemsBroadcasting Systems
Broadcasting Systems
charmaineas
 
DSD-INT 2017 Delft3D FM hydrodynamic and morphological modelling, Waal River,...
DSD-INT 2017 Delft3D FM hydrodynamic and morphological modelling, Waal River,...DSD-INT 2017 Delft3D FM hydrodynamic and morphological modelling, Waal River,...
DSD-INT 2017 Delft3D FM hydrodynamic and morphological modelling, Waal River,...
Deltares
 
Project Charter Summery
Project Charter SummeryProject Charter Summery
Project Charter SummeryDerek Cooksey
 
DAB slideshow status and examples
DAB slideshow status and examplesDAB slideshow status and examples
DAB slideshow status and examples
WorldDAB
 
LIC-Unit-IV-PLL.pptx
LIC-Unit-IV-PLL.pptxLIC-Unit-IV-PLL.pptx
LIC-Unit-IV-PLL.pptx
ssuser47b7181
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adc
Maria Roshan
 
Iptv slide
Iptv slideIptv slide
Iptv slide
Ravi Keerthi
 
Chandru_ADC_unit 3_ satellitecommunicationA
Chandru_ADC_unit 3_ satellitecommunicationAChandru_ADC_unit 3_ satellitecommunicationA
Chandru_ADC_unit 3_ satellitecommunicationACHANDRA SHEKHAR
 

What's hot (20)

ELECTRONICS & COMMUNICATION ENGINEERING ACTION PLAN
ELECTRONICS & COMMUNICATION ENGINEERING ACTION PLANELECTRONICS & COMMUNICATION ENGINEERING ACTION PLAN
ELECTRONICS & COMMUNICATION ENGINEERING ACTION PLAN
 
Radio receiver characteristics
Radio receiver characteristicsRadio receiver characteristics
Radio receiver characteristics
 
Satellite communication
Satellite communicationSatellite communication
Satellite communication
 
Project Management for Technical Communication Professionals
Project Management for Technical Communication ProfessionalsProject Management for Technical Communication Professionals
Project Management for Technical Communication Professionals
 
4 3-3 frequency-modulation
4 3-3 frequency-modulation4 3-3 frequency-modulation
4 3-3 frequency-modulation
 
Work breakdown structure by muhammad talha
Work breakdown structure by muhammad talhaWork breakdown structure by muhammad talha
Work breakdown structure by muhammad talha
 
Gain and Directivity Enhancement of Rectangular Microstrip Patch Antenna usin...
Gain and Directivity Enhancement of Rectangular Microstrip Patch Antenna usin...Gain and Directivity Enhancement of Rectangular Microstrip Patch Antenna usin...
Gain and Directivity Enhancement of Rectangular Microstrip Patch Antenna usin...
 
Multimedia basic video compression techniques
Multimedia basic video compression techniquesMultimedia basic video compression techniques
Multimedia basic video compression techniques
 
Project management-Report
Project management-ReportProject management-Report
Project management-Report
 
Chapter 5
Chapter 5Chapter 5
Chapter 5
 
Antenna
AntennaAntenna
Antenna
 
Broadcasting Systems
Broadcasting SystemsBroadcasting Systems
Broadcasting Systems
 
DSD-INT 2017 Delft3D FM hydrodynamic and morphological modelling, Waal River,...
DSD-INT 2017 Delft3D FM hydrodynamic and morphological modelling, Waal River,...DSD-INT 2017 Delft3D FM hydrodynamic and morphological modelling, Waal River,...
DSD-INT 2017 Delft3D FM hydrodynamic and morphological modelling, Waal River,...
 
Project Charter Summery
Project Charter SummeryProject Charter Summery
Project Charter Summery
 
DAB slideshow status and examples
DAB slideshow status and examplesDAB slideshow status and examples
DAB slideshow status and examples
 
Dth Technology
Dth TechnologyDth Technology
Dth Technology
 
LIC-Unit-IV-PLL.pptx
LIC-Unit-IV-PLL.pptxLIC-Unit-IV-PLL.pptx
LIC-Unit-IV-PLL.pptx
 
Successive approximation adc
Successive approximation adcSuccessive approximation adc
Successive approximation adc
 
Iptv slide
Iptv slideIptv slide
Iptv slide
 
Chandru_ADC_unit 3_ satellitecommunicationA
Chandru_ADC_unit 3_ satellitecommunicationAChandru_ADC_unit 3_ satellitecommunicationA
Chandru_ADC_unit 3_ satellitecommunicationA
 

Similar to Build with Mbed - Exploring LoRa using Mbed

A SOFTWARE DEFINED RADIO BASED
A SOFTWARE DEFINED RADIO BASEDA SOFTWARE DEFINED RADIO BASED
A SOFTWARE DEFINED RADIO BASEDANGELIN JOHN
 
Using Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsUsing Node-RED for building IoT workflows
Using Node-RED for building IoT workflows
Aniruddha Chakrabarti
 
What is LoRaWaN
What is LoRaWaNWhat is LoRaWaN
What is LoRaWaN
Tom Zamir
 
What is LoRaWAN_Tom Zamir_IoT Expert
What is LoRaWAN_Tom Zamir_IoT ExpertWhat is LoRaWAN_Tom Zamir_IoT Expert
What is LoRaWAN_Tom Zamir_IoT Expert
Guy Vinograd ☁
 
Open web device as the reference feature phone
Open web device as the reference feature phoneOpen web device as the reference feature phone
Open web device as the reference feature phone
Miguel Schneider
 
Eclipse kura in industry 4.0 david woodard
Eclipse kura in industry 4.0   david woodardEclipse kura in industry 4.0   david woodard
Eclipse kura in industry 4.0 david woodard
Eurotech
 
SignalR powered real-time x-plat mobile apps!
SignalR powered real-time x-plat mobile apps!SignalR powered real-time x-plat mobile apps!
SignalR powered real-time x-plat mobile apps!Sam Basu
 
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Meetup  4/2/2016 - Functionele en technische architectuur IoTMeetup  4/2/2016 - Functionele en technische architectuur IoT
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Digipolis Antwerpen
 
1.devtrack1-mbed-connect-2016-asia-intro-to-mbed-os-mihail-xiao.pdf
1.devtrack1-mbed-connect-2016-asia-intro-to-mbed-os-mihail-xiao.pdf1.devtrack1-mbed-connect-2016-asia-intro-to-mbed-os-mihail-xiao.pdf
1.devtrack1-mbed-connect-2016-asia-intro-to-mbed-os-mihail-xiao.pdf
PabloGindel1
 
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura WiresBuilding IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Eurotech
 
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura WiresBuilding IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Eclipse Kura
 
mbed Connect Asia 2016 Intro to mbed OS
mbed Connect Asia 2016 Intro to mbed OSmbed Connect Asia 2016 Intro to mbed OS
mbed Connect Asia 2016 Intro to mbed OS
armmbed
 
Sa*ple
Sa*pleSa*ple
Sa*ple
Krishanu B
 
Master-Master Replication and Scaling of an Application Between Each of the I...
Master-Master Replication and Scaling of an Application Between Each of the I...Master-Master Replication and Scaling of an Application Between Each of the I...
Master-Master Replication and Scaling of an Application Between Each of the I...
vsoshnikov
 
Mbed LoRaWAN stack: a case study - LoRa Alliance AMM Tokyo
Mbed LoRaWAN stack: a case study - LoRa Alliance AMM TokyoMbed LoRaWAN stack: a case study - LoRa Alliance AMM Tokyo
Mbed LoRaWAN stack: a case study - LoRa Alliance AMM Tokyo
Jan Jongboom
 
LoRaWAN in Depth
LoRaWAN in DepthLoRaWAN in Depth
LoRaWAN in Depth
APNIC
 
Haystack Technology Overview
Haystack Technology OverviewHaystack Technology Overview
Haystack Technology Overview
Haystack Technologies
 
Osiot13 IoT buildout
Osiot13 IoT buildoutOsiot13 IoT buildout
Osiot13 IoT buildout
Michael Koster
 

Similar to Build with Mbed - Exploring LoRa using Mbed (20)

A SOFTWARE DEFINED RADIO BASED
A SOFTWARE DEFINED RADIO BASEDA SOFTWARE DEFINED RADIO BASED
A SOFTWARE DEFINED RADIO BASED
 
Using Node-RED for building IoT workflows
Using Node-RED for building IoT workflowsUsing Node-RED for building IoT workflows
Using Node-RED for building IoT workflows
 
Abhishek_cv
Abhishek_cvAbhishek_cv
Abhishek_cv
 
What is LoRaWaN
What is LoRaWaNWhat is LoRaWaN
What is LoRaWaN
 
What is LoRaWAN_Tom Zamir_IoT Expert
What is LoRaWAN_Tom Zamir_IoT ExpertWhat is LoRaWAN_Tom Zamir_IoT Expert
What is LoRaWAN_Tom Zamir_IoT Expert
 
Open web device as the reference feature phone
Open web device as the reference feature phoneOpen web device as the reference feature phone
Open web device as the reference feature phone
 
Eclipse kura in industry 4.0 david woodard
Eclipse kura in industry 4.0   david woodardEclipse kura in industry 4.0   david woodard
Eclipse kura in industry 4.0 david woodard
 
SignalR powered real-time x-plat mobile apps!
SignalR powered real-time x-plat mobile apps!SignalR powered real-time x-plat mobile apps!
SignalR powered real-time x-plat mobile apps!
 
Meetup 4/2/2016 - Functionele en technische architectuur IoT
Meetup  4/2/2016 - Functionele en technische architectuur IoTMeetup  4/2/2016 - Functionele en technische architectuur IoT
Meetup 4/2/2016 - Functionele en technische architectuur IoT
 
1.devtrack1-mbed-connect-2016-asia-intro-to-mbed-os-mihail-xiao.pdf
1.devtrack1-mbed-connect-2016-asia-intro-to-mbed-os-mihail-xiao.pdf1.devtrack1-mbed-connect-2016-asia-intro-to-mbed-os-mihail-xiao.pdf
1.devtrack1-mbed-connect-2016-asia-intro-to-mbed-os-mihail-xiao.pdf
 
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura WiresBuilding IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
 
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura WiresBuilding IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
Building IoT Mashups for Industry 4.0 with Eclipse Kura and Kura Wires
 
mbed Connect Asia 2016 Intro to mbed OS
mbed Connect Asia 2016 Intro to mbed OSmbed Connect Asia 2016 Intro to mbed OS
mbed Connect Asia 2016 Intro to mbed OS
 
Sa*ple
Sa*pleSa*ple
Sa*ple
 
VenutoResume
VenutoResumeVenutoResume
VenutoResume
 
Master-Master Replication and Scaling of an Application Between Each of the I...
Master-Master Replication and Scaling of an Application Between Each of the I...Master-Master Replication and Scaling of an Application Between Each of the I...
Master-Master Replication and Scaling of an Application Between Each of the I...
 
Mbed LoRaWAN stack: a case study - LoRa Alliance AMM Tokyo
Mbed LoRaWAN stack: a case study - LoRa Alliance AMM TokyoMbed LoRaWAN stack: a case study - LoRa Alliance AMM Tokyo
Mbed LoRaWAN stack: a case study - LoRa Alliance AMM Tokyo
 
LoRaWAN in Depth
LoRaWAN in DepthLoRaWAN in Depth
LoRaWAN in Depth
 
Haystack Technology Overview
Haystack Technology OverviewHaystack Technology Overview
Haystack Technology Overview
 
Osiot13 IoT buildout
Osiot13 IoT buildoutOsiot13 IoT buildout
Osiot13 IoT buildout
 

More from Jan Jongboom

TinyML on Arduino - workshop
TinyML on Arduino - workshopTinyML on Arduino - workshop
TinyML on Arduino - workshop
Jan Jongboom
 
Intelligent Edge - Getting started with TinyML for industrial applications
Intelligent Edge - Getting started with TinyML for industrial applicationsIntelligent Edge - Getting started with TinyML for industrial applications
Intelligent Edge - Getting started with TinyML for industrial applications
Jan Jongboom
 
Teaching your sensors new tricks with Machine Learning - Eta Compute webinar
Teaching your sensors new tricks with Machine Learning - Eta Compute webinarTeaching your sensors new tricks with Machine Learning - Eta Compute webinar
Teaching your sensors new tricks with Machine Learning - Eta Compute webinar
Jan Jongboom
 
Get started with TinyML - Embedded online conference
Get started with TinyML - Embedded online conferenceGet started with TinyML - Embedded online conference
Get started with TinyML - Embedded online conference
Jan Jongboom
 
Adding intelligence to your LoRaWAN deployment - The Things Virtual Conference
Adding intelligence to your LoRaWAN deployment - The Things Virtual ConferenceAdding intelligence to your LoRaWAN deployment - The Things Virtual Conference
Adding intelligence to your LoRaWAN deployment - The Things Virtual Conference
Jan Jongboom
 
Get started with TinyML - Hackster webinar 9 April 2020
Get started with TinyML - Hackster webinar 9 April 2020Get started with TinyML - Hackster webinar 9 April 2020
Get started with TinyML - Hackster webinar 9 April 2020
Jan Jongboom
 
Tiny intelligent computers and sensors - Open Hardware Event 2020
Tiny intelligent computers and sensors - Open Hardware Event 2020Tiny intelligent computers and sensors - Open Hardware Event 2020
Tiny intelligent computers and sensors - Open Hardware Event 2020
Jan Jongboom
 
Teaching your sensors new tricks with Machine Learning - CENSIS Tech Summit 2019
Teaching your sensors new tricks with Machine Learning - CENSIS Tech Summit 2019Teaching your sensors new tricks with Machine Learning - CENSIS Tech Summit 2019
Teaching your sensors new tricks with Machine Learning - CENSIS Tech Summit 2019
Jan Jongboom
 
Adding intelligence to your LoRaWAN devices - The Things Conference on tour
Adding intelligence to your LoRaWAN devices - The Things Conference on tourAdding intelligence to your LoRaWAN devices - The Things Conference on tour
Adding intelligence to your LoRaWAN devices - The Things Conference on tour
Jan Jongboom
 
Machine learning on 1 square centimeter - Emerce Next 2019
Machine learning on 1 square centimeter - Emerce Next 2019Machine learning on 1 square centimeter - Emerce Next 2019
Machine learning on 1 square centimeter - Emerce Next 2019
Jan Jongboom
 
Fundamentals of IoT - Data Science Africa 2019
Fundamentals of IoT - Data Science Africa 2019Fundamentals of IoT - Data Science Africa 2019
Fundamentals of IoT - Data Science Africa 2019
Jan Jongboom
 
17,000 contributions in 32K RAM - FOSS North 2019
17,000 contributions in 32K RAM - FOSS North 201917,000 contributions in 32K RAM - FOSS North 2019
17,000 contributions in 32K RAM - FOSS North 2019
Jan Jongboom
 
Open Hours: Mbed Simulator
Open Hours: Mbed SimulatorOpen Hours: Mbed Simulator
Open Hours: Mbed Simulator
Jan Jongboom
 
Efficient IoT solutions based on LoRaWAN, The Things Network and Mbed OS
Efficient IoT solutions based on LoRaWAN, The Things Network and Mbed OSEfficient IoT solutions based on LoRaWAN, The Things Network and Mbed OS
Efficient IoT solutions based on LoRaWAN, The Things Network and Mbed OS
Jan Jongboom
 
Machine learning on 1 cm2 - Tweakers Dev Summit
Machine learning on 1 cm2 - Tweakers Dev SummitMachine learning on 1 cm2 - Tweakers Dev Summit
Machine learning on 1 cm2 - Tweakers Dev Summit
Jan Jongboom
 
Simulating LoRaWAN devices - LoRa Alliance AMM 2019
Simulating LoRaWAN devices - LoRa Alliance AMM 2019Simulating LoRaWAN devices - LoRa Alliance AMM 2019
Simulating LoRaWAN devices - LoRa Alliance AMM 2019
Jan Jongboom
 
Develop with Mbed OS - The Things Conference 2019
Develop with Mbed OS - The Things Conference 2019Develop with Mbed OS - The Things Conference 2019
Develop with Mbed OS - The Things Conference 2019
Jan Jongboom
 
Firmware Updates over LoRaWAN - The Things Conference 2019
Firmware Updates over LoRaWAN - The Things Conference 2019Firmware Updates over LoRaWAN - The Things Conference 2019
Firmware Updates over LoRaWAN - The Things Conference 2019
Jan Jongboom
 
Faster Device Development - GSMA @ CES 2019
Faster Device Development - GSMA @ CES 2019Faster Device Development - GSMA @ CES 2019
Faster Device Development - GSMA @ CES 2019
Jan Jongboom
 
Simulating microcontrollers - Arm Research Summit 2018
Simulating microcontrollers - Arm Research Summit 2018Simulating microcontrollers - Arm Research Summit 2018
Simulating microcontrollers - Arm Research Summit 2018
Jan Jongboom
 

More from Jan Jongboom (20)

TinyML on Arduino - workshop
TinyML on Arduino - workshopTinyML on Arduino - workshop
TinyML on Arduino - workshop
 
Intelligent Edge - Getting started with TinyML for industrial applications
Intelligent Edge - Getting started with TinyML for industrial applicationsIntelligent Edge - Getting started with TinyML for industrial applications
Intelligent Edge - Getting started with TinyML for industrial applications
 
Teaching your sensors new tricks with Machine Learning - Eta Compute webinar
Teaching your sensors new tricks with Machine Learning - Eta Compute webinarTeaching your sensors new tricks with Machine Learning - Eta Compute webinar
Teaching your sensors new tricks with Machine Learning - Eta Compute webinar
 
Get started with TinyML - Embedded online conference
Get started with TinyML - Embedded online conferenceGet started with TinyML - Embedded online conference
Get started with TinyML - Embedded online conference
 
Adding intelligence to your LoRaWAN deployment - The Things Virtual Conference
Adding intelligence to your LoRaWAN deployment - The Things Virtual ConferenceAdding intelligence to your LoRaWAN deployment - The Things Virtual Conference
Adding intelligence to your LoRaWAN deployment - The Things Virtual Conference
 
Get started with TinyML - Hackster webinar 9 April 2020
Get started with TinyML - Hackster webinar 9 April 2020Get started with TinyML - Hackster webinar 9 April 2020
Get started with TinyML - Hackster webinar 9 April 2020
 
Tiny intelligent computers and sensors - Open Hardware Event 2020
Tiny intelligent computers and sensors - Open Hardware Event 2020Tiny intelligent computers and sensors - Open Hardware Event 2020
Tiny intelligent computers and sensors - Open Hardware Event 2020
 
Teaching your sensors new tricks with Machine Learning - CENSIS Tech Summit 2019
Teaching your sensors new tricks with Machine Learning - CENSIS Tech Summit 2019Teaching your sensors new tricks with Machine Learning - CENSIS Tech Summit 2019
Teaching your sensors new tricks with Machine Learning - CENSIS Tech Summit 2019
 
Adding intelligence to your LoRaWAN devices - The Things Conference on tour
Adding intelligence to your LoRaWAN devices - The Things Conference on tourAdding intelligence to your LoRaWAN devices - The Things Conference on tour
Adding intelligence to your LoRaWAN devices - The Things Conference on tour
 
Machine learning on 1 square centimeter - Emerce Next 2019
Machine learning on 1 square centimeter - Emerce Next 2019Machine learning on 1 square centimeter - Emerce Next 2019
Machine learning on 1 square centimeter - Emerce Next 2019
 
Fundamentals of IoT - Data Science Africa 2019
Fundamentals of IoT - Data Science Africa 2019Fundamentals of IoT - Data Science Africa 2019
Fundamentals of IoT - Data Science Africa 2019
 
17,000 contributions in 32K RAM - FOSS North 2019
17,000 contributions in 32K RAM - FOSS North 201917,000 contributions in 32K RAM - FOSS North 2019
17,000 contributions in 32K RAM - FOSS North 2019
 
Open Hours: Mbed Simulator
Open Hours: Mbed SimulatorOpen Hours: Mbed Simulator
Open Hours: Mbed Simulator
 
Efficient IoT solutions based on LoRaWAN, The Things Network and Mbed OS
Efficient IoT solutions based on LoRaWAN, The Things Network and Mbed OSEfficient IoT solutions based on LoRaWAN, The Things Network and Mbed OS
Efficient IoT solutions based on LoRaWAN, The Things Network and Mbed OS
 
Machine learning on 1 cm2 - Tweakers Dev Summit
Machine learning on 1 cm2 - Tweakers Dev SummitMachine learning on 1 cm2 - Tweakers Dev Summit
Machine learning on 1 cm2 - Tweakers Dev Summit
 
Simulating LoRaWAN devices - LoRa Alliance AMM 2019
Simulating LoRaWAN devices - LoRa Alliance AMM 2019Simulating LoRaWAN devices - LoRa Alliance AMM 2019
Simulating LoRaWAN devices - LoRa Alliance AMM 2019
 
Develop with Mbed OS - The Things Conference 2019
Develop with Mbed OS - The Things Conference 2019Develop with Mbed OS - The Things Conference 2019
Develop with Mbed OS - The Things Conference 2019
 
Firmware Updates over LoRaWAN - The Things Conference 2019
Firmware Updates over LoRaWAN - The Things Conference 2019Firmware Updates over LoRaWAN - The Things Conference 2019
Firmware Updates over LoRaWAN - The Things Conference 2019
 
Faster Device Development - GSMA @ CES 2019
Faster Device Development - GSMA @ CES 2019Faster Device Development - GSMA @ CES 2019
Faster Device Development - GSMA @ CES 2019
 
Simulating microcontrollers - Arm Research Summit 2018
Simulating microcontrollers - Arm Research Summit 2018Simulating microcontrollers - Arm Research Summit 2018
Simulating microcontrollers - Arm Research Summit 2018
 

Recently uploaded

test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
Arif0071
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
Javier Lasa
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
3ipehhoa
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
JungkooksNonexistent
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
3ipehhoa
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
Gal Baras
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Brad Spiegel Macon GA
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
JeyaPerumal1
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
laozhuseo02
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
natyesu
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
keoku
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
laozhuseo02
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
3ipehhoa
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
ufdana
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
Rogerio Filho
 
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptxInternet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
VivekSinghShekhawat2
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
nirahealhty
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
eutxy
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
GTProductions1
 

Recently uploaded (20)

test test test test testtest test testtest test testtest test testtest test ...
test test  test test testtest test testtest test testtest test testtest test ...test test  test test testtest test testtest test testtest test testtest test ...
test test test test testtest test testtest test testtest test testtest test ...
 
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdfJAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
JAVIER LASA-EXPERIENCIA digital 1986-2024.pdf
 
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
急速办(bedfordhire毕业证书)英国贝德福特大学毕业证成绩单原版一模一样
 
Latest trends in computer networking.pptx
Latest trends in computer networking.pptxLatest trends in computer networking.pptx
Latest trends in computer networking.pptx
 
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
1比1复刻(bath毕业证书)英国巴斯大学毕业证学位证原版一模一样
 
How to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptxHow to Use Contact Form 7 Like a Pro.pptx
How to Use Contact Form 7 Like a Pro.pptx
 
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptxBridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
Bridging the Digital Gap Brad Spiegel Macon, GA Initiative.pptx
 
1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...1.Wireless Communication System_Wireless communication is a broad term that i...
1.Wireless Communication System_Wireless communication is a broad term that i...
 
The+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptxThe+Prospects+of+E-Commerce+in+China.pptx
The+Prospects+of+E-Commerce+in+China.pptx
 
BASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptxBASIC C++ lecture NOTE C++ lecture 3.pptx
BASIC C++ lecture NOTE C++ lecture 3.pptx
 
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
一比一原版(SLU毕业证)圣路易斯大学毕业证成绩单专业办理
 
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shopHistory+of+E-commerce+Development+in+China-www.cfye-commerce.shop
History+of+E-commerce+Development+in+China-www.cfye-commerce.shop
 
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
原版仿制(uob毕业证书)英国伯明翰大学毕业证本科学历证书原版一模一样
 
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
一比一原版(CSU毕业证)加利福尼亚州立大学毕业证成绩单专业办理
 
guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...guildmasters guide to ravnica Dungeons & Dragons 5...
guildmasters guide to ravnica Dungeons & Dragons 5...
 
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptxInternet-Security-Safeguarding-Your-Digital-World (1).pptx
Internet-Security-Safeguarding-Your-Digital-World (1).pptx
 
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
APNIC Foundation, presented by Ellisha Heppner at the PNG DNS Forum 2024
 
This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!This 7-second Brain Wave Ritual Attracts Money To You.!
This 7-second Brain Wave Ritual Attracts Money To You.!
 
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
一比一原版(LBS毕业证)伦敦商学院毕业证成绩单专业办理
 
Comptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guideComptia N+ Standard Networking lesson guide
Comptia N+ Standard Networking lesson guide
 

Build with Mbed - Exploring LoRa using Mbed

  • 1. Build with Mbed – Exploring LoRa using Mbed
  • 2. Your hosts Marko Hietala Project Manager, Etteplan IoT Marko.Hietala@etteplan.com Jan Jongboom Developer Evangelist IoT, Arm Jan.Jongboom@arm.com
  • 3. Agenda 1. Wait, what, LoRa? 2. Mbed OS LoRaWAN stack overview 3. Facts and figures 4. Demonstration 5. Q&A
  • 4. The case for LoRaWAN Powerconsumption/Bandwidth Range
  • 5. LoRa key use cases
  • 6. An IoT device is more than an MCU + a radio Bootloader Asymmetric crypto Storage driver Resilient filesystem Advanced LoRaWAN stack Radio drivers FlashIAP Update client
  • 7.
  • 8. Arm Mbed A free, open source Platform OS targeting IoT end node devices Mbed OS Cortex-M RTOS kernel Portable drivers Integrated security IoT connectivity Device management Development tools Developer community Partner ecosystem 140 development boards LoRa, BLE, Cellular, Wi-Fi, etc.
  • 9. Investment in LoRa - Arm invested early and has excellent support for LoRa in Mbed - 7 LoRa hardware devices already in platform/component database - Mbed LoRa examples imported 1000's times - Increasing investment in LoRa with interested partners - Aiming to be #1 LoRa development platform - Mbed OS 5.8: LoraWAN native support, APIs, examples and showcase demos - 2018: Services support, widespread deployment of low cost Mbed Enabled modules - Low-cost modules, support for operator "starter kits", events and demos - Firmware updates over the air
  • 11. Two approaches Radio + MCU Easy to integrate in own design Pre-certified Module Radio SX1272 or SX1276 Cheaper material / higher design cost Need to do own RF design
  • 12. Etteplan • For industrial design engineering services, embedded systems and IoT services and technical documentation. • Established in 1983. • In 2017, Etteplan had a turnover of some EUR 215 million. • The company employs over 2,800 experts in Finland, Sweden, the Netherlands, Germany, Poland and China. • Currently 600 engineers in IoT projects. • Etteplan provides e.g.: • Complete product design (hardware, firmware and applications, mechanics, testing). • Software design (Firmware, protocol stacks, backend, cloud, mobile app design) • Test services, like LoRaWAN certification, accredited EMC and RF testing, environmental testing. More information on www.etteplaniot.com
  • 14. LoRa in Mbed LoRa stack Lora radio
  • 15. LoRa in Mbed – Overall SW architecture 3rd party Application Mbed OS LoRaStack • Semtech LoRaMac implementation RADIO API Radio adaptation nn LoRa Radio nn Application API Radio adaptation for SX1272 LoRa Radio 1272
  • 16. LoRa in Mbed - Some examples of Application APIs • Initialize() – Initialize LoRa stack. • add_app_callbacks() - Add application callbacks to the stack to handle LoRaWAN events. • connect() – creates a LoRa connection for application • set_datarate() - Sets up a fixed data rate for application. • enable_adaptive_datarate() – ADR • send() - Sends LoRa message to gateway. • receive() – Copies received message from stack to application buffer based on specific port.
  • 17.
  • 18. LoRa in Mbed – Example stack events visible to application Initialize() Connect() Join_failure Connected Function call from app Event from stack send() Tx_doneRx_done Receive() Tx_timeout Tx_error Tx_crypto_error Tx_scheduling_error
  • 19. LoRa in Mbed – Stack key figures • Performance • Data throughput: depending on used frequency band, stack restricts air traffic according to duty cycle regulations • For example 868MHz, sub band 0, duty cycle is 1%. • Power consumptions • Measured on Multi-Tech mDot running Mbed OS 5.8 RC1, compiled with GCC ARM 6. • Average power consumption in idle-state is 0,59 mA. • Average power consumption in send-state and/or receive-state is 15,0-18,0 mA. • Future commitments • New radio drivers for LoRaWAN. • Stack updates according to LoRaWAN 1.1 specification. • Firmware updates over LoRaWAN.
  • 20. LoRaWAN Stack configurations on Mbed OS 5.8 RC1 Measured on Multi-Tech xDot Compiled with GCC ARM 6 • Default build (develop profile): • ROM: 117K • Static RAM: 15.4K • Dynamic RAM: 3.3K • Fully optimized (release profile, newlib-nano, no RTOS, custom printf): • ROM: 72.3K • Static RAM: 6.3K • Dynamic RAM: 0.8K
  • 22. LoRaWAN Demo Setup Temperature- sensor LORAWAN gateway/server LORA dashboard LORAWAN Node 1 Server
  • 23. Demo setup Guide videos are availabe @ youtube: Configuring Conduit first time: https://youtu.be/u8jZ6zVMEQ0 Lora HW setup and example application on mbed: https://youtu.be/vA5AtjZaM3Q
  • 24.
  • 25.
  • 26.
  • 27.
  • 29. Demo setup – Setting up Lora modules USB cable Antenna mDot
  • 30. Demo setup – Setting up Lora modules +5V GND Dig DS1820
  • 31. Building an LoRa application
  • 32. Mbed compiler environment Offline option: • Install offline environment according to mbed instructions • https://os.mbed.com/docs/v5.7/tutorials/quickstart-offline.html Online option: • Log in to Mbed online compiler. • Import LoRaWAN example application by typing LoRaWAN example to search field. Temperature example app will be added after webinar.
  • 33. Demo setup – LoRa Mbed example software Core parts of application • Define variables. • Create and initialize radio instance with correct IO-pins. • Create initialize LoRaWAN interface • Create state machine and event handler function for stack events. • Set keys and connection type. • Initialize and connect your LoRaWAN node.
  • 35. Demo setup – LoRa Mbed example software • After doing necessary changes, build the project. • Flash mDot by drag and drop the compiled binary from compiler to Mbed drive and press reset button of MTUDK2-st. • Now we should have proper application up and running in our Mbed board.
  • 36.
  • 37. Tips and tricks - Device battery life can be extended by using Mbed deep sleep functionality. - Mbed will go to deep sleep mode, if main thread is put to wait state. - Deep sleep is very target specific, make sure no peripheral or timer is blocking sleep. - Datarate affects to distance/coverage. - If device is not moving, ADR usage is recommended. - If device is constantly moving, disable ADR and use fixed datarate. - Remember duty cycle limitations - Keep packet sizes small and send packets with long interval to avoid unexpected delays. - Different bands have different duty cycle limitations
  • 38. Recap • LoRaWAN is great • Increased complexity calls for a platform OS • Mbed OS 5.8 is a great first step, and many more will follow
  • 40. Engineering with a difference