SlideShare a Scribd company logo
1 of 90
Download to read offline
IoT Connectivity with LoRa

Developer-perspective technical intro &
stories around LoRa/LoRaWAN in Indonesia
Presented to Maker4Nation Community

at Bukalapak HQ, Jakarta - Oct 3, 2018
Andri Yadi

Co-founder & CEO of DycodeX
Microsoft MVP, Azure

a (at) dycodex.com | http://andriyadi.com 



I’m a Physicist, Developer, Maker, Entrepreneur

20 years in so<ware engineering

21 years in electronics engineering

3 years in aeronautical engineering

14 years in entrepreneurship

11 years as Microso< Most Valuable Professional (MVP)

3 years as Hackster.io Ambassador
About Me
This talk is not endorsed by Semtech, LoRa
Alliance, or other LoRa-related organizations
Disclaimers
Things Connectivity People & Processes
Internet of Things
Data Rate
Power
Range
3 Dimensions to consider for choosing IoT connectivity
Hint: No connectivity technology that satisfies high data rate, long range, and low power, all in one pack.

Need to compromise
Data Rate
Data Rate vs Range
Range
Short Long
Low
High
Data Rate
Power
Data Rate vs Power
Low High
Low
High
Low Power Long Range LPWA
Power
Power vs Range
Range
Short Long
Low
High
Low Power, Wide Area Networks
Connectivity designed specifically for IoT
Low data throughput = High sensitivity =
Long range
(Relatively) low cost
Multiple Access = One-to-Many
Architecture
Using licensed or unlicensed spectrum
LPWA: Commons
Unlicensed Spectrum
EC-
-m
Licensed Spectrum
LPWA: Some Technologies
Cost
Modules, deployment, operational cost
Usage Model / Licensing
SIGFOX – Required to utilize their public network 

LoRa – Proprietary physical layer but open MAC
Regional Regulatory
Allowed frequency, power, duty cycle, etc

e.g. in Europe, duty-cycle is 1% for end-devices
Upstream/Downstream
SIGFOX – nearly entirely upstream
LoRa/LoRaWAN – has 3 classes supporting different balances 

of upstream & downstream
Hardware & Network Availability
Is it available NOW?
LPWA: Few Selection Factors
Wireless modulation technology, based on
Semtech’s proprietary Chirp Spread Spectrum (CSS)
Physical (PHY) layer for long range wireless
communications
Operates in the license-free Industrial Scientific
Medical (ISM) bands all around the world
• Sub-GHz frequency, e.g: 433, 868, 915 MHz, depends on the
country’s regulation
• Regulated power, duty-cycle, and bandwidth. 

E.g: in EU, 1% per sub-band duty-cycle limitation (per hour,
meaning transmission is allowed for 36 sec in each 1 hour)
LoRa: What is it?
LoRa: Some Parameters
LoRa physical layer consists of many parameters which can be
configured into 6720 different settings!
SeRing Values DeSnition ETects
Bandwidth 125, …, 500 kHz Width of spectrum occupied by chirp
A higher bandwidth is required for transmiRing data at
high rates (1 kHz = 1 kcps). However, increasing this
parameter decreases the communication range and
sensitivity.
Spreading Factor
26, …, 212 chips/
symbol
Number of bits encoded per symbol.
Symbol is RF state representing some
quantity of information. SF12 means 212
chips/symbol, 12 bits of data
A higher spreading factor (SF) increases the
communication range, radio sensitivity, and the signal-
to-noise ratio (SNR). However, energy consumption
consequently increases.
Coding Rate
1, …, 4

or

4/5, …, 4/8
Propoaion of transmiRed bits that caries
actual data, as opposed to error
correction bits.

CR1 4/(4+1) = 4/5
Bigger coding rates increase the protection against
decoding errors and intecerence bursts at the expense
of longer packets, longer air time, and higher power
consumption.
Transmission
Power
−4, …, 20 dBm
Transmission power can be adjusted from
−4 to 20 dBm, in 1 dB steps. Because of
hardware implementation limits, the
range is o<en limited to 2 to 20 dBm.
The signal-to-noise ratio is increased by increasing the
transmission power at the cost of energy expenditure.
Carrier
Frequency
137, …, 1020 MHz
CF represents the central transmission
frequency used in a band, can be
programmed between 137 MHz to 1020
MHz, in steps of 61 Hz.
Lower frequency enables to achieve higher
communication ranges for the same transmission
power. However, selected CF needs to comply with
country’s regulation.
ISM worldwide regulation 7
Output Power vs Duty Cycle
Countries Frequency band review Max. output power
EU 868 MHz 14 dBm
USA 915 MHz 20 dBm
Korea 900 MHz
14 dBm
Japan 920 MHz
Malaysia 862 to 875 MHz
20 dBm
Philippines 868 MHz
Vietnam 920 to 925 MHz
India 865 to 867 MHz
Singapore 922 MHz
Thailand 920 to 925 MHz
Indonesia 922 MHz
ANZ 915 to 928 MHz
Taiwan 920 to 925 MHz
China 470 to 510 MHz 17 dBm
920 to 923 MHz *
LoRa: Frequency Bands
* Not yet legalized
LoRa: End Device / Node
Host / Application
Microcontroller
TCXO
Matching + 

RF Switch +
Filter
LoRa Chipset
LoRa Chipset
LoRa Chipset: How to Use It?
Unless you’re really good at RF design, I don’t recommend to do this.
So, for the rest of us, we use Modules
LoRa Modules
* I only show what I’ve been using, no endorsement intended
Supported frequency range: 433 - 510 MHz,
and 868 - 929.9 MHz
Transmit power: adjustable 5 - 20dBm
(100mW), typical: 14dBm (25mW)
RX Sensitivity: -130 - -140dBM
Microcontroller
Sensor &
Actuator
Power
Mgt
LoRa Module
LoRa Node #1 Microcontroller
Sensor &
Actuator
Power
Mgt
LoRa Module
LoRa Node #2
Microcontroller
Sensor &
Actuator
Power
Mgt
LoRa Module
LoRa Node #3
LoRa Phy
When a node sends, every other nodes (with same
radio “parameters” - SF, BW, CR, etc) will receive

LoRa is only physical layer, has no mechanism for
targeted transmission. It’s radio frequency a<er all.
How to transmit data with LoRa?
Microcontroller
Sensor &
Actuator
Power
Mgt
LoRa Module
LoRa Node #1
Microcontroller
Sensor &
Actuator
Power
Mgt
LoRa Module
LoRa Node #2
Microcontroller
Sensor &
Actuator
Power
Mgt
LoRa Module
LoRa Node #3
Wrap ID, From, Destination in packet header -> for addressing

In the packet header example, only node with ID “2” will “receive”,
although every other nodes will receive but choose to ignore.
Enter Libraries, e.g: RadioHead
to 2
from 1
id 1
lags
Packet Header
However, what about ACK, retry, joining the network, and most
impoaantly security?
Arduino LoRa: https://github.com/sandeepmistry/arduino-
LoRa 

An Arduino library for sending and receiving data using LoRa radios.
RadioHead: https://www.airspayce.com/mikem/arduino/
RadioHead/

Packet Radio library for embedded microprocessors, not only for LoRa
ESP32 LoRa Library: https://github.com/Inteform/esp32-lora-
library

C component to be integrated into ESP32-IDF for sending and receiving
data through a LoRa transceiver based on Semtech's SX127_ ICs
LoRa: Some Programming Libraries for Microcontroller
Communications protocol & architecture utilizing
the LoRa physical layer
Open Source and freely available, specified by LoRa
Alliance
Star of Starts Topology. Nodes connect to multiple
gateways
Adds addressing, mobility, and localisation. Also
Adaptive Data Rate (ADR) to improve performance
Built-in multiple levels of security: network or
application level encryption, frame counter, etc
LoRaWAN: What is it?
LoRaWAN End Device / Mote
MCU/MPU
Sensor &
Actuator
Power
Mgt
LoRaWAN Module
Commonly has LoRaWAN module; or LoRa chipset
or module with LoRaWAN software run by hosy/
application MCU/MPU
Communicates with LoRaWAN gateways, never
directly with other motes
Has 64 bit globally unique identifier: DevEUI.
When joining a network, it receives a 32 bit unique
identifier: DevAddr.
Defined 3 device classes: A, B, and C
LoRaWAN Device Classes
Class A Class B Class C
Device-initiated communication;
lowest power
Devices are typically in deep
sleep and send messages on
intervals and/or events
After uplink transmission, device
opens two receive windows at
specified times for downlink
messages
Best fit for most battery-
powered sensor applications
Time-synchronized
communication, deterministic
downlink
Extend Class A by adding
scheduled receive windows for
downlink messages from backend
Using time-synchronized beacons
transmitted by the gateway, the
devices periodically open receive
windows
Best for most downlink intensive
applications
Network-initiated
communication; lowest latency
Extend Class A by keeping the
receive windows open unless
uplink-transmitting
The backend can send downlink
message at any given time
Best for downlink intensive
applications that require low
latencies, non battery-powered
* I only show what I’ve been using, no endorsement intended
LoRaWAN Modules
WARNING: Not every LoRa modules are LoRaWAN-compliant!
Miromico FMLRRHF78
iM880CMWX1ZZABZ
LoRaWAN Module: Common Architecture
Low Power
MCU
Matching
Network
SX127x /
Sx126x
RF Switch
SPI
UART
Application
Microcontroller
LoRaWAN Module
LoRaWAN so<ware stack is baked 

inside a low power microcontroller
Module is commonly accessible 

via UART intecace using some kind 

of AT command or SLIP
* Again, I only show what I’ve been using, no endorsement intended
LoRa/LoRaWAN Dev Board
To make life easier, just use Dev Board with LoRa/LoRaWAN
Arduino MKR WAN 1300STM32L0 Discovery kit LoRaPycom LoPy
DycodeX ESPectro32 + LoRa Backpack
+
ESPectro32 LoRa Backpack
ESPect
Adafruit Feather M0 with RFM95 Sodaq ONE
Source: http://www.frugalprototype.com/technologie-lora-reseau-lorawan/
LoRaWAN Network: Common Architecture
On InternetOn Field
LoRa
LoRaWAN

Gateway
Bridge
(Azure Functions)
Backhaul
(Cellular)
End Device Azure IoT HubNetwork Server
MQTT
MQTT/

AMQP
LoRaWAN Network: A Sample Architecture
Azure IoT Central
Microsoft Azure
RAK Wireless’ RAK811: https://github.com/RAKWireless/
RAK811_LoRaNode 

Documentation and Arduino library for RAK811 module.
Arduino MKRWAN: https://github.com/arduino-libraries/
MKRWAN 

An Arduino library for sending and receiving data using LoRaWAN
protocol and LoRa® radios, for Arduino MKR 1300 board
Arduino LMIC: https://github.com/mcci-catena/arduino-lmic

IBM LMIC (LoraMAC-in-C) library, modified to run in the Arduino
environment, to work directly with SX1272, SX1276 IC, instead of vendor-
specific LoRaWAN module
Adafruit TinyLoRa Library: https://github.com/adafruit/TinyLoRa

Library for communicating with The Things Network using a Hope RF
RFM95/96/97/98(W) LoRa Transceiver Module
LoRaWAN: Some Programming Libraries for Microcontroller
Gateway?
yes… you need one to use LoRaWAN
LoRaWAN Gateway/Concentrator
Forms the bridge between end devices and
network servers
Communicates with end devices via LoRaWAN
protocol
Communicates with network servers via TCP/IP
protocol
Contains multi-channel LoRa demodulator, able
to decode all LoRa modulation variants on
several frequencies in parallel
Runs a minimal firmware or OS, and the packet
forwarding software
* Again, I only show what I’ve been using, no endorsement intended
LoRaWAN Gateways: Off-the-shelf
MatchX
Gemtek Indoor Pico GatewayThe Things Gateway
DycodeX Outdoor Gateway
Some examples of ready to use, entry to
medium-level gateways
8 - 16 concurrent channels
Backhaul connectivity over WiFi, Ethernet,
or Cellular
Configurable over Web-based UI or console
Powered by OpenWRT or other optimized
Linux distros
LoRaWAN Gateways: Configurability via Web UI
Gateway info Editing of global/local_conf.json file
LoRaWAN Gateways: Configurability via Console
Packet forwarder global configuration:
Valid throughout all networks
All global parameters for radio channels
As “safe” values for specific parameters set in local conf
Packet forwarder global configuration:
Contain parameters that are specific to each gateway:
Gateway details and GPS
Network server(s), may be active more than one
LoRaWAN: Frequency Bands
Cost
Modules: <$5 - $18; Gateway: $100 - $5000; No subscription fee
Usage Model / Licensing
Proprietary physical layer but open MAC
LoRaWAN is open standard, reference implementation is open source
Regional Regulatory
Frequency band: 433/470/868/915 MHz; 

Power: 14 - 20 dBm; Duty cycle: 1 - 10%
Upstream/Downstream
Has 3 classes (A, B, & C) supporting different balances of upstream &
downstream
Hardware & Network Availability
YES. Anyone can deploy the network, build & manufacture gateway
and end nodes
LoRa/LoRaWAN: Back to the Selection Factors
DEMO #1
LoRaWAN with The Things Network (TTN) 

& Azure IoT Hub
LoRa
LoRaWAN

Gateway
TTN-to-Azure
Bridge
Backhaul
(Cellular)
End Device Azure IoT HubNetwork Server
MQTT
MQTT/

AMQP
LoRaWAN with TTN and Azure IoT Hub
Microsoft Azure
LoRa
LoRaWAN

Gateway
TTN-to-Azure Bridge
Azure Function
Backhaul
(Cellular)
End Device Azure IoT HubNetwork Server
MQTT
MQTT/

AMQP
Demo: Payload
Microsoft Azure
9B 09 05 24 4B 
1D 65 A3 00 00
9B 09 05 24 4B 
1D 65 A3 00 00
{
“temp”: 23.21,
“lux”, 31.21,

…
}
{
“temp”: 23.21,
“lux”, 31.21,

…
}
Payload
Decoder
Payload:
var bytesToInt = function(bytes) {
var i = 0;
for (var x = 0; x < bytes.length; x++) {
i |= +(bytes[x] << (x * 8));
}
return i;
};
function Decoder(bytes, port) {
// Decode an uplink message from a buffer
// (array) of bytes to an object of fields.
var decoded = {};
var t = bytesToInt(bytes.slice(0, 2)) / 100;
var p = bytesToInt(bytes.slice(2, 4)) / 100;
var h = bytesToInt(bytes.slice(4, 6)) / 100;
var l = bytesToInt(bytes.slice(6, 10)) / 100;
decoded = {
temp: t,
pres: p,
lux: l,
hum: h,
};
return decoded;
}
TTN Payload Decoder
https://github.com/TheThingsNetwork/integration-azure
'use strict'
const fs = require('fs')
const ttnazureiot = require('.')
const ttn = require('ttn')
// TTN-related settings
const appId = process.env.TTN_APP_ID || 'alora-01'
const processId = process.env.TTN_PROCESS_ID
const accessKey = process.env.TTN_APP_ACCESS_KEY || ‘YOUR_OWN_KEY’
const region = process.env.TTN_REGION || 'eu'
// Azure-related settings
const hubName = process.env.TTN_AZURE_HUBNAME || 'dycodex-iot-lab'
const keyName = process.env.TTN_AZURE_KEYNAME || 'iothubowner'
const key = process.env.TTN_AZURE_KEY || 'YOUR_OWN_KEY'
const mqttCertPath = process.env.TTN_MQTT_CERT || `${__dirname}/mqtt-ca.pem`
const options = { protocol: ‘mqtts', ca: fs.readFileSync(mqttCertPath) }
const bridge = new ttnazureiot.Bridge(region, appId, accessKey, hubName, keyName, key, options)
bridge.on('info', message => { console.log('[INFO]', message) })
bridge.on('error', message => { console.warn('[ERROR]', message) })
bridge.on('warn', message => { console.warn('[WARN]', message) })
TTN to Azure IoT Hub Bridge
LoRa
LoRaWAN

Gateway
TTN-to-Azure
Bridge
Backhaul
(Cellular)
End Device Azure IoT HubNetwork Server
MQTT
MQTT/

AMQP
Microsoft Azure
It’s all about SCALABILITY!
So, why the hassle to “bridge” with Azure IoT Hub?
DycodeX’s Story around
LoRa/LoRaWAN
Disclaimer: upcoming 26 slides may be considered promotional
PT. DycodeX Teknologi Nusantara
DycodeX’s vision is to solve big problems with technology.
Today, we're pioneering and leading in developing end-to-end
home-grown IoT & AI-based systems in Indonesia, and enable
maker movement along the way.
As seen on
About Us
Home-grown IoT & AI-powered devices & systems
SecurityAgricultureAsset tracking Energy Design House
SMARTernak Magic Button
A Panic Button Platform
PowtraX
Electricity metering &
reselling system
Smarterbike:

Smarter bicycle for bike fleet
management (bike sharing)
DytraX:
NB-IoT/Cellular 

Asset Tracker
Hardware Kits for
Education, Makers
Custom hardware
design
End-to-end IoT
development:
firmware, cloud, AI,

web & mobile app
Products & Solutions Focus
Industrial IoT
Machinery Health
Sensor
Alora 

Industrial Environmental
Sensing
Hardware Kits for Education & IoT MakersWe also make
And a lot more….
Contribution
to IoT
Regulation
DycodeX is one of the parties
(representing industry) involved
in field test to support
Indonesia’s IoT tech specs
regulation, supporting Ministry
of ICT (KOMINFO)
* During Low Power Wide Area (LPWA) Network
trial in Bogor city
OUR ENGINEER
Ria Sri Rahayu, 

IoT Hardware Lead
Asset Tracking Industrial IoT & EnergyLivestock Farming Security
We’re IoT Connectivity Agnostic
Fixed Asset Tracking
DytraX: 

NB-IoT/Cellular IoT Tracker
SMARTransport
SMARTernak Magic Button
Motor Vibration Sensor

for Predictive Maintenance
PowtraX

Industrial Power Meter
Alora: 

Environmental Sensor
Short Range CellularLow Power Wide Area (LPWA)
In summary, we use these…
Unlicensed Licensed
Late 

2015
The Beginning
The first ever
journey to LoRa
Early 

2016
The LoRaWAN
Our first ever
Arduino Shield
for LoRaWAN
Jun 

2016
The Product
The first product
using LoRa
Jul-Oct 

2016
HAT, Shield,
Backpack
Various LoRa kits
DycodeX’s LoRa Story
Few early ready-to

-use LoRa Modules 

we’ve explored.
Not yet supporting 

LoRaWAN
Magic Button
From WiFi to LoRa

Jun 2016
Latest version, with touch button and
obviously, LoRa
ady 

es.

ng 

Shields, HAT, Backpack, Kit
Late 

2015
The Beginning
The first ever
journey to LoRa
Early 

2016
The LoRaWAN
Our first ever
Arduino Shield
for LoRaWAN
Jun 

2016
The Product
The first product
using LoRa
Jul-Oct 

2016
HAT, Shield,
Backpack
Various LoRa kits
Nov 5 

2016
The Tracker
First attempt to
develop LoRa
Asset Tracking
Feb 

2017
The Real
Deployment
Deployed 100+
LoRa Asset
Tracking
DycodeX’s LoRa Story
1st Attempt
In-house designed & 

assembled
LoRa Module
RHF95
Assembled our 1st full-pledge LoRaWAN Gateway
Deployed 100+ LoRa Asset Tracking

Feb 2017
ESPectro32 LoRa Backpack
ESPectro32
no Shield Alora v2.2
Supports RAK811 / RAK811-N
LoRa module
Rainbowrd, LoRa-enabled development board
Supports iM880A and RHF76
LoRa module
Also supports:
• 2G/3G network
• WiFi
• Bluetooth
• NFC
Motor Vibration SensorAlora Sensor PackLoRa Arduino Shield
Rainbowrd - Ultimate
Connectivity, LoRa included
ESPectro32 Dev Board + LoRa Backpack
Yet another in-house custom designed LoRa/LoRaWAN boards
Late 

2015
The Beginning
The first ever
journey to LoRa
Early 

2016
The LoRaWAN
Our first ever
Arduino Shield
for LoRaWAN
Jun 

2016
The Product
The first product
using LoRa
Jul-Oct 

2016
HAT, Shield,
Backpack
Various LoRa kits
Nov 5 

2016
The Tracker
First attempt to
develop LoRa
Asset Tracking
Feb 

2017
The Real
Deployment
Deployed 100+
LoRa Asset
Tracking
Mid 2017 - 

Early 2018
Stuffs
Many stuffs
Apr 25,

2018
1st LoRa
Conference
in Indonesia
DycodeX’s LoRa Story
The 1st Ever LoRa Conference in Indonesia
makestro.com
An Indonesia Platform for Maker: 

to “democratize” knowledge, hardware
kit, and software to help makers to start
making in hardware, to drive into
Internet of Things
Learning
Hardware
Marketplace
Software & 

Cloud
Community
The 1st LoRa Conference organized by…
Late 

2015
The Beginning
The first ever
journey to LoRa
Apr 29,
2018
SMARTernak
IoT & AI for
Livestock Farming
Early 

2016
The LoRaWAN
Our first ever
Arduino Shield
for LoRaWAN
Jun 

2016
The Product
The first product
using LoRa
Jul-Oct 

2016
HAT, Shield,
Backpack
Various LoRa kits
Nov 5 

2016
The Tracker
First attempt to
develop LoRa
Asset Tracking
Feb 

2017
The Real
Deployment
Deployed 100+
LoRa Asset
Tracking
Mid 2017 - 

Early 2018
Stuffs
Many stuffs
Apr 25,

2018
1st LoRa
Conference
in Indonesia
DycodeX’s LoRa Story
* “Ternak” in SMARTernak means “cattle” in Bahasa Indonesia
Internet of Things & Artificial Intelligence-powered 

Cattle-Farm Assistant Platform
66
SMARTernak - 1,000m ViewSMARTernak: How It Works
BASE STATION
5 km coverage, 1000+
devices.
TRACKER
Catte-wearable tracker
contains a bunch of sensors
ENVIRONMENTAL
SENSORS
Collection of sensors to
monitor environmental



*optional*
SMART CAMERA
Monitor cattle’s behaviour,
body heat, to estimate
body weight through image
processing.



*optional*
FARM MANAGER /
OWNER / INVESTOR
DRONE
Provide surveillance and
to help herding.
*In development*
http://smarternak.com by DycodeX
VIRTUAL FENCE
Contain and move cattle
without physical posts and
wires.
CLOUD
where the heavy-lifting
happens.
CARETAKER
One farmer/caretaker
can easily cover a
vast grazing area and
hundreds of cattle.
Dual IoT Connectivity
Short Range: 1 km WiFi, Bluetooth v4.2, BLE

Mesh-supported. High speed
Long Range: LoRa/LoRaWAN or NB-IoT,

for 5-10km coverage area
Packed with Sensors
GPS / GNSS
Accelerometer, Gyroscope
Body Temperature
Ambient Temperature & Humidity
Barometric Pressure
Ambient Light
MEMS Microphone
Device Removal Detector
Powerhouse
Low Power, Dual Core Microcontroller
Smart Energy
Battery Gauge
Solar Energy Harvesting
Smart Switching Between 

Main & Backup Battery
Fast Charging from USB Type-C
Firmware-optimised 

power consumption
Ca)le-wearable Device
Actuators
Audio Alert/Speaker
Color LED
In-House
Electronics board is 100% designed and
assembled in-house, by 100% Indonesian
Device Internals
LoRaWAN Module
SMARTernak real-world deployment, uses LoRa/LoRaWAN
LoRaWAN Gateway
Self-build full-fledge gateway,
10m above the ground
Farthest Distance from Fram
…and we successfully achieved
real-world 5km coverage!
DEMO #2
SMARTernak with LoRaWAN
LoRaWAN

Gateway
Network

Server
SMARTernak
Cloud
(Application Server)
Backhaul
(Cellular, WiFi,
Ethernet)Wearable

Devices
SMARTernak Architecture with LoRa/LoRAWAN
SMARTernak
Web & Mobile
Apps
LoRa
MQTT
WebSocket,
HTTP
Microsoft Azure
LoRaWAN

Gateway
Network

Server
SMARTernak Cloud
(Application Server)
Backhaul
(Cellular, WiFi,
Ethernet)Wearable

Devices
SMARTernak Architecture: Data Perspective
LoRa
0d 67 01
32 0a 02
01 6b 00
00 07
MQTT
{
“type”: 7,
“batt”: 3.89,
“temp”: 31.44
}
0d 67 01
32 0a 02
01 6b 00
00 07
11 Bytes 63 Bytes
DWcBMgoCAWs
AAAc=
Converter
Application
Server
{
"applicationID": "1",
"applicationName": "cattle-tracker",
"deviceName": "smarternak_a8610a323XXXXXX",
"devEUI": "a8610a323XXXXXX",
"rxInfo": [{
"mac": “b827ebfffeXXXXXX",
"time": "2018-10-03T05:54:09.584858Z",
"rssi": -75,
"loRaSNR": 9.2,
"name": "pizero-gateway",
"latitude": -6.876573500000001,
"longitude": 107.58426329999999,
"altitude": 0
}],
"txInfo": {
"frequency": 923200000,
"dataRate": {
"modulation": "LORA",
"bandwidth": 125,
"spreadFactor": 7
},
"adr": true,
"codeRate": "4/5"
},
"fCnt": 25,
"fPort": 2,
"data": "DWcBZgoCAYgAAAc="
}
0d 67 01 66 0a 02 01 88 00 00 07
Device Log Network Server Log App Dashboard
Base64 encoded
LoRa/LoRaWAN in 

Indonesia

• No massive LoRa/
LoRaWAN “live”/
commercial deployment
yet. Most deployments
are still under pilot
project/sandbox

• National utility company
did a pilot project with
1000 LoRaWAN nodes,
not yet go live

• More/less affected by
regulation

• LoRa/LoRaWAN is already
hot topic to discuss and
explore within community

• Some national
competitions/challenges
feature LoRa as tech of
choice

• LoRa popularity begin to
increase within
academics, as research &
final project topic
• No national-wide or even
city-wide coverage of
public LoRaWAN
networks ➔ opportunity!

• LPWA (or IoT in general)
regulation is not yet
legalised as per today,
However, LPWA tech
spec is very close to be
legalised.

• May need to wait for the
readiness of testing labs
to be able to perform test
on LPWA devices, for
type approval &
certification
• Handful of startups began to
adopt LoRa/LoRaWAN into
their products. Some are
ready to commercialise

• There’re interests of infra
companies to deploy city or
even national-wide public
LoRaWAN network

• System Integrators &
enterprises began to deploy
use cases in many verticals,
albeit under R&D/piloting or
small scope
g 
Landscape in Indonesia
Success stories Talent & Community Infrastructure Regulations Startups & Investments
• Frequency band: 920 - 923 MHz

• Bandwidth: ≤ 200 KHz

• Maximum spurious emission:
-36 dBm (ETSI 300 220) 

• Duty cycle:

• Downlink: ≤ 10 %

• Uplink: ≤ 1 %
• Transmission power: ≤ 100mW
or 20 dBm (EIRP)
• Transmission power: ≤ 400mW
or 26 dBm (EIRP)

• Gateway should include a filter
with out-of-band rejection
bigger than 50 dB at 915 MHz
and 925 MHz
General End Node Gateway
Indonesia’s LPWA Tech Requirements Regulation (DraW)
Edited on March 30, 2019
LoRaWAN Gateway Network Server Application Server
Backhaul
(Cellular, WiFi,
Ethernet, etc)
To comply with GR 82 Concerning Data
Web & Mobile
Apps
LoRa
Internet
End Device
Field
• LoRaWAN Network Server, Application Server,
and other related services are on the internet

• All those services can be deployed physically
on onshore data centres. No data traffic will
be offshore.
LoRaWAN Architecture
• LoRaWAN End Device only communicates with
LoRaWAN Gateway, never with each other or
any other gateways/base stations

• LoRaWAN Gateway only forwards data
between End Device and Network Server.

• Target Network Server can/should be
configurable in the Gateway config
Indonesia’s LoRa “Makers”
Academics & Hobbyists

(For research & assignments
purpose, or just for fun)
Professionals
Startups
Industrials
SI & Consultants
Disclaimer: It’s qualitative data
Republic of IoT (RIoT) 2017 Hackathon
LoRa Shield
The Hackathon featured these hardware kits and used LoRa
as connectivity tech of choice
RIoT is Makestro’s yearly program in collaboration with Indonesia’s Ministry of ICT
*Disclaimer: I have no data of all players in Indonesia yet. Sorry if you’re not listed.
And I’m talking about electronics maker-related players
Some Communities
Indonesia
I n d o n e s i a
Maker4Nation
Indonesia
Again, there’s the 1st Ever LoRa Conference in Indonesia
I’ve been visiting 20+ cities & campuses to discuss about LoRa
Closing
Cost
Low cost, easily accessible modules
Varying alternatives of gateway, either self-build or
carrier-grade
No license or subscription fee
Fits the need
Depends on use case, low data rate is sufficient for
transmitting our sensors’ data (uplink) and infrequent
control (downlink)
Low power nature, 50mA on TX, allows longer
battery life or smaller battery
Because we can
We can deploy end-to-end LoRa/LoRaWAN-backed
connectivity by ourselves, less dependency
Why We Choose LoRa?
Albeit connectivity agnostic, we choose LoRa
for these reasons:
j
makestroid
makestroid
makestroid
makestro.com
An Indonesia Platform for Maker: 

to “democratize” knowledge, hardware
kit, and software to help makers to start
making in hardware, to drive into
Internet of Things
Start Making at
Learning
Hardware
Marketplace
Software & 

Cloud
Community
RIoT is Makestro’s program for nurturing IoT
makers, officially supported by Indonesia’s
Ministry of ICT
Join
hYps://facebook.com/asioti/
hYp://bit.ly/asioti-tgram
 hYp://bit.ly/MemberASIOTI
Edited on March 30, 2019
Interested in adopting
LoRa/LoRaWAN?
a@dycodex.com | https://dycodex.com
Jalan Sarikaso No. 6A, Bandung, Indonesia
Keep in touch

More Related Content

What's hot (20)

IoT Connectivity
IoT Connectivity IoT Connectivity
IoT Connectivity
 
Zigbee ppt
Zigbee pptZigbee ppt
Zigbee ppt
 
IOT gateways.pptx
IOT gateways.pptxIOT gateways.pptx
IOT gateways.pptx
 
Module 1.pptx
Module 1.pptxModule 1.pptx
Module 1.pptx
 
Rfid technology
Rfid technologyRfid technology
Rfid technology
 
Introduction to LTE-M
Introduction to LTE-MIntroduction to LTE-M
Introduction to LTE-M
 
MQTT and CoAP
MQTT and CoAPMQTT and CoAP
MQTT and CoAP
 
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
 
Energy consumption of wsn
Energy consumption of wsnEnergy consumption of wsn
Energy consumption of wsn
 
IoT and LoRaWAN
IoT and LoRaWANIoT and LoRaWAN
IoT and LoRaWAN
 
6g wireless communication systems
6g wireless communication systems6g wireless communication systems
6g wireless communication systems
 
Iot and cloud computing
Iot and cloud computingIot and cloud computing
Iot and cloud computing
 
Introduction To LoRaWan
Introduction To LoRaWanIntroduction To LoRaWan
Introduction To LoRaWan
 
Intoduction to TinyOS, nesC and TOSSIM
Intoduction to TinyOS, nesC and TOSSIMIntoduction to TinyOS, nesC and TOSSIM
Intoduction to TinyOS, nesC and TOSSIM
 
802 15-4 tutorial
802 15-4 tutorial802 15-4 tutorial
802 15-4 tutorial
 
MIMO in 15 minutes
MIMO in 15 minutesMIMO in 15 minutes
MIMO in 15 minutes
 
Wimax ppt
Wimax pptWimax ppt
Wimax ppt
 
Presentation On "Wi-Max Technology"
Presentation On "Wi-Max Technology"Presentation On "Wi-Max Technology"
Presentation On "Wi-Max Technology"
 
Internet of Things (IoT)
Internet of Things (IoT)Internet of Things (IoT)
Internet of Things (IoT)
 
MIMO.ppt (2) 2
MIMO.ppt (2) 2MIMO.ppt (2) 2
MIMO.ppt (2) 2
 

Similar to IoT Connectivity with LoRa

IRJET - Range Enhancement of IoT Devices using LoRa
IRJET - Range Enhancement of IoT Devices using LoRaIRJET - Range Enhancement of IoT Devices using LoRa
IRJET - Range Enhancement of IoT Devices using LoRaIRJET Journal
 
LoRa online training for utility guys
LoRa online training for utility guysLoRa online training for utility guys
LoRa online training for utility guysNikolay Milovanov
 
Intro Lora - Makers.ID Meetup
Intro Lora - Makers.ID MeetupIntro Lora - Makers.ID Meetup
Intro Lora - Makers.ID MeetupMif Masterz
 
Effects of Shadowing on LoRa LPWAN Radio Links
Effects of Shadowing on LoRa LPWAN Radio Links  Effects of Shadowing on LoRa LPWAN Radio Links
Effects of Shadowing on LoRa LPWAN Radio Links IJECEIAES
 
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...Olimex Bulgaria
 
Networking Technologies in IOT.pdf
Networking Technologies in IOT.pdfNetworking Technologies in IOT.pdf
Networking Technologies in IOT.pdfVandanaPagar1
 
Unit-3 -Low Bandwidth Communication.pdf
Unit-3 -Low Bandwidth Communication.pdfUnit-3 -Low Bandwidth Communication.pdf
Unit-3 -Low Bandwidth Communication.pdf1ms21cs111
 
Secure Data Transmission
Secure Data TransmissionSecure Data Transmission
Secure Data Transmissionbjp4642
 
internt of things 1.pptx
internt of things 1.pptxinternt of things 1.pptx
internt of things 1.pptxRiazAhmad521284
 
IoT Connectivity: The Technical & Potential
IoT Connectivity: The Technical & PotentialIoT Connectivity: The Technical & Potential
IoT Connectivity: The Technical & PotentialAndri Yadi
 
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
 
Low power wireless technologies for connecting embedded sensors in the IoT: A...
Low power wireless technologies for connecting embedded sensors in the IoT: A...Low power wireless technologies for connecting embedded sensors in the IoT: A...
Low power wireless technologies for connecting embedded sensors in the IoT: A...Gilles Callebaut
 
Using LoRa Technology to Monitor and Control Sensors in Greenhouse
Using LoRa Technology to Monitor and Control Sensors in GreenhouseUsing LoRa Technology to Monitor and Control Sensors in Greenhouse
Using LoRa Technology to Monitor and Control Sensors in GreenhouseIRJET Journal
 
Understanding limitations of lo rawan
Understanding limitations of lo rawanUnderstanding limitations of lo rawan
Understanding limitations of lo rawanmafole
 

Similar to IoT Connectivity with LoRa (20)

IRJET - Range Enhancement of IoT Devices using LoRa
IRJET - Range Enhancement of IoT Devices using LoRaIRJET - Range Enhancement of IoT Devices using LoRa
IRJET - Range Enhancement of IoT Devices using LoRa
 
LoRa online training for utility guys
LoRa online training for utility guysLoRa online training for utility guys
LoRa online training for utility guys
 
Intro Lora - Makers.ID Meetup
Intro Lora - Makers.ID MeetupIntro Lora - Makers.ID Meetup
Intro Lora - Makers.ID Meetup
 
Effects of Shadowing on LoRa LPWAN Radio Links
Effects of Shadowing on LoRa LPWAN Radio Links  Effects of Shadowing on LoRa LPWAN Radio Links
Effects of Shadowing on LoRa LPWAN Radio Links
 
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
Open fest2018 LoRa, LoRa WAN, The Thing Network - capabilities, myths, applic...
 
loy
loyloy
loy
 
Networking Technologies in IOT.pdf
Networking Technologies in IOT.pdfNetworking Technologies in IOT.pdf
Networking Technologies in IOT.pdf
 
Unit-3 -Low Bandwidth Communication.pdf
Unit-3 -Low Bandwidth Communication.pdfUnit-3 -Low Bandwidth Communication.pdf
Unit-3 -Low Bandwidth Communication.pdf
 
Secure Data Transmission
Secure Data TransmissionSecure Data Transmission
Secure Data Transmission
 
internt of things 1.pptx
internt of things 1.pptxinternt of things 1.pptx
internt of things 1.pptx
 
IoT Connectivity: The Technical & Potential
IoT Connectivity: The Technical & PotentialIoT Connectivity: The Technical & Potential
IoT Connectivity: The Technical & Potential
 
IoT_standards
IoT_standardsIoT_standards
IoT_standards
 
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...
 
Low power wireless technologies for connecting embedded sensors in the IoT: A...
Low power wireless technologies for connecting embedded sensors in the IoT: A...Low power wireless technologies for connecting embedded sensors in the IoT: A...
Low power wireless technologies for connecting embedded sensors in the IoT: A...
 
Using LoRa Technology to Monitor and Control Sensors in Greenhouse
Using LoRa Technology to Monitor and Control Sensors in GreenhouseUsing LoRa Technology to Monitor and Control Sensors in Greenhouse
Using LoRa Technology to Monitor and Control Sensors in Greenhouse
 
Understanding limitations of lo rawan
Understanding limitations of lo rawanUnderstanding limitations of lo rawan
Understanding limitations of lo rawan
 
V_Tikhvinskiy.pdf
V_Tikhvinskiy.pdfV_Tikhvinskiy.pdf
V_Tikhvinskiy.pdf
 
LORA.pptx
LORA.pptxLORA.pptx
LORA.pptx
 
Difference between LoRa and NB-IoT
Difference between LoRa and NB-IoTDifference between LoRa and NB-IoT
Difference between LoRa and NB-IoT
 
Zigbee
ZigbeeZigbee
Zigbee
 

More from Andri Yadi

AIoT: Intelligence on Microcontroller
AIoT: Intelligence on MicrocontrollerAIoT: Intelligence on Microcontroller
AIoT: Intelligence on MicrocontrollerAndri Yadi
 
TechInAsia PDC 2019 - Unlocking The Potential of IoT with AI
TechInAsia PDC 2019 - Unlocking The Potential of IoT with AITechInAsia PDC 2019 - Unlocking The Potential of IoT with AI
TechInAsia PDC 2019 - Unlocking The Potential of IoT with AIAndri Yadi
 
Global Azure Bootcamp 2019 - AIoT powered by Azure
Global Azure Bootcamp 2019 - AIoT powered by AzureGlobal Azure Bootcamp 2019 - AIoT powered by Azure
Global Azure Bootcamp 2019 - AIoT powered by AzureAndri Yadi
 
Introduction to AIoT & TinyML - with Arduino
Introduction to AIoT & TinyML - with ArduinoIntroduction to AIoT & TinyML - with Arduino
Introduction to AIoT & TinyML - with ArduinoAndri Yadi
 
Opportunities & Challenges in IoT - Future of IoT industry in Indonesia 2019 ...
Opportunities & Challenges in IoT - Future of IoT industry in Indonesia 2019 ...Opportunities & Challenges in IoT - Future of IoT industry in Indonesia 2019 ...
Opportunities & Challenges in IoT - Future of IoT industry in Indonesia 2019 ...Andri Yadi
 
Microsoft Azure-powered IoT & AI Solution To Help Farmer
Microsoft Azure-powered IoT & AI Solution To Help FarmerMicrosoft Azure-powered IoT & AI Solution To Help Farmer
Microsoft Azure-powered IoT & AI Solution To Help FarmerAndri Yadi
 
Ask the Expert: Internet of Things
Ask the Expert: Internet of ThingsAsk the Expert: Internet of Things
Ask the Expert: Internet of ThingsAndri Yadi
 
Global Azure Bootcamp 2018 - Azure IoT Central
Global Azure Bootcamp 2018 - Azure IoT CentralGlobal Azure Bootcamp 2018 - Azure IoT Central
Global Azure Bootcamp 2018 - Azure IoT CentralAndri Yadi
 
Maker Movement toward IoT Ecosystem in Indonesia
Maker Movement toward IoT Ecosystem in IndonesiaMaker Movement toward IoT Ecosystem in Indonesia
Maker Movement toward IoT Ecosystem in IndonesiaAndri Yadi
 
IoT for Agriculture in a Nutshell: Technical Perspective
IoT for Agriculture in a Nutshell: Technical PerspectiveIoT for Agriculture in a Nutshell: Technical Perspective
IoT for Agriculture in a Nutshell: Technical PerspectiveAndri Yadi
 
Road to Republic of IoT - IoT Technologies & Machine Learning
Road to Republic of IoT - IoT Technologies & Machine LearningRoad to Republic of IoT - IoT Technologies & Machine Learning
Road to Republic of IoT - IoT Technologies & Machine LearningAndri Yadi
 
IT Solution through IoT Development
IT Solution through IoT DevelopmentIT Solution through IoT Development
IT Solution through IoT DevelopmentAndri Yadi
 
Internet of Things - Technicals
Internet of Things - TechnicalsInternet of Things - Technicals
Internet of Things - TechnicalsAndri Yadi
 
Global Azure Bootcamp 2017 - Azure IoT Hub with LoRa Connectivity
Global Azure Bootcamp 2017 - Azure IoT Hub with LoRa ConnectivityGlobal Azure Bootcamp 2017 - Azure IoT Hub with LoRa Connectivity
Global Azure Bootcamp 2017 - Azure IoT Hub with LoRa ConnectivityAndri Yadi
 
The state of NB-IoT in Indonesia
The state of NB-IoT in IndonesiaThe state of NB-IoT in Indonesia
The state of NB-IoT in IndonesiaAndri Yadi
 
Industrial IoT in a Nutshell
Industrial IoT in a NutshellIndustrial IoT in a Nutshell
Industrial IoT in a NutshellAndri Yadi
 
The Rise of Maker Movement in Indonesia
The Rise of Maker Movement in IndonesiaThe Rise of Maker Movement in Indonesia
The Rise of Maker Movement in IndonesiaAndri Yadi
 
Road to Republic of IoT - ESP32 Programming and LoRa
Road to Republic of IoT - ESP32 Programming and LoRaRoad to Republic of IoT - ESP32 Programming and LoRa
Road to Republic of IoT - ESP32 Programming and LoRaAndri Yadi
 
Talking with Things: What's Hot in Low-Power Long-Range IoT Connectivity
Talking with Things: What's Hot in Low-Power Long-Range IoT ConnectivityTalking with Things: What's Hot in Low-Power Long-Range IoT Connectivity
Talking with Things: What's Hot in Low-Power Long-Range IoT ConnectivityAndri Yadi
 
Internet of Things: Intro and Demo
Internet of Things: Intro and DemoInternet of Things: Intro and Demo
Internet of Things: Intro and DemoAndri Yadi
 

More from Andri Yadi (20)

AIoT: Intelligence on Microcontroller
AIoT: Intelligence on MicrocontrollerAIoT: Intelligence on Microcontroller
AIoT: Intelligence on Microcontroller
 
TechInAsia PDC 2019 - Unlocking The Potential of IoT with AI
TechInAsia PDC 2019 - Unlocking The Potential of IoT with AITechInAsia PDC 2019 - Unlocking The Potential of IoT with AI
TechInAsia PDC 2019 - Unlocking The Potential of IoT with AI
 
Global Azure Bootcamp 2019 - AIoT powered by Azure
Global Azure Bootcamp 2019 - AIoT powered by AzureGlobal Azure Bootcamp 2019 - AIoT powered by Azure
Global Azure Bootcamp 2019 - AIoT powered by Azure
 
Introduction to AIoT & TinyML - with Arduino
Introduction to AIoT & TinyML - with ArduinoIntroduction to AIoT & TinyML - with Arduino
Introduction to AIoT & TinyML - with Arduino
 
Opportunities & Challenges in IoT - Future of IoT industry in Indonesia 2019 ...
Opportunities & Challenges in IoT - Future of IoT industry in Indonesia 2019 ...Opportunities & Challenges in IoT - Future of IoT industry in Indonesia 2019 ...
Opportunities & Challenges in IoT - Future of IoT industry in Indonesia 2019 ...
 
Microsoft Azure-powered IoT & AI Solution To Help Farmer
Microsoft Azure-powered IoT & AI Solution To Help FarmerMicrosoft Azure-powered IoT & AI Solution To Help Farmer
Microsoft Azure-powered IoT & AI Solution To Help Farmer
 
Ask the Expert: Internet of Things
Ask the Expert: Internet of ThingsAsk the Expert: Internet of Things
Ask the Expert: Internet of Things
 
Global Azure Bootcamp 2018 - Azure IoT Central
Global Azure Bootcamp 2018 - Azure IoT CentralGlobal Azure Bootcamp 2018 - Azure IoT Central
Global Azure Bootcamp 2018 - Azure IoT Central
 
Maker Movement toward IoT Ecosystem in Indonesia
Maker Movement toward IoT Ecosystem in IndonesiaMaker Movement toward IoT Ecosystem in Indonesia
Maker Movement toward IoT Ecosystem in Indonesia
 
IoT for Agriculture in a Nutshell: Technical Perspective
IoT for Agriculture in a Nutshell: Technical PerspectiveIoT for Agriculture in a Nutshell: Technical Perspective
IoT for Agriculture in a Nutshell: Technical Perspective
 
Road to Republic of IoT - IoT Technologies & Machine Learning
Road to Republic of IoT - IoT Technologies & Machine LearningRoad to Republic of IoT - IoT Technologies & Machine Learning
Road to Republic of IoT - IoT Technologies & Machine Learning
 
IT Solution through IoT Development
IT Solution through IoT DevelopmentIT Solution through IoT Development
IT Solution through IoT Development
 
Internet of Things - Technicals
Internet of Things - TechnicalsInternet of Things - Technicals
Internet of Things - Technicals
 
Global Azure Bootcamp 2017 - Azure IoT Hub with LoRa Connectivity
Global Azure Bootcamp 2017 - Azure IoT Hub with LoRa ConnectivityGlobal Azure Bootcamp 2017 - Azure IoT Hub with LoRa Connectivity
Global Azure Bootcamp 2017 - Azure IoT Hub with LoRa Connectivity
 
The state of NB-IoT in Indonesia
The state of NB-IoT in IndonesiaThe state of NB-IoT in Indonesia
The state of NB-IoT in Indonesia
 
Industrial IoT in a Nutshell
Industrial IoT in a NutshellIndustrial IoT in a Nutshell
Industrial IoT in a Nutshell
 
The Rise of Maker Movement in Indonesia
The Rise of Maker Movement in IndonesiaThe Rise of Maker Movement in Indonesia
The Rise of Maker Movement in Indonesia
 
Road to Republic of IoT - ESP32 Programming and LoRa
Road to Republic of IoT - ESP32 Programming and LoRaRoad to Republic of IoT - ESP32 Programming and LoRa
Road to Republic of IoT - ESP32 Programming and LoRa
 
Talking with Things: What's Hot in Low-Power Long-Range IoT Connectivity
Talking with Things: What's Hot in Low-Power Long-Range IoT ConnectivityTalking with Things: What's Hot in Low-Power Long-Range IoT Connectivity
Talking with Things: What's Hot in Low-Power Long-Range IoT Connectivity
 
Internet of Things: Intro and Demo
Internet of Things: Intro and DemoInternet of Things: Intro and Demo
Internet of Things: Intro and Demo
 

Recently uploaded

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyAlfredo García Lavilla
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii SoldatenkoFwdays
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESmohitsingh558521
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteDianaGray10
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024BookNet Canada
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxLoriGlavin3
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfLoriGlavin3
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionDilum Bandara
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersRaghuram Pandurangan
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupFlorian Wilhelm
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfAddepto
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Mattias Andersson
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024Lorenzo Miniero
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxLoriGlavin3
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsPixlogix Infotech
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfAlex Barbosa Coqueiro
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsSergiu Bodiu
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024BookNet Canada
 

Recently uploaded (20)

Commit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easyCommit 2024 - Secret Management made easy
Commit 2024 - Secret Management made easy
 
"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko"Debugging python applications inside k8s environment", Andrii Soldatenko
"Debugging python applications inside k8s environment", Andrii Soldatenko
 
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICESSALESFORCE EDUCATION CLOUD | FEXLE SERVICES
SALESFORCE EDUCATION CLOUD | FEXLE SERVICES
 
Take control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test SuiteTake control of your SAP testing with UiPath Test Suite
Take control of your SAP testing with UiPath Test Suite
 
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
New from BookNet Canada for 2024: Loan Stars - Tech Forum 2024
 
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptxDigital Identity is Under Attack: FIDO Paris Seminar.pptx
Digital Identity is Under Attack: FIDO Paris Seminar.pptx
 
Moving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdfMoving Beyond Passwords: FIDO Paris Seminar.pdf
Moving Beyond Passwords: FIDO Paris Seminar.pdf
 
Advanced Computer Architecture – An Introduction
Advanced Computer Architecture – An IntroductionAdvanced Computer Architecture – An Introduction
Advanced Computer Architecture – An Introduction
 
Generative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information DevelopersGenerative AI for Technical Writer or Information Developers
Generative AI for Technical Writer or Information Developers
 
Streamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project SetupStreamlining Python Development: A Guide to a Modern Project Setup
Streamlining Python Development: A Guide to a Modern Project Setup
 
Gen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdfGen AI in Business - Global Trends Report 2024.pdf
Gen AI in Business - Global Trends Report 2024.pdf
 
Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?Are Multi-Cloud and Serverless Good or Bad?
Are Multi-Cloud and Serverless Good or Bad?
 
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data PrivacyTrustArc Webinar - How to Build Consumer Trust Through Data Privacy
TrustArc Webinar - How to Build Consumer Trust Through Data Privacy
 
SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024SIP trunking in Janus @ Kamailio World 2024
SIP trunking in Janus @ Kamailio World 2024
 
The State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptxThe State of Passkeys with FIDO Alliance.pptx
The State of Passkeys with FIDO Alliance.pptx
 
The Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and ConsThe Ultimate Guide to Choosing WordPress Pros and Cons
The Ultimate Guide to Choosing WordPress Pros and Cons
 
Unraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdfUnraveling Multimodality with Large Language Models.pdf
Unraveling Multimodality with Large Language Models.pdf
 
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 
DevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platformsDevEX - reference for building teams, processes, and platforms
DevEX - reference for building teams, processes, and platforms
 
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
Transcript: New from BookNet Canada for 2024: BNC CataList - Tech Forum 2024
 

IoT Connectivity with LoRa

  • 1. IoT Connectivity with LoRa
 Developer-perspective technical intro & stories around LoRa/LoRaWAN in Indonesia Presented to Maker4Nation Community at Bukalapak HQ, Jakarta - Oct 3, 2018
  • 2.
  • 3. Andri Yadi
 Co-founder & CEO of DycodeX Microsoft MVP, Azure
 a (at) dycodex.com | http://andriyadi.com 
 
 I’m a Physicist, Developer, Maker, Entrepreneur
 20 years in so<ware engineering
 21 years in electronics engineering
 3 years in aeronautical engineering 14 years in entrepreneurship 11 years as Microso< Most Valuable Professional (MVP) 3 years as Hackster.io Ambassador About Me
  • 4. This talk is not endorsed by Semtech, LoRa Alliance, or other LoRa-related organizations Disclaimers
  • 5. Things Connectivity People & Processes Internet of Things
  • 6. Data Rate Power Range 3 Dimensions to consider for choosing IoT connectivity Hint: No connectivity technology that satisfies high data rate, long range, and low power, all in one pack.
 Need to compromise
  • 7. Data Rate Data Rate vs Range Range Short Long Low High
  • 8. Data Rate Power Data Rate vs Power Low High Low High
  • 9. Low Power Long Range LPWA Power Power vs Range Range Short Long Low High
  • 10. Low Power, Wide Area Networks Connectivity designed specifically for IoT Low data throughput = High sensitivity = Long range (Relatively) low cost Multiple Access = One-to-Many Architecture Using licensed or unlicensed spectrum LPWA: Commons
  • 12. Cost Modules, deployment, operational cost Usage Model / Licensing SIGFOX – Required to utilize their public network 
 LoRa – Proprietary physical layer but open MAC Regional Regulatory Allowed frequency, power, duty cycle, etc
 e.g. in Europe, duty-cycle is 1% for end-devices Upstream/Downstream SIGFOX – nearly entirely upstream LoRa/LoRaWAN – has 3 classes supporting different balances 
 of upstream & downstream Hardware & Network Availability Is it available NOW? LPWA: Few Selection Factors
  • 13. Wireless modulation technology, based on Semtech’s proprietary Chirp Spread Spectrum (CSS) Physical (PHY) layer for long range wireless communications Operates in the license-free Industrial Scientific Medical (ISM) bands all around the world • Sub-GHz frequency, e.g: 433, 868, 915 MHz, depends on the country’s regulation • Regulated power, duty-cycle, and bandwidth. 
 E.g: in EU, 1% per sub-band duty-cycle limitation (per hour, meaning transmission is allowed for 36 sec in each 1 hour) LoRa: What is it?
  • 14. LoRa: Some Parameters LoRa physical layer consists of many parameters which can be configured into 6720 different settings! SeRing Values DeSnition ETects Bandwidth 125, …, 500 kHz Width of spectrum occupied by chirp A higher bandwidth is required for transmiRing data at high rates (1 kHz = 1 kcps). However, increasing this parameter decreases the communication range and sensitivity. Spreading Factor 26, …, 212 chips/ symbol Number of bits encoded per symbol. Symbol is RF state representing some quantity of information. SF12 means 212 chips/symbol, 12 bits of data A higher spreading factor (SF) increases the communication range, radio sensitivity, and the signal- to-noise ratio (SNR). However, energy consumption consequently increases. Coding Rate 1, …, 4
 or
 4/5, …, 4/8 Propoaion of transmiRed bits that caries actual data, as opposed to error correction bits.
 CR1 4/(4+1) = 4/5 Bigger coding rates increase the protection against decoding errors and intecerence bursts at the expense of longer packets, longer air time, and higher power consumption. Transmission Power −4, …, 20 dBm Transmission power can be adjusted from −4 to 20 dBm, in 1 dB steps. Because of hardware implementation limits, the range is o<en limited to 2 to 20 dBm. The signal-to-noise ratio is increased by increasing the transmission power at the cost of energy expenditure. Carrier Frequency 137, …, 1020 MHz CF represents the central transmission frequency used in a band, can be programmed between 137 MHz to 1020 MHz, in steps of 61 Hz. Lower frequency enables to achieve higher communication ranges for the same transmission power. However, selected CF needs to comply with country’s regulation.
  • 15. ISM worldwide regulation 7 Output Power vs Duty Cycle Countries Frequency band review Max. output power EU 868 MHz 14 dBm USA 915 MHz 20 dBm Korea 900 MHz 14 dBm Japan 920 MHz Malaysia 862 to 875 MHz 20 dBm Philippines 868 MHz Vietnam 920 to 925 MHz India 865 to 867 MHz Singapore 922 MHz Thailand 920 to 925 MHz Indonesia 922 MHz ANZ 915 to 928 MHz Taiwan 920 to 925 MHz China 470 to 510 MHz 17 dBm 920 to 923 MHz * LoRa: Frequency Bands * Not yet legalized
  • 16. LoRa: End Device / Node Host / Application Microcontroller TCXO Matching + 
 RF Switch + Filter LoRa Chipset
  • 18. LoRa Chipset: How to Use It? Unless you’re really good at RF design, I don’t recommend to do this.
  • 19. So, for the rest of us, we use Modules LoRa Modules * I only show what I’ve been using, no endorsement intended Supported frequency range: 433 - 510 MHz, and 868 - 929.9 MHz Transmit power: adjustable 5 - 20dBm (100mW), typical: 14dBm (25mW) RX Sensitivity: -130 - -140dBM
  • 20. Microcontroller Sensor & Actuator Power Mgt LoRa Module LoRa Node #1 Microcontroller Sensor & Actuator Power Mgt LoRa Module LoRa Node #2 Microcontroller Sensor & Actuator Power Mgt LoRa Module LoRa Node #3 LoRa Phy When a node sends, every other nodes (with same radio “parameters” - SF, BW, CR, etc) will receive LoRa is only physical layer, has no mechanism for targeted transmission. It’s radio frequency a<er all. How to transmit data with LoRa?
  • 21. Microcontroller Sensor & Actuator Power Mgt LoRa Module LoRa Node #1 Microcontroller Sensor & Actuator Power Mgt LoRa Module LoRa Node #2 Microcontroller Sensor & Actuator Power Mgt LoRa Module LoRa Node #3 Wrap ID, From, Destination in packet header -> for addressing In the packet header example, only node with ID “2” will “receive”, although every other nodes will receive but choose to ignore. Enter Libraries, e.g: RadioHead to 2 from 1 id 1 lags Packet Header However, what about ACK, retry, joining the network, and most impoaantly security?
  • 22. Arduino LoRa: https://github.com/sandeepmistry/arduino- LoRa 
 An Arduino library for sending and receiving data using LoRa radios. RadioHead: https://www.airspayce.com/mikem/arduino/ RadioHead/
 Packet Radio library for embedded microprocessors, not only for LoRa ESP32 LoRa Library: https://github.com/Inteform/esp32-lora- library
 C component to be integrated into ESP32-IDF for sending and receiving data through a LoRa transceiver based on Semtech's SX127_ ICs LoRa: Some Programming Libraries for Microcontroller
  • 23.
  • 24. Communications protocol & architecture utilizing the LoRa physical layer Open Source and freely available, specified by LoRa Alliance Star of Starts Topology. Nodes connect to multiple gateways Adds addressing, mobility, and localisation. Also Adaptive Data Rate (ADR) to improve performance Built-in multiple levels of security: network or application level encryption, frame counter, etc LoRaWAN: What is it?
  • 25. LoRaWAN End Device / Mote MCU/MPU Sensor & Actuator Power Mgt LoRaWAN Module Commonly has LoRaWAN module; or LoRa chipset or module with LoRaWAN software run by hosy/ application MCU/MPU Communicates with LoRaWAN gateways, never directly with other motes Has 64 bit globally unique identifier: DevEUI. When joining a network, it receives a 32 bit unique identifier: DevAddr. Defined 3 device classes: A, B, and C
  • 26. LoRaWAN Device Classes Class A Class B Class C Device-initiated communication; lowest power Devices are typically in deep sleep and send messages on intervals and/or events After uplink transmission, device opens two receive windows at specified times for downlink messages Best fit for most battery- powered sensor applications Time-synchronized communication, deterministic downlink Extend Class A by adding scheduled receive windows for downlink messages from backend Using time-synchronized beacons transmitted by the gateway, the devices periodically open receive windows Best for most downlink intensive applications Network-initiated communication; lowest latency Extend Class A by keeping the receive windows open unless uplink-transmitting The backend can send downlink message at any given time Best for downlink intensive applications that require low latencies, non battery-powered
  • 27. * I only show what I’ve been using, no endorsement intended LoRaWAN Modules WARNING: Not every LoRa modules are LoRaWAN-compliant! Miromico FMLRRHF78 iM880CMWX1ZZABZ
  • 28. LoRaWAN Module: Common Architecture Low Power MCU Matching Network SX127x / Sx126x RF Switch SPI UART Application Microcontroller LoRaWAN Module LoRaWAN so<ware stack is baked inside a low power microcontroller Module is commonly accessible via UART intecace using some kind 
 of AT command or SLIP
  • 29. * Again, I only show what I’ve been using, no endorsement intended LoRa/LoRaWAN Dev Board To make life easier, just use Dev Board with LoRa/LoRaWAN Arduino MKR WAN 1300STM32L0 Discovery kit LoRaPycom LoPy DycodeX ESPectro32 + LoRa Backpack + ESPectro32 LoRa Backpack ESPect Adafruit Feather M0 with RFM95 Sodaq ONE
  • 31. LoRa LoRaWAN
 Gateway Bridge (Azure Functions) Backhaul (Cellular) End Device Azure IoT HubNetwork Server MQTT MQTT/
 AMQP LoRaWAN Network: A Sample Architecture Azure IoT Central Microsoft Azure
  • 32. RAK Wireless’ RAK811: https://github.com/RAKWireless/ RAK811_LoRaNode 
 Documentation and Arduino library for RAK811 module. Arduino MKRWAN: https://github.com/arduino-libraries/ MKRWAN 
 An Arduino library for sending and receiving data using LoRaWAN protocol and LoRa® radios, for Arduino MKR 1300 board Arduino LMIC: https://github.com/mcci-catena/arduino-lmic
 IBM LMIC (LoraMAC-in-C) library, modified to run in the Arduino environment, to work directly with SX1272, SX1276 IC, instead of vendor- specific LoRaWAN module Adafruit TinyLoRa Library: https://github.com/adafruit/TinyLoRa
 Library for communicating with The Things Network using a Hope RF RFM95/96/97/98(W) LoRa Transceiver Module LoRaWAN: Some Programming Libraries for Microcontroller
  • 33. Gateway? yes… you need one to use LoRaWAN
  • 34. LoRaWAN Gateway/Concentrator Forms the bridge between end devices and network servers Communicates with end devices via LoRaWAN protocol Communicates with network servers via TCP/IP protocol Contains multi-channel LoRa demodulator, able to decode all LoRa modulation variants on several frequencies in parallel Runs a minimal firmware or OS, and the packet forwarding software
  • 35. * Again, I only show what I’ve been using, no endorsement intended LoRaWAN Gateways: Off-the-shelf MatchX Gemtek Indoor Pico GatewayThe Things Gateway DycodeX Outdoor Gateway Some examples of ready to use, entry to medium-level gateways 8 - 16 concurrent channels Backhaul connectivity over WiFi, Ethernet, or Cellular Configurable over Web-based UI or console Powered by OpenWRT or other optimized Linux distros
  • 36. LoRaWAN Gateways: Configurability via Web UI Gateway info Editing of global/local_conf.json file
  • 37. LoRaWAN Gateways: Configurability via Console Packet forwarder global configuration: Valid throughout all networks All global parameters for radio channels As “safe” values for specific parameters set in local conf Packet forwarder global configuration: Contain parameters that are specific to each gateway: Gateway details and GPS Network server(s), may be active more than one
  • 39. Cost Modules: <$5 - $18; Gateway: $100 - $5000; No subscription fee Usage Model / Licensing Proprietary physical layer but open MAC LoRaWAN is open standard, reference implementation is open source Regional Regulatory Frequency band: 433/470/868/915 MHz; 
 Power: 14 - 20 dBm; Duty cycle: 1 - 10% Upstream/Downstream Has 3 classes (A, B, & C) supporting different balances of upstream & downstream Hardware & Network Availability YES. Anyone can deploy the network, build & manufacture gateway and end nodes LoRa/LoRaWAN: Back to the Selection Factors
  • 40. DEMO #1 LoRaWAN with The Things Network (TTN) & Azure IoT Hub
  • 41. LoRa LoRaWAN
 Gateway TTN-to-Azure Bridge Backhaul (Cellular) End Device Azure IoT HubNetwork Server MQTT MQTT/
 AMQP LoRaWAN with TTN and Azure IoT Hub Microsoft Azure
  • 42. LoRa LoRaWAN
 Gateway TTN-to-Azure Bridge Azure Function Backhaul (Cellular) End Device Azure IoT HubNetwork Server MQTT MQTT/
 AMQP Demo: Payload Microsoft Azure 9B 09 05 24 4B  1D 65 A3 00 00 9B 09 05 24 4B  1D 65 A3 00 00 { “temp”: 23.21, “lux”, 31.21,
 … } { “temp”: 23.21, “lux”, 31.21,
 … } Payload Decoder Payload:
  • 43. var bytesToInt = function(bytes) { var i = 0; for (var x = 0; x < bytes.length; x++) { i |= +(bytes[x] << (x * 8)); } return i; }; function Decoder(bytes, port) { // Decode an uplink message from a buffer // (array) of bytes to an object of fields. var decoded = {}; var t = bytesToInt(bytes.slice(0, 2)) / 100; var p = bytesToInt(bytes.slice(2, 4)) / 100; var h = bytesToInt(bytes.slice(4, 6)) / 100; var l = bytesToInt(bytes.slice(6, 10)) / 100; decoded = { temp: t, pres: p, lux: l, hum: h, }; return decoded; } TTN Payload Decoder
  • 44. https://github.com/TheThingsNetwork/integration-azure 'use strict' const fs = require('fs') const ttnazureiot = require('.') const ttn = require('ttn') // TTN-related settings const appId = process.env.TTN_APP_ID || 'alora-01' const processId = process.env.TTN_PROCESS_ID const accessKey = process.env.TTN_APP_ACCESS_KEY || ‘YOUR_OWN_KEY’ const region = process.env.TTN_REGION || 'eu' // Azure-related settings const hubName = process.env.TTN_AZURE_HUBNAME || 'dycodex-iot-lab' const keyName = process.env.TTN_AZURE_KEYNAME || 'iothubowner' const key = process.env.TTN_AZURE_KEY || 'YOUR_OWN_KEY' const mqttCertPath = process.env.TTN_MQTT_CERT || `${__dirname}/mqtt-ca.pem` const options = { protocol: ‘mqtts', ca: fs.readFileSync(mqttCertPath) } const bridge = new ttnazureiot.Bridge(region, appId, accessKey, hubName, keyName, key, options) bridge.on('info', message => { console.log('[INFO]', message) }) bridge.on('error', message => { console.warn('[ERROR]', message) }) bridge.on('warn', message => { console.warn('[WARN]', message) }) TTN to Azure IoT Hub Bridge
  • 45. LoRa LoRaWAN
 Gateway TTN-to-Azure Bridge Backhaul (Cellular) End Device Azure IoT HubNetwork Server MQTT MQTT/
 AMQP Microsoft Azure It’s all about SCALABILITY! So, why the hassle to “bridge” with Azure IoT Hub?
  • 46. DycodeX’s Story around LoRa/LoRaWAN Disclaimer: upcoming 26 slides may be considered promotional
  • 47. PT. DycodeX Teknologi Nusantara DycodeX’s vision is to solve big problems with technology. Today, we're pioneering and leading in developing end-to-end home-grown IoT & AI-based systems in Indonesia, and enable maker movement along the way. As seen on About Us
  • 48. Home-grown IoT & AI-powered devices & systems SecurityAgricultureAsset tracking Energy Design House SMARTernak Magic Button A Panic Button Platform PowtraX Electricity metering & reselling system Smarterbike:
 Smarter bicycle for bike fleet management (bike sharing) DytraX: NB-IoT/Cellular 
 Asset Tracker Hardware Kits for Education, Makers Custom hardware design End-to-end IoT development: firmware, cloud, AI,
 web & mobile app Products & Solutions Focus Industrial IoT Machinery Health Sensor Alora 
 Industrial Environmental Sensing
  • 49. Hardware Kits for Education & IoT MakersWe also make And a lot more….
  • 50. Contribution to IoT Regulation DycodeX is one of the parties (representing industry) involved in field test to support Indonesia’s IoT tech specs regulation, supporting Ministry of ICT (KOMINFO) * During Low Power Wide Area (LPWA) Network trial in Bogor city OUR ENGINEER Ria Sri Rahayu, 
 IoT Hardware Lead
  • 51. Asset Tracking Industrial IoT & EnergyLivestock Farming Security We’re IoT Connectivity Agnostic Fixed Asset Tracking DytraX: 
 NB-IoT/Cellular IoT Tracker SMARTransport SMARTernak Magic Button Motor Vibration Sensor
 for Predictive Maintenance PowtraX
 Industrial Power Meter Alora: 
 Environmental Sensor
  • 52. Short Range CellularLow Power Wide Area (LPWA) In summary, we use these… Unlicensed Licensed
  • 53. Late 
 2015 The Beginning The first ever journey to LoRa Early 
 2016 The LoRaWAN Our first ever Arduino Shield for LoRaWAN Jun 
 2016 The Product The first product using LoRa Jul-Oct 
 2016 HAT, Shield, Backpack Various LoRa kits DycodeX’s LoRa Story
  • 54. Few early ready-to
 -use LoRa Modules 
 we’ve explored. Not yet supporting 
 LoRaWAN
  • 55. Magic Button From WiFi to LoRa
 Jun 2016 Latest version, with touch button and obviously, LoRa
  • 56. ady 
 es.
 ng 
 Shields, HAT, Backpack, Kit
  • 57. Late 
 2015 The Beginning The first ever journey to LoRa Early 
 2016 The LoRaWAN Our first ever Arduino Shield for LoRaWAN Jun 
 2016 The Product The first product using LoRa Jul-Oct 
 2016 HAT, Shield, Backpack Various LoRa kits Nov 5 
 2016 The Tracker First attempt to develop LoRa Asset Tracking Feb 
 2017 The Real Deployment Deployed 100+ LoRa Asset Tracking DycodeX’s LoRa Story
  • 58. 1st Attempt In-house designed & 
 assembled LoRa Module RHF95
  • 59. Assembled our 1st full-pledge LoRaWAN Gateway
  • 60. Deployed 100+ LoRa Asset Tracking
 Feb 2017
  • 61. ESPectro32 LoRa Backpack ESPectro32 no Shield Alora v2.2 Supports RAK811 / RAK811-N LoRa module Rainbowrd, LoRa-enabled development board Supports iM880A and RHF76 LoRa module Also supports: • 2G/3G network • WiFi • Bluetooth • NFC Motor Vibration SensorAlora Sensor PackLoRa Arduino Shield Rainbowrd - Ultimate Connectivity, LoRa included ESPectro32 Dev Board + LoRa Backpack Yet another in-house custom designed LoRa/LoRaWAN boards
  • 62. Late 
 2015 The Beginning The first ever journey to LoRa Early 
 2016 The LoRaWAN Our first ever Arduino Shield for LoRaWAN Jun 
 2016 The Product The first product using LoRa Jul-Oct 
 2016 HAT, Shield, Backpack Various LoRa kits Nov 5 
 2016 The Tracker First attempt to develop LoRa Asset Tracking Feb 
 2017 The Real Deployment Deployed 100+ LoRa Asset Tracking Mid 2017 - 
 Early 2018 Stuffs Many stuffs Apr 25,
 2018 1st LoRa Conference in Indonesia DycodeX’s LoRa Story
  • 63. The 1st Ever LoRa Conference in Indonesia
  • 64. makestro.com An Indonesia Platform for Maker: 
 to “democratize” knowledge, hardware kit, and software to help makers to start making in hardware, to drive into Internet of Things Learning Hardware Marketplace Software & 
 Cloud Community The 1st LoRa Conference organized by…
  • 65. Late 
 2015 The Beginning The first ever journey to LoRa Apr 29, 2018 SMARTernak IoT & AI for Livestock Farming Early 
 2016 The LoRaWAN Our first ever Arduino Shield for LoRaWAN Jun 
 2016 The Product The first product using LoRa Jul-Oct 
 2016 HAT, Shield, Backpack Various LoRa kits Nov 5 
 2016 The Tracker First attempt to develop LoRa Asset Tracking Feb 
 2017 The Real Deployment Deployed 100+ LoRa Asset Tracking Mid 2017 - 
 Early 2018 Stuffs Many stuffs Apr 25,
 2018 1st LoRa Conference in Indonesia DycodeX’s LoRa Story
  • 66. * “Ternak” in SMARTernak means “cattle” in Bahasa Indonesia Internet of Things & Artificial Intelligence-powered 
 Cattle-Farm Assistant Platform 66
  • 67. SMARTernak - 1,000m ViewSMARTernak: How It Works BASE STATION 5 km coverage, 1000+ devices. TRACKER Catte-wearable tracker contains a bunch of sensors ENVIRONMENTAL SENSORS Collection of sensors to monitor environmental
 
 *optional* SMART CAMERA Monitor cattle’s behaviour, body heat, to estimate body weight through image processing.
 
 *optional* FARM MANAGER / OWNER / INVESTOR DRONE Provide surveillance and to help herding. *In development* http://smarternak.com by DycodeX VIRTUAL FENCE Contain and move cattle without physical posts and wires. CLOUD where the heavy-lifting happens. CARETAKER One farmer/caretaker can easily cover a vast grazing area and hundreds of cattle.
  • 68. Dual IoT Connectivity Short Range: 1 km WiFi, Bluetooth v4.2, BLE
 Mesh-supported. High speed Long Range: LoRa/LoRaWAN or NB-IoT,
 for 5-10km coverage area Packed with Sensors GPS / GNSS Accelerometer, Gyroscope Body Temperature Ambient Temperature & Humidity Barometric Pressure Ambient Light MEMS Microphone Device Removal Detector Powerhouse Low Power, Dual Core Microcontroller Smart Energy Battery Gauge Solar Energy Harvesting Smart Switching Between 
 Main & Backup Battery Fast Charging from USB Type-C Firmware-optimised 
 power consumption Ca)le-wearable Device Actuators Audio Alert/Speaker Color LED
  • 69. In-House Electronics board is 100% designed and assembled in-house, by 100% Indonesian Device Internals LoRaWAN Module
  • 70. SMARTernak real-world deployment, uses LoRa/LoRaWAN LoRaWAN Gateway Self-build full-fledge gateway, 10m above the ground
  • 71. Farthest Distance from Fram …and we successfully achieved real-world 5km coverage!
  • 73. LoRaWAN
 Gateway Network
 Server SMARTernak Cloud (Application Server) Backhaul (Cellular, WiFi, Ethernet)Wearable
 Devices SMARTernak Architecture with LoRa/LoRAWAN SMARTernak Web & Mobile Apps LoRa MQTT WebSocket, HTTP Microsoft Azure
  • 74. LoRaWAN
 Gateway Network
 Server SMARTernak Cloud (Application Server) Backhaul (Cellular, WiFi, Ethernet)Wearable
 Devices SMARTernak Architecture: Data Perspective LoRa 0d 67 01 32 0a 02 01 6b 00 00 07 MQTT { “type”: 7, “batt”: 3.89, “temp”: 31.44 } 0d 67 01 32 0a 02 01 6b 00 00 07 11 Bytes 63 Bytes DWcBMgoCAWs AAAc= Converter Application Server
  • 75. { "applicationID": "1", "applicationName": "cattle-tracker", "deviceName": "smarternak_a8610a323XXXXXX", "devEUI": "a8610a323XXXXXX", "rxInfo": [{ "mac": “b827ebfffeXXXXXX", "time": "2018-10-03T05:54:09.584858Z", "rssi": -75, "loRaSNR": 9.2, "name": "pizero-gateway", "latitude": -6.876573500000001, "longitude": 107.58426329999999, "altitude": 0 }], "txInfo": { "frequency": 923200000, "dataRate": { "modulation": "LORA", "bandwidth": 125, "spreadFactor": 7 }, "adr": true, "codeRate": "4/5" }, "fCnt": 25, "fPort": 2, "data": "DWcBZgoCAYgAAAc=" } 0d 67 01 66 0a 02 01 88 00 00 07 Device Log Network Server Log App Dashboard Base64 encoded
  • 77.  • No massive LoRa/ LoRaWAN “live”/ commercial deployment yet. Most deployments are still under pilot project/sandbox • National utility company did a pilot project with 1000 LoRaWAN nodes, not yet go live • More/less affected by regulation  • LoRa/LoRaWAN is already hot topic to discuss and explore within community • Some national competitions/challenges feature LoRa as tech of choice • LoRa popularity begin to increase within academics, as research & final project topic • No national-wide or even city-wide coverage of public LoRaWAN networks ➔ opportunity! • LPWA (or IoT in general) regulation is not yet legalised as per today, However, LPWA tech spec is very close to be legalised. • May need to wait for the readiness of testing labs to be able to perform test on LPWA devices, for type approval & certification • Handful of startups began to adopt LoRa/LoRaWAN into their products. Some are ready to commercialise • There’re interests of infra companies to deploy city or even national-wide public LoRaWAN network • System Integrators & enterprises began to deploy use cases in many verticals, albeit under R&D/piloting or small scope g  Landscape in Indonesia Success stories Talent & Community Infrastructure Regulations Startups & Investments
  • 78. • Frequency band: 920 - 923 MHz • Bandwidth: ≤ 200 KHz • Maximum spurious emission: -36 dBm (ETSI 300 220) • Duty cycle: • Downlink: ≤ 10 % • Uplink: ≤ 1 % • Transmission power: ≤ 100mW or 20 dBm (EIRP) • Transmission power: ≤ 400mW or 26 dBm (EIRP) • Gateway should include a filter with out-of-band rejection bigger than 50 dB at 915 MHz and 925 MHz General End Node Gateway Indonesia’s LPWA Tech Requirements Regulation (DraW) Edited on March 30, 2019
  • 79. LoRaWAN Gateway Network Server Application Server Backhaul (Cellular, WiFi, Ethernet, etc) To comply with GR 82 Concerning Data Web & Mobile Apps LoRa Internet End Device Field • LoRaWAN Network Server, Application Server, and other related services are on the internet • All those services can be deployed physically on onshore data centres. No data traffic will be offshore. LoRaWAN Architecture • LoRaWAN End Device only communicates with LoRaWAN Gateway, never with each other or any other gateways/base stations • LoRaWAN Gateway only forwards data between End Device and Network Server. • Target Network Server can/should be configurable in the Gateway config
  • 80. Indonesia’s LoRa “Makers” Academics & Hobbyists
 (For research & assignments purpose, or just for fun) Professionals Startups Industrials SI & Consultants Disclaimer: It’s qualitative data
  • 81. Republic of IoT (RIoT) 2017 Hackathon LoRa Shield The Hackathon featured these hardware kits and used LoRa as connectivity tech of choice RIoT is Makestro’s yearly program in collaboration with Indonesia’s Ministry of ICT
  • 82. *Disclaimer: I have no data of all players in Indonesia yet. Sorry if you’re not listed. And I’m talking about electronics maker-related players Some Communities Indonesia I n d o n e s i a Maker4Nation Indonesia
  • 83. Again, there’s the 1st Ever LoRa Conference in Indonesia
  • 84. I’ve been visiting 20+ cities & campuses to discuss about LoRa
  • 86. Cost Low cost, easily accessible modules Varying alternatives of gateway, either self-build or carrier-grade No license or subscription fee Fits the need Depends on use case, low data rate is sufficient for transmitting our sensors’ data (uplink) and infrequent control (downlink) Low power nature, 50mA on TX, allows longer battery life or smaller battery Because we can We can deploy end-to-end LoRa/LoRaWAN-backed connectivity by ourselves, less dependency Why We Choose LoRa? Albeit connectivity agnostic, we choose LoRa for these reasons: j
  • 87. makestroid makestroid makestroid makestro.com An Indonesia Platform for Maker: 
 to “democratize” knowledge, hardware kit, and software to help makers to start making in hardware, to drive into Internet of Things Start Making at Learning Hardware Marketplace Software & 
 Cloud Community RIoT is Makestro’s program for nurturing IoT makers, officially supported by Indonesia’s Ministry of ICT
  • 90. a@dycodex.com | https://dycodex.com Jalan Sarikaso No. 6A, Bandung, Indonesia Keep in touch