LoRa & LoRaWAN · Study deck

LoRaWAN Introduction

A water tank stands beyond the farm buildings.

Radio Remi is your guide for this deck.

Radio Remi, the module guide, in a scene from this chapter.
iotclass.org

After studying this chapter

Learning objectives

You will be able to:

  • Explain: The mathematical gist.: On the chapter's 125 kHz, rate-4/5 screen, SF7 lasts 1.024 ms, carries about 5,469 bps, and gives 21.07 dB ideal processing gain.
  • Explain: Class C keeps the receiver open most of the time except while transmitting, so it is normally reserved for devices with an energy source and a real need for faster downlinks.
  • Explain: The One-Minute View Fit the workload Good first fits send compact telemetry or events, sleep most of the time, and can accept the downlink timing promised by their device class.
iotclass.org

Major section

Start Simple

Its battery device sends only a level and a time.

  • The farm manager does not need a claim about impressive range.
  • She needs a fresh reading that belongs to the right tank, reaches the service, and still makes sense after rain, a weak battery, or a brief break in coverage.
  • This opening does not promise continuous reach or instant control.

Key terms

LoRa
LoRa is the radio technique that can help that message travel.
iotclass.org

Major section

Start Simple (continued)

LoRa is the radio technique that can help that message travel.

  • A receiver hearing a signal does not by itself prove that the final record is usable.
  • It frames a long-range, low-power message path that must be measured at the real site.
  • Keeping that split clear makes every later design choice easier to review.
iotclass.org

Major section

Eddie's Math Bridge: Spreading Factor, Rate, And Processing Gain

The mathematical gist.: On the chapter's 125 kHz, rate-4/5 screen, SF7 lasts 1.024 ms, carries about 5,469 bps, and gives 21.07 dB ideal processing gain.

  • At −20 dB SNR, the 1,794 bps Shannon ceiling still bounds the 293 bps operating point.

Numbers to remember

1.024 msSF7 lasts 1.024 ms, carries about 5,469 bps
21.07 dBand gives 21.07 dB ideal processing gain.
32.768 msSF12 lasts 32.768 ms, carries about 293 bps
iotclass.org

Major section

Overview: LoRaWAN Is a Network Fit, Not Just a Radio Choice

LoRaWAN is a wide-area networking protocol for IoT devices that send small messages, sleep for long periods, and can tolerate delayed or class-limited downlinks.

  • The first beginner boundary is the difference between LoRa and LoRaWAN.
  • LoRa is the physical radio modulation.
  • LoRa modulation carries symbols over the air.

Why it matters

That separation prevents two common beginner mistakes.

LoRa provides the radio modulation; LoRaWAN adds MAC behavior, class timing, regional constraints, and application delivery responsibilities above that radio layer.
LoRa provides the radio modulation; LoRaWAN adds MAC behavior, class timing, regional constraints, and application delivery responsibilities above that radio layer.
iotclass.org

Major section

Overview: LoRaWAN Is a Network Fit, Not Just a Radio Choice (continued)

Separate the layers LoRa explains the radio signal.

  • The LoRaWAN MAC then adds frame structure, counters, device-class receive behavior, MAC commands, ADR decisions, and server-controlled scheduling.
  • Application data sits above that stack, so a product claim usually needs both radio evidence and application acceptance evidence.
  • LoRaWAN explains the network behavior, server control, joining, counters, class timing, and routing.
iotclass.org

Major section

Overview: LoRaWAN Is a Network Fit, Not Just a Radio Choice (continued)

A gateway-heard uplink can support a narrow radio-path observation, but it does not prove the join path, replay handling, ADR policy, downlink timing, or business action.

  • A dashboard event can prove the application saw something, but it does not prove the installed device will keep enough link margin after antenna, region, payload, or class changes.
  • The One-Minute View Fit the workload Good first fits send compact telemetry or events, sleep most of the time, and can accept the downlink timing promised by their device class.
  • That separation prevents two common beginner mistakes.
iotclass.org

Major section

Overview: LoRaWAN Is a Network Fit, Not Just a Radio Choice (continued)

Where LoRaWAN Fits Strong fit: small status readings, event reports, meter updates, and sparse telemetry where delayed delivery can be acceptable.

  • Evidence needed: payload size, message cadence, regional profile, gateway hearing, server ownership, activation records, class timing, link evidence, and operations owner.
  • A camera, a bulk firmware channel, or a cloud-dependent emergency stop is not a beginner LoRaWAN fit unless another design layer changes the requirement.
  • If you can separate LoRa from LoRaWAN and explain when the workload is a fit, you can stop here.
iotclass.org

Major section

Practitioner: Build the First LoRaWAN Evidence Record

Worked Review: Soil-Moisture Sensor Claim: a field sensor sends compact soil-moisture readings and can wait for ordinary maintenance commands.

  • The practitioner job is to turn a broad technology statement into a reviewable record.
  • Packet records, gateway metadata, server routing logs, join evidence, and application receipt.
  • Those changes require a new review.
iotclass.org

Major section

Practitioner: Build the First LoRaWAN Evidence Record (continued)

The record should show what the device sends, what the network is responsible for, what the application expects, and which evidence would make the claim stale.

  • Choosing Class C for convenience without proving energy and operations fit.
  • Limit: this record does not prove bulk updates, immediate control, or a different field location.
  • Worked Review: Remote Valve Command Claim: the cloud can close a valve immediately over LoRaWAN.
iotclass.org

Major section

Under the Hood: Roles, Classes, Activation, and ADR

The deeper layer explains why LoRaWAN evidence is split across several owners.

  • A single uplink can involve a radio setting, more than one gateway, a network server, an activation boundary, application payload handling, device-class timing, and a future ADR decision.
  • Each layer can be correct while another layer still needs review.

Key terms

LoRa describes how symbols
LoRa describes how symbols are carried over the radio.

Why it matters

Key custody matters because network behavior and application payload meaning should remain separated.

LoRaWAN network functions sit above the LoRa radio PHY, followed by Class A, B, and C receive-window trade-offs.
LoRaWAN network functions sit above the LoRa radio PHY, followed by Class A, B, and C receive-window trade-offs.
iotclass.org

Major section

Under the Hood: Roles, Classes, Activation, and ADR (continued)

A LoRa signal trace supports a radio claim; it does not by itself prove joining, security, routing, or application acceptance.

  • LoRa Versus LoRaWAN LoRa describes how symbols are carried over the radio.
  • Gateway Forwarding and Server Control LoRaWAN uses a star-of-stars pattern.
  • Mechanics and Evidence Limits Mechanic.
iotclass.org

Major section

Under the Hood: Roles, Classes, Activation, and ADR (continued)

LoRaWAN describes how end devices use that radio inside a network: uplinks, receive windows, frame counters, MAC commands, joins, server routing, and application payload delivery.

  • End devices transmit, and any gateway that hears an uplink can forward a packet record and reception metadata over an IP backhaul.
  • Class B adds scheduled receive opportunities when the network and device support the timing discipline.
  • A device can transmit a LoRa signal under chosen radio settings.
iotclass.org

Major section

Under the Hood: Roles, Classes, Activation, and ADR (continued)

Class C keeps the receiver open most of the time except while transmitting, so it is normally reserved for devices with an energy source and a real need for faster downlinks.

  • The class is chosen from the application timing promise, not from a ranking of better or worse classes.
  • Activation, Counters, and Ownership Activation determines how the device gets session state.
  • Payload fit, installed uplink evidence, gateway metadata, and regional profile.
iotclass.org

Major section

Under the Hood: Roles, Classes, Activation, and ADR (continued)

Key custody matters because network behavior and application payload meaning should remain separated.

  • OTAA uses a join procedure; ABP uses pre-provisioned session state and therefore needs extra care around counters, reset behavior, and operational exceptions.
  • Frame counters help detect replay, but they must be reviewed with reset and recovery behavior.
  • The network policy and receive behavior match this device profile.
iotclass.org

Deck summary

Key takeaways

Its battery device sends only a level and a time.

  • LoRa is the radio technique that can help that message travel.
  • The mathematical gist.: On the chapter's 125 kHz, rate-4/5 screen, SF7 lasts 1.024 ms, carries about 5,469 bps, and gives 21.07 dB ideal processing gain.
  • LoRaWAN is a wide-area networking protocol for IoT devices that send small messages, sleep for long periods, and can tolerate delayed or class-limited downlinks.
  • Separate the layers LoRa explains the radio signal.
iotclass.org

Retrieval practice

Recall check 1 of 3

Radio Remi says: answer from memory, then check your reasoning.

Q1A utility team wants LoRaWAN for basement water meters that send compact readings twice per day and only need rare maintenance downlinks. What should the introductory review ask for next?

AApproval, because two daily readings and low power are enough to prove LoRaWAN fit.
BA bounded fit record for workload, field path, activation, class timing, and acceptance.
CA batched payload plan that adds diagnostic history to make better use of each radio wake.
DA gateway coverage survey first, using received meter packets as the acceptance test for the service.
Show answer

Answer: B The review needs the workload, field path, activation, class timing, and application evidence before accepting the LoRaWAN choice.

iotclass.org

Retrieval practice

Recall check 2 of 3

Radio Remi says: answer from memory, then check your reasoning.

Q2A product owner wants cloud commands to reach a battery sensor immediately, but the design only proves ordinary Class A uplinks. What is the best review action?

AAccept the claim once the server can queue a downlink for the next receive window
BIgnore power budget because downlink timing is only a server configuration issue
CReject the claim until timing, class, power, scheduling, and device acceptance are proven
DUse a dashboard command record as proof that the device acted correctly
Show answer

Answer: C Class A downlinks follow uplinks.

iotclass.org

Retrieval practice

Recall check 3 of 3

Radio Remi says: answer from memory, then check your reasoning.

Q3A field test shows one gateway heard one uplink from a LoRaWAN device. Which conclusion is too broad without more evidence?

AA gateway observed an uplink at that test point
BThe review should still record regional profile and installed-device context
CAdditional server, activation, application, class, and ADR evidence may still be needed
DApplication acceptance, reset safety, ADR suitability, and downlink timing are all proven
Show answer

Answer: D One gateway-heard uplink can support a narrow radio or gateway observation, but it does not prove application acceptance, activation safety, ADR suitability, or downlink timing.

iotclass.org

Print reference

Answers

Answer key.

  1. B · The review needs the workload, field path, activation, class timing, and application evidence before accepting the LoRaWAN choice.
  2. C · Class A downlinks follow uplinks.
  3. D · One gateway-heard uplink can support a narrow radio or gateway observation, but it does not prove application acceptance, activation safety, ADR suitability, or downlink timing.
iotclass.org