Before proceeding with this guide, make sure your board is correctly set-up by following the Using the Arduino IDE page of the setup guide for the Feather M0 LoRa.
We're going to use MCCI's arduino-lmic library with this guide to communicate with The Things Network. Open the Arduino Library Manager (Sketch->Include Library->Manage Libraries). In the search box, type MCCI. the MCCI LoRaWAN LMIC library should be the first result. Click Install.
We've included the code for this guide inside the arduino-lmic library. To open it, from the Arduino IDE click File->Examples->MCCI LoRaWAN LMIC library->ttn-otaa-feather-us915-dht22
The code for the Feather M0 Weather Node should pop up.
Now that our code is set up, let's learn how to send data from our Feather to TTN and decode it!
Page last edited March 08, 2024
Text editor powered by tinymce.