RAK18001 With RAK11200 WisBlock Core Guide
If you have already installed the RAKwireless Arduino BSP, the WisBlock Core and example code should be available on the Arduino IDE.
- To begin with the Arduino setup, you need to select the RAK11200 WisBlock Core.
Figure 1: Selecting RAK11200 as WisBlock Core- The Basic Sample Code for RAK18001 in GitHub will work on RAK11200 WisBlock Core. You can also open the example codes depending on your WisBlock Core.
Figure 1: Opening RAK18001 example code for RAK11200 WisBlock Core- After that, you can now select the right serial port and upload the code.
RAK11200 requires 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
Figure 1: Uploading the RAK18001 example code- When you have successfully uploaded the example sketch, you'll now be able to hear the RAK18001 WisBlock Buzzer module's sound. The output sounds and pitch level can be customized on the example code. It is even possible to play some various melody on it.
Make sure to set the PWM pin to LOW with digitalWrite(BUZZER_CONTROL, LOW); after playing a sound. This is to ensure that the buzzer on the RAK18001 is in complete shut down and does not get hot.
