TTN in Practice Credits: Marco Zennaro, PhD Luka Mustafa, intro - - PowerPoint PPT Presentation

ttn in practice
SMART_READER_LITE
LIVE PREVIEW

TTN in Practice Credits: Marco Zennaro, PhD Luka Mustafa, intro - - PowerPoint PPT Presentation

TTN in Practice Credits: Marco Zennaro, PhD Luka Mustafa, intro to TTN at ICTP ICTP smr3188 workshop The Things Network TheThingsNetwork is known as TTN 3*10 LoRaWAN LoRaWAN TTNs mission TTN is Open Source TTN Communities Over 300


slide-1
SLIDE 1

TTN in Practice

Credits: Luka Mustafa, intro to TTN at ICTP smr3188 workshop Marco Zennaro, PhD ICTP

slide-2
SLIDE 2

The Things Network

TheThingsNetwork is known as TTN

slide-3
SLIDE 3

3*10

slide-4
SLIDE 4

LoRaWAN

slide-5
SLIDE 5

LoRaWAN

slide-6
SLIDE 6

TTN’s mission

slide-7
SLIDE 7

TTN is Open Source

slide-8
SLIDE 8

TTN Communities

Over 300 communities in 100 countries

slide-9
SLIDE 9

TTN Communities

https://ttnmapper.org

slide-10
SLIDE 10

TTN: devices, gateways, servers

slide-11
SLIDE 11

LoRaWAN architecture

slide-12
SLIDE 12

Gateways

slide-13
SLIDE 13

Gateways

  • Gateways are packet forwarders
  • They “forward” LoRaWAN packets to TCP/IP using

WiFi/Ethernet/Cellular

  • They operate on different frequency bands, depending on

the region (pay attention!)

  • Once you buy/build a gateway, there is not much to do!
  • You simply need to register your gateway in TTN
slide-14
SLIDE 14

LoRa frequency bands

slide-15
SLIDE 15

LoRa channels in India

slide-16
SLIDE 16

Single Channel Gateway

70 euro RPi+board No enclosure Single Channel

slide-17
SLIDE 17

7/8 Channels Gateway

500-1500 euro Enclosure 8 Channels

slide-18
SLIDE 18

7/8 Channels Gateway

200-300 euro No enclosure 8 Channels

slide-19
SLIDE 19

Is it working?

Connected!

slide-20
SLIDE 20

Do I need a gateway?

You don’t need to install a Gateway to use TTN if there are gateways available in your area!

slide-21
SLIDE 21

Nodes

slide-22
SLIDE 22

LoRaWAN nodes - Feather

slide-23
SLIDE 23

LoRaWAN nodes – Pycom Lopy

slide-24
SLIDE 24

LoRaWAN nodes – m5stack

slide-25
SLIDE 25

LoRaWAN nodes – ARM mbed

slide-26
SLIDE 26

LoRaWAN nodes – Arduino 1300

slide-27
SLIDE 27

LoRaWAN nodes – Arduino shield

slide-28
SLIDE 28

LoRaWAN products

slide-29
SLIDE 29

LoRaWAN products

slide-30
SLIDE 30

LoRaWAN products

https://www.thethingsnetwork.org/marketplace/products/devices

slide-31
SLIDE 31

Packets

slide-32
SLIDE 32

LoRaWAN architecture

slide-33
SLIDE 33

LoRaWAN architecture - TTN

slide-34
SLIDE 34

LoRaWAN architecture

123

slide-35
SLIDE 35

LoRaWAN architecture

slide-36
SLIDE 36

LoRaWAN architecture

slide-37
SLIDE 37

LoRaWAN architecture

slide-38
SLIDE 38

LoRaWAN architecture

slide-39
SLIDE 39

LoRaWAN architecture

slide-40
SLIDE 40

LoRaWAN architecture

123 123

slide-41
SLIDE 41

TTN: authentication

Credit: https://www.newieventures.com.au/blogtext/2018/2/26/lorawan-otaa-or-abp

slide-42
SLIDE 42

LoRaWAN architecture

slide-43
SLIDE 43

LoRaWAN architecture

MQTT Broker!

slide-44
SLIDE 44

TTN in practice

slide-45
SLIDE 45

TTN: App and Gateway

slide-46
SLIDE 46

TTN: Gateway

slide-47
SLIDE 47

TTN: Gateway

slide-48
SLIDE 48

Gateway Setup

Example for the ic880a

slide-49
SLIDE 49

Is it working?

Connected!

slide-50
SLIDE 50

TTN: App

slide-51
SLIDE 51

TTN: App

Application ID Description Handler

slide-52
SLIDE 52

TTN: we have a new App!

slide-53
SLIDE 53

TTN: Collaborators

slide-54
SLIDE 54

TTN: add a Collaborator to the App

slide-55
SLIDE 55

TTN: register a device

Name of Device Device EUI

slide-56
SLIDE 56

Where is the device EUI?

slide-57
SLIDE 57

TTN: devices

slide-58
SLIDE 58

TTN: devices

Authentication Never seen!

slide-59
SLIDE 59

TTN: authentication

Credit: https://www.newieventures.com.au/blogtext/2018/2/26/lorawan-otaa-or-abp

slide-60
SLIDE 60

TTN: OTAA authentication

slide-61
SLIDE 61

TTN: ABP authentication

slide-62
SLIDE 62

TTN: devices

Settings

slide-63
SLIDE 63

TTN: devices

ABP

slide-64
SLIDE 64

TTN: devices

slide-65
SLIDE 65

TTN: devices

DeviceAdd, NetKey, AppKey

slide-66
SLIDE 66

TTN: payload

Payload format

slide-67
SLIDE 67

TTN: payload

slide-68
SLIDE 68

TTN: payload testing

slide-69
SLIDE 69

TTN: integrations

Integrations

slide-70
SLIDE 70

TTN: integrations

slide-71
SLIDE 71

TTN: integrations

slide-72
SLIDE 72

TTN: integrations

slide-73
SLIDE 73

Summary

We introduced TheThingsNetwork. We learned how to setup a TTN Gateway. We looked at authentication alternatives. We learned how to register new devices.

slide-74
SLIDE 74

Feedback?

Email mzennaro@ictp.it