RAK15000 With RAK4631 WisBlock Core Guide
Prerequisite
- Assemble the RAK15000 with a WisBlock Base and WisBlock Core by following the RAK15000 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 RAK15000 EEPROM has an I2C-Compatible (Two-Wire) Serial Interface. Furthermore, the EEPROM is organized in so-called pages. One page holds 256-byte and there are 1024 pages. Having insight into how the memory cells are organized is important for write and erase operations.
- Now, select the RAK4631 WisBlock Core.
Figure 1: Selecting RAK4631 as the WisBlock Core- Open the RAK15000 sample code.
You can open the example code for RAK4631 WisBlock Core.
Figure 1: Opening the RAK15000 example code for the RAK4631 WisBlock Core- Install Adafruit FRAM_I2C Library.
Once the example code is opened, install the latest version of Adafruit FRAM_I2C library by clicking the link highlighted in yellow.
Figure 1: Opening Adafruit EEPROM libraryTo finish the library installation, click on the Install button highlighted in yellow.
Figure 1: Installing the Adafruit EEPROM library- After successful installation of the library, you can now select the right serial port and upload the code.
Figure 1: Selecting the correct Serial Port
Figure 1: Uploading the RAK15000 example codeThe sketch writes a value to a random address. Then it checks the read value and compares it with the written value.
After successful upload, a random number will be written and read to a random address five times.
Figure 1: RAK15000 example code logsIf you experience any error in compiling the example sketch, check the updated code for the RAK4630 WisBlock Core Module that can be found on the RAK4630 WisBlock Example Code Repository.
