Using RAK1921 with RAK4631
Prerequisite
-
Assemble the RAK1921 with a WisBlock Base and WisBlock Core by following the RAK1921 Installation Guide.
-
Download and install the Arduino IDE, then add the RAKwireless Core boards by installing the RAKwireless Arduino BSP.
-
USB Cable
Initial Test of the RAK1921 WisBlock Module
If you already installed the RAKwireless Arduino BSP, the WisBlock Core and example code should now be available on the Arduino IDE.
- First, you need to select the WisBlock Core you have.
Figure 1: Selecting RAK4631 as WisBlock Core- The Basic Sample Code for RAK1921 will work on all WisBlock Core. You can open the example codes depending on your WisBlock Core.
Figure 1: Opening RAK1921 example for RAK4631 WisBlock Core- Before compiling the project, it is necessary to install the libraries. Just click on the links highlighted in red to install each library.
Figure 1: Install RAK1921 Example libraries- Click on the Install button to install the U8g2 Library.
Figure 1: Install U8g2 Library- Click on the Install button to install the Adafruit BME680 Library.
Figure 1: Install Adafruit BME680 Library- After successful installation of the library, you can now select the right port and upload the code.
Click on Tools -> Port then select the correct COM port.
Figure 1: Configuring RAK1921 example for RAK4631 WisBlock Core