-
Notifications
You must be signed in to change notification settings - Fork 13
5. Examples
CatWAN Arduino LoRa Shield supports LoRa and LoRaWAN technologies. In the following section, we will explore how to utilize each of these technologies with different examples.
For the following examples, we will use two CatWAN USB Sticks, one to send information and the other to sniff it.
CatWAN USB Stick SAMD21 915 MHz version
|
CatWAN USB Stick RP2040 915 MHz version
|
Remember that to use your CatWAN USB Stick you need to have different libraries installed. If you have not installed it yet, check the section: Install the Libraries.
The LoRa technology, on its own, is ideal for applications that require long-range communication and low energy consumption. Its main uses include sending and receiving information over considerable distances, as well as remote control.
In the LoRa examples, we will show seamless communication between two boards using LoRa technology. To achieve this we will need two CatWAN USB Sticks that have LoRa technology.
In this case, we will use a CatWAN USB Stick RP2040 version and a CatWAN USB Stick SAMD version.
For this first example, we will use the basic examples from the repository, for the examples from the CatWAN USB Stick SAMD version you can find them in the LoRa examples folder.
In the case of using a CatWAN USB Stick RP2040 version, you must download the examples directly from the Latest Release.
So, we will upload the "LoRaReceiver example code" to our CatWAN USB Stick SAMD version.
Then, we will upload the "lorasender.uf2" to our CatWAN USB Stick RP2040 version.
CatWAN USB Stick RP2040 Release
After this, our boards should start communicating and now we will be able to see the values we receive through the serial port:
Serial Output
Thank you for reading our Wiki!