Episode 4

Primer: Follow the Signal Path

In this episode, we're breaking down the LoRaWAN signal path, making it easy to understand how data travels from sensor to application.

Figuring out how LoRaWAN works is the first step of unlocking the whole thing. Once you understand how the signal gets from the sensor to where you're going to use it, the pieces start to fall into place.

Takeaways:

  • LoRaWAN operates through a series of steps: sensor to gateway, gateway to LNS, and finally to the application where data is utilized.
  • The sensor, also known as an end device or node, gathers measurements from the physical world, such as temperature or GPS data.
  • Understanding the signal path in LoRaWAN is crucial for effectively leveraging its capabilities in business applications.
  • The LNS acts as the brain of the LoRaWAN system, managing device authentication and filtering duplicate messages to ensure accurate data transmission.
  • In traditional LoRaWAN, a gateway forwards sensor data to the LNS, which decodes it before sending it to an application for action.
  • Helium's model adds an extra step with the Helium Packet Router, which facilitates cryptocurrency transactions behind the scenes, making it user-friendly.

Links referenced in this episode:

Companies mentioned in this episode:

  • Helium Foundation
  • MeteoScientific
  • IoT Working Group

💲Support the show: https://support.metsci.show

Transcript
Speaker:

Welcome to

2

:

the business of LoRaWAN,

where we dive into this long range,

3

:

low power, wide area network

and its impact on your bottom line,

4

:

the latest sensors and proven real world

solutions.

5

:

I'm your host, Nik Hawks.

6

:

Since 2020,

7

:

when I stumbled into LoRaWAN via Helium

while hunting for a lost paraglider,

8

:

I've helped thousands

understand how it works and how to use it,

9

:

and I'm psyched to do the same for you.

10

:

I've installed everything

from soil sensors

11

:

to weather stations to retail foot

traffic counters.

12

:

Coming to the conclusion

that LoRaWAN is rad,

13

:

so I built the only show on the internet

fully dedicated to unlocking its potential

14

:

for your business. Let's dig in.

15

:

This episode is part of the LoRaWAN primer

series, recorded for those of us

16

:

who aren't wireless engineers and want to

understand more about how LoRaWAN works.

17

:

Today, we'll do this

by tracking the LoRaWAN signal

18

:

path, using and explaining

some of the specialized terminology.

19

:

You'll hear a bunch

as you listen in to other episodes.

20

:

The signal path is just

21

:

a path that signals take from the sensor

on the ground, all the way

22

:

to where you see that data,

whether it's on a dashboard for monitoring

23

:

or there's an action taken

like turning a valve on or off.

24

:

We'll start with the sensor.

25

:

Sometimes it's called an end device,

sometimes a node.

26

:

They all refer to the same thing.

27

:

They're all devices that

take a measurement from the real world.

28

:

So it could be a temperature sensor,

a water meter,

29

:

a tracker on a pallet,

anything that is measuring something.

30

:

The sensor will periodically wake up

and send a wireless message

31

:

called a payload, containing

whatever is measured,

32

:

for example, a temperature

reading or a GPS location.

33

:

This action of sending from the device to

the internet is called an uplink,

34

:

because LoRaWAN is low power,

the device is asleep most of the time

35

:

and transmit infrequently, which is why

the batteries can last for so long.

36

:

There are exceptions to this for devices

that are wired to mains power

37

:

and not on batteries, but most of the time

most devices are sleeping.

38

:

Once the sensor sends the message,

it has to be received,

39

:

and the thing that receives

it is called a gateway.

40

:

It's also called a hotspot

or a radio concentrator.

41

:

Most of the time on this podcast,

we'll call it a gateway.

42

:

A gateway is basically a LoRaWAN radio

43

:

antenna on a device

that's connected to the internet.

44

:

When it receives an uplink

45

:

payload from a sensor,

it forwards that payload to the next step.

46

:

A gateway does exactly what the name says.

47

:

It acts as a gateway between the sensor

and the internet.

48

:

A gateway can be bidirectional,

transmitting a downlinked payload

49

:

back to the sensor,

which gives it a command.

50

:

For now, we'll continue

to follow the signal path from the gateway

51

:

to the next step, which is called an LNS

or LoRaWAN network server.

52

:

The LNS is the brain in the system.

53

:

It authenticates devices, filters out

duplicate messages since multiple gateways

54

:

can hear the same sensor,

and if the device is expecting a response

55

:

like hey,

56

:

you told me to listen after I transmit,

do you have any instructions for me?

57

:

Then the gateway will send a downlink

back to the device.

58

:

Whenever you hear uplinks or down links,

they're in relation to the device.

59

:

The device sends

an uplink up to a gateway,

60

:

and it receives the downlink

down from the gateway.

61

:

Once the LNS has received the payload

from the gateway,

62

:

it runs it through a codec,

which is basically a tiny translator

63

:

that turns the ones and zeros

64

:

the sensor sends into something

you could read on a dashboard.

65

:

When encoded, the messages are very short,

just a couple of bytes.

66

:

The LNS sends

the decoded payload to an application.

67

:

The application is what we would use

as humans, either

68

:

displaying the data in a dashboard

or actuating some valve like turning off

69

:

a hose bib

70

:

when soil moisture is saturated,

or turning down the heat

71

:

if the temperatures

are too high in a room.

72

:

And that's how a LoRaWAN works,

it's pretty straightforward.

73

:

Sensor or device to gateway.

74

:

Gateway to LNS illness to application.

75

:

The only variation to this

is with the global LoRaWAN run by helium.

76

:

It's a big network with multiple LNS.

77

:

Médio scientific runs

one of those illnesses, and because helium

78

:

is powered by cryptocurrency incentives

and all of the data is paid

79

:

for in more or less real time,

an extra step is required.

80

:

That step is called the HPR or Helium

Packet Router.

81

:

The HPR lives between the gateway

and the LNS.

82

:

Let me walk you through the modified

signal path for helium.

83

:

A device sends its payload to a gateway.

84

:

The gateway sends that payload

onto the helium packet router,

85

:

and the helium packet router finds the

correct LNS, conducts the cryptocurrency

86

:

transaction and delivers

that payload to the correct LNS.

87

:

While cryptocurrency

may sound scary for most users,

88

:

if you were to try helium today

on the Médio Scientific Airlines,

89

:

you just buy data credits and dollars

or euros

90

:

and all of the cryptocurrency transactions

would happen behind the scenes.

91

:

Helium makes it really easy

for anyone to use LoRaWAN

92

:

because the coverage is almost everywhere.

93

:

Both traditional and the helium models

have the same end result.

94

:

Sensor data gets to your application.

95

:

The only thing that's different

is the path and the business model.

96

:

Okay, so now we've used all of the common

LoRaWAN terms, and we've described

97

:

the signal path in both traditional

and the helium networks.

98

:

From the sensor or device a payload is

sent on an uplink to a gateway.

99

:

The gateway forwards it to an LNS,

where the tiny payload

100

:

gets decoded by a codec

and is then sent to an application.

101

:

If any action is required, the LNS sends

the command to the correct gateway,

102

:

which forwards the payload on a downlink

103

:

back to the device,

and the device conducts the action.

104

:

If you need to listen to this a few times

for it to sink in, that's totally normal.

105

:

There's a lot of meat on the bone here.

106

:

That's it for the business of LoRaWAN.

107

:

Thanks for listening.

108

:

If you enjoyed the show and want to learn

more, the podcast home on the web

109

:

is metsci.show That's metsci.show.

110

:

There you'll find calculators to estimate

the impact of IoT usage on your business.

111

:

Be able to make guest suggestions.

112

:

If you know someone who you think

113

:

should come on the show

and easily get in touch with me.

114

:

If you think the show is useful

for LoRaWAN, please leave a review

115

:

wherever you listen to this.

116

:

Ratings

interviews really help podcast grow.

117

:

Finally, an enormous

thanks to our sponsor, the IoT

118

:

working Group at the Helium Foundation,

for supporting this show.

119

:

If you want to try LoRaWAN out

for yourself

120

:

without asking anyone permission,

you can sign up for a

121

:

MeteoScientific account

at console.meteoscientific.com,

122

:

and get your first 400 data credits

for free.

123

:

That's enough to run a sensor for

about a year if you're sensing once a day.

124

:

Right on. See you on the next show.

About the Podcast

Show artwork for The Business of LoRaWAN
The Business of LoRaWAN
Learn From the Pros

About your host

Profile picture for Nik Hawks

Nik Hawks

Incurably curious, to stormy nights and the wine-dark sea!