RAK18060 WisBlock Audio Stereo Amplifier Module Quick Start Guide
RAK18060 is a stereo amplifier module, part of the WisBlock Audio Series. The RAK18060 is designed based on the TAS2560 from TI. The TAS2560 features an ultra low-noise audio DAC and Class-D audio amplifier which incorporates speaker voltage and current sensing feedback for use with speaker protection algorithms. The RAK18060 can drive the speaker to play audio through the input I2S signals. With other WisBlock modules, it can achieve rich applications, such as recording and voice control functions.
Prerequisite
- Assemble the RAK18060 with a WisBlock Base and WisBlock Core by following the RAK18060 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 (required)
- Speakers (required)
- Solar charger (optional)
Sample Code Test of the RAK18060 WisBlock Module
- 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. - Plug in your integrated module (RAK4631 + RAK18060) into your PC through the USB cable.
- Install the latest RAKwireless Audio Library using the Library Manager of Arduino IDE.
Figure 1: RAKwireless Audio Library- Then open your Arduino IDE and open the PlayBack48K sample code for RAK18060.
The example codes of RAKwireless Audio Library are compatible with different WisBlock Core. You have to select the correct WisBlock Core based on what core you used in your application.
Figure 1: Arduino IDE
Figure 1: Selecting the PlayBack48K Sample Code
Figure 1: PlayBack48K Sample Code- Then select your WisBlock Core RAK4631.
Figure 1: Selecting the RAK4631 WisBlock Core board- Once done, select the corresponding port of your WisBlock Core RAK4631.
Figure 1: Selecting the port of RAK4631- Once done, the interface should display correctly.
Figure 1: Selected board and port of RAK4631- Then tick the right arrow at the top leftmost part of the Arduino IDE to upload the sample code to your RAK4631 module.
Figure 1: Uploading the PlayBack48K sample code to your RAK4631- Once done uploading, you will hear Train 52 from Amsterdam is now arriving from your speaker playing repetitively.
Figure 1: Programmed RAK4631