Config LoRa Parameters

[English]

Preparation

  1. Install Arduino IDE. How to install please click here.

  2. Install Heltec nRF32 series Arduino development framework. Installation manual please refer to here.

  3. An Mesh Node.

  4. High quality USB cable.

Configure Parameters

  1. Connect the development board to the computer through USB data cable.

  2. Open the Arduino and in the Tools option, select the appropriate Board, Port.

  1. Follow the path shown below to open the LoraWAN demo code.

  1. Fill in DevEu AppEui AppKey in the following figure in the red box in the example format, which will be used in the website registration.

  • DevEui – Mote device IEEE EUI (big endian), 8 bytes;

  • AppEui – Application IEEE EUI (big endian), 8 bytes;

  • AppKey – AES encryption/decryption cipher application key, 16 bytes;

小技巧

This example uses the OTAA pattern as an example, and for the differences in the ABP pattern, please refer to this link: ABP mode

  1. Set LoRaWAN parameter:

  2. Effective load is here.

备注

Print too much messages may cause the system unstable.

  1. Click Upload to upload the code.