Intro Lora - Makers.ID Meetup

37
Introduction to LoRa Network Makers.id

Transcript of Intro Lora - Makers.ID Meetup

Page 1: Intro Lora - Makers.ID Meetup

Introduction to LoRaNetworkMakers.id

Page 2: Intro Lora - Makers.ID Meetup

MEMuhammad Ibnu Fadhil

Coder.Entrepreneur.Tinkerer

@mifmasterz / @gravicode

Owner of PT Gravicode Multinovative Plexindo

Initiator of Gadgeteer Indonesia

Contributor in Makers.id

Page 3: Intro Lora - Makers.ID Meetup

IOT trend

Page 4: Intro Lora - Makers.ID Meetup
Page 5: Intro Lora - Makers.ID Meetup

IoT Segments

IoT Projected Volumes

Page 6: Intro Lora - Makers.ID Meetup

IoT Segments Trade-offs

Page 7: Intro Lora - Makers.ID Meetup

IoT: Private vs Public Network

Private Network – Individual Managed NetworkMetering, Security, Home Automation, Industrial Control

Public Network – Telecom/Operator Managed NetworksSmart City, BMKG, Crisis Center, Public Parking, etc

Page 8: Intro Lora - Makers.ID Meetup

So, What is LoRa ?“LoRa stands for Long Range Radio. It is the wireless technology mainly targetted for M2M and IoT networks “

-quoted from http://www.rfwireless-world.com/

Page 9: Intro Lora - Makers.ID Meetup

History of LoRaThe technology behind LoRa™ was developed by Cycleo, a French company acquired by Semtech in 2012. LoRa™ is proprietary, but it appears to use some sort of "simpler" CSS (Chirp Spread Spectrum) pulsed FM "sweeping frequency" modulation rather than DSSS (Direct Sequence SS) or FHSS (Frequency Hopping SS).

Page 10: Intro Lora - Makers.ID Meetup

Range 2-5 Km in dense urban and 15 Km in suburban areas

Frequency band ISM band 868 MHz and 915 MHz

Standard IEEE 802.15.4g

Modulation spread spectrum modulation type is used which uses wide-band linear FM pulses. The frequency increase or frequency decrease over certain period is used to encode data information to be transmitted. It gives 30dB improvement over FSK.

Capacity One LoRa gateway takes care of thousands of nodes.

Battery Longer battery life

LoRa Physical layer Takes care of frequency, power, modulation, signaling between nodes and gateway

Others Support variable data rates, multi-channel simultaneously, support mobile and fixed nodes

LoRa Spec

Page 11: Intro Lora - Makers.ID Meetup

LoRaWANLoRaWAN™ is a Low Power Wide Area Network (LPWAN) specification intended for wireless battery operated Things in regional, national or global network.

-quoted from https://www.lora-alliance.org/

Page 12: Intro Lora - Makers.ID Meetup

LoRaWAN

Page 13: Intro Lora - Makers.ID Meetup

Network OptionsLoRa system solution suitable for both private and public modelsTelecoms and others deploying LPWAN public networks (multi-tenant)Public network operators looking for LoRaMAC compliant end app. partners

Page 14: Intro Lora - Makers.ID Meetup

LoRaWAN Class

Page 15: Intro Lora - Makers.ID Meetup

LoRaWAN SecurityLayer Encryption Type

Network Unique Network key (EUI64)

Application Unique Application key (EUI64)

Device Device specific key (EUI128)

Page 16: Intro Lora - Makers.ID Meetup

LoRaWAN FrequencyRegion Frequency

Asia 433 Mhz

China 780 Mhz

Europe 868 Mhz

USA 915 Mhz

Page 17: Intro Lora - Makers.ID Meetup

LoRa Modulation – High Sensitivity

• LoRa high sensitivity, long range, low data rates• SX1272 : -138dBm, SX1276:-148dBm -> 168dBm Link Budget

Page 18: Intro Lora - Makers.ID Meetup
Page 19: Intro Lora - Makers.ID Meetup

LoRa Typical ApplicationsSmart Farming

Industrial monitoring & Control

Automotives

Smart City

Automated Meter Reading

Home and Building Automation

Wireless Alarm and Security Systems

Long Range Irrigation Systems

Page 20: Intro Lora - Makers.ID Meetup

Three Steps for Creating LoRa Solution

Select End-Node Module Select Gateway

Provision Gateway to

Network Controller

Page 21: Intro Lora - Makers.ID Meetup

LoRa Module Manufacture - 1Microchip LoRa Technology Module:Embedded LoRaWAN Protocol Class A - easily connects to LoRa Technology gatewayLoRaWAN Protocol Stack ready in systemSimple ASCII command setFull certification by region

Page 22: Intro Lora - Makers.ID Meetup

LoRa Module Manufacture - 2

SX1276 SX1272

LoRaTM Modem168 dB maximum link budget+20 dBm - 100 mW constant RF output vs. V supply+14 dBm high efficiency PAProgrammable bit rate up to 300 kbpsHigh sensitivity: down to -148 dBmBullet-proof front end: IIP3 = -11 dBmExcellent blocking immunityLow RX current of 9.9 mA, 200 nA register retentionFully integrated synthesizer with a resolution of 61 HzFSK, GFSK, MSK, GMSK, LoRaTM and OOK modulationBuilt-in bit synchronizer for clock recoveryPreamble detection127 dB Dynamic Range RSSIAutomatic RF Sense and CAD with ultra-fast AFCPacket engine up to 256 bytes with CRCBuilt-in temperature sensor and low battery indicator

LoRa Modem157 dB maximum link budget+20 dBm at 100 mW constant RF output vs. V supply+14 dBm high efficiency PAProgrammable bit rate up to 300 kbpsHigh sensitivity: down to -137 dBmBullet-proof front end: IIP3 = -12.5 dBm89 dB blocking immunityLow RX current of 10 mA, 100 nA register retentionFully integrated synthesizer with a resolution of 61 HzFSK, GFSK, MSK, GMSK, LoRa and OOK modulationBuilt-in bit synchronizer for clock recoveryPreamble detection127 dB Dynamic Range RSSIAutomatic RF Sense and CAD with ultra-fast AFCPacket engine up to 256 bytes with CRCBuilt-in temperature sensor and low battery indicator

Page 23: Intro Lora - Makers.ID Meetup

LoRa Module Manufacture - 3

Page 24: Intro Lora - Makers.ID Meetup

LoRa Module Manufacture - 4

Page 25: Intro Lora - Makers.ID Meetup

LoRa Module Manufacture - 5

Page 26: Intro Lora - Makers.ID Meetup

Lora Module Manufacture - 6

RFM98W RFM96W RFM95W

LoRaTM Modem.168 dB maximum link budget.+20 dBm - 100 mW constant RF output vs. V supply.+14 dBm high efficiency PA.Programmable bit rate up to 300 kbps.High sensitivity: down to -148 dBm.Bullet-proof front end: IIP3 = -12.5 dBm.Excellent blocking immunity.Low RX current of 10.3 mA, 200 nA register retention.Fully integrated synthesizer with a resolution of 61 Hz.FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.Built-in bit synchronizer for clock recovery.Preamble detection.127 dB Dynamic Range RSSI.Automatic RF Sense and CAD with ultra-fast AFC.Packet engine up to 256 bytes with CRC.Built-in temperature sensor and low battery indicator.Modue Size£º16*16mm

LoRaTM Modem.168 dB maximum link budget.+20 dBm - 100 mW constant RF output vs. V supply.+14 dBm high efficiency PA.Programmable bit rate up to 300 kbps.High sensitivity: down to -148 dBm.Bullet-proof front end: IIP3 = -12.5 dBm.Excellent blocking immunity.Low RX current of 10.3 mA, 200 nA register retention.Fully integrated synthesizer with a resolution of 61 Hz.FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.Built-in bit synchronizer for clock recovery.Preamble detection.127 dB Dynamic Range RSSI.Automatic RF Sense and CAD with ultra-fast AFC.Packet engine up to 256 bytes with CRC.Built-in temperature sensor and low battery indicator.Modue Size£º16*16mm

LoRaTM Modem.168 dB maximum link budget.+20 dBm - 100 mW constant RF output vs. V supply.+14 dBm high efficiency PA.Programmable bit rate up to 300 kbps.High sensitivity: down to -148 dBm.Bullet-proof front end: IIP3 = -12.5 dBm.Excellent blocking immunity.Low RX current of 10.3 mA, 200 nA register retention.Fully integrated synthesizer with a resolution of 61 Hz.FSK, GFSK, MSK, GMSK, LoRaTM and OOK modulation.Built-in bit synchronizer for clock recovery.Preamble detection.127 dB Dynamic Range RSSI.Automatic RF Sense and CAD with ultra-fast AFC.Packet engine up to 256 bytes with CRC.Built-in temperature sensor and low battery indicator.Module Size£º16*16mm

Page 27: Intro Lora - Makers.ID Meetup

Lora Gateway Manufacture - 1

Page 28: Intro Lora - Makers.ID Meetup

Lora Gateway Manufacture – 2

Page 29: Intro Lora - Makers.ID Meetup

LoRa Modules, Hats and Dev Boards - 1

Lora Raspberry Pi Hat by DycodeX

• Compatible with 3.3v or 5v I/O Arduino board.• Frequency band of 868 MHZ/433 MHZ (factory pre-

configured).• Low power consumption.• Compatible with Arduino Leonardo, Uno, Mega, & DUE.• External antenna via I-Pex connector.• On-board 8-channel analog-to-digital converted (ADC) via I2C.• Arduino Shield header• Compatible with Raspberry Pi 2 Model B/Raspberry Pi 3

Page 30: Intro Lora - Makers.ID Meetup

LoRa Modules, Hats and Dev Boards - 2

LoRa Arduino Shield by DycodeX

Compatible with 3.3v or 5v I/O Arduino board.Frequency band of 868 MHZ/433 MHZ (factory pre-configured)Low power consumptionCompatible with Arduino Leonardo, Uno, Mega, & DUEExternal antenna via I-Pex connector

Page 31: Intro Lora - Makers.ID Meetup

LORA Modules, Hats and Dev Boards - 3

Dragino LoRa Shield

• Compatible with 3.3v or 5v I/O Arduino Board.• Frequency Band: 868 MHZ/433 MHZ (Pre-configure in factory)• Low power consumption• Compatible with Arduino Leonardo, Uno, Mega, DUE• External Antenna via I-Pex connector

Page 32: Intro Lora - Makers.ID Meetup

LoRa Modules, Hats and Dev Boards - 4

Lora Module for .NET Gadgeteer by Ingenuity Micro

• Embedded LoRaWAN Protocol Class A - easily connects to LoRaTechnology gateway

• LoRaWAN Protocol Stack ready in system• Simple ASCII command set• Full certification by region• Support 433 / 866 Mhz Freq. Band (Configurable)

Page 33: Intro Lora - Makers.ID Meetup

LoRa Modules, Hats and Dev Boards - 5

Waspmote with Lora Radio

• Module integrates Semtech’s LoRa™RF transceiver;• Sensitivity: [-138dBm ]• Wireless radio technology embedded on the sensor node, in

small form factor• Long range module operates on sub-GHz wireless bands• Software management of radio module:• - Open Source API provided• - Two working modes – 868MHz or 900 / 915 MHz• 256-bit AES encryption library available• Two radios can be deployed in each device. CE / FCC / IC

certification; Japan and Korea qualified; quad-bandconnectivity (850/900/1900/2100MHz)

Page 34: Intro Lora - Makers.ID Meetup

LoRa vs Other Wireless Techpick the right tech for your projectFactors WIFI BLUETOOTH LORA/SIGFOX MESH NETWORK Cellular

USE CASE • Barcode scanners in factories

• Connected machines

• Light control • Proximity monitors • Disposable asset trackers

(Active RFID)

• Automatic meter reading • GPS tracking devices (in a defined

area)

• HVAC sensing and control • Lighting control (high

density)

• GPS telematictrackers

• Smart meters• Connected cars

BENEFIT • Near ubiquitous network coverage in enterprises

• Inexpensive chipsets and modules

• Can be power efficient, if application and polling rate is designed well

• Low Cost: disposable or competitive product lines.

• High datarates• Long battery life

• Power efficient• Inexpensive chipsets• Low certification costs

• Resilient physical system architecture

• Modification or expansion can happen without system disruption

• Good power budget if designed correctly

Ubiquitous network coverage

CONSIDERATIONS • Friction for 3rd party devices joining WiFinetworks

• Provisioning of credentials s difficult

• Very short range • Requires key coordination

at both endpoint and access Point

• Needs access point (phone or application specific device)

• Low data throughput • Networks do not exist everywhere• Quality of Service not guaranteed in

unlicensed spectrum.• Current provisioning and key

management schemes make large scale manufacturing difficult.

• Short range • Link performance problems • Deployment difficult • Interoperability is often not

possible due to configuration differences and key management

• Recurring cost• Expensive

chipsets • Short battery life • Expensive

certification

Product Eg. LoRaWAN, SigFox, Ingenu Zigbee, z-wave,6LoWPAN

Page 35: Intro Lora - Makers.ID Meetup

Demo

1. Point to Point

2. LoraWAN

Page 36: Intro Lora - Makers.ID Meetup

Discussion

Before ask some questions please take a look http://www.link-labs.com/lora-faqs/

Page 37: Intro Lora - Makers.ID Meetup

Thank you