RAK1921 WisBlock OLED Display PlatformIO Quick Start Guide
Prerequisite
-
Assemble the RAK1921 with a WisBlock Base and WisBlock Core by following the RAK1921 Installation Guide.
-
To add the RAKwireless Core boards on your Arduino Boards Manager, install the RAKwireless Arduino BSP.
-
USB Cable
-
You need to download and install Arduino IDE.
PlatformIO
To use WisBlock Core modules with PlatformIO, you need to install a small script named RAK_PATCH. The script can be installed on WisBlock Core RAK4631, RAK11200, and RAK11310.
RAK_PATCH script was tested only on Windows 10 and Ubuntu.
Install RAK_PATCH on PlatformIO.
Initial Test of the RAK1921 WisBlock Module on PlatformIO
- Open PlatformIO then PIO Home, and select Import Arduino Project.
Figure 1: Import Arduino project-
Configure Import Arduino Project parameters:
- On boards list, select WisCore RAK11200 Board (RAKwireless) (Label 1).
- Check Use libraries installed by Arduino IDE (Label 2).
- Choose the directory of your ThingPulse Arduino project to be imported (Label 3).
- To finish import, click on Import button (Label 4).
Figure 1: Configure Import parameters- Open the imported project and check the platformio.ini file. The parameter libs_extra_dir is your Arduino library directory.
Figure 1: Configuration file platformio.ini- Build and flash your imported project. In case of upload error, check if your RAK11200 board is listed in PIO Home -> Devices.
Figure 1: PIO Home Devices