Skip to main content

Grove - Speaker

The Grove- Speaker is a module which consists of power amplification and voice outputs. The loudness can be adjusted by the on-board potentiometer. With different input frequencies, the loud-speaker generates different tones. Coding the music into arduino, DIY your own music box!


  • Volume Adjustable
  • Grove Interface
More details about Grove modules please refer to [Grove System](


Working Voltage4.05.05.5VDC
Voltage Gain--46db
Band Width--20KHz

Platforms Supported

ArduinoRaspberry Pi
The platforms mentioned above as supported is/are an indication of the module's software or theoritical compatibility. We only provide software library or code examples for Arduino platform in most cases. It is not possible to provide software library / demo code for all possible MCU platforms. Hence, users have to write their own software library.


Play with Arduino

The speaker can emit a variety of sounds like a car horn, doorbell and ignition . The different sounds are based on the frequency of the input signal.

You can supply different frequency signal to this module with Arduino. Arduino generates these signal via PWM or even digital write and delay.Here we are going to show you how to generate these signals using delay(), the speaker sound bass 1~7.

/*macro definition of Speaker pin*/
#define SPEAKER 3

int BassTab[]={1911,1702,1516,1431,1275,1136,1012};//bass 1~7

void setup()
void loop()
/*sound bass 1~7*/
for(int note_index=0;note_index<7;note_index++)
void pinInit()
void sound(uint8_t note_index)
for(int i=0;i<100;i++)

Due to the influence of the capacitance, the module can only output the bass signal, and the treble is unable to emit.

Play with Codecraft


Step 1. Connect Grove - Speaker to port D3 in a Base Shield

Step 2. Plug the Base Shield to your Seeeduino/Arduino.

Step 3. Link Seeeduino/Arduino to your PC via an USB cable.


Step 1. Open Codecraft, add Arduino support, and drag a main procedure to working area.

If this is your first time using Codecraft, see also [Guide for Codecraft using Arduino](

Step 2. Drag blocks as picture below or open the cdc file which can be downloaded at the end of this page.

Upload the program to your Arduino/Seeeduino.

When the code finishes uploaded, you will hear the Speaker making a DO to SI sound.

Schematic Online Viewer


Tech Support & Product Discussion

Thank you for choosing our products! We are here to provide you with different support to ensure that your experience with our products is as smooth as possible. We offer several communication channels to cater to different preferences and needs.

Loading Comments...