RAK18080 WisBlock Wireless Charge Module Quick Start Guide
RAK18080 design is based on DBM10L by Synaptics. The DBM10L is an Artificial Intelligence (AI) and Machine Learning (ML) SoC based on a digital processor (DSP) optimized for voice and sensor processing. DBM10L can enable AI/ML, voice, and sensor applications, including Voice Trigger (VT), Voice Authentication (VA), Voice Command (VC), Noise Reduction (NR), Acoustic Echo Cancellation (AEC), and Sound Event Detection (SED). When used with WisBlock Audio Stack, RAK18080 can do VT and provide I2S data to the speaker. For this example, you will be using the RAK4631 as your WisBlock Core.
Prerequisite
- Assemble the RAK18080 with a WisBlock Base and WisBlock Core by following the RAK18080 Installation Guide.
- Download and install the Arduino IDE, then add the RAKwireless Core boards by installing the RAKwireless Arduino BSP.
- WisBlock Audio Modules - Interposer, Microphones, and Amplifiers
- USB Cable
- Li-Ion/LiPo battery (optional)
- Solar charger (optional)
Initial Test of the RAK18080 WisBlock Module
For this voice processing example, you will need the following modules: RAK18080 (DSP chip), RAK18003 (Audio Interposer), RAK18030 (PDM Microphone), and RAK18061 (Mono Amplifier). Additionally, a Li-Ion/LiPo battery and a speaker are required.
- The RAK18061 module is powered via SB2 (battery) by default. If you wish to use another DC power source, refer to the corresponding illustrations.
Figure 1: Power Select Diagram for RAK18061 with SB2 as default3V3
If you want to use 3V3, desolder SB2 and solder SB1.
Figure 1: Solder portion for SB1VBUS
If you want to use VBUS, desolder SB2 and solder SB3.
Figure 1: Solder portion for SB3EX_POWER
If you want to use EX_POWER, desolder SB2 and solder SB4.
Figure 1: Solder portion for SB4- Then in RAK18003, you need to connect RAK18030 module using FPC cable.
Figure 1: Connecting together the RAK18003 and RAK18030 using FPC cable- Assemble the modules. In this configuration, here's how the boards are stacked up:
- RAK18061 (top)
- RAK18080
- RAK18003 + RAK18030
- WisBlock Base board (bottom)
Figure 1: Overall Assembly- You can now connect the battery and speaker to the integrated module.
Figure 1: Connection of the battery and speaker into the integrated 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. - Then install the latest RAKwireless Audio Library using the Library Manager of Arduino IDE.
Figure 1: RAKwireless Audio Library
Figure 1: RAKwireless Audio Library- Once done, connect the integrated module to the PC through a USB cable.
- Open the sample code DSPG_PlayBack which is designed demonstrated RAK18080 powerful features.
Figure 1: Selecting the sample code for RAK18080
Figure 1: Sample code for RAK18080The example codes of RAKwireless Audio Library are compatible with specific WisBlock Core. You have to select the correct WisBlock Core based on what core you used in your application.
- 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- Upload the code.
Figure 1: Uploading the RAK18080 code
Figure 1: Uploading the RAK18080 codeIf you experience any error in compiling the example sketch, check the updated example code for your WisBlock Core Module that can be found on the RAKwireless Audio Library.
- When you successfully uploaded the sample code, open the Serial Monitor of the Arduino IDE.
Figure 1: Sample code successfully uploaded to RAK4631
Figure 1: Opening the Serial Monitor- Once done, start speaking next to your PDM microphone Hey RAK Star. RAK18080 module will recognize your voice and it will play a prompt sound via the speaker. Also, you will notice that Hey RAK Star will be logged in the Serial Monitor.
Figure 1: Hey RAK Star logged in the Serial Monitor