RAK14000 With RAK11200 WisBlock Core Guide
Prerequisite
-
Assemble the RAK14000 with a WisBlock Base and WisBlock Core by following the RAK14000 Installation Guide.
-
Download and install the Arduino IDE, then add the RAKwireless Core boards by installing the RAKwireless Arduino BSP.
-
USB Cable
Software Configuration and Example
If you already installed the RAKwireless Arduino BSP, the WisBlock Core and example code should now be available on the Arduino IDE.
- Select the WisBlock Core you have.
Figure 1: Selecting RAK11200 as WisBlock Core- Install the Adafruit GFX Library.
- Open the Arduino IDE.
- On the Menu bar, click Sketch > Include Library > Manage Libraries.
- On the Library Manager text area, type adafruit gfx.
- To finish installation, click on Install button highlighted in yellow.
Figure 1: Adafruit GFX Library Install- Install Adafruit EPD Library
- Open the Arduino IDE.
- On the Menu bar, click Sketch > Include Library > Manage Libraries.
- On the Library Manager text area, type adafruit epd.
- To finish installation, click on Install button highlighted in yellow.
Figure 1: Adafruit EPD Library Install- You can access the programming guide for the RAK14000 module by opening the example codes depending on your WisBlock Core.
Figure 1: Opening RAK14000 example for RAK11200 WisBlock CoreYou will need to change this section of the code depending on the E-Paper you are using.
// 2.13" EPD with SSD1680, width=250 pixels, heigh=122 pixels
Adafruit_SSD1680 display(250, 122, EPD_MOSI,EPD_SCK, EPD_DC, EPD_RESET,EPD_CS, SRAM_CS, EPD_MISO,EPD_BUSY);
- After opening the example code, you can now select the right port and upload the code.
Figure 1: Selecting the correct Serial PortBefore uploading your sketch, short circuit BOOT0 and GND pins and press the reset button as shown below.
Figure 1: Force ESP32 Download mode
Figure 1: Uploading the RAK14000 example code- Once you have successfully uploaded the example sketch, you should be able to see the image output on the E-Paper. You can also see the corresponding button pressed in the Serial Monitor.
