Semtech LR20xx

ChirpStack Documentation

NOTE: The LoRa Plus™ Sales Demonstration Kit is pre-configured with ChirpStack settings for a gateway, application and a device to be functional when powered on with a LR20xx EVK. This information is provided for reference only.

What is ChirpStack?

ChirpStack is an open-source LoRaWAN Network Server stack that provides a complete solution for building and managing LoRaWAN networks. It enables organizations to deploy their own private or public LoRaWAN infrastructure for Internet of Things (IoT) applications.

Key Point: ChirpStack implements the LoRaWAN protocol specifications and provides all the necessary components to operate a fully functional LoRaWAN network.

Core Components

ChirpStack consists of several modular components that work together to provide a complete LoRaWAN solution:

ChirpStack Gateway Bridge

A service that bridges LoRa packet forwarder protocols to a common data format. It converts the gateway-specific protocol (like Semtech UDP packet forwarder) into a unified format that ChirpStack can understand.

ChirpStack Network Server

The core component that implements the LoRaWAN network layer. It handles:

ChirpStack Application Server

Provides a web interface and APIs for device management and integration. Features include:

Key Features

Architecture Overview

ChirpStack follows a modular architecture that allows for flexible deployment options:

  1. LoRa Gateways receive radio signals from devices and forward them to the network
  2. Gateway Bridge translates gateway protocols to a common format
  3. Network Server processes LoRaWAN frames and manages the network
  4. Application Server provides user interfaces and application integration
  5. External Applications consume data through APIs or integrations

Use Cases

ChirpStack is suitable for various IoT applications:

🛠️ Adding a Device to ChirpStack

To connect a LoRaWAN device to ChirpStack, follow these steps:

  1. Log in to the ChirpStack web interface using username "admin" and password "SemtecH!Lr2021".
  2. ChirpStack login screen
  3. Create a Device Profile:
    • Go to Device Profiles and click Add.
    • Specify LoRaWAN version, activation method (typically OTAA), and region.
    • Optionally add a payload decoder function (decoder functions can process data for InfluxDB & Grafana).
    Device profile creation screen
  4. Create an Application:
    • Go to Applications and click Create.
    • Group similar devices under one application.
    Application creation screen
  5. Add the Device:
    • Go to your application, then click Add Device.
    • Add device
    • Enter Device EUI and select the device profile.
    • Enter Device EUI and select the device profile
    • Provide OTAA or ABP credentials.
    • Add device credentials
  6. Validate data from device:
    • Open Device Data and LoRaWAN Frames tabs.
    • Power on the device and check for JoinRequest/JoinAccept or uplinks.
    Device data and frame logs
  • Check events for device (integration to InFluxDB & Grafana): Device data on Grafana