Using the Free LoRaWAN Server www.thethingsnetwork.org

The ecosystem of LoRaWAN is quite good, with open-source or free resources available for nodes, gateways, and servers. Among them, the free server www.thethingsnetwork.org is very popular, with nearly ten thousand gateways deployed worldwide. Today, we will discuss how to use this server.

Using the Free LoRaWAN Server www.thethingsnetwork.org

You need to register an account at https://www.thethingsnetwork.org (hereinafter referred to as ttn). This involves two parts: first, connecting the gateway to ttn, and second, connecting the node to ttn.

Connecting the Gateway to ttn

1. Select a Gateway

Using the Free LoRaWAN Server www.thethingsnetwork.org

2. Register a Gateway

Using the Free LoRaWAN Server www.thethingsnetwork.org

3. Enter the Gateway EUI, select the frequency band, description, etc. The standard gateway EUI is 8 bytes, and it is required that the gateway uses the Semtech standard packet forwarding protocol format.

Using the Free LoRaWAN Server www.thethingsnetwork.org

Using the Free LoRaWAN Server www.thethingsnetwork.org

4. Gateway Settings

Set the server address to: router.cn.thethings.network. The setup method varies depending on the gateway.

5. Check Status

Using the Free LoRaWAN Server www.thethingsnetwork.org

Connecting the Node to ttn

1. Select Application

Using the Free LoRaWAN Server www.thethingsnetwork.org

2. Create Application

Using the Free LoRaWAN Server www.thethingsnetwork.org

3. Add Device under the ff6 Application

Using the Free LoRaWAN Server www.thethingsnetwork.org

The appeui for the ff06 application is: 70 b3 d5 7e d0 01 c5 df (70b3d57ed001c5df)

Using the Free LoRaWAN Server www.thethingsnetwork.org

4. Keep the Node’s Device EUI, App Key, and App EUI consistent with the above, and ensure the node’s frequency point matches that of the gateway.

5. Allow the Node to Join the Network

6. After joining the network, the generated Device Address, Network Session Key, and App Session Key

Using the Free LoRaWAN Server www.thethingsnetwork.org

7. View Data

Using the Free LoRaWAN Server www.thethingsnetwork.org

8. Send Data

Using the Free LoRaWAN Server www.thethingsnetwork.org

9. The Node reports a confirm message, and the platform replies with ack

Using the Free LoRaWAN Server www.thethingsnetwork.org

Using the Free LoRaWAN Server www.thethingsnetwork.org

At this point, the gateway and node have successfully connected to ttn.

Recommended Reading:

LoRa Chip SX127x Series Calculation Tool LoRa Modem Calculator Tool

A Quick Start Guide to LoRa Development

Detailed Explanation of STM32+SX1276 Linux Compilation Environment Setup

Using the Free LoRaWAN Server www.thethingsnetwork.org

Long press to identify, more IoT sharing awaits you

Leave a Comment