Hello LoRaWAN® and ThingPark®

Overview of this Activity

Build your own LoRaWAN® network—no prior knowledge of LoRaWAN® technology or programming skills required!

In this hands-on activity, you’ll follow simple steps to transmit sensor data from an end device through a LoRaWAN® gateway to the ThingPark Community platform (TPCP). TPCP is a free Low-Power WAN cloud platform that includes a LoRaWAN® Network Server, payload decoders, and data processing middleware. Finally, you’ll visualize the collected data on an application platform. The end device used in this activity comes equipped with built-in sensors for temperature, humidity, and air pressure.

Solution Overview

This solution leverages LoRaWAN®, a low-power radio technology standardized by the LoRa Alliance and optimized for battery-powered sensors. While this activity focuses on collecting data, LoRaWAN® is a bidirectional protocol that also supports sending commands to sensors.

The generic architecture of a LoRaWAN® network* is shown below. Uplink frames transmitted by the device are received by one or more LoRaWAN® Gateways and relayed to the LoRaWAN® Network Server via a backhaul network (e.g., IP over Ethernet or cellular).

Before transmitting sensor data, a process called Joining is required. During this process, the sensor authenticates itself with a Join Server (typically part of the Network Server) using its unique identifier (DevEUI) and secret key (JoinKey or AppKey). Importantly, the AppKey is never transmitted. Instead, it is used to derive two Session Keys:

  • AppSKey: Encrypts the payload in subsequent messages.
  • NwkSKey: Generates secure checksums to ensure packet integrity.

For this activity, understanding these technical details is not necessary—what matters is that all air-interface communication is securely encrypted and protected against replay attacks.

Solution Overview

Requirements & Environment

To complete this activity, we will use the following components:

These devices are available on ThingPark Market. While ordering, please ensure that the correct RF region is selected as appropriate for your country of residence, and for the Gateway, select the option to preconfigure for  ThingPark Community. You can of course use other gateways.

Data Flow of the Target Environment

The following diagram outlines the data flow from the device to the end-user dashboard.