RAK15001 With RAK11200 WisBlock Core Guide
Prerequisite
- Assemble the RAK15001 with a WisBlock Base and WisBlock Core by following the RAK15001 Installation Guide.
- Download and install the Arduino IDE, then add the RAKwireless Core boards by installing the RAKwireless Arduino BSP.
- USB Cable
- Li-Ion/LiPo battery (optional)
- Solar charger (optional)
Software Configuration and Example
The RAK15001 uses GD25Q16CNIG (16 Mbit) from GigaDevice with a standard SPI interface. 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 RAK11200 WisBlock Core.
Figure 1: Selecting RAK11200 as WisBlock Core- The Basic Sample Code for RAK15001 in Github will work on ALL WisBlock Core. You can open the example codes depending on your WisBlock Core.
Figure 1: Opening RAK15001 example code for RAK11200 WisBlock Core- Once the example code is open, install the Adafruit_SPIFlash library by clicking the link highlighted in yellow.
Figure 1: Accessing the library used for RAK15001 Module
Figure 1: Installing the compatible library for RAK15001 Module- After successful installation of the library, you can now select the right serial port and upload the code.
NOTE
RAK11200 requires the Boot0 pin to be configured properly first before uploading. If not done properly, uploading the source code to RAK11200 will fail. Check the full details on the RAK11200 Quick Start Guide.
Figure 1: Selecting the correct Serial Port- When you successfully uploaded the example sketch, open the Serial Monitor of the Arduino IDE to see if it read the content, wrote new data, and erased the data from the Flash module. If you see the logs, then your RAK15001 is properly communicating to the WisBlock core.
Figure 1: RAK15001 Read, Write, and Erase data