RAK12022 Quick Start Guide
Prerequisite
-
Assemble the RAK12022 with a WisBlock Base and WisBlock Core by following the RAK12022 Installation Guide.
-
Download and install the Arduino IDE, then add the RAKwireless Core boards by installing the RAKwireless Arduino BSP.
-
PT100 Probe
-
USB Cable
Initial Test of the RAK12022 WisBlock Module
-
This guide uses the RAK4631 WisBlock Core to demonstrate the configuration process. You can also use the RAK11200 or RAK11310 as the WisBlock Core.
-
When using the RAK11200, configure the BOOT0 pin correctly before uploading the source code. Otherwise, the upload may fail. For detailed instructions, refer to the RAK11200 Quick Start Guide.
-
Before you do the initial test of the RAK12022 module, you need to assemble the PT100 sensor into the module. Different wiring configurations for the 4-wire PT100 sensor are provided.
2-Wire
Figure 1: 2-Wire Assembly3-Wire
Figure 1: 3-Wire Assembly4-Wire
Figure 1: 4-Wire Assembly- Once done with the configuration, install the RAKwireless Arduino BSP for WisBlock by using the
package_rakwireless_index.jsonboard installation package. The WisBlock Core should now be available on the Arduino IDE.
Figure 1: Arduino IDE
Figure 1: WisBlock Cores inside the Arduino IDE- Then install the library of RAK12022 into your Arduino IDE.
Figure 1: Managing libraries in Arduino IDE
Figure 1: RAK12022 Library- Then open the sample code for RAK12022.
Figure 1: Selecting the sample code for RAK12022
Figure 1: Sample code for RAK12022- Then select the RAK4631 board and its serial port.
Figure 1: Selecting RAK4631 board as the WisBlock Core
Figure 1: Selecting the serial port of RAK4631 WisBlock Core- Then upload the code.
Figure 1: Uploading the RAK12022 sample code
Figure 1: Uploading the RAK12022 sample codeIf you experience any error in compiling the example sketch, check the updated code for the RAK12022 WisBlock PT100 module that can be found on the RAK12022 WisBlock Example Code Repository.
- When you successfully uploaded the sample code, open the Serial Monitor of the Arduino IDE to monitor the PT100 sensor's reading logs.
Figure 1: Sample code successfully uploaded to RAK4631
Figure 1: Readings from the Serial Monitor