LoRa Basics™ Modems: Walk-through

Working With a LoRaWAN® Network Server

The current demo can be linked to the following LoRaWAN® network server:

Note

LoRa Basics™ Modem at 2.4GHz is only supported by The Things Network V3

The Things Network V3

To begin, register for an account with The Things Industries or The Things Network.

Create an Application

To create an application, go to The Things Industries console and then follow these steps:

Video: Creating an Application

  1. On the Applications page, enter an Application ID.

  2. Click Create Application to save your changes.

Register the Device

LoRa Basics™ Modem

LoRa Basics Modem is not pre-provisioned with EUIs; you must provide them.

On the console page:

Video: Providing EUIs for LoRa Basics Modem

  1. Click Add end device.

  2. Set Activation mode to Over-the-Air activation (OTAA).

  3. Set LoRaWAN version to MAC V1.0.3.

  4. Click Start.

  5. Enter the End device ID.

  6. Enter the modem’s JoinEUI (AppEUI).

  7. Enter the modem’s DevEUI.

  8. Click Network Layer Settings.

  9. Select the appropriate Frequency plan for the target region.

  10. Set the Regional parameters version to PHY V1.0.3 REV A.

  11. Click Join Settings.

  12. Enter an AppKey or click on the arrows to generate a random AppKey.

  13. Click Add end device to finalize the process.

Note

The DevEUI and JoinEUI are unique 64-bit identifiers starting with an Organization Unique Identifier (OUI), assigned by the IEEE. More information about OUIs can be found on the IEEE website here.

LoRa Basics Modem-E (LR1110)

The DevEUI and JoinEUI are provided by the modem. The AppKey is not required because the keys are securely exchanged directly between the LoRaWAN network server and Semtech’s LoRa Cloud Join Server when the device joins a network.

On The Things Network’s Application page:

Video: Providing EUIs for LoRa Basics Modem-E

  1. Click Add end device.

  2. Set Activation mode to Over-the-Air activation (OTAA).

  3. Set LoRaWAN version to MAC V1.0.3.

  4. Check External Join Server.

  5. Click Start.

  6. Enter the End device ID.

  7. Enter the modem’s JoinEUI (AppEUI).

  8. Enter the modem’s DevEUI.

  9. Click Network Layer Settings.

  10. Select the appropriate Frequency plan for the target region.

  11. Set the Regional parameters version to PHY V1.0.3 REV A.

  12. Click Add end device to finalize the process.

Note

There is no need to specify a join server address; the network server will use the JoinEUI to route the join request.

MQTT Credentials

The Things Network V3 network server requires that you generate a unique MQTT password. On the Application page of the console:

Video: Generating an AppKey

  1. Click Integrations and then MQTT.

  2. Select Generate new API Key.

  3. Copy the values from the following fields: Server Address, Username, and Password.

Note

There is a Copy button to the right of each field that you can use to copy these values.

The device is now configured on the network server. The next step is to set up the application server.